Theorems for Calculating Limits

The limit laws reduce complicated limits to simpler ones by breaking them into parts. When these laws cannot be applied directly, because of indeterminate forms, special techniques or theorems such as the Sandwich Theorem are needed.

Law Formula
Constant Multiple lim x s [ k f ( x ) ] = k lim x s f ( x )
Sum lim x s [ f + g ] = lim f + lim g
Product lim x s [ f g ] = ( lim f ) ( lim g )
Quotient lim x s [ f / g ] = ( lim f ) / ( lim g ) , provided lim g 0

Throughout this section, s denotes any of a , a + , a , , or + , where a is a real number.

Algebraic Operations on Limits

  1. (Constant Multiple Law) The limit of a constant multiplied by a function is the constant multiplied by the limit of the function: \lim_{x \to s}[kf(x)] = k\lim_{x \to s}f(x). \tag{1}
  2. (Sum Law) The limit of a sum is the sum of the limits (because f g = f + ( 1 ) g , the same holds for differences): \lim_{x \to s}[f(x)+g(x)] = \lim_{x \to s}f(x) + \lim_{x \to s}g(x). \tag{2}

    If one limit is a number and the other is + , the result is + . If one limit is + and the other is , the result is an indeterminate form .

  3. (Product Law) The limit of a product is the product of the limits: \lim_{x \to s}[f(x)g(x)] = \Bigl(\lim_{x \to s}f(x)\Bigr)\Bigl(\lim_{x \to s}g(x)\Bigr). \tag{3}

    If one limit is a nonzero number and the other is ± , the result is ± (with sign depending on the signs of the factors). If lim f = 0 and lim g = ± , the product 0 ( ± ) is an indeterminate form.

  4. (Quotient Law) The limit of a quotient is the quotient of the limits, provided the limit of the denominator is nonzero: \lim_{x \to s}\frac{f(x)}{g(x)} = \frac{\displaystyle\lim_{x \to s}f(x)}{\displaystyle\lim_{x \to s}g(x)} \qquad \Bigl(\text{provided } \lim_{x \to s}g(x)\neq 0\Bigr). \tag{4}

    If lim x s g ( x ) = 0 but lim x s f ( x ) = L 0 , then

    \lim_{x \to s}\frac{f(x)}{g(x)} = \begin{cases} +\infty & \text{if } L \text{ and } g(x) \text{ have the same signs} \\ -\infty & \text{if } L \text{ and } g(x) \text{ have opposite signs} \\ \text{does not exist} & \text{if the sign of } g(x) \text{ changes} \end{cases}. \tag{5}

    If both the numerator and the denominator approach $0$, or both approach ± , the result is an indeterminate form 0 0 or ± ± .

Proof We prove the Sum Law, Product Law, and Quotient Law for the case x a (a real number). The Constant Multiple Law is the special case of the Product Law with g ( x ) k . Before starting, note that lim x a f ( x ) = L is equivalent to lim x a [ f ( x ) L ] = 0. **Sum Law.** Let ϵ > 0 be given. We must find δ > 0 such that | f ( x ) + g ( x ) L M | < ϵ whenever 0 < | x a | < δ . By the triangle inequality, | [ f ( x ) L ] + [ g ( x ) M ] | | f ( x ) L | + | g ( x ) M | . Since lim x a f ( x ) = L , there exists δ 1 > 0 such that | f ( x ) L | < ϵ / 2 whenever 0 < | x a | < δ 1 . Since lim x a g ( x ) = M , there exists δ 2 > 0 such that | g ( x ) M | < ϵ / 2 whenever 0 < | x a | < δ 2 . Setting δ = min { δ 1 , δ 2 } , both conditions hold simultaneously and: | f ( x ) + g ( x ) L M | | f ( x ) L | + | g ( x ) M | < ϵ 2 + ϵ 2 = ϵ whenever 0 < | x a | < δ . **Product Law.** We first prove the special case M = 0 : if f ( x ) L and g ( x ) 0 as x a , then f ( x ) g ( x ) 0 . Since lim x a f ( x ) = L , there exists δ 1 > 0 such that | f ( x ) L | < 1 whenever 0 < | x a | < δ 1 . This means | f ( x ) | | f ( x ) L | + | L | < 1 + | L | , so: |f(x)g(x)| = |f(x)||g(x)| < (1+|L|)|g(x)|. \tag{*} Since lim x a g ( x ) = 0 , there exists δ 2 > 0 such that | g ( x ) | < ϵ 1 + | L | whenever 0 < | x a | < δ 2 . \tag{**} Taking δ = min { δ 1 , δ 2 } , both (*) and (**) hold and | f ( x ) g ( x ) | < ϵ . For the general case M 0 , write f ( x ) g ( x ) L M = [ f ( x ) L ] g ( x ) + [ g ( x ) M ] L . Since f ( x ) L 0 and g ( x ) M 0 , the special case gives f ( x ) g ( x ) L M 0 . **Quotient Law.** It suffices to show lim x a M g ( x ) = 1 , since f ( x ) g ( x ) = f ( x ) M M g ( x ) and the Product Law then gives L M 1 = L M . Let h ( x ) = g ( x ) / M so lim x a h ( x ) = 1 . We must show | 1 h ( x ) 1 | < ϵ for 0 < | x a | < δ . Since lim x a h ( x ) = 1 , choose δ > 0 so that both | h ( x ) 1 | < ϵ / 2 and | h ( x ) 1 | < 1 / 2 when 0 < | x a | < δ . The second condition implies h ( x ) > 1 / 2 , so 1 / | h ( x ) | < 2 . Therefore: | 1 h ( x ) 1 | = | h ( x ) 1 | | h ( x ) | < 2 ϵ 2 = ϵ .

Indeterminate Forms

Although the limit laws cover most situations, there are four cases where they give no information:

, 0 ( ± ) , 0 0 , ± ± .

These are called indeterminate forms. Their value cannot be predicted in advance, each may take any value (including + or ) or may fail to exist entirely. There are three more indeterminate forms 0 0 , 1 ± , and ( ± ) 0 that arise with exponential expressions.

  • In algebra, 0 / 0 is simply undefined and is not a number. Here, 0 / 0 , 0 ( ± ) , etc.\ are shorthand for the specific types of indeterminate limits described above.

The Sandwich Theorem

(Sandwich Theorem) Suppose that

g ( x ) f ( x ) h ( x )

for all x near a (except possibly at x = a itself). If

lim x a g ( x ) = lim x a h ( x ) = L ,

then

lim x a f ( x ) = L .
  • The Sandwich Theorem is also called the Squeeze Theorem or the Pinching Theorem.
  • It also holds for one-sided limits: replace x a by x a or x a + .

The theorem says: if f is squeezed between g and h near a , and g and h both approach L , then f must also approach L , after all, where else could f go?

Diagram illustrating the Sandwich Theorem: f is squeezed between g and h
Proof Suppose ϵ > 0 is given. We need δ > 0 such that 0 < | x a | < δ | f ( x ) L | < ϵ . Because lim x a g ( x ) = L , there exists δ 1 > 0 such that 0 < | x a | < δ 1 L ϵ < g ( x ) < L + ϵ . Because lim x a h ( x ) = L , there exists δ 2 > 0 such that 0 < | x a | < δ 2 L ϵ < h ( x ) < L + ϵ . Choose δ = min { δ 1 , δ 2 } . Then for 0 < | x a | < δ : L ϵ < g ( x ) f ( x ) h ( x ) < L + ϵ , so L ϵ < f ( x ) < L + ϵ , i.e., | f ( x ) L | < ϵ .

Show that lim x 0 x 1 x = 1 , where denotes the floor (greatest integer) function.

The floor function satisfies x = the largest integer x , and for every real number t : t 1 < t t .

Solution For every x 0 : 1 x 1 < 1 x 1 x . **If x > 0 :** multiply by x (inequalities preserved): 1 x < x 1 x 1. Since lim x 0 ( 1 x ) = 1 , by the Sandwich Theorem: lim x 0 + x 1 x = 1. **If x < 0 :** multiply by x (inequalities reversed): 1 x > x 1 x 1. Since lim x 0 ( 1 x ) = 1 , by the Sandwich Theorem: lim x 0 x 1 x = 1. Because both one-sided limits equal $1$: lim x 0 x 1 x = 1.

Using the inequalities | x | sin x | x | and | x | 1 cos x | x | and the Sandwich Theorem, prove:

  1. lim x 0 sin x = 0
  2. lim x 0 cos x = 1
Then conclude:
  1. lim x a sin x = sin a
  2. lim x a cos x = cos a
Solution **(a)** Since | x | sin x | x | and lim x 0 | x | = lim x 0 ( | x | ) = 0 , the Sandwich Theorem gives lim x 0 sin x = 0 . **(b)** Since | x | 1 cos x | x | , the Sandwich Theorem gives lim x 0 ( 1 cos x ) = 0 . Then by the Sum Law, lim x 0 ( 1 cos x ) = 1 lim x 0 cos x = 0 , so lim x 0 cos x = 1 . **(c)** Let h = x a , so x a is equivalent to h 0 . Using the Addition Formula for Sine: lim h 0 sin ( h + a ) = lim h 0 ( sin h cos a + cos h sin a ) = 0 cos a + 1 sin a = sin a . **(d)** Similarly, using the Addition Formula for Cosine: lim h 0 cos ( h + a ) = lim h 0 ( cos h cos a sin h sin a ) = 1 cos a 0 sin a = cos a .

Evaluate:

  1. lim x 0 x sin ( 1 x )
  2. lim x 0 + x cos ( 1 x 2 )
  3. lim x 0 sin x sin ( 1 x )
Solution **(a)** For x 0 : 1 sin ( 1 / x ) 1 . For x > 0 : multiply by x to get x x sin ( 1 / x ) x . Since lim x 0 + ( ± x ) = 0 , by Sandwich Theorem lim x 0 + x sin ( 1 / x ) = 0 . For x < 0 : multiply by x (inequalities reverse): x x sin ( 1 / x ) x . Since lim x 0 ( ± x ) = 0 , by Sandwich Theorem lim x 0 x sin ( 1 / x ) = 0 . Both one-sided limits are $0$, so lim x 0 x sin ( 1 x ) = 0 . The graphs of y = x sin ( 1 / x ) , y = x , and y = x are depicted in the following figure.
Graph of y=x sin(1/x) squeezed between y=x and y=-x
**(b)** From 1 cos ( 1 / x 2 ) 1 , multiply by x 0 for x > 0 : x x cos ( 1 x 2 ) x . Since lim x 0 + x = 0 , by the Sandwich Theorem lim x 0 + x cos ( 1 x 2 ) = 0 .
Graph of y=sqrt(x)cos(1/x^2) squeezed between y=sqrt(x) and y=-sqrt(x)
**(c)** From 1 sin ( 1 / x ) 1 : if 0 < x < π then sin x > 0 , so sin x sin x sin ( 1 / x ) sin x . If π < x < 0 then sin x < 0 , so the inequalities reverse. In both cases, lim x 0 ( ± sin x ) = 0 , so lim x 0 sin x sin ( 1 x ) = 0 .
Graph of y=sin(x)sin(1/x) squeezed between y=sin(x) and y=-sin(x)

The Bounded-Function Theorem

Suppose that lim x a α ( x ) = 0 and f ( x ) is a bounded function near a (but not necessarily at a ): that is, there are numbers m and M such that m f ( x ) M for all x near a . Then

lim x a [ α ( x ) f ( x ) ] = 0.
  • In words: multiplying a function that approaches zero by a bounded (not blowing-up) function still gives a limit of zero.

For example, since 1 sin ( 1 / x ) 1 (bounded) and lim x 0 x = 0 :

lim x 0 x sin 1 x = 0.
Graphs of y=sin(1/x) and y=x sin(1/x)

Similarly, since 1 sin x 1 and lim x ± 1 x = 0 :

lim x + sin x x = 0 , lim x sin x x = 0.

Frequently Asked Questions

When can I split a limit into a product or sum? You can apply the Product Law or Sum Law only when **both** individual limits exist (as finite numbers or ± in compatible combinations). If one limit is infinite and the other is zero, you have an indeterminate form and cannot split directly.

How do I apply the Sandwich Theorem in practice? Find two simpler functions g ( x ) and h ( x ) that bound f ( x ) from below and above near a . Then show both g and h have the same limit L at a . The Sandwich Theorem then guarantees f ( x ) L . Bounded oscillating functions like sin ( 1 / x ) are common candidates for sandwiching.

Are there other limit theorems beyond these four laws? Yes. Additional tools include: (1) the Composite Function Limit Theorem (if g ( x ) b and f is continuous at b , then lim f ( g ( x ) ) = f ( b ) ), (2) L'Hôpital's Rule for 0 / 0 and / forms (covered in the applications of differentiation chapter), and (3) Taylor series methods.