Skip to content
Family Table Math
Auto

Algebraic Techniques for Limits

When you substitute into a limit and get 00\tfrac{0}{0}, the limit isn’t broken. It often means the top and bottom share a hidden factor that’s causing the trouble. Algebra (factoring, conjugates, common denominators) lets you remove that factor and then substitute. These techniques show up constantly, including on no-calculator tests (such as the AP no-calculator section) and later in the definition of the derivative.

The form 00\tfrac{0}{0} is indeterminate: on its own, it tells you nothing about the limit. For example,

lim⁡x→02xx=2,lim⁡x→0x2x=0,lim⁡x→0xx3 does not exist\lim_{x \to 0} \frac{2x}{x} = 2, \qquad \lim_{x \to 0} \frac{x^2}{x} = 0, \qquad \lim_{x \to 0} \frac{x}{x^3} \ \text{does not exist}

All three give 00\tfrac{0}{0} when you substitute. You have to rewrite the expression to see what’s really going on.

x2−9x−3=(x−3)(x+3)x−3=x+3for x≠3\frac{x^2 - 9}{x - 3} = \frac{(x - 3)(x + 3)}{x - 3} = x + 3 \quad\text{for } x \ne 3

The two functions are equal everywhere except at x=3x = 3. A limit never looks at x=3x = 3 itself, so they have the same limit:

lim⁡x→3x2−9x−3=lim⁡x→3(x+3)=6\lim_{x \to 3} \frac{x^2 - 9}{x - 3} = \lim_{x \to 3} (x + 3) = 6
Graph of y = (x squared minus 9) over (x minus 3): the line y = x + 3 with a hole at (3, 6) hole at (3, 6) y = (x² − 9)/(x − 3) −4 −2 2 4 6 2 4 6 8
The graph is the line y=x+3y = x + 3 with a hole. The limit is the height of the hole.
When you seeTry
Polynomials on top and bottomFactor both and cancel the common factor
A square root plus or minus a numberMultiply top and bottom by the conjugate, e.g. x+9+3\sqrt{x + 9} + 3
Fractions inside a fractionCombine them over a common denominator
Brackets with powers, like (3+h)2(3 + h)^2Expand and simplify
Trig functionsUse an identity (like sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x) or the special trig limits
  1. Substitute first. If you get a real number, that’s the limit. Done.
  2. Nonzero over zero (like 50\tfrac{5}{0}): the function blows up. The limit is ∞\infty, −∞-\infty, or does not exist. Check signs on each side (infinite limits).
  3. Zero over zero: use algebra from the table above, then substitute again.
  4. Piecewise or absolute value: find the one-sided limits separately.

Find lim⁡x→3x2−9x−3\displaystyle\lim_{x \to 3} \frac{x^2 - 9}{x - 3}.

Solution. Substituting gives 00\tfrac{0}{0}. Factor the difference of squares and cancel:

lim⁡x→3x2−9x−3=lim⁡x→3(x−3)(x+3)x−3=lim⁡x→3(x+3)=6\lim_{x \to 3} \frac{x^2 - 9}{x - 3} = \lim_{x \to 3} \frac{(x - 3)(x + 3)}{x - 3} = \lim_{x \to 3} (x + 3) = 6

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

Solution. Substituting gives 3−30=00\tfrac{3 - 3}{0} = \tfrac{0}{0}. Multiply top and bottom by the conjugate x+9+3\sqrt{x + 9} + 3. The top becomes a difference of squares:

lim⁡x→0x+9−3x⋅x+9+3x+9+3=lim⁡x→0(x+9)−9x(x+9+3)=lim⁡x→0xx(x+9+3)=lim⁡x→01x+9+3=13+3=16\begin{aligned} \lim_{x \to 0} \frac{\sqrt{x + 9} - 3}{x} \cdot \frac{\sqrt{x + 9} + 3}{\sqrt{x + 9} + 3} &= \lim_{x \to 0} \frac{(x + 9) - 9}{x\left(\sqrt{x + 9} + 3\right)} \\ &= \lim_{x \to 0} \frac{x}{x\left(\sqrt{x + 9} + 3\right)} \\ &= \lim_{x \to 0} \frac{1}{\sqrt{x + 9} + 3} = \frac{1}{3 + 3} = \frac{1}{6} \end{aligned}

