Kim’s Math NotesCourse index

The Squeeze Theorem

When do two bounding functions determine the limit between them?

Find a limit by trapping a function between two others, and use the two special limits of sine and cosine.

xy-11-11y=x^2y=-x^2
Squeezed to the same limit · For x≠0, −x2≤x2sin1x≤x2. As x→0, both bounds approach 0, so the middle graph does too.
Match the angle

Common mistake limx→0sin10xx=1, because sin(box)/box goes to 1.

Correction sin10xx=10⋅sin10x10x, and sin10x10x→1 as x→0: the limit is 10.

Only as the angle approaches 0

Common mistake limx→π/2sinxx=1.

Correction The angle approaches π2, not 0, and the bottom does not approach 0: substitute. The limit is sin(π/2)π/2=2π.

Use |x| when the factor can be negative

Common mistake Since −1≤cos2x≤1, we have −x≤xcos2x≤x for all x≠0.

Correction For x<0 the inequalities flip. Use −|x|≤xcos2x≤|x|; both bounds approach 0, so the limit is 0.

Idea 1: trapped between two

Idea one: a function trapped between two others. Say we know almost nothing about f. No formula at all. Near zero, f of x sits between one minus x squared on the bottom, and one plus x squared on top. The two bounds are just polynomials, so plug in zero.

As x goes to zero, both head to one.

Watch this part of the concept lesson

Read the rest of this scene

Now, here's the picture. The lower bound, one minus x squared, opens down from one. The upper bound, one plus x squared, opens up from one. And f, however wiggly it is, has to stay between them. At zero, the floor and the ceiling pinch together, at the height one.

So where can f go at zero? f is stuck in the middle seat. If both your neighbors are heading to Disneyland, so are you. Both neighbors head to one, so f has no room to go anywhere else. It heads to one, too.

So the limit of f, as x approaches zero, is one. In general: say f is between g and h, for x near c. If g and h head to the same number L as x approaches c, then f is forced to head to L, too. This idea has a name: the squeeze theorem. Some books call it the sandwich theorem.

Idea 2: check before you squeeze

Hold on, though. Idea two: check before you squeeze. Now say f sits between negative x squared and two plus x squared, near zero. Plug in zero. As x goes to zero, the lower bound heads to zero, and the upper bound heads to two. So f probably goes right down the middle, to one?

Look. Here's the picture.

Watch this part of the concept lesson

Read the rest of this scene

The lower bound goes through zero. The upper bound goes through two. At zero, they don't pinch. They stay two apart: a gap. And f can wiggle anywhere in that gap, like this one, which never settles down.

f could cruise to one, drift up to one and a half, or keep wiggling and have no limit at all. Zero isn't two, so the squeeze theorem tells us nothing here. The walls didn't close. Careful: that doesn't mean no limit. It means this tool can't decide.

So before you squeeze, check two things. Condition one: f is between g and h, near c. Condition two: as x goes to c, g and h head to the same real number, L. That's what the AP course guide asks for: show the conditions first, then use the theorem.

Idea 3: sine stays between −1 and 1

Alright, what if the problem doesn't hand you the bounds? That's idea three: sine stays between negative one and one. Take this one: the limit, as x approaches zero, of x squared times sine of one over x. You saw sine of one over x in one point three: all by itself, it has no limit at zero. It swings between negative one and one, faster and faster.

And limit laws only work when both limits exist, so the product law is out. So where would two bounds even come from?

Watch this part of the concept lesson

Read the rest of this scene

Start from the piece that swings. Whatever is in the box, sine stays between negative one and one. Multiply all three by x squared. Near zero, with x not zero, x squared is positive, so the order stays. So x squared sine one over x is trapped, between negative x squared and x squared.

That's condition one. Condition two: as x goes to zero, negative x squared and x squared both head to zero, the same real number. Here's the picture. The upper bound, x squared. The lower bound, negative x squared. And f, wiggling faster and faster near zero, but always inside, squeezed toward zero.

