Jump to content

The squeeze theorem – "Math for Non-Geeks"

From Wikibooks, open books for an open world

The squeeze theorem is a powerful tool to determine the limit of a complicated sequence. It is based on comparison to simpler sequences, for which the limit is easily determinable.

Motivation

[edit | edit source]
Convergence proof for a root sequence (video in German)

The intuition behind this theorem is quite simple: We are given a complicated sequence (an)n∈ℕ and want to know whether it converges. Often, one can leave out terms in the complicated sequence (an)n∈ℕ and get some simpler sequences (bn)n∈ℕ and (cn)n∈ℕ. If (bn)n∈ℕ is a lower bound and (cn)n∈ℕ an upper bound, then (an)n∈ℕ is "caught" in the space between both sequences. If both sequences converge to the same limit a, they "squeeze" together this space to this single point and (an)n∈ℕ has no other option than to converge towards a, as well.

image about the principle of the sandwich lemma
image about the principle of the sandwich lemma
A ham & cheese sandwich

You may also visualize this theorem by a "ham & cheese sandwich" (see image on the right). The upper and lower bounds (bn)n∈ℕ and (cn)n∈ℕ act as two "slices of toast", which confine (an)n∈ℕ , i.e. the "filling". If you squeeze the toast slices together, the filling in between will also squeeze to this point.

The squeeze theorem

[edit | edit source]
Squeeze theorem (video in German, YouTube video from the YouTube channel Maths CA).

The theorem reads as follows:

Theorem (Squeeze theorem)

Let (an)n∈ℕ be any sequence. If two sequences (bn)n∈ℕ and (cn)n∈ℕ exist with bn≤an≤cn for all n∈ℕ and limn→∞bn=limn→∞cn=a for some common limit a∈ℝ, then (an)n∈ℕ will also converge towards this limit a.

Proof (Squeeze theorem)

Let (bn)n∈ℕ and (cn)n∈ℕ be such that bn≤an≤cn and limn→∞bn=limn→∞cn=a for some a∈ℝ.

We need to prove limn→∞an=a , i.e. for each ϵ>0 there is an N∈ℕ, such that |an−a|<ϵ for all n≥N . Let ϵ>0 be arbitrary. By assumption, the convergences limn→∞bn=a and limn→∞cn=a hold.

Hence, there are two thresholds N1∈ℕ and N2∈ℕ with |bn−a|<ϵ for all n≥N1 (lower bounding sequence) and |cn−a|<ϵ for all n≥N2 (upper bounding sequence). Now, there is bn≤an≤cn for n∈ℕ. For each term an we distinguish the two cases an≥a (above the limit) and an≤a (below the limit). In case an≥a there is

|an−a⏟≥0|=an−a≤an≤cncn−a⏟≥0=|cn−a|

The other case an≤a is treated analogously:

|an−a⏟≤0|=−(an−a)=a−an≤an≥bna−bn=−(bn−a⏟≤0)=|bn−a|

So if the maximum of both thresholds N=max⁡{N1,N2} is reached or exceeded by n≥N ( i.e. n≥N1 and n≥N2 hold), then for an≥a,

|an−a|≤|cn−a|<ϵ

and for an≤a,

|an−a|≤|bn−a|<ϵ

So in either case |an−a|<ϵ for all n≥N, which establishes convergence.

Hint

The inequality bn≤an≤cn does not need to be satisfied for all n∈ℕ . Assume a finite number of sequence elements an are not "caught between bn and cn". Then, after some finite n0∈ℕ all of these finitely many elements will have been passed and the further sequence elements an with n≥n0 will indeed be caught as bn≤an≤cn.

Example

We illustrate the squeeze theorem using the root sequence (cn)n∈ℕ, whose limit is 1 for an arbitrary but fixed constant c>0.

Two cases need to be distinguished:

Case 1: c≥1

Let us choose some n0∈ℕ, such that n0≥c. Then, for all n∈ℕ with n≥n0 there is c≤n, so cn≤nn, i.e. we have an upper bound. A lower bound is given by 1=1n≤cn for any n∈ℕ.

In the previous chapter, we have established the limit limn→∞1=1=limn→∞nn. So the squeeze theorem yields limn→∞cn=1 for any fixed c≥1 standing inside the root.