Find lim⁡x→01x+2−12x\displaystyle\lim_{x \to 0} \frac{\dfrac{1}{x + 2} - \dfrac{1}{2}}{x}.

Solution. Substituting gives 00\tfrac{0}{0}. Combine the fractions on top over the common denominator 2(x+2)2(x + 2):

1x+2−12=2−(x+2)2(x+2)=−x2(x+2)\frac{1}{x + 2} - \frac{1}{2} = \frac{2 - (x + 2)}{2(x + 2)} = \frac{-x}{2(x + 2)}

Dividing by xx cancels the xx:

lim⁡x→0−x2x(x+2)=lim⁡x→0−12(x+2)=−14\lim_{x \to 0} \frac{-x}{2x(x + 2)} = \lim_{x \to 0} \frac{-1}{2(x + 2)} = -\frac{1}{4}

Let f(x)=x2+x−6x2−4f(x) = \dfrac{x^2 + x - 6}{x^2 - 4}. Find lim⁡x→2f(x)\displaystyle\lim_{x \to 2} f(x) and lim⁡x→−2f(x)\displaystyle\lim_{x \to -2} f(x).

Solution. Factor once, then deal with each point:

f(x)=(x+3)(x−2)(x+2)(x−2)=x+3x+2for x≠2f(x) = \frac{(x + 3)(x - 2)}{(x + 2)(x - 2)} = \frac{x + 3}{x + 2} \quad\text{for } x \ne 2

At x=2x = 2, substituting into the original gives 00\tfrac{0}{0}, so use the simplified form:

lim⁡x→2f(x)=2+32+2=54\lim_{x \to 2} f(x) = \frac{2 + 3}{2 + 2} = \frac{5}{4}

At x=−2x = -2, substituting gives −40\tfrac{-4}{0}: nonzero over zero. In the simplified form, the top approaches 11. Just right of −2-2, the bottom x+2x + 2 is a small positive number; just left, a small negative number:

lim⁡x→−2+f(x)=∞,lim⁡x→−2−f(x)=−∞\lim_{x \to -2^+} f(x) = \infty, \qquad \lim_{x \to -2^-} f(x) = -\infty

So lim⁡x→−2f(x)\displaystyle\lim_{x \to -2} f(x) does not exist (there’s a vertical asymptote at x=−2x = -2).

Writing ”= 0/0” as an answer. 00\tfrac{0}{0} means “keep going”. On a test, a final answer of 00\tfrac{0}{0} or “undefined” earns nothing when the limit actually exists.

Dropping the limit symbol too early. Keep writing lim⁡x→a\displaystyle\lim_{x \to a} on every line until you substitute. Writing x2−9x−3=x+3=6\tfrac{x^2 - 9}{x - 3} = x + 3 = 6 says something false.

Cancelling terms instead of factors. In x2+x−6x2−4\dfrac{x^2 + x - 6}{x^2 - 4}, you can’t cancel the x2x^2‘s. Only cancel factors that multiply the whole top and the whole bottom.

Mishandling the conjugate. Multiply the top and the bottom by the conjugate. Leave the bottom factored; usually the troublesome factor cancels, and expanding just hides it.

Assuming nonzero/0 means the limit is infinity. The two sides can go in opposite directions, as in Example 4. Check the sign of the expression on each side.

1. (Warm-up) Find lim⁡x→5x2−25x−5\displaystyle\lim_{x \to 5} \frac{x^2 - 25}{x - 5}.

Solutionlim⁡x→5(x−5)(x+5)x−5=lim⁡x→5(x+5)=10\lim_{x \to 5} \frac{(x - 5)(x + 5)}{x - 5} = \lim_{x \to 5} (x + 5) = 10