Both conditions hold. So, by the squeeze theorem, the bounds decide it. And so, the limit of x squared sine one over x is zero. It can wiggle all it wants, but there's no escape. Okay, here's where a lot of students get confused.

What if it's just x, not x squared? x may be negative, and multiplying by a negative flips the order. So use the size of x instead. Whether x is positive or negative, the two bounds are x and negative x, just in some order. The lower one is always negative absolute x, and the upper one is always absolute x.

That's condition one. Here's the picture. The V of absolute x on top. Its mirror, negative absolute x, below. And f, trapped inside the V. Condition two: as x goes to zero, both bounds head to zero.

So, by the squeeze theorem, the limit of x sine one over x is zero, too. The AP course guide names two limits that go with the squeeze theorem. As x goes to zero, sine x over x heads to one, and one minus cosine x, over x, heads to zero. Next, we use the squeeze to see why.

Idea 4: sin x / x as x → 0

Alright, idea four: sine x over x, as x approaches zero. Plug in zero. The top is sine zero, which is zero. The bottom is zero. Factor it? A conjugate?

A common denominator? None of them rewrites sine x over x.

Watch this part of the concept lesson

Read the rest of this scene

So we trap it. This one's a little long, so stay with me. Here's a circle of radius one, centered at O, and an angle x at O. It's between zero and a right angle, measured in radians. First, triangle O A P: base one, height sine x.

So its area is one half, times one, times sine x. Next, sector O A P, the pizza slice: one half, times one squared, times x. That formula needs x in radians. Triangle O A T: base one, height A T. Opposite over adjacent is A T over one, so A T is tangent x.

Its area is one half, times one, times tangent x. Look: each shape sits inside the next one. So the areas keep that order: one half sine x, one half x, one half tangent x. Divide all three by one half sine x. It's positive here, so the order stays.

That gives one, then x over sine x, then tangent x over sine x. Tangent is sine over cosine, so that's one over cosine x. All three are positive, so flip each one upside down, and the order turns around. So now, cosine x, then sine x over x, then one. Sine x over x is trapped.

As x goes to zero from the right, cosine x heads to cosine zero, which is one. Here's the picture. One, on top. Cosine x, below. And sine x over x, trapped in between, with an open circle at zero, height one. At zero itself, it's undefined.

As x goes to zero from the right, both bounds head to one. So by the squeeze theorem, sine x over x heads to one, from the right. Now the left side, x less than zero. Let's not just assume it. Write x as negative t, with t positive.

Then sine x over x is sine of negative t, over negative t. Sine of negative t is negative sine t, so the negatives cancel: sine t over t. As x goes to zero from the left, t goes to zero from the right. So this is the right-side limit we just found: one. Both sides head to one.

So the limit of sine x over x, as x approaches zero, is one. The same works for any angle in the box: sine box over box heads to one, when the box heads to zero. So look first. Box heading to zero? One. Heading to a nonzero number? Just plug in.

Ideas 5–6: match the angle, (1 − cos x)/x

Let's put the box to work. Idea five: match the angle. Look at the limit, as x approaches zero, of sine three x, over x. Your brain might shout: sine over x, so it's one! Not yet. The angle is three x, but the bottom is just x. They don't match.

And no, you can't cross out the x's to get sine three.

Watch this part of the concept lesson

Read the rest of this scene

Sine isn't multiplying x. If we can't change the angle, we change the bottom. Multiply the top and the bottom by three. That's times three over three, times one. Now it's three, times sine three x over three x.

Now the box is three x, in both places. As x goes to zero, three x goes to zero too, and with x not zero, three x isn't zero either. So sine box over box heads to one, by idea four. Three times one. Three. Here's sine three x over x.

Near zero, it heads to height three, with an open circle at zero. Now idea six, the other trig limit: one minus cosine x, over x. As x approaches zero, plug in: the top is one minus cosine zero, one minus one, zero, and the bottom is zero. We know how sine behaves now. So let's turn cosine into sine.

The bridge is the identity: one minus cosine squared x is sine squared x. To make one minus cosine squared, multiply the top and the bottom by one plus cosine x. That's the conjugate trick from one point six, no root needed. On top, one minus cosine squared x; on the bottom, leave x times one plus cosine x. By the identity, the top becomes sine squared x.