Case 2: 0<c<1

In this case, 1c≥1, so we are led to the above case, replacing c by 1c . Hence, also limn→∞1cn=1 and the limit theorems (quotient) yield:

limn→∞cn=limn→∞11cn=1limn→∞1cn=11=1

A useful special case

[edit | edit source]

We often encounter 0 as a sequence limit (null sequence). Since the squeeze theorem can be used to prove any a to be a limit of a sequence (an)n∈ℕ, it can also be used for a=0. In particular, for any (an)n∈ℕ converging to a, the sequence (|an−a|)n∈ℕ must converge to 0:

Theorem (Special case of the squeeze theorem)

Let (an)n∈ℕ be a real sequence, a∈ℝ, and (cn)n∈ℕ a null sequence with |an−a|≤cn for all n∈ℕ. Then limn→∞an=a.

Proof (Special case of the squeeze theorem)

We set a~n=|an−a|. For the constant sequence bn=0 there is bn≤an~≤cn (absolute values are always non-negative). Since limn→∞bn=0=limn→∞cn the squeeze theorem also implies limn→∞a~n=0. Therefore, (|an−a|)n∈ℕ is a null sequence, which is equivalent to the statement that (an)n∈ℕ converges to a .

Hint

This special case of the squeeze theorem is also referred to as direct comparison argument for sequences .

Example

Let us take a look at limn→∞n2+1−n=0. Not a simple case: both n2+1 and n tend to ∞ . But we can show that their difference converges to 0, since it is bounded by: |n2+1−n|≤12n

Let us prove this inequality. There is n2+1>n2 so n2+1>n2=n and the difference is positive, i.e. n2+1−n>0 .

Now, we remove the root by squaring it:   |n2+1−n|≤12n⇔  n2+1≤n+12n⇔  n2+1≤(n+12n)2=n2+1+14n2⇔  0≤14n2

The last inequality holds for all n∈ℕ and implies |n2+1−n|≤12n

But now, (12n)n∈ℕ is a null sequence, so the squeeze theorem proves our assertion.

Squeeze theorem: examples and problems

[edit | edit source]

Squeeze theorem: example & exercise 1

[edit | edit source]
Example (Squeeze theorem 1)

Let us consider the sequence (an)n∈ℕ with

an=(−1)nn2

The first 6 elements of the sequence ((−1)nn2)n∈ℕ, (−1n)n∈ℕ and (1n)n∈ℕ

We take a look at the first sequence elements (−1,14,−19,116,−125,…) . They seem to be alternately positive and negative, and they tend to zero. We use as lower or upper bound bn=−1n and cn=1n. Then, |an|=1n2≤1n so we caught bn≤an≤cn for all n∈ℕ.

In addition, limn→∞bn=limn→∞cn=0. The squeeze theorem hence implies limn→∞an=limn→∞(−1)nn2=0.

Question: Which further sequences (bn)n∈ℕ and (cn)n∈ℕ can be used for catching and squeezing an?

We could also use bn=−1n2 and cn=1n2. Or bn=−1/ns and cn=1/ns for any real 0<s≤2 (not necessarily 1 or 2).

Exercise (Squeeze theorem 1)

Investigate whether the sequence (a~n)n∈ℕ converges, using the squeeze theorem, where

a~n=1ns with s∈ℚ+

Solution (Squeeze theorem 1)

For s∈ℚ+ there is a k∈ℕ with 1/k≤s≤k. By monotonicity of the power function,

n1/k≤ns≤nk

Hence

1nk⏟=b~n≤1ns⏟=a~n≤1n1/k⏟=c~n

The limit theorems yield

limn→∞b~n=limn→∞1nk=limn→∞(1n)k=0k=0

and the root rule gives limn→∞c~n=limn→∞1/nk=0. Hence, by means of the squeeze theorem limn→∞a~n=0.

Squeeze theorem: example & exercise 2

[edit | edit source]
Example (Squeeze theorem 2)

Next, we prove that the sequence (an)n∈ℕ with

an=n!nn

converges to 0.

The first elements of (n!nn)n∈ℕ, (0)n∈ℕ and (1n)n∈ℕ

This sequence is bounded from below as all elements are positive an≥0=bn for all n∈ℕ. An upper bound can be found by multiplying out n! and nn:

an=n!nn=1⋅2⋅3⋅…⋅n⏞n factorsn⋅n⋅n⋅…⋅n⏟n factors=1n⋅2⋅3⋅…⋅nn⋅n⋅…⋅n⏟≤1 for n≥2≤1n⏟=cn for n≥2

Obviously, both bounding sequences converge to zero: limn→∞bn=limn→∞cn=0 . So the squeeze theorem implies limn→∞an=limn→∞n!nn=0.

Exercise (Squeeze theorem 2)

Use the squeeze theorem to show that (a~n)n∈ℕ and (ân)n∈ℕ with

  1. a~n=3nn!
  2. ân=2n2n

both converge to 0.

Solution (Squeeze theorem 2)

Part 1: The trick is multiplying out again. This time, for 3n and n! :

0⏟=b~n≤a~n=3nn!=3⋅3⋅3⋅…⋅3⏞n factors1⋅2⋅3⋅…⋅n⏟n factors=3⋅31⋅2⋅∏j=3n−13j⏟≤1 for n≥3⋅3n≤92⋅3n=272n⏟=c~n for n≥3

Since limn→∞b~n=limn→∞c~n=0 , the squeeze theorem implies limn→∞a~n=limn→∞3nn!=0.

Part 2:

Again, the elements are positive, i.e. ân=2n2n≥0=b̂n. Bounding from above can be done using 2n≥n2 for all n≥4. This inequality can be shown by induction:

Induction basis: n=4.

24=16≥16=42

Induction step: n→n+1.

2n+1=2⋅2n≥IH2⋅n2=n2+n2=n2+n⋅n=n2+2n+(n−2)⏟≥2⋅n⏟≥4≥n2+2n+8≥n2+2n+1=(n+1)2

So for all n≥4,

ân=2n2n≤2n≥n22nn2=2n⏟=ĉn

Since limn→∞ĉn=0 , the squeeze theorem implies limn→∞ân=0.

Squeeze theorem: example & exercise 3

[edit | edit source]
Example (Squeeze theorem 3)

Now, let us consider the root sequences (an)n∈ℕ and (an′)n∈ℕ with

an=n2+nn

and

an′=2n+3nn

First sequence: For (an) , monotonicity of the n-th root implies

an=n2+nn ≤n≤n2 n2+n2n=2n2n⏟=cn

as well as

an=n2+nn ≥n≥0 n2n⏟=bn

For those two bounding sequences, the limit theorems imply

limn→∞bn=limn→∞n2n=limn→∞nn⋅nn=1⋅1=1

and

limn→∞cn=limn→∞2n2n=limn→∞2n⋅nn⋅nn=1⋅1⋅1=1

The squeeze theorem hence implies limn→∞an=1.

Second sequence: For (an′) the root function is monotone, as well

an′=2n+3nn ≤2n≤3n 3n+3nn=2⋅3nn⏟=cn′

and

an′=2n+3nn ≥2n≥0 3nn⏟=bn′

We use the limit theorems for the upper and lower bounding sequences

limn→∞bn′=limn→∞3nn=limn→∞3=3

and

limn→∞cn′=limn→∞2⋅3nn=limn→∞2n⋅3nn=1⋅3=3

So the squeeze theorem implies limn→∞an′=3.

Exercise (Squeeze theorem 3)

Use the squeeze theorem to determine the limits of the sequences (ân)n∈ℕ and (a‾n)n∈ℕ with

  1. ân=n2−n+1n
  2. a‾n=3n−2nn
Solution (Squeeze theorem 3)

Part 1: For (ân) the n-th root is monotone, so

n2−n+1n⏟=ân ≤−n+1≤0 n2n⏟=ĉn

further, for n≥2

n2≥2n⟺n22≥n⟺−n22≤−n⟹−n+1≥−n22

Hence, there is

n2−n+1n⏟=ân ≥−n+1≥−n22 n2−n22n=n22n⏟=b̂n

The limit theorems for the bounding sequences yield

limn→∞b̂n=limn→∞n22n=limn→∞12n⋅nn2=1⋅12=1

and

limn→∞ĉn=limn→∞n2n=limn→∞nn2=12=1

So the squeeze theorem implies limn→∞ân=1.

