Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Calculus AB
  3. ›1 Limits and Continuity
  4. ›1.8 Squeeze theorem

AP Calculus AB · Unit 1 · Limits and Continuity

1.8 Squeeze theorem

State the squeeze theorem, recognize when it applies, and use it to find limits.

  • 3 min read
  • 4 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/4Matching outer limits determine the middle limit
  1. 1Matching outer limits determine the middle limit
  2. 2Bounded oscillations make the theorem especially useful
  3. 3A complete solution shows both bounds and their limits
  4. 4Absolute value bounds handle changing signs cleanly
  5. Check your recall
  6. Practice: 10 questions
1

Part 1 of 4: Matching outer limits determine the middle limit

The squeeze theorem concerns three functions ordered near a point. Suppose g(x)≤f(x)≤h(x)g(x)\leq f(x)\leq h(x)g(x)≤f(x)≤h(x) for all xxx sufficiently close to aaa, except possibly at aaa. If g(x)g(x)g(x) and h(x)h(x)h(x) both approach LLL as xxx approaches aaa, then f(x)f(x)f(x) also approaches LLL. The outer functions are bounds on the middle function. Their values need not match at aaa, and the middle function need not be defined there.

Common mistake

The two outer limits must agree. Different outer limits do not determine the middle limit.

Key terms · tap one for its definition

squeeze theorem

If a function lies between two functions with the same limit near a point, its limit is that shared value.

bounds

Bounds are expressions that remain below or above another expression throughout the interval being considered.

Part 1 done

2

Part 2 of 4: Bounded oscillations make the theorem especially useful

The theorem is useful when direct substitution fails because a function oscillates near the target point. Sine and cosine stay between -1 and 1, even when their inputs grow without bound. Multiplying an oscillating function by a factor approaching zero can trap the product between two functions with the same limit. For example, −x2≤x2sin⁡(1/x)≤x2-x^2\leq x^2\sin(1/x)\leq x^2−x2≤x2sin(1/x)≤x2 whenever x≠0x\ne0x=0. The shrinking factor x2x^2x2 forces both bounds toward zero as xxx approaches zero.

Figure 1. The oscillating curve remains between the two bounds. All three approach zero near the origin.

Exam tip

Look for a bounded factor multiplied by a factor approaching zero. Then write bounds for the entire expression.

Key terms · tap one for its definition

oscillates

A function oscillates near a point when its values vary repeatedly; its oscillations may still approach one value.

shrinking factor

A shrinking factor approaches zero and can force a product with a bounded factor toward zero.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the condition on the two outer functions that allows the squeeze theorem to determine the limit of a function between them.
Show answer and explanation

Answer: B · Worked explanation

The squeeze theorem applies when the middle function stays between two outer functions whose limits agree. The common limit then determines the middle function’s limit. Equal values at the point are not required; the bounds only need to hold sufficiently close to the point, possibly excluding the point itself.
3

Part 3 of 4: A complete solution shows both bounds and their limits

To apply the theorem, first find an inequality that holds on both sides of the target point. Next, find the limit of each outer expression. Finally, state the middle limit because those limits agree. Check signs before multiplying an inequality: a negative factor reverses its direction. A nonnegative factor, such as x2x^2x2, keeps the direction unchanged. The conclusion concerns values near the point, not the value at the point itself.

Worked example

Find a limit using two bounds

Find lim⁡x→0x2cos⁡(1/x)\displaystyle\lim_{x\to0}x^2\cos(1/x)x→0lim​x2cos(1/x).
  1. 1
    For x≠0x\ne0x=0, −1≤cos⁡(1/x)≤1-1\leq\cos(1/x)\leq1−1≤cos(1/x)≤1.
  2. 2
    Since x2≥0x^2\geq0x2≥0, multiply to get −x2≤x2cos⁡(1/x)≤x2-x^2\leq x^2\cos(1/x)\leq x^2−x2≤x2cos(1/x)≤x2.
  3. 3
    Both outer limits equal 0 as x→0x\to0x→0.

Answer: By the squeeze theorem, lim⁡x→0x2cos⁡(1/x)=0\displaystyle\lim_{x\to0}x^2\cos(1/x)=0x→0lim​x2cos(1/x)=0.

Part 3 done

4

Part 4 of 4: Absolute value bounds handle changing signs cleanly

