AP Calculus AB and BC · Unit 1 · Topic 1.8

    1.8 Determining Limits Using the Squeeze Theorem

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    The squeeze theorem says that if g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) for all xx near cc (except possibly at cc), and lim⁡x→cg(x)=lim⁡x→ch(x)=L\lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L, then lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L too. It handles functions that oscillate or resist algebra, such as x2sin⁡(1/x)x^2 \sin(1/x), and it proves the key result lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1.

    What you need to know

    • State the squeeze theorem and its conditions.
    • Use bounds on sine and cosine to squeeze oscillating functions.
    • Apply the squeeze theorem to given inequalities.
    • Explain how the squeeze theorem establishes the limit of sin x / x.

    The theorem

    g(x)≤f(x)≤h(x) near c and lim⁡x→cg(x)=lim⁡x→ch(x)=L⟹  lim⁡x→cf(x)=L\begin{gathered} g(x) \le f(x) \le h(x) \text{ near } c \text{ and } \lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L \\ \Longrightarrow \; \lim_{x \to c} f(x) = L \end{gathered}

    The picture is two outer functions closing like jaws on the same point, with ff trapped between them. Since ff can never escape the gap and the gap shrinks to nothing at cc, ff has no choice but to approach LL as well. All three conditions matter: the inequality must hold near cc, and both bounding limits must exist and be equal.

    Example with given bounds: if 4x−4≤f(x)≤x24x - 4 \le f(x) \le x^2 near x=2x = 2, the lower bound approaches 44 and the upper bound approaches 44, so lim⁡x→2f(x)=4\lim_{x \to 2} f(x) = 4. (The inequality 4x−4≤x24x - 4 \le x^2 is true for all xx because x2−4x+4=(x−2)2≥0x^2 - 4x + 4 = (x - 2)^2 \ge 0.)

    Squeezing an oscillating function

    The function x2sin⁡(1/x)x^2 \sin(1/x) oscillates infinitely often near 0, and sin⁡(1/x)\sin(1/x) by itself has no limit there. But sine is always between −1-1 and 1, so multiplying by x2≥0x^2 \ge 0 gives

    −x2≤x2sin⁡ ⁣(1x)≤x2-x^2 \le x^2 \sin\!\left(\tfrac{1}{x}\right) \le x^2

    Both bounds approach 0 as x→0x \to 0, so lim⁡x→0x2sin⁡(1/x)=0\lim_{x \to 0} x^2 \sin(1/x) = 0. The same method works for x2cos⁡(1/x)x^2 \cos(1/x) and for xsin⁡(1/x)x \sin(1/x), using −∣x∣≤xsin⁡(1/x)≤∣x∣-|x| \le x \sin(1/x) \le |x|.

    The oscillating curve is trapped between y = x² and y = −x², which both approach 0, so it must approach 0 too.

    Why sin x / x approaches 1

    A geometric argument with areas in the unit circle shows that for 0<∣x∣<π20 < |x| < \frac{\pi}{2},

    cos⁡x≤sin⁡xx≤1\cos x \le \frac{\sin x}{x} \le 1

    As x→0x \to 0, cos⁡x→1\cos x \to 1 and the upper bound is already 1, so the squeeze theorem gives lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1. This matches the table in topic 1.4 and is the reason the derivative of sin⁡x\sin x is cos⁡x\cos x (topic 2.7).

    Finding bounds is usually a matter of using what you know about sine and cosine. They always lie between −1-1 and 1, so any expression of the form (something going to 0) times (sine or cosine of anything) can be squeezed. For xsin⁡(1/x)x \sin(1/x) the multiplier xx can be negative, so the safe bounds are −∣x∣≤xsin⁡(1/x)≤∣x∣-|x| \le x \sin(1/x) \le |x|; both approach 0, and so does xsin⁡(1/x)x \sin(1/x).

    The theorem also gives the companion result lim⁡x→01−cos⁡xx=0\lim_{x \to 0} \frac{1 - \cos x}{x} = 0: rewriting it as sin⁡xx⋅sin⁡x1+cos⁡x\frac{\sin x}{x} \cdot \frac{\sin x}{1 + \cos x} gives 1⋅02=01 \cdot \frac{0}{2} = 0. These two special limits are the only trigonometric limits you need to remember; the rest follow by rewriting.

    Key terms

    Squeeze theorem
    If g≤f≤hg \le f \le h near cc and gg and hh have the same limit LL at cc, then ff also has limit LL.
    Bounding functions
    The lower and upper functions g and h that trap f.
    Bounded oscillation
    Behaviour like sin⁡(1/x)\sin(1/x) that stays between fixed values but does not settle.
    Special limit
    lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1, established by the squeeze theorem.

    Common mistakes

    • Using bounds whose limits differ.

      The squeeze theorem only works when both bounding limits are equal.

    • Claiming lim⁡x2sin⁡(1/x)=lim⁡x2⋅lim⁡sin⁡(1/x)\lim x^2 \sin(1/x) = \lim x^2 \cdot \lim \sin(1/x).

      lim⁡sin⁡(1/x)\lim \sin(1/x) does not exist, so the product law cannot be used; squeeze instead.

    • Forgetting to check that the inequality holds near c.

      The trapping inequality must be true for all x near c, at least.

    How this topic is tested

    • Name the theorem when you use it.
    • Write the bounding inequality explicitly, then the limits of both bounds.
    • For sine and cosine factors, start from −1 ≤ sin(·) ≤ 1 and multiply carefully.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 3 · Justification

      What is lim⁡x→0x2cos⁡(1/x)\lim_{x \to 0} x^2 \cos(1/x)?

    2. Question 2 · MP 3 · Justification

      If 4x−4≤f(x)≤x24x - 4 \le f(x) \le x^2 for all xx near 2, what is lim⁡x→2f(x)\lim_{x \to 2} f(x)?

    3. Question 3 · MP 2 · Connecting Representations

      The inequality cos⁡x≤sin⁡xx≤1\cos x \le \frac{\sin x}{x} \le 1 near 0 is used to show which limit?

    4. Question 4 · MP 3 · Justification

      g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) near 3, with lim⁡x→3g(x)=1\lim_{x \to 3} g(x) = 1 and lim⁡x→3h(x)=5\lim_{x \to 3} h(x) = 5. What can be said about lim⁡x→3f(x)\lim_{x \to 3} f(x)?

    5. Question 5 · MP 1 · Implementing Mathematical Processes

      What is lim⁡x→∞sin⁡xx\lim_{x \to \infty} \frac{\sin x}{x}?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    A function ff satisfies 2x+1≤f(x)≤x2+22x + 1 \le f(x) \le x^2 + 2 for all real xx.

    1. (a) Verify that 2x+1≤x2+22x + 1 \le x^2 + 2 for all real xx.
    2. (b) Find lim⁡x→1f(x)\lim_{x \to 1} f(x). Justify your answer.
    3. (c) Explain why the squeeze theorem cannot be used to find lim⁡x→2f(x)\lim_{x \to 2} f(x) from these bounds.

    Connected topics

    Frequently asked questions

    Is the squeeze theorem the same as the sandwich theorem?

    Yes. It is also called the sandwich or pinching theorem.

    Do the bounds have to hold everywhere?

    Only for x near c, apart from possibly x = c itself.

    When should I think of squeezing?

    Whenever a factor like sin(1/x) or cos(1/x) oscillates but is bounded, multiplied by something that goes to 0.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the exam is laid out.

    Free Unit 1 cheat sheet

    Every topic in Unit 1: Limits and Continuity on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus AB practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus AB practice examsUnit 1 is one of 8 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 1: Limits and Continuity

    1. 1.1 Introducing Calculus: Can Change Occur at an Instant?
    2. 1.2 Defining Limits and Using Limit Notation
    3. 1.3 Estimating Limit Values from Graphs
    4. 1.4 Estimating Limit Values from Tables
    5. 1.5 Determining Limits Using Algebraic Properties of Limits
    6. 1.6 Determining Limits Using Algebraic Manipulation
    7. 1.7 Selecting Procedures for Determining Limits
    8. 1.8 Determining Limits Using the Squeeze Theorem
    9. 1.9 Connecting Multiple Representations of Limits
    10. 1.10 Exploring Types of Discontinuities
    11. 1.11 Defining Continuity at a Point
    12. 1.12 Confirming Continuity over an Interval
    13. 1.13 Removing Discontinuities
    14. 1.14 Connecting Infinite Limits and Vertical Asymptotes
    15. 1.15 Connecting Limits at Infinity and Horizontal Asymptotes
    16. 1.16 Working with the Intermediate Value Theorem (IVT)

    Other units in AP Calculus AB

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.