Split it: sine x over x, times sine x over one plus cosine x. As x goes to zero, the first heads to one, by idea four. The second, plug in: zero over one plus one, zero over two. Here's the graph we're heading for. Near zero, it heads to height zero, with an open circle right at zero.

So the limit is zero. And again, for any angle in the box: one minus cosine box, over box, heads to zero, as the box heads to zero.

Example 1: squeeze with given bounds

Example one. For all x near three, f is between six x minus five and x squared plus four. Find the limit of f as x approaches three, and justify your answer. The plan: check condition one, condition two, then write the conclusion, naming the theorem. Condition one. Near three, f is between six x minus five and x squared plus four.

That's given, right in the problem.

Watch this part of the concept lesson

Read the rest of this scene

On the graph, f is sandwiched between the green line and the purple parabola. Both bounds are polynomials, so we plug in three. First, the limit of six x minus five: six times three, minus five. Thirteen. The limit of x squared plus four: three squared plus four. Thirteen. Condition two: as x goes to three, both bounds head to thirteen, the same real number.

Both conditions check out. So, by the squeeze theorem, we can conclude. The limit of f, as x approaches three, is thirteen. Conditions first, then the conclusion with the theorem's name. Alright. When the workbook gives you bounds, write both conditions every time.

Example 2: an identity, then match the angle

Example two, multiple choice. What's the limit, as x approaches zero, of one minus cosine squared three x, all over two x squared? The plan: plug in first, then an identity, then match the angle. Plug in zero. The top: one minus cosine squared zero, one minus one, zero.

The bottom: two times zero squared, zero.

Watch this part of the concept lesson

Read the rest of this scene

Whenever you see one minus cosine squared, reach for the identity: the top becomes sine squared three x. Pull out one half. Sine squared three x over x squared is sine three x over x, all squared. Now match the angle: sine three x over x is three, times sine three x over three x. Now, eyes up here.

One half, times three squared: the three is inside the square, so it gets squared, too. Then three squared is nine. So nine halves, times that fraction squared. As x heads to zero, the angle three x heads to zero, so the fraction heads to one. So, nine halves, times one squared. Nine halves.

Alright, so the answer is C: nine halves. Okay. When a workbook problem has sine squared or cosine squared, reach for the identity first.

Example 3: sin x / x as x → ∞

Example three. Look closely at this one: find the limit of sine x over x, as x goes to infinity. Justify your answer. Did you catch it? The plan: look where the box goes first. Here the box is x, and it goes to infinity, not zero.

So that limit of one is off the table. We squeeze instead. Out at infinity, sine just keeps waving between negative one and one.

Watch this part of the concept lesson

Read the rest of this scene

For large x, x is positive. So divide all three by x, and the order stays. That's condition one. Sine x over x is between negative one over x and one over x. On the graph, it's trapped between them.

Condition two: as x goes to infinity, one over x and negative one over x both head to zero, the same real number. Both conditions hold. So, by the squeeze theorem, we can write the limit. The limit of sine x over x, as x goes to infinity, is zero. Zero, not one.

Now, there's one like this in your workbook, so write both conditions again.

Common mistake: the box isn't heading to 0

Careful here. Here's a common mistake. The limit of sine six x over x, as x approaches pi over twelve. The mistake: the student matches the angle, as if x went to zero, and writes six. But sine box over box heads to one only when the box heads to zero. Instead, look first.

The box, six x, heads to pi over two, not zero.

Watch this part of the concept lesson

Read the rest of this scene

And the bottom heads to pi over twelve, not zero. So just plug in: sine of pi over two is one, so it's one over pi over twelve. Twelve over pi.

Worked examples

Example 1

For all x near 3, 6x−5≤f(x)≤x2+4.
Find the limit of f(x) as x→3. Justify your answer.
Hint

Do the two outside functions head to the same number?

Answer and solution