2. (Warm-up) Find lim⁡x→−1x2+3x+2x+1\displaystyle\lim_{x \to -1} \frac{x^2 + 3x + 2}{x + 1}.

Solutionlim⁡x→−1(x+1)(x+2)x+1=lim⁡x→−1(x+2)=1\lim_{x \to -1} \frac{(x + 1)(x + 2)}{x + 1} = \lim_{x \to -1} (x + 2) = 1

3. (Warm-up) Find lim⁡x→2x2+1x+3\displaystyle\lim_{x \to 2} \frac{x^2 + 1}{x + 3}. Do you need any algebra?

Solution

No. Substituting gives a real number right away:

lim⁡x→2x2+1x+3=55=1\lim_{x \to 2} \frac{x^2 + 1}{x + 3} = \frac{5}{5} = 1

Always substitute first.

4. (Core) Find lim⁡x→4x−4x−2\displaystyle\lim_{x \to 4} \frac{x - 4}{\sqrt{x} - 2}.

Solution

Substituting gives 00\tfrac{0}{0}. Multiply by the conjugate x+2\sqrt{x} + 2:

lim⁡x→4(x−4)(x+2)(x−2)(x+2)=lim⁡x→4(x−4)(x+2)x−4=lim⁡x→4(x+2)=4\lim_{x \to 4} \frac{(x - 4)(\sqrt{x} + 2)}{(\sqrt{x} - 2)(\sqrt{x} + 2)} = \lim_{x \to 4} \frac{(x - 4)(\sqrt{x} + 2)}{x - 4} = \lim_{x \to 4} (\sqrt{x} + 2) = 4

(Or factor x−4=(x−2)(x+2)x - 4 = (\sqrt{x} - 2)(\sqrt{x} + 2) directly.)

5. (Core) Find lim⁡x→1x3−1x2−1\displaystyle\lim_{x \to 1} \frac{x^3 - 1}{x^2 - 1}.

Solution

Factor the difference of cubes and the difference of squares:

lim⁡x→1(x−1)(x2+x+1)(x−1)(x+1)=lim⁡x→1x2+x+1x+1=32\lim_{x \to 1} \frac{(x - 1)(x^2 + x + 1)}{(x - 1)(x + 1)} = \lim_{x \to 1} \frac{x^2 + x + 1}{x + 1} = \frac{3}{2}

6. (Core) Find lim⁡h→0(3+h)2−9h\displaystyle\lim_{h \to 0} \frac{(3 + h)^2 - 9}{h}.

Solution

Expand the top:

lim⁡h→09+6h+h2−9h=lim⁡h→0h(6+h)h=lim⁡h→0(6+h)=6\lim_{h \to 0} \frac{9 + 6h + h^2 - 9}{h} = \lim_{h \to 0} \frac{h(6 + h)}{h} = \lim_{h \to 0} (6 + h) = 6

(You’ll see limits like this again: it’s the slope of y=x2y = x^2 at x=3x = 3.)

7. (Core) Find lim⁡x→31x−13x−3\displaystyle\lim_{x \to 3} \frac{\dfrac{1}{x} - \dfrac{1}{3}}{x - 3}.

Solution

Combine the top over 3x3x:

1x−13=3−x3x=−(x−3)3x\frac{1}{x} - \frac{1}{3} = \frac{3 - x}{3x} = \frac{-(x - 3)}{3x}

So

lim⁡x→3−(x−3)3x(x−3)=lim⁡x→3−13x=−19\lim_{x \to 3} \frac{-(x - 3)}{3x(x - 3)} = \lim_{x \to 3} \frac{-1}{3x} = -\frac{1}{9}

8. (Challenge) Find lim⁡x→2x2−4∣x−2∣\displaystyle\lim_{x \to 2} \frac{x^2 - 4}{|x - 2|}, if it exists.

Solution

Use one-sided limits. For x>2x \gt 2, ∣x−2∣=x−2|x - 2| = x - 2:

