Some limits can’t be found by substituting or by algebra. The squeeze theorem (also called the sandwich theorem) handles them by trapping the function between two simpler functions that head to the same place. It’s also how we prove the most important trig limit in calculus, x→0limxsinx=1. All angles on this page are in radians.
The most common use: sine and cosine are always between −1 and 1, whatever is inside them:
−1≤sin(anything)≤1
So if f(x)=(something→0)×(something bounded), the squeeze theorem shows f(x)→0. The classic example is x2sin(x1) (Example 1).
x2sin(x1) oscillates wildly near 0, but it’s trapped between −x2 and x2, so it’s squeezed to 0. (The vertical scale is stretched to show the wiggles.)
State the inequality, state that both outer limits are equal, and name the theorem: “Since −x2≤f(x)≤x2 and x→0lim(−x2)=x→0limx2=0, by the squeeze theorem x→0limf(x)=0.”
Using the product law on a limit that doesn’t exist. Writing limx2⋅limsin(x1)=0⋅(something) is wrong, because the second limit doesn’t exist. Use the squeeze theorem.
Bounds that go to different limits. The squeeze only works if both outer functions approach the same number. If g→0 and h→2, you only know f is trapped between 0 and 2 (if its limit exists at all).
Forgetting radians.xsinx→1 is true only in radians. In degrees the limit is 180π.
Not matching the angle.xsin(5x) does not approach 1. You need 5x in the denominator too, which gives a factor of 5.
Leaving out the justification. On free-response questions, write the inequality, the two limits, and the words “squeeze theorem”. Just writing the answer earns little credit.
9. (Challenge) Suppose 2x≤g(x)≤x4−x2+2 for all real x.
(a) Find x→1limg(x).
(b) Show that the inequality is possible, that is, 2x≤x4−x2+2 for every x. (Hint: x4−x2−2x+2=(x−1)2(x2+2x+2).)
Solution
(a) x→1lim2x=2 and x→1lim(x4−x2+2)=1−1+2=2. Both bounds approach 2, so by the squeeze theorem x→1limg(x)=2.
(b) (x4−x2+2)−2x=(x−1)2(x2+2x+2). The first factor is a square, so it’s never negative. The second is (x+1)2+1, which is always positive. So the difference is never negative, and 2x≤x4−x2+2 for all x.
Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
All angles in this homework are in radians. Give the bounding argument or the standard trigonometric limit used; a calculator estimate alone is not a solution.
H1. (Foundations) Suppose 1−x2≤f(x)≤1+2x2 for all nonzero x sufficiently near 0. Find limx→0f(x) and identify both outer limits.
H2. (Foundations) Evaluate x→0limx2cos(5/x) by writing lower and upper bounds.
H3. (Core) Evaluate x→0limxsin(4/x). Explain why −x≤xsin(4/x)≤x is not a valid bound on both sides of 0.
H4. (Core) Evaluate x→0lim7xsin(4x) by rewriting it in terms of sinu/u.
H5. (Core) Evaluate x→0limsin(3x)tan(2x). Separate the scaled sine terms and the cosine term, checking their limits.
H6. (Core) Evaluate x→0limx21−cos(4x) using a trigonometric identity and the standard sine limit.
H7. (Challenge) For x=2, let P(x)=3+(x−2)2sin(1/(x−2)), and let P(2)=8. Prove the limit at 2 exists, find it, and decide whether the assigned value affects the proof.
H8. (Challenge) For a real parameter p, investigate x→0lim∣x∣pcos(1/x). For which p is the limit finite? Give its value when it is finite, and justify the other cases using positive sequences approaching 0.
H9. (Challenge) A student claims a function can satisfy x2+1≤h(x)≤2x for every x=1 sufficiently near 1. Test whether these bounds are compatible. Reverse the bounds, then determine the limit any function satisfying the corrected inequalities must have.
H10. (Challenge) Suppose ∣g(x)∣≤4 near 0, but nothing else is known about g. Decide which limits must exist and give their values. For any limit that is not guaranteed, give a bounded counterexample.