Part 2: For (a‾n) we again have monotonicity of the n-th root

3n−2nn⏟=a‾n ≤−2n≤0 3nn=3⏟=c‾n

Further,

3n−2nn⏟=a‾n=3n(1−(23)n)n ≥−(23)n≥−23 3n⋅(1−23)n=3n⋅13n⏟=b‾n

The limit theorems for the bounding sequences render

limn→∞b‾n=limn→∞3n⋅13n=limn→∞13n⋅3nn=1⋅3=3

And by means of the squeeze theorem limn→∞a‾n=3.

Squeeze theorem: example & exercise 4

[edit | edit source]
Example (Squeeze theorem 4)

Let (an)n∈ℕ be the sequence of finite sums

an=∑k=1nkn2+k

Then, for all k=1,…,n we bound:

kn2+n≤k≤nkn2+k≤k≥0kn2

and hence

∑k=1nkn2+n⏟=bn≤k≤n∑k=1nkn2+k⏟=an≤k≥0∑k=1nkn2⏟=cn

For the lower bound,

bn=∑k=1nkn2+n=∑k=1nkn2+n ↓ Gaussian summation ∑k=1nk=n(n+1)2=n(n+1)2n2+n=n(n+1)2(n2+n)=n2+n2n2+2n=1+1n2+2n→12 with n→∞

For the upper bound,

cn=∑k=1nkn2=∑k=1nkn2 ↓ Gaussian summation ∑k=1nk=n(n+1)2=n(n+1)2n2=n(n+1)2n2=n2+n2n2=1+1n2→12 with n→∞

So the squeeze theorem implies limn→∞an=12.

Exercise (Squeeze theorem 4)

Investigate the limits of the two sequences of finite sums (a~n)n∈ℕ and (ân)n∈ℕ defined by

  1. a~n=∑k=1nk2n3+k
  2. ân=∑k=1nk2n4−10k2

using the squeeze theorem.

Solution (Squeeze theorem 4)

Part 1: For all k=1,…,n we have:

k2n3+n≤k≤nk2n3+k≤k≥0k2n3

so we have some bounds

∑k=1nk2n3+n⏟=b~n≤k≤n∑k=1nk2n3+k⏟=a~n≤k≥0∑k=1nk2n3⏟=c~n

For the lower bound,

b~n=∑k=1nk2n3+n=∑k=1nk2n3+n ↓ sum formula ∑k=1nk2=n(n+1)(2n+1)6=n(n+1)(2n+1)6n3+n=n(n+1)(2n+1)6(n3+n)=(n2+n)(2n+1)6n3+6n=2n3+3n2+n6n3+6n=2+3n+1n26+6n2→26=13 with n→∞

For the upper bound,

c~n=∑k=1nk2n3=∑k=1nk2n3 ↓ sum formula ∑k=1nk2=n(n+1)(2n+1)6=n(n+1)(2n+1)6n3=n(n+1)(2n+1)6n3=(n2+n)(2n+1)6n3=2n3+3n2+n6n3=2+3n+1n26→26=13 with n→∞

So the squeeze theorem implies limn→∞a~n=13.

Part 2: For all n≥4 and k=1,…,n there is:

0≤k2n4−10k2≤−10k2≥−10n2k2n4−10n2

so we have the bounds

0⏟=b̂n≤k≥0∑k=1nk2n4−10k2⏟=ân≤∑k=1nk2n4−10n2⏟=ĉn

The lower bound is just 0 and for the upper bound,

ĉn=∑k=1nk2n4−10n2=∑k=1nk2n4−10n2 ↓ sum formula ∑k=1nk2=n(n+1)(2n+1)6=n(n+1)(2n+1)6n4−10n2=2n3+3n2+n6n4−60n2=2n+3n2+1n36−60n2→0 with n→∞

So the squeeze theorem implies limn→∞ân=0.

Squeeze theorem: example & exercise 5

[edit | edit source]
Exercise (Squeeze theorem 5)

Does the sequence an=(1−1n2)n converge? If yes, what is its limit? Provide proofs for your claims.

How to get to the proof? (Squeeze theorem 5)

