- Source: Squeeze theorem
In calculus, the squeeze theorem (also known as the sandwich theorem, among other names) is a theorem regarding the limit of a function that is bounded between two other functions.
The squeeze theorem is used in calculus and mathematical analysis, typically to confirm the limit of a function via comparison with two other functions whose limits are known. It was first used geometrically by the mathematicians Archimedes and Eudoxus in an effort to compute π, and was formulated in modern terms by Carl Friedrich Gauss.
Statement
The squeeze theorem is formally stated as follows.
The functions g and h are said to be lower and upper bounds (respectively) of f.
Here, a is not required to lie in the interior of I. Indeed, if a is an endpoint of I, then the above limits are left- or right-hand limits.
A similar statement holds for infinite intervals: for example, if I = (0, ∞), then the conclusion holds, taking the limits as x → ∞.
This theorem is also valid for sequences. Let (an), (cn) be two sequences converging to ℓ, and (bn) a sequence. If
∀
n
≥
N
,
N
∈
N
{\displaystyle \forall n\geq N,N\in \mathbb {N} }
we have an ≤ bn ≤ cn, then (bn) also converges to ℓ.
= Proof
=According to the above hypotheses we have, taking the limit inferior and superior:
L
=
lim
x
→
a
g
(
x
)
≤
lim inf
x
→
a
f
(
x
)
≤
lim sup
x
→
a
f
(
x
)
≤
lim
x
→
a
h
(
x
)
=
L
,
{\displaystyle L=\lim _{x\to a}g(x)\leq \liminf _{x\to a}f(x)\leq \limsup _{x\to a}f(x)\leq \lim _{x\to a}h(x)=L,}
so all the inequalities are indeed equalities, and the thesis immediately follows.
A direct proof, using the (ε, δ)-definition of limit, would be to prove that for all real ε > 0 there exists a real δ > 0 such that for all x with
|
x
−
a
|
<
δ
,
{\displaystyle |x-a|<\delta ,}
we have
|
f
(
x
)
−
L
|
<
ε
.
{\displaystyle |f(x)-L|<\varepsilon .}
Symbolically,
∀
ε
>
0
,
∃
δ
>
0
:
∀
x
,
(
|
x
−
a
|
<
δ
⇒
|
f
(
x
)
−
L
|
<
ε
)
.
{\displaystyle \forall \varepsilon >0,\exists \delta >0:\forall x,(|x-a|<\delta \ \Rightarrow |f(x)-L|<\varepsilon ).}
As
lim
x
→
a
g
(
x
)
=
L
{\displaystyle \lim _{x\to a}g(x)=L}
means that
and
lim
x
→
a
h
(
x
)
=
L
{\displaystyle \lim _{x\to a}h(x)=L}
means that
then we have
g
(
x
)
≤
f
(
x
)
≤
h
(
x
)
{\displaystyle g(x)\leq f(x)\leq h(x)}
g
(
x
)
−
L
≤
f
(
x
)
−
L
≤
h
(
x
)
−
L
{\displaystyle g(x)-L\leq f(x)-L\leq h(x)-L}
We can choose
δ
:=
min
{
δ
1
,
δ
2
}
{\displaystyle \delta :=\min \left\{\delta _{1},\delta _{2}\right\}}
. Then, if
|
x
−
a
|
<
δ
{\displaystyle |x-a|<\delta }
, combining (1) and (2), we have
−
ε
<
g
(
x
)
−
L
≤
f
(
x
)
−
L
≤
h
(
x
)
−
L
<
ε
,
{\displaystyle -\varepsilon
−
ε
<
f
(
x
)
−
L
<
ε
,
{\displaystyle -\varepsilon
which completes the proof. Q.E.D
The proof for sequences is very similar, using the
ε
{\displaystyle \varepsilon }
-definition of the limit of a sequence.
Examples
= First example
=The limit
lim
x
→
0
x
2
sin
(
1
x
)
{\displaystyle \lim _{x\to 0}x^{2}\sin \left({\tfrac {1}{x}}\right)}
cannot be determined through the limit law
lim
x
→
a
(
f
(
x
)
⋅
g
(
x
)
)
=
lim
x
→
a
f
(
x
)
⋅
lim
x
→
a
g
(
x
)
,
{\displaystyle \lim _{x\to a}(f(x)\cdot g(x))=\lim _{x\to a}f(x)\cdot \lim _{x\to a}g(x),}
because
lim
x
→
0
sin
(
1
x
)
{\displaystyle \lim _{x\to 0}\sin \left({\tfrac {1}{x}}\right)}
does not exist.
However, by the definition of the sine function,
−
1
≤
sin
(
1
x
)
≤
1.
{\displaystyle -1\leq \sin \left({\tfrac {1}{x}}\right)\leq 1.}
It follows that
−
x
2
≤
x
2
sin
(
1
x
)
≤
x
2
{\displaystyle -x^{2}\leq x^{2}\sin \left({\tfrac {1}{x}}\right)\leq x^{2}}
Since
lim
x
→
0
−
x
2
=
lim
x
→
0
x
2
=
0
{\displaystyle \lim _{x\to 0}-x^{2}=\lim _{x\to 0}x^{2}=0}
, by the squeeze theorem,
lim
x
→
0
x
2
sin
(
1
x
)
{\displaystyle \lim _{x\to 0}x^{2}\sin \left({\tfrac {1}{x}}\right)}
must also be 0.
= Second example
=Probably the best-known examples of finding a limit by squeezing are the proofs of the equalities
lim
x
→
0
sin
x
x
=
1
,
lim
x
→
0
1
−
cos
x
x
=
0.
{\displaystyle {\begin{aligned}&\lim _{x\to 0}{\frac {\sin x}{x}}=1,\\[10pt]&\lim _{x\to 0}{\frac {1-\cos x}{x}}=0.\end{aligned}}}
The first limit follows by means of the squeeze theorem from the fact that
cos
x
≤
sin
x
x
≤
1
{\displaystyle \cos x\leq {\frac {\sin x}{x}}\leq 1}
for x close enough to 0. The correctness of which for positive x can be seen by simple geometric reasoning (see drawing) that can be extended to negative x as well. The second limit follows from the squeeze theorem and the fact that
0
≤
1
−
cos
x
x
≤
x
{\displaystyle 0\leq {\frac {1-\cos x}{x}}\leq x}
for x close enough to 0. This can be derived by replacing sin x in the earlier fact by
1
−
cos
2
x
{\textstyle {\sqrt {1-\cos ^{2}x}}}
and squaring the resulting inequality.
These two limits are used in proofs of the fact that the derivative of the sine function is the cosine function. That fact is relied on in other proofs of derivatives of trigonometric functions.
= Third example
=It is possible to show that
d
d
θ
tan
θ
=
sec
2
θ
{\displaystyle {\frac {d}{d\theta }}\tan \theta =\sec ^{2}\theta }
by squeezing, as follows.
In the illustration at right, the area of the smaller of the two shaded sectors of the circle is
sec
2
θ
Δ
θ
2
,
{\displaystyle {\frac {\sec ^{2}\theta \,\Delta \theta }{2}},}
since the radius is sec θ and the arc on the unit circle has length Δθ. Similarly, the area of the larger of the two shaded sectors is
sec
2
(
θ
+
Δ
θ
)
Δ
θ
2
.
{\displaystyle {\frac {\sec ^{2}(\theta +\Delta \theta )\,\Delta \theta }{2}}.}
What is squeezed between them is the triangle whose base is the vertical segment whose endpoints are the two dots. The length of the base of the triangle is tan(θ + Δθ) − tan θ, and the height is 1. The area of the triangle is therefore
tan
(
θ
+
Δ
θ
)
−
tan
θ
2
.
{\displaystyle {\frac {\tan(\theta +\Delta \theta )-\tan \theta }{2}}.}
From the inequalities
sec
2
θ
Δ
θ
2
≤
tan
(
θ
+
Δ
θ
)
−
tan
θ
2
≤
sec
2
(
θ
+
Δ
θ
)
Δ
θ
2
{\displaystyle {\frac {\sec ^{2}\theta \,\Delta \theta }{2}}\leq {\frac {\tan(\theta +\Delta \theta )-\tan \theta }{2}}\leq {\frac {\sec ^{2}(\theta +\Delta \theta )\,\Delta \theta }{2}}}
we deduce that
sec
2
θ
≤
tan
(
θ
+
Δ
θ
)
−
tan
θ
Δ
θ
≤
sec
2
(
θ
+
Δ
θ
)
,
{\displaystyle \sec ^{2}\theta \leq {\frac {\tan(\theta +\Delta \theta )-\tan \theta }{\Delta \theta }}\leq \sec ^{2}(\theta +\Delta \theta ),}
provided Δθ > 0, and the inequalities are reversed if Δθ < 0. Since the first and third expressions approach sec2θ as Δθ → 0, and the middle expression approaches
d
d
θ
tan
θ
,
{\displaystyle {\tfrac {d}{d\theta }}\tan \theta ,}
the desired result follows.
= Fourth example
=The squeeze theorem can still be used in multivariable calculus but the lower (and upper functions) must be below (and above) the target function not just along a path but around the entire neighborhood of the point of interest and it only works if the function really does have a limit there. It can, therefore, be used to prove that a function has a limit at a point, but it can never be used to prove that a function does not have a limit at a point.
lim
(
x
,
y
)
→
(
0
,
0
)
x
2
y
x
2
+
y
2
{\displaystyle \lim _{(x,y)\to (0,0)}{\frac {x^{2}y}{x^{2}+y^{2}}}}
cannot be found by taking any number of limits along paths that pass through the point, but since
0
≤
x
2
x
2
+
y
2
≤
1
−
|
y
|
≤
y
≤
|
y
|
⟹
−
|
y
|
≤
x
2
y
x
2
+
y
2
≤
|
y
|
lim
(
x
,
y
)
→
(
0
,
0
)
−
|
y
|
=
0
lim
(
x
,
y
)
→
(
0
,
0
)
|
y
|
=
0
⟹
0
≤
lim
(
x
,
y
)
→
(
0
,
0
)
x
2
y
x
2
+
y
2
≤
0
{\displaystyle {\begin{array}{rccccc}&0&\leq &\displaystyle {\frac {x^{2}}{x^{2}+y^{2}}}&\leq &1\\[4pt]-|y|\leq y\leq |y|\implies &-|y|&\leq &\displaystyle {\frac {x^{2}y}{x^{2}+y^{2}}}&\leq &|y|\\[4pt]{{\displaystyle \lim _{(x,y)\to (0,0)}-|y|=0} \atop {\displaystyle \lim _{(x,y)\to (0,0)}\ \ \ |y|=0}}\implies &0&\leq &\displaystyle \lim _{(x,y)\to (0,0)}{\frac {x^{2}y}{x^{2}+y^{2}}}&\leq &0\end{array}}}
therefore, by the squeeze theorem,
lim
(
x
,
y
)
→
(
0
,
0
)
x
2
y
x
2
+
y
2
=
0.
{\displaystyle \lim _{(x,y)\to (0,0)}{\frac {x^{2}y}{x^{2}+y^{2}}}=0.}
References
= Notes
== References
=External links
Weisstein, Eric W. "Squeezing Theorem". MathWorld.
Squeeze Theorem by Bruce Atwood (Beloit College) after work by, Selwyn Hollis (Armstrong Atlantic State University), the Wolfram Demonstrations Project.
Squeeze Theorem on ProofWiki.