Answer 13

  1. Type: f is trapped between two given functions. Method: check both conditions of the squeeze theorem, then conclude.
  2. Condition (i): 6x - 5 <= f(x) <= x^2 + 4 for x near 3 (given).
  3. limx→3(6x−5)=6(3)−5=13,limx→3(x2+4)=32+4=13
  4. Condition (ii): as x -> 3, both bounds (polynomials, so plug in 3) head to 13, the same real number.
  5. So by the squeeze theorem, the limit of f(x) as x -> 3 is 13.

Example 2

What is the limit of 1−cos23x2x2 as x→0?
  1. 0
  2. 32
  3. 92
  4. nonexistent
Hint

Substitute first. With 0/0 and trig, use an identity on the top.

Answer and solution

Answer C. 92

  1. Type: 0/0 with trig. Method: an identity first (1 - cos^2 u = sin^2 u), then match the angle 3x.
  2. limx→01−cos23x2x2=limx→0sin23x2x2=limx→092⋅sin3x3x⋅sin3x3x
  3. As x -> 0, the angle 3x -> 0, so each sin(3x)/(3x) -> 1. The limit is (9/2)(1)(1) = 9/2: answer C.
  4. Answer C.

Example 3

Find limx→∞sinxx.
Justify your answer.
Hint

Where does the angle go? Not to 0.

Answer and solution

Answer 0

  1. The angle x heads to infinity, not 0, so the limit is not 1. Trap it: -1 <= sin x <= 1.
  2. For large x, x > 0, so dividing by x keeps the order. (i) -1/x <= sin x / x <= 1/x.
  3. (ii) As x -> infinity, -1/x -> 0 and 1/x -> 0, the same real number.
  4. By the squeeze theorem, limx→∞sinxx=0

Workbook

Problem 1

For all x≠1 near 1, 3−|x−1|≤f(x)≤3+(x−1)2, and f(1)=4. Which of the following must be true?
I. limx→1f(x)=3
II. limx→1f(x)=f(1)
III. limx→1f(x)x+2=1
  1. I only
  2. II only
  3. I and III only
  4. II and III only
Hint

Check (i) g≤f≤h near c and (ii) limg=limh=L, the same real number. Then limf=L.

Answer and solution

Answer C. I and III only

  1. (i) f is between the bounds for x near 1, x not 1 (given). (ii) As x -> 1, |x - 1| -> 0 and (x - 1)^2 -> 0, so both bounds approach 3, the same real number.
  2. By the squeeze theorem the limit is 3: I is true. f(1) = 4 is the value, not the limit: II is false.
  3. III: the bottom x + 2 approaches 3, not 0, so the quotient law gives 3/3 = 1. True. Answer C.

Common mistake The point value is given separately. The bounding functions determine the limit near the point.

Watch the worked solution to Problem 1

Problem 2

