The Sandwich Theorem is a theorem that is used to solve Limit that would otherwise be considered undefined. It works on the principle that if a function is ‘sandwiched’ between two other functions for a period, the value it converges (i.e. the limit) will also between the Limit of the two functions.

It also uses a similar principle to finding the average big-O time of an algorithm.

Definition

Let all be real-valued functions that operate over a domain of x, where :

In other words, if f(x) is strictly bound between g(x) and h(x) over a domain and both Limit of g(x) and h(x) exist and are equal, then the limit of f(x) is equal to the Limit of g(x) and h(x).

Examples

The trig functions sin and cos are a godsend here, as they are always bound between [-1,1] so any function multiplied by them can be used as g(x) and h(x):

1: Trig Functions

Let . Evaluate

Since is always bounded between -1 and 1, we can use it’s domain to determine an upper and lower bound function: Since |x| and -|x| are defined to be upper and lower bound functions, and their Limit exist and are equal at 0, trivially, then using the Sandwich Theorem:

Hence,

2: More complex functions

Let . Evaluate
At first, this limit might look daunting without the presence of any trig functions. However, it can still be simplified (or at least converted into a form which allows the use of the sandwich theorem). (Multiplying by the conjugate)
Now, to use the sandwich theorem, we need to find 2 appropriately bounded functions to act as upper and lower bound. Let’s call the lower bound and the upper bound .
So, our lower bound function So, our upper bound function
Now, to use the sandwich theorem: (By Standard Limits, as ) Similarly,
Hence, as and , via Sandwich Theorem.

Resources

Organic Chemistry Tutor's Video