lim⁡x→2+(x−2)(x+2)x−2=lim⁡x→2+(x+2)=4\lim_{x \to 2^+} \frac{(x - 2)(x + 2)}{x - 2} = \lim_{x \to 2^+} (x + 2) = 4

For x<2x \lt 2, ∣x−2∣=−(x−2)|x - 2| = -(x - 2):

lim⁡x→2−(x−2)(x+2)−(x−2)=lim⁡x→2−−(x+2)=−4\lim_{x \to 2^-} \frac{(x - 2)(x + 2)}{-(x - 2)} = \lim_{x \to 2^-} -(x + 2) = -4

The one-sided limits differ, so the limit does not exist.

9. (Challenge) Find lim⁡x→0sin⁡2x1−cos⁡x\displaystyle\lim_{x \to 0} \frac{\sin^2 x}{1 - \cos x}. (Radians.)

Solution

Substituting gives 00\tfrac{0}{0}. Use sin⁡2x=1−cos⁡2x=(1−cos⁡x)(1+cos⁡x)\sin^2 x = 1 - \cos^2 x = (1 - \cos x)(1 + \cos x):

lim⁡x→0(1−cos⁡x)(1+cos⁡x)1−cos⁡x=lim⁡x→0(1+cos⁡x)=1+1=2\lim_{x \to 0} \frac{(1 - \cos x)(1 + \cos x)}{1 - \cos x} = \lim_{x \to 0} (1 + \cos x) = 1 + 1 = 2

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site. H1. (Foundations) Evaluate lim⁡x→5x2−25x−5\displaystyle\lim_{x\to5}\dfrac{x^2-25}{x-5} by factoring. Explain why cancelling a factor does not define the original function at 55.

H2. (Foundations) Evaluate lim⁡x→−2x3+8x+2\displaystyle\lim_{x\to-2}\dfrac{x^3+8}{x+2} using the sum-of-cubes factorization.

H3. (Core) Evaluate lim⁡x→4x+12−4x−4\displaystyle\lim_{x\to4}\dfrac{\sqrt{x+12}-4}{x-4} by multiplying by a conjugate.

H4. (Core) Evaluate lim⁡x→21x+3−15x−2\displaystyle\lim_{x\to2}\dfrac{\frac1{x+3}-\frac15}{x-2}. Combine the numerator fractions before cancelling.

H5. (Core) Let f(x)=3x2−2xf(x)=3x^2-2x. Expand and simplify f(1+h)−f(1)h\dfrac{f(1+h)-f(1)}h for h≠0h\ne0, then find its limit as h→0h\to0. Do not use differentiation rules.

H6. (Core) Evaluate lim⁡x→3x2+x−12x2−9\displaystyle\lim_{x\to3}\dfrac{x^2+x-12}{x^2-9}. Identify all excluded inputs of the original expression, and say which exclusion can be repaired by assigning a finite value.

H7. (Challenge) Evaluate lim⁡x→1x+8−3x2−1\displaystyle\lim_{x\to1}\dfrac{\sqrt{x+8}-3}{x^2-1}. Show how conjugating and factoring work together.

H8. (Challenge) Find both one-sided limits of ∣x2−4∣x−2\dfrac{|x^2-4|}{x-2} at 22. Explain why removing the absolute-value signs before factoring would give a wrong two-sided answer.

H9. (Challenge) Find every pair (a,b)(a,b) for which lim⁡x→2ax2+bx+12(x−2)2\displaystyle\lim_{x\to2}\dfrac{ax^2+bx+12}{(x-2)^2} is finite. Give the limit for the successful pair. Explain why making only the numerator’s value zero at 22 is insufficient.

H10. (Challenge) Evaluate lim⁡h→01+2h−1−hh\displaystyle\lim_{h\to0}\dfrac{\sqrt{1+2h}-\sqrt{1-h}}h using one conjugate. State a neighbourhood of 00 where both radicals are real and your simplification is valid.