Perhaps, you have already encountered the sequence dn=(1+1n)n which converges to Euler's number e. This is an upper bound for an=(1−1n2)n , so with that knowledge, we may assert that it is bounded above. But what is the limit? Maybe, we should start by computing some initial sequence elements:

a10=0.90438…a100=0.99004…a1000=0.99900…

It looks as if (an)n∈ℕ converges to 1 . This gets particularly clear, if we plot the sequence elements in a diagram:

The first 20 elements of the sequence (1-n^(-2))^n
The first 20 elements of the sequence (1-n^(-2))^n

What makes determining the limit hard is the exponent of n . Otherwise, we could use some limit theorems or an epsilon proof and would be done quite fast. Luckily, there is a trick to get rid of the exponent: Bernoulli's inequality:

(1−1n2)n≥1−n⋅1n2=1−1n

The sequence (1−1n)n∈ℕ is hence a lower bound on an and it clearly converges to 1 . We hence set bn=1−1n as a lower bound for the squeeze theorem.

How to get an upper bound converging to 1? This is quite easy, since (an)n∈ℕ is always smaller than 1 : The expression 1−1n2 lies in [0,1) and therefore, also every positive integer power of it is smaller than 1. This includes (1−1n2)n being smaller than 1.

So for the squeeze theorem, we have for all n∈ℕ the inequality:

1−1n≤(1−1n2)n≤1

Both the lower and the upper bounding sequences converge to the identical limit 1 . So by means of the squeeze theorem, there must also be limn→∞(1−1n2)n=1.

Proof (Squeeze theorem 5)

Bernoulli's inequality implies

(1−1n2)n≥1−n⋅1n2=1−1n

And there is

0<1n2≤1⇒0≤1−1n2≤1⇒(1−1n2)n≤1

So we get the bounds

1−1n≤(1−1n2)n≤1

Both bounding sequences converge to limn→∞1−1n=limn→∞1=1 , so by means of the squeeze theorem, limn→∞(1−1n2)n=1 which was to be shown.

Hint

If you are allowed to use limn→∞(1+1n)n=e and limn→∞(1−1n)n=1e , then you can also obtain the result directly, using the third binomial formula:

limn→∞(1−1n2)n=limn→∞((1+1n)(1−1n))n=limn→∞(1+1n)n(1−1n)n=limn→∞(1+1n)n⋅limn→∞(1−1n)n=e⋅1e=1

Exercise (Squeeze theorem 5)

Does the sequence an=(1+1n2)n converge? If yes, what is its limit? Prove your assertions.

How to get to the proof? (Squeeze theorem 5)

Again, Bernoulli's inequality can be used for getting rid of the exponent n. There is

(1+1n2)n≥1+n⋅1n2=1+1n

so we have a bound from below converging to 1. But (1+1n2)n≥1 is already a lower bound converging to 1. So Bernoulli's inequality doesn't help us in this form. What we need is an upper bound converging to 1. This can be done by a little trick: we put expressions from the numerator in the denominator and apply Bernoulli's inequality afterwards:

(1+1n2)n=(n2+1n2)n=1(n2n2+1)n=1(n2+1−1n2+1)n=1(1−1n2+1)n↓ Bernoulli's inequality≤1(1−nn2+1)=1(n2−n+1n2+1)=n2+1n2−n+1

Hence, we have an upper bound an≤n2+1n2−n+1. Dividing the numerator and denominator of the bound by n2 gives a quotient of convergent sequences, both with limit 1, and the quotient rule gives limn→∞n2+1n2−n+1=1. Therefore, we have two bounding sequences bn=1≤(1+1n2)n≤n2+1n2−n+1=cn converging to 1 and by the squeeze theorem limn→∞an=1 .

Proof (Squeeze theorem 5)

Let bn=1 and cn=n2+1n2−n+1. There is bn≤an≤cn:

1≤(1+1n2)n=(n2+1n2)n=1(n2n2+1)n=1(n2+1−1n2+1)n=1(1−1n2+1)n↓ Bernoulli's inequality≤1(1−nn2+1)=1(n2−n+1n2+1)=n2+1n2−n+1

The bounding sequences converge to limn→∞bn=limn→∞1=1 and (by means of the limit theorem):

limn→∞cn=limn→∞n2+1n2−n+1=limn→∞1+1n21−1n+1n2=1+01−0+0=1

