Math Core

Lesson 1.4 · Limits and Continuity

Finding limits algebraically

Direct substitution handles any limit where plugging in gives a real number. The interesting limits in calculus are exactly the ones where it does not: every derivative you will ever compute starts as a limit of the form 00\dfrac{0}{0}. This lesson gives you a toolkit of algebraic moves for those limits and a plan for choosing among them.

What substitution tells you

Always start by substituting x=cx = c. The result tells you what to do next.

Result of substitutingWhat it meansNext step
A real numberThe limit is that number (for the functions in this course, at points in their domains).Done.
nonzero0\dfrac{\text{nonzero}}{0}The function is unbounded near cc; there is a vertical asymptote.Check the sign on each side; the limit is ∞\infty, −∞-\infty, or does not exist.
00\dfrac{0}{0}Indeterminate form. The limit could be any number, or not exist.Rewrite the expression algebraically, then substitute again.

Definition

Indeterminate form

A limit is in the indeterminate form 00\dfrac{0}{0} when the numerator and denominator both approach 00. The form itself gives no information about the value of the limit; it only tells you that more work is needed.

The key fact behind every technique below: if two functions agree at every xx near cc except possibly at cc itself, they have the same limit at cc. Canceling a factor of (x−c)(x - c) changes the function only at x=cx = c, which the limit ignores.

Technique 1: Factor and cancel

When a rational function gives 00\dfrac{0}{0} at x=cx = c, both the numerator and denominator have a factor of (x−c)(x - c). Factor, cancel, and substitute.

Worked example: Factoring

Evaluate lim⁡x→3x2−5x+6x2−9\displaystyle \lim_{x \to 3} \frac{x^2 - 5x + 6}{x^2 - 9}.

Solution. Substituting gives 9−15+69−9=00\dfrac{9 - 15 + 6}{9 - 9} = \dfrac{0}{0}. Factor:

lim⁡x→3(x−2)(x−3)(x+3)(x−3)=lim⁡x→3x−2x+3=16.\lim_{x \to 3} \frac{(x - 2)(x - 3)}{(x + 3)(x - 3)} = \lim_{x \to 3} \frac{x - 2}{x + 3} = \frac{1}{6}.

Technique 2: Multiply by the conjugate

When a square root appears in a 00\dfrac{0}{0} expression, multiply the numerator and denominator by the conjugate. This uses (a−b)(a+b)=a2−b2(a - b)(a + b) = a^2 - b^2 to clear the root.

Worked example: Rationalizing

Evaluate lim⁡x→42x+1−3x−4\displaystyle \lim_{x \to 4} \frac{\sqrt{2x + 1} - 3}{x - 4}.

Solution. Substituting gives 3−30=00\dfrac{3 - 3}{0} = \dfrac{0}{0}. Multiply by 2x+1+32x+1+3\dfrac{\sqrt{2x + 1} + 3}{\sqrt{2x + 1} + 3}:

2x+1−3x−4⋅2x+1+32x+1+3=(2x+1)−9(x−4)(2x+1+3)=2(x−4)(x−4)(2x+1+3)=22x+1+3.\begin{aligned} \frac{\sqrt{2x + 1} - 3}{x - 4} \cdot \frac{\sqrt{2x + 1} + 3}{\sqrt{2x + 1} + 3} &= \frac{(2x + 1) - 9}{(x - 4)\left(\sqrt{2x + 1} + 3\right)} \\ &= \frac{2(x - 4)}{(x - 4)\left(\sqrt{2x + 1} + 3\right)} = \frac{2}{\sqrt{2x + 1} + 3}. \end{aligned}

Now substitute: 23+3=13\dfrac{2}{3 + 3} = \dfrac{1}{3}.

Technique 3: Combine fractions

A fraction inside a fraction (a complex fraction) usually simplifies after you combine the small fractions over a common denominator.

Worked example: A complex fraction

Evaluate lim⁡x→01x+4−14x\displaystyle \lim_{x \to 0} \frac{\dfrac{1}{x + 4} - \dfrac{1}{4}}{x}.

Solution. Substituting gives 00\dfrac{0}{0}. Combine the fractions in the numerator:

1x+4−14=4−(x+4)4(x+4)=−x4(x+4).\frac{1}{x + 4} - \frac{1}{4} = \frac{4 - (x + 4)}{4(x + 4)} = \frac{-x}{4(x + 4)}.

Dividing by xx cancels the −x-x (leaving −1-1):

lim⁡x→0−14(x+4)=−116=−116.\lim_{x \to 0} \frac{-1}{4(x + 4)} = \frac{-1}{16} = -\frac{1}{16}.

Technique 4: Special trigonometric limits

