In calculus, the **squeeze theorem** (known also as the **pinching theorem**, the **sandwich theorem**, the **sandwich rule** and sometimes the **squeeze lemma**) is a theorem regarding the limit of a function.

The squeeze theorem is a technical result that is very important in proofs in calculus and mathematical analysis. It is typically used to confirm the limit of a function via comparison with two other functions whose limits are known or easily computed. 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|Gauss.

In Italy, China, Chile, Russia, Poland and France, the squeeze theorem is also known as the **two carabinieri theorem**, **two militsioner theorem**, **sandwich theorem**, **two gendarmes theorem**, "Double sided theorem" or **two policemen and a drunk theorem**. The story is that if two policemen are escorting a drunk prisoner between them, and both officers go to a cell, then (regardless of the path taken, and the fact that the prisoner may be wobbling about between the policemen) the prisoner must also end up in the cell.

## Contents

## StatementEdit

The squeeze theorem is formally stated as follows.

Let

Ibe an interval having the pointaas a limit point. Letf,g, andhbe functions defined onI, except possibly ataitself. Suppose that for everyxinInot equal toa, we have:

and also suppose that:

Then

- 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*→ ∞.

### ProofEdit

From the above hypotheses we have, taking the limit inferior and superior:

so all the inequalities are indeed equalities, and the thesis immediately follows.

Another 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 0 < |x − a | < δ, we have -ε <f(x) − L < ε. Symbolically,

- .

As

means that

- (1)

and

means that

- , (2)

then we have

We can choose such that and ; *e.g.*, by choosing . Then, if , combining (1) and (2), we have

- ,

which completes the proof.

## ExamplesEdit

- Example 1.2

Probably the most well-known examples of finding a limit by squeezing are the proofs of the equalities

The first follows by means of the squeeze theorem from the fact that

for *x* close enough, but not equal to 0.

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.

- Example 1.3

It is possible to show that

by squeezing, as follows.

In the illustration at right, the area of the smaller of the two shaded sectors of the circle is

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

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

From the inequalities

we deduce that

provided Δ*θ* > 0, and the inequalities are reversed if Δ*θ* < 0. Since the first and third expressions approach sec^{2}*θ* as Δ*θ* → 0, and the middle expression approaches (*d*/*dθ*) tan *θ*, the desired result follows.

- Example 1.4

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.^{[1]}

cannot be found by taking any number of limits along paths that pass through the point, but since

therefore, by the squeeze theorem,

## ReferencesEdit

- ↑ Stewart, James (2008). "Chapter 15.2 Limits and Continuity".
*Multivariable Calculus*(6th ed.). pp. 909–910. ISBN 0495011630.