An absolute value bound is useful when the middle expression changes sign. If ∣f(x)∣≤g(x)|f(x)|\leq g(x)∣f(x)∣≤g(x) near aaa and g(x)→0g(x)\to0g(x)→0, then −g(x)≤f(x)≤g(x)-g(x)\leq f(x)\leq g(x)−g(x)≤f(x)≤g(x). Both outer limits are zero, so f(x)→0f(x)\to0f(x)→0. For example, ∣xsin⁡(1/x)∣≤∣x∣|x\sin(1/x)|\leq|x|∣xsin(1/x)∣≤∣x∣ when x≠0x\ne0x=0. Therefore, lim⁡x→0xsin⁡(1/x)=0\lim_{x\to0}x\sin(1/x)=0limx→0​xsin(1/x)=0. This method avoids multiplying an inequality by xxx, whose sign changes across zero. The bound must hold throughout a punctured neighborhood, not just at selected points.

Common mistake

Do not treat sin⁡(1/x)\sin(1/x)sin(1/x) as having a limit at zero. Its product with xxx has a limit because the product is squeezed.

Key term

absolute value bound

An absolute value bound limits a function's distance from zero without requiring its sign to stay fixed.

Note read

Check your recall[13 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[3 marks]

    State the squeeze theorem for three functions near a point.

    Show mark schemeHide mark scheme

    Model answer

    If g(x)≤f(x)≤h(x)g(x)\leq f(x)\leq h(x)g(x)≤f(x)≤h(x) near aaa, and both outer functions approach LLL as x→ax\to ax→a, then f(x)f(x)f(x) also approaches LLL.

    • 1 mark for stating that one function lies between two others near the point
    • 1 mark for stating that both outer functions have the same limit
    • 1 mark for concluding that the middle function has that shared limit
  2. 2.Identify[2 marks]

    Identify a feature that makes the squeeze theorem useful for x2sin⁡(1/x)x^2\sin(1/x)x2sin(1/x) near zero.

    Show mark schemeHide mark scheme

    Model answer

    The sine factor is bounded between -1 and 1, while x2x^2x2 approaches zero.

    • 1 mark for identifying that the sine factor is bounded
    • 1 mark for identifying that the multiplying factor approaches zero
  3. 3.Calculate[3 marks]

    Calculate lim⁡x→0x2cos⁡(1/x)\displaystyle\lim_{x\to0}x^2\cos(1/x)x→0lim​x2cos(1/x) using the squeeze theorem.

    Show mark schemeHide mark scheme

    Model answer

    Since −1≤cos⁡(1/x)≤1-1\leq\cos(1/x)\leq1−1≤cos(1/x)≤1, we have −x2≤x2cos⁡(1/x)≤x2-x^2\leq x^2\cos(1/x)\leq x^2−x2≤x2cos(1/x)≤x2. Both bounds approach zero, so the limit is 0.

    • 1 mark for giving the bounds −x2≤x2cos⁡(1/x)≤x2-x^2\leq x^2\cos(1/x)\leq x^2−x2≤x2cos(1/x)≤x2
    • 1 mark for showing that both outer limits equal zero
    • 1 mark for concluding that the requested limit is zero
  4. 4.Explain[2 marks]

    Explain why bounds with different limits cannot determine the middle limit.

    Show mark schemeHide mark scheme

    Model answer

    The middle function can remain between such bounds while approaching different values. The squeeze theorem requires a shared outer limit.

    • 1 mark for stating that the bounds leave more than one possible limiting value for the middle function
    • 1 mark for stating that the theorem requires equal outer limits
  5. 5.Determine[3 marks]

    Determine lim⁡x→0xsin⁡(1/x)\displaystyle\lim_{x\to0}x\sin(1/x)x→0lim​xsin(1/x) using an absolute value bound.

    Show mark schemeHide mark scheme

    Model answer

    Because ∣sin⁡(1/x)∣≤1|\sin(1/x)|\leq1∣sin(1/x)∣≤1, we have ∣xsin⁡(1/x)∣≤∣x∣|x\sin(1/x)|\leq|x|∣xsin(1/x)∣≤∣x∣. Thus −∣x∣≤xsin⁡(1/x)≤∣x∣-|x|\leq x\sin(1/x)\leq|x|−∣x∣≤xsin(1/x)≤∣x∣. Both bounds approach zero, so the limit is 0.

    • 1 mark for establishing ∣xsin⁡(1/x)∣≤∣x∣|x\sin(1/x)|\leq|x|∣xsin(1/x)∣≤∣x∣
    • 1 mark for giving the bounds −∣x∣≤xsin⁡(1/x)≤∣x∣-|x|\leq x\sin(1/x)\leq|x|−∣x∣≤xsin(1/x)≤∣x∣ and their common limit
    • 1 mark for concluding that the requested limit is zero

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the quick check in the note above.

2.

Easy·Identify[1 mark]

Identify the feature that makes the squeeze theorem a useful strategy for finding lim⁡x→0x3cos⁡(5/x)\lim_{x\to0}x^3\cos(5/x)limx→0​x3cos(5/x).
Show answer and explanation

Answer: A · Worked explanation

Cosine remains between -1 and 1, even though its input 5/x5/x5/x does not settle to a single value near zero. The factor x3x^3x3 approaches zero, so bounds on the entire product can approach zero from both sides. The cosine factor itself does not have a limit as xxx approaches zero.
3.

Easy·State[1 mark]

State the conclusion of the squeeze theorem when p(x)≤q(x)≤r(x)p(x)\leq q(x)\leq r(x)p(x)≤q(x)≤r(x) near aaa, and both p(x)p(x)p(x) and r(x)r(x)r(x) approach -2 as xxx approaches aaa.
Show answer and explanation

Answer: A · Worked explanation

The middle function is trapped between two functions with the same limit, so its limit must be that shared value, -2. This conclusion concerns the behavior near aaa; it does not require q(a)q(a)q(a) to be defined or equal to -2.
4.

Easy·Identify[1 mark]

Which expression is the clearest candidate for a squeeze-theorem argument near x=0x=0x=0 because it combines a bounded oscillating factor with a factor that shrinks to zero?
Show answer and explanation

Answer: B · Worked explanation

The factor sin⁡(7/x)\sin(7/x)sin(7/x) stays bounded between -1 and 1, while x4x^4x4 approaches zero. Thus the entire product can be bounded by expressions that both approach zero. In sin⁡(7/x)+x4\sin(7/x)+x^4sin(7/x)+x4, the oscillating term is added rather than multiplied by the shrinking factor, so this reasoning does not force the sum toward one value.
5.

Medium·Calculate[2 marks]

Calculate lim⁡x→0x4sin⁡(3/x2)\lim_{x\to0}x^4\sin(3/x^2)limx→0​x4sin(3/x2) using bounds for the sine factor.
Show answer and explanation

Answer: D · Worked explanation

Since −1≤sin⁡(3/x2)≤1-1\leq\sin(3/x^2)\leq1−1≤sin(3/x2)≤1 and x4≥0x^4\geq0x4≥0, we have −x4≤x4sin⁡(3/x2)≤x4-x^4\leq x^4\sin(3/x^2)\leq x^4−x4≤x4sin(3/x2)≤x4. Both outer expressions approach 0, so the squeeze theorem gives a limit of 0. The oscillation of the sine factor does not prevent the product from tending to zero.
6.

Medium·Determine[2 marks]

Determine lim⁡x→2(x−2)2cos⁡ ⁣(1x−2)\lim_{x\to2}(x-2)^2\cos\!\left(\frac{1}{x-2}\right)limx→2​(x−2)2cos(x−21​).
Show answer and explanation

Answer: C · Worked explanation

For x≠2x\ne2x=2, the cosine factor lies between -1 and 1. Because (x−2)2(x-2)^2(x−2)2 is nonnegative, the product is bounded by −(x−2)2-(x-2)^2−(x−2)2 and (x−2)2(x-2)^2(x−2)2. Both bounds approach 0 as xxx approaches 2, so the product’s limit is 0. The value of the expression at x=2x=2x=2 is not needed.
7.

Medium·Determine[2 marks]

For x≠0x\ne0x=0, suppose ∣F(x)∣≤3x2+∣x∣|F(x)|\leq 3x^2+|x|∣F(x)∣≤3x2+∣x∣. Determine lim⁡x→0F(x)\lim_{x\to0}F(x)limx→0​F(x).
Show answer and explanation

Answer: D · Worked explanation

The absolute value bound gives −(3x2+∣x∣)≤F(x)≤3x2+∣x∣-(3x^2+|x|)\leq F(x)\leq3x^2+|x|−(3x2+∣x∣)≤F(x)≤3x2+∣x∣. Each outer expression approaches 0 as xxx approaches zero, so the squeeze theorem implies that F(x)F(x)F(x) also approaches 0. The possible sign changes of FFF do not matter, and its value at zero is irrelevant to this limit.
8.

Medium·Deduce[2 marks]

For x≠0x\ne0x=0, let H(x)=sin⁡2(1/x)1/x2H(x)=\dfrac{\sin^2(1/x)}{1/x^2}H(x)=1/x2sin2(1/x)​. Deduce lim⁡x→0H(x)\lim_{x\to0}H(x)limx→0​H(x).
Show answer and explanation

Answer: C · Worked explanation

Because 0≤sin⁡2(1/x)≤10\leq\sin^2(1/x)\leq10≤sin2(1/x)≤1, dividing by the positive quantity 1/x21/x^21/x2 gives 0≤H(x)≤x20\leq H(x)\leq x^20≤H(x)≤x2. Both bounds approach 0, so the squeeze theorem gives the limit 0. The oscillation in the numerator does not change the result because the denominator grows without bound, equivalently leaving a factor of x2x^2x2.
9.

Medium·Determine[2 marks]

Determine lim⁡x→0x2(2+sin⁡(1/x))\lim_{x\to0}x^2\bigl(2+\sin(1/x)\bigr)limx→0​x2(2+sin(1/x)).
Show answer and explanation

Answer: D · Worked explanation

Since −1≤sin⁡(1/x)≤1-1\leq\sin(1/x)\leq1−1≤sin(1/x)≤1, the factor in parentheses lies between 1 and 3. Multiplying by the nonnegative x2x^2x2 gives x2≤x2(2+sin⁡(1/x))≤3x2x^2\leq x^2(2+\sin(1/x))\leq3x^2x2≤x2(2+sin(1/x))≤3x2, and both bounds approach zero. The constant shift makes the parenthesized factor positive, but it remains bounded, so the product still tends to zero.
10.

Hard·Determine[2 marks]

Determine lim⁡x→01−cos⁡x∣x∣sin⁡(1/x)\lim_{x\to0}\dfrac{1-\cos x}{|x|}\sin(1/x)limx→0​∣x∣1−cosx​sin(1/x).
Show answer and explanation

Answer: D · Worked explanation

Use 0≤1−cos⁡x≤x2/20\leq1-\cos x\leq x^2/20≤1−cosx≤x2/2 and ∣sin⁡(1/x)∣≤1|\sin(1/x)|\leq1∣sin(1/x)∣≤1. These imply that the absolute value of the whole expression is at most x2/(2∣x∣)=∣x∣/2x^2/(2|x|)=|x|/2x2/(2∣x∣)=∣x∣/2, which approaches zero; therefore the expression is squeezed to zero. The sine factor has no limit, but its bounded size is enough for this argument.

Keep going

Next topic1.9 Multiple representations of limitsPrevious topic1.7 Choosing a limit procedure

More in Unit 1 · Limits and Continuity

  1. 1.4Estimating limits from tablesNotes · 10 questions
  2. 1.5Algebraic properties of limitsNotes · 10 questions
  3. 1.6Limits by algebraic manipulationNotes · 10 questions
  4. 1.7Choosing a limit procedureNotes · 10 questions
  5. 1.8Squeeze theoremNotes · 10 questions
  6. 1.9Multiple representations of limitsNotes · 10 questions
  7. 1.10Types of discontinuitiesNotes · 10 questions
  8. 1.11Continuity at a pointNotes · 10 questions
  9. 1.12Continuity over an intervalNotes · 10 questions

All AP Calculus AB topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/4 read

  1. 1Matching outer limits determine the middle limit
  2. 2Bounded oscillations make the theorem especially useful
  3. 3A complete solution shows both bounds and their limits
  4. 4Absolute value bounds handle changing signs cleanly
  5. Check your recall
  6. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

An oscillating function between shrinking bounds

y-0.4-0.200.20.4-0.2-0.100.10.2x
  • y = x²
  • y = −x²
  • y = x² sin(1/x)