Let f(x)={k+x2cos3x,x<0sin12x4x,x>0, where k is a constant.
  1. Use the squeeze theorem to find limx→0−f(x).
  2. Find limx→0+f(x).
  3. For what value of k does limx→0f(x) exist? Explain.
Hint

Use bounds for cosine on the left. On the right, write the denominator in terms of the sine argument.

Answer and solution
  1. k: k−x2≤f(x)≤k+x2 for x<0, and both bounds approach k
  2. 3
  3. k=3: the two one-sided limits must be the same real number
  1. (a) -1 <= cos(3/x) <= 1. Multiply by x^2, which is never negative, then add k: k - x^2 <= f(x) <= k + x^2 for x < 0 (condition (i)).
  2. (ii) As x -> 0-, both bounds (polynomials in x) approach k, the same real number. By the squeeze theorem the left-hand limit is k.
  3. limx→0+sin12x4x=limx→0+3⋅sin12x12x=3⋅1=3
  4. (c) The limit exists only when both one-sided limits are the same real number: k = 3.

Common mistake The cosine oscillates, but its changing amplitude tends to zero. Match the sine argument on the other side.

Watch the worked solution to Problem 2

Problem 3

What is limx→1sin(x−1)x2+2x−3?
  1. 14
  2. 1
  3. 0
  4. nonexistent
Hint

Make the bottom equal to the angle: sin(□)□→1 when □→0.

Answer and solution

Answer A. 14

  1. Substituting gives a top and a bottom that both approach 0. Factor the bottom: x^2 + 2x - 3 = (x - 1)(x + 3). The box is x - 1, and x - 1 -> 0 as x -> 1.
  2. limx→1sin(x−1)(x−1)(x+3)=limx→1sin(x−1)x−1⋅1x+3=1⋅14=14
  3. 1 stops at sin(box)/box and forgets 1/(x + 3); 0 takes sin 0 = 0 on top as the answer; “nonexistent” stops when the bottom is 0.

Common mistake Factor the denominator first so the sine argument and its matching denominator can be paired.

Watch the worked solution to Problem 3

Problem 4

Let f(x)=1−cosxx2 for 0<|x|<π.
  1. Show that f(x)=sinxx⋅sinxx⋅11+cosx.
  2. Find limx→0f(x).
  3. Use (b) to find limx→01−cos6xx2.
Hint

Multiply by the conjugate of 1−cosx. For the last part compare x2 and (6x)2.

Answer and solution
  1. (1−cosx)(1+cosx)x2(1+cosx)=1−cos2xx2(1+cosx)=sin2xx2(1+cosx)
  2. 1⋅12
  3. 18
  1. (a) For 0 < |x| < pi, 1 + cos x is not 0. The top becomes 1 - cos^2 x = sin^2 x, so f(x) = (sin x / x)(sin x / x) / (1 + cos x).
  2. limx→0sinxx⋅sinxx⋅11+cosx=1⋅1⋅11+1=12
  3. (c) Match the angle 6x: (1 - cos 6x)/x^2 = 36 (1 - cos 6x)/(6x)^2, and the box 6x -> 0, so the limit is 36 (1/2) = 18.

Common mistake When replacing x by 6x in the scaled limit, account for the square in the denominator.

Watch the worked solution to Problem 4

Problem 5

The graphs of y=x+1 and y=ex are shown. A function f satisfies x+1≤f(x)≤ex for all x. Which of the following must be true?
I. limx→0f(x)=1
II. limx→2f(x) exists.
III. f(0)=1
xy-1121234567y=e^xy=x+1
Graph
  1. I only
  2. I and II only
  3. I and III only
  4. I, II, and III
Hint

Read limg and limh. Equal real numbers: squeeze. Different: the theorem gives no answer.

Answer and solution

Answer C. I and III only

  1. I: (i) x + 1 <= f(x) <= e^x (given). (ii) As x -> 0, x + 1 -> 1 and e^x -> e^0 = 1, the same real number. So by the squeeze theorem the limit is 1. True.
  2. II: as x -> 2, x + 1 -> 3 and e^x -> e^2, two different numbers. Condition (ii) fails, so there is no conclusion: f can be anywhere in the gap. Not necessarily true.
  3. III: the inequality holds at x = 0 too, so 1 <= f(0) <= 1, and f(0) = 1. True. Answer C.

Common mistake Both bounds must approach the same number at the input in question.

Watch the worked solution to Problem 5

Problem 6

Which of the following are true? I. limx→∞sin2xx=0 II. limx→π4sin2xx=2 III. limx→∞xsin3x=3
  1. I only
  2. II only
  3. I and III only
  4. I, II, and III
Hint

Before using a standard trig limit, determine where its argument goes in each statement.

Answer and solution

Answer C. I and III only

  1. Look where the box goes first. I: the box 2x goes to infinity, so squeeze: -1/x <= sin(2x)/x <= 1/x for x > 0, and both bounds go to 0. True.
  2. II: the box 2x goes to pi/2, not 0, so plug in: sin(pi/2)/(pi/4) = 4/pi, not 2. False.
  3. xsin3x=3⋅sin3x3x→3⋅1=3(3x→0)
  4. III is true. Answer C.

Common mistake The special sine limit applies when the argument approaches zero. Determine the argument in each statement.

Watch the worked solution to Problem 6