Educerie

Educerie · AP · Calculus

AP Calculus AB and BC 1.8

Determining Limits Using the Squeeze Theorem

How can we say exactly what a function does near a point, and when does it behave without a break?

What you will learn

  • Understand the squeeze theorem and the two conditions to check
  • Know how a bounded oscillating factor is trapped by two functions
  • Understand why the bounds must meet at one value
  • Know that the two classic trigonometric limits follow from the theorem

You must be able to

  1. Write bounds for a bounded oscillating factor
  2. Multiply or divide an inequality while keeping its direction
  3. State and justify a squeeze conclusion in three parts
  4. Explain why bounds of minus one and one give no conclusion
  5. Quote the sine limit and use radians

In the exam. both AB and BC. Section I gives inequalities such as g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) with known limits of gg and hh, or a limit with a bounded oscillating factor, and asks for the limit of the middle function. It is a Practice 3 topic: you must check the conditions of the theorem. The two classic results sin⁡xx→1\dfrac{\sin x}{x} \to 1 and 1−cos⁡xx→0\dfrac{1 - \cos x}{x} \to 0 are the CED's own examples.

1The theorem

Squeeze theorem. Suppose g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) for all xx near cc, except possibly at cc itself. If lim⁡x→cg(x)=lim⁡x→ch(x)=L\displaystyle \lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L, then lim⁡x→cf(x)=L\displaystyle \lim_{x \to c} f(x) = L.

Two conditions must be checked, and the exam mark scheme looks for both.

  • The inequality holds near cc. It need not hold everywhere, and it need not hold at cc.
  • Both outside limits exist and are equal. The common value LL is the answer.

A common name for the theorem is the sandwich theorem.

2Example: a function with a bounded wiggle

Find lim⁡x→0xsin⁡1x\displaystyle \lim_{x \to 0} x \sin\frac{1}{x}.

Direct methods fail. Substitution gives 0⋅sin⁡100 \cdot \sin\dfrac{1}{0}, which is meaningless, and sin⁡1x\sin\dfrac{1}{x} alone has no limit at 0 because it oscillates.

Use the one thing you know: the sine is bounded.

−1≤sin⁡1x≤1true for every x not equal to 0-1 \le \sin\frac{1}{x} \le 1 \qquad \textcolor{#838c91}{\text{true for every x not equal to 0}}−∣x∣≤xsin⁡1x≤∣x∣multiply by |x|, which is never negative, so the inequalities keep their direction-|x| \le x \sin\frac{1}{x} \le |x| \qquad \textcolor{#838c91}{\text{multiply by |x|, which is never negative, so the inequalities keep their direction}}

Both −∣x∣-|x| and ∣x∣|x| tend to 0 as x→0x \to 0. By the squeeze theorem,

lim⁡x→0xsin⁡1x=0\lim_{x \to 0} x \sin\frac{1}{x} = 0

Figure 1 shows the picture. The teal curve oscillates ever faster near 0, but it can never leave the V shape formed by y=∣x∣y = |x| and y=−∣x∣y = -|x|. As the V pinches to a point, it pins the curve to 0 with it.

Figure 1. y = x sin(1/x) (teal) trapped between y = |x| and y = -|x| (grey); both bounds go to 0 at x = 0, so the oscillating function is squeezed to 0 −0.2 0.2 0.4 −0.4 −0.2 0.2 0.4 y x |x| -|x|
Figure 1 · y = x sin(1 ÷ x) is trapped between y = |x| and y = -|x|, so its limit at 0 is 0

Why multiply by ∣x∣|x| and not by xx? If you multiply an inequality by a negative number, it reverses. Since xx can be negative, you use ∣x∣|x|, which is never negative.

3Example: using given inequalities

Often the bounds are given.

Example (invented): for all x≠1x \ne 1, a function ff satisfies

3−(x−1)2≤f(x)≤3+(x−1)23 - (x - 1)^{2} \le f(x) \le 3 + (x - 1)^{2}

Find lim⁡x→1f(x)\lim_{x \to 1} f(x).

lim⁡x→1(3−(x−1)2)=3lim⁡x→1(3+(x−1)2)=3\lim_{x \to 1} \left( 3 - (x - 1)^{2} \right) = 3 \qquad \lim_{x \to 1} \left( 3 + (x - 1)^{2} \right) = 3

Both bounds have limit 3 and the inequality holds near 1, so lim⁡x→1f(x)=3\lim_{x \to 1} f(x) = 3.

Notice that nothing is said about f(1)f(1). It could be anything, or not exist. The theorem still gives the limit.

4Example: a limit at infinity

The theorem works when x→∞x \to \infty as well. Find lim⁡x→∞sin⁡xx\displaystyle \lim_{x \to \infty} \frac{\sin x}{x}.

For x>0x > 0, −1≤sin⁡x≤1-1 \le \sin x \le 1. Divide by xx, which is positive:

−1x≤sin⁡xx≤1x-\frac{1}{x} \le \frac{\sin x}{x} \le \frac{1}{x}

Both bounds tend to 0 as x→∞x \to \infty, so lim⁡x→∞sin⁡xx=0\displaystyle \lim_{x \to \infty} \frac{\sin x}{x} = 0.

5The two classic trigonometric limits

The CED names these as results that follow from the squeeze theorem.

lim⁡x→0sin⁡xx=1lim⁡x→01−cos⁡xx=0\lim_{x \to 0} \frac{\sin x}{x} = 1 \qquad \lim_{x \to 0} \frac{1 - \cos x}{x} = 0

How the first one arises. A geometric argument with areas in the unit circle shows, for 0<∣x∣<π20 < |x| < \dfrac{\pi}{2} (with xx in radians),

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. The squeeze theorem gives sin⁡xx→1\dfrac{\sin x}{x} \to 1. The argument needs xx in radians.

The second one then follows by algebra:

1−cos⁡xx=(1−cos⁡x)(1+cos⁡x)x(1+cos⁡x)=sin⁡2xx(1+cos⁡x)=sin⁡xx⋅sin⁡x1+cos⁡xthe first factor tends to 1, the second to 0 over 2\begin{aligned}\frac{1 - \cos x}{x} &= \frac{(1 - \cos x)(1 + \cos x)}{x(1 + \cos x)} = \frac{\sin^{2} x}{x(1 + \cos x)} \\[6pt] &= \frac{\sin x}{x} \cdot \frac{\sin x}{1 + \cos x} && \textcolor{#838c91}{\text{the first factor tends to 1, the second to 0 over 2}}\end{aligned}

The product tends to 1⋅0=01 \cdot 0 = 0. You may quote both limits in an answer.

6When the squeeze does not work

The bounds must meet. Look at sin⁡1x\sin\dfrac{1}{x} itself.

−1≤sin⁡1x≤1-1 \le \sin\frac{1}{x} \le 1

The bounds are −1-1 and 11, different constants. They do not squeeze to one value, so the theorem gives no conclusion. The limit of sin⁡1x\sin\dfrac{1}{x} at 0 really does not exist, but that comes from the oscillation. The squeeze theorem cannot show it.

Also, if the inequality fails near cc (it is true only far away), the theorem does not apply.

7Writing the justification

AP free-response questions often say "justify" for this theorem. A full answer has three parts.

  1. The bounds. Write the inequality g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x), and say where it holds (for xx near cc, x≠cx \ne c).
  2. The limits of the bounds. Evaluate lim⁡g\lim g and lim⁡h\lim h, and show they are equal.
  3. The conclusion. "By the squeeze theorem, lim⁡f(x)=L\lim f(x) = L."

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.