So there is limn→∞bn=limn→∞cn=1 and the squeeze theorem implies limn→∞an=1 .

Alternative proof (Squeeze theorem 5)

If the exponential series ∑k=0∞1k!=e is known, one can also use the binomial theorem for a bound. A lower bound is given by (1+1n2)n≥1 . For the upper bound, we use the binomial theorem (a+b)n=∑k=0n(nk)akbn−k:

(1+1n2)n=∑k=0n(nk)(1n2)k⋅1n−k=1+∑k=1nn⋅(n−1)⋅…⋅(n−k+1)k!⋅1n2k=1+∑k=1n1k!⋅n⋅(n−1)⋅…⋅(n−k+1)n⋅n⋅…⋅n⏟≤1⋅1nk⏟≤1n≤1+1n⋅∑k=1n1k!≤1+1n⋅∑k=1∞1k!⏟=e−1≤1+e−1n

This yields a suitable upper bound, and we get 1≤an≤1+e−1n . The squeeze theorem then implies that (an)n∈ℕ converges to 1 .

Alternative proof (Squeeze theorem 5)

We may use limn→∞(1+1n)n=e for a direct proof. The sequence ((1+1n2)n2)n∈ℕ is a subsequence of ((1+1n)n)n∈ℕ and converges to the same limit:

limn→∞(1+1n2)n2=e Hence, for some N∈ℕ, there is (1+1n2)n2≤2e for all n≥N. The sequence an can be recovered from this by taking the nth root (1+1n2)n=(1+1n2)n2n . So for all n≥N:

1≤(1+1n2)n2≤2e⟹1n≤(1+1n2)n2n≤2en⟹1≤(1+1n2)n≤2en

With limn→∞1n=1=limn→∞2en , the squeeze theorem again implies that (an)n∈ℕ converges to 1.

Examples & exercises: squeeze theorem for null sequences

[edit | edit source]
Example (Squeeze theorem for null sequences 1)

First, an easy example: we prove limn→∞n−1n+1=1.

We estimate |n−1n+1⏟=an−1⏟=a| by the null sequence cn=2n as follows:

|n−1n+1−1|=|n−1−(n+1)n+1|=|−2n+1|=2n+1≤2n

Since limn→∞cn=limn→∞2n=0, (cn)n∈ℕ is a null sequence. We can use 1+cn as an upper and 1−cn as a lower bound for an. The squeeze theorem then implies limn→∞an=limn→∞n−1n+1=1.

Example (Squeeze theorem for null sequences 2)

Now, it gets a bit more complicated: We fix any c>1 and prove that limn→∞cn=1. This can be done by bounding |cn−1|=cn−1 from above using a null sequence (cn) . The trick is to use Bernoulli's inequality, which will yield the upper bound cn=c−1n :

c=(cn)n=(1+(cn−1))n↓ Bernoulli's inequality≥1+n⋅(cn−1)

This implies

c≥1+n⋅(cn−1)⇔c−1≥n⋅(cn−1)⇔c−1n≥cn−1⇔cn−1≤c−1n

So we have

|cn−1|=cn−1≤c−1n=(c−1)⋅1n→n→∞0

The squeeze theorem for null sequences directly implies limn→∞cn=1.

Exercise (Squeeze theorem for null sequences)

Prove that limn→∞nn=1.

Solution (Squeeze theorem for null sequences)

In order to use the squeeze theorem, we need to bound |nn−1| from above by a null sequence. The binomial theorem can be used for this bounding. In case n≥2:

n=(nn)n=(1+(nn−1))n↓ binomial theorem=∑k=0n(nk)(nn−1)k⋅1n−k⏟=1=(n0)(nn−1)0⏟=1+(n1)(nn−1)1⏟≥0+(n2)(nn−1)2+∑k=3n(nk)(nn−1)k⏟≥0≥1+(n2)(nn−1)2=1+n(n−1)2(nn−1)2

This inequality implies

n≥1+n(n−1)2⋅(nn−1)2⟺n−1≥n(n−1)2⋅(nn−1)2⟺2n≥(nn−1)2⟺|nn−1|≤2n

So the desired bound reads

|nn−1|≤2⋅1n→n→∞0

And by means of the squeeze theorem limn→∞nn=1, which was to be shown.