Two limits involving sine and cosine cannot be done by algebra alone. You will prove them in the next lesson using the squeeze theorem; for now, use them as tools. (Angles are in radians.)

Special trigonometric limits

lim⁡θ→0sin⁡θθ=1andlim⁡θ→01−cos⁡θθ=0.\lim_{\theta \to 0} \frac{\sin \theta}{\theta} = 1 \qquad \text{and} \qquad \lim_{\theta \to 0} \frac{1 - \cos \theta}{\theta} = 0.

More generally, if u→0u \to 0 then sin⁡uu→1\dfrac{\sin u}{u} \to 1, whatever the expression uu is.

The trick is to make the argument of sine match the denominator. For instance, sin⁡7xx=7⋅sin⁡7x7x\dfrac{\sin 7x}{x} = 7 \cdot \dfrac{\sin 7x}{7x}, and as x→0x \to 0 we have 7x→07x \to 0, so the limit is 7⋅1=77 \cdot 1 = 7.

Worked example: A trigonometric limit

Evaluate lim⁡x→0tan⁡3xsin⁡2x\displaystyle \lim_{x \to 0} \frac{\tan 3x}{\sin 2x}.

Solution. Substituting gives 00\dfrac{0}{0}. Write tan⁡3x=sin⁡3xcos⁡3x\tan 3x = \dfrac{\sin 3x}{\cos 3x} and insert matching factors:

tan⁡3xsin⁡2x=sin⁡3x3x⋅2xsin⁡2x⋅1cos⁡3x⋅3x2x.\frac{\tan 3x}{\sin 2x} = \frac{\sin 3x}{3x} \cdot \frac{2x}{\sin 2x} \cdot \frac{1}{\cos 3x} \cdot \frac{3x}{2x}.

As x→0x \to 0, the first two factors approach 11, the third approaches 1cos⁡0=1\dfrac{1}{\cos 0} = 1, and the last one equals 32\dfrac{3}{2} for every x≠0x \ne 0. The limit is 32\dfrac{3}{2}.

Absolute values and piecewise functions

When the expression contains ∣x−c∣\lvert x - c \rvert, the formula changes at cc, so find the one-sided limits separately. For example, ∣x−4∣=x−4\lvert x - 4 \rvert = x - 4 when x>4x > 4 and ∣x−4∣=−(x−4)\lvert x - 4 \rvert = -(x - 4) when x<4x < 4. So

lim⁡x→4+∣x−4∣x−4=1,lim⁡x→4−∣x−4∣x−4=−1,\lim_{x \to 4^+} \frac{\lvert x - 4 \rvert}{x - 4} = 1, \qquad \lim_{x \to 4^-} \frac{\lvert x - 4 \rvert}{x - 4} = -1,

and the two-sided limit does not exist.

Common mistake

Writing lim⁡x→3x2−5x+6x2−9=00\displaystyle \lim_{x \to 3} \frac{x^2 - 5x + 6}{x^2 - 9} = \frac{0}{0} and stopping, or saying "the limit is undefined," is wrong. The form 00\dfrac{0}{0} is a starting point, not an answer. Also, keep writing "lim⁡x→c\displaystyle \lim_{x \to c}" on every line until you actually substitute: the expression before substitution is not equal to its limit.

Tip

Choosing a technique: a polynomial ratio means factor; a square root means conjugate; fractions inside fractions mean combine; sine, cosine or tangent means special trig limits; an absolute value means check both sides. On the AP exam you can check your algebraic answer against a quick table of values.

Practice

Practice 1

Evaluate lim⁡x→2x2+x−6x−2\displaystyle \lim_{x \to 2} \frac{x^2 + x - 6}{x - 2}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Evaluate lim⁡x→0x+9−3x\displaystyle \lim_{x \to 0} \frac{\sqrt{x + 9} - 3}{x}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Evaluate lim⁡x→31x−13x−3\displaystyle \lim_{x \to 3} \frac{\dfrac{1}{x} - \dfrac{1}{3}}{x - 3}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Evaluate lim⁡x→0sin⁡5xx\displaystyle \lim_{x \to 0} \frac{\sin 5x}{x}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Evaluate lim⁡x→2x3−8x2−4\displaystyle \lim_{x \to 2} \frac{x^3 - 8}{x^2 - 4}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

What is lim⁡x→4x2−16∣x−4∣\displaystyle \lim_{x \to 4} \frac{x^2 - 16}{\lvert x - 4 \rvert}?

Practice 7

Evaluate lim⁡x→0xsin⁡3x\displaystyle \lim_{x \to 0} \frac{x}{\sin 3x}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

What is lim⁡x→01−cos⁡xxsin⁡x\displaystyle \lim_{x \to 0} \frac{1 - \cos x}{x \sin x}?