AP Calculus AB and BC

Limit of (x^3-8)/(x-2) as x Approaches 2 Is 12

The limit of (x^3 - 8)/(x - 2) as x approaches 2 is 12. Direct substitution gives 0/0. Factor the difference of cubes: x^3 - 8 = (x - 2)(x^2 + 2x + 4). Cancel the (x - 2), then substitute into the quadratic to get 4 + 4 + 4 = 12.

limx2x38x2=12\lim_{x \to 2} \frac{x^3-8}{x-2} = 12

Settled by factoring the difference of cubes.

Peeling off the matching factor

Since 8=238 = 2^3, the numerator is x323x^3 - 2^3. The difference of cubes pattern always splits off the matching linear factor and leaves a quadratic behind.

a3b3=(ab)(a2+ab+b2)x38=(x2)(x2+2x+4)a^3-b^3 = (a-b)\left(a^2+ab+b^2\right) \quad \Longrightarrow \quad x^3-8 = (x-2)\left(x^2+2x+4\right)

The (x2)(x-2) now matches the denominator and cancels for every x2x \neq 2, which is every input a limit at 22 actually looks at.

limx2x38x2=limx2(x2+2x+4)=4+4+4=12\lim_{x \to 2} \frac{x^3-8}{x-2} = \lim_{x \to 2} \left(x^2+2x+4\right) = 4 + 4 + 4 = 12

The leftover quadratic is continuous everywhere, so substituting x=2x = 2 is the last step rather than a guess.

What direct substitution gives

At x=2x = 2 the numerator is 88=08 - 8 = 0 and the denominator is 22=02 - 2 = 0.

23822=00\frac{2^3-8}{2-2} = \frac{0}{0}

That form says a factor of (x2)(x-2) is hiding in both places, nothing more. If the cubes pattern does not come to mind, dividing x38x^3 - 8 by x2x - 2 with long or synthetic division produces the same quotient x2+2x+4x^2 + 2x + 4 with remainder 00.

A second route to 12

The fraction is also the difference quotient for g(x)=x3g(x) = x^3 based at x=2x = 2, since g(2)=8g(2) = 8. So the limit has to be g(2)=322=12g'(2) = 3 \cdot 2^2 = 12. Two independent methods landing on the same number is a good habit for checking work.

The mistakes students make

  • Writing x38=(x2)(x22x+4)x^3 - 8 = (x-2)\left(x^2-2x+4\right). The middle sign is a plus for a difference of cubes; the minus version belongs to the sum a3+b3=(a+b)(a2ab+b2)a^3+b^3 = (a+b)\left(a^2-ab+b^2\right).
  • Assuming x38=(x2)3x^3 - 8 = (x-2)^3. Expanding (x2)3(x-2)^3 gives x36x2+12x8x^3 - 6x^2 + 12x - 8, which is a different polynomial.
  • Evaluating x2+2x+4x^2 + 2x + 4 at x=2x = 2 as 4+2+4=104 + 2 + 4 = 10. The middle term is 2x2x, and 22=42 \cdot 2 = 4, so the total is 1212.
  • Deciding the limit does not exist because the denominator hits zero. A zero denominator only forces an infinite limit when the numerator does not vanish with it.

Not sure which technique a limit wants?

The Limit Method Chooser walks the decision from direct substitution through factoring, the conjugate, and L'Hopital, and says why each one applies or fails.

Frequently asked questions

Is there a general pattern for xnanxa\frac{x^n-a^n}{x-a}?

Yes. The limit as xax \to a is nan1n a^{n-1}, because the fraction is the difference quotient for xnx^n at x=ax = a. Here n=3n = 3 and a=2a = 2, giving 322=123 \cdot 2^2 = 12. The same rule turns limx3x481x3\lim_{x \to 3}\frac{x^4-81}{x-3} into 433=1084 \cdot 3^3 = 108.

Do I have to memorize the difference of cubes?

It saves time, but synthetic division reaches the same place. Dividing x3+0x2+0x8x^3 + 0x^2 + 0x - 8 by x2x - 2 gives coefficients 1,2,41, 2, 4 and a remainder of 00, so the quotient is x2+2x+4x^2 + 2x + 4. The zero remainder confirms that x2x - 2 was a genuine factor.

Why is there no vertical asymptote at x=2x = 2?

An asymptote needs the denominator to go to zero while the numerator does not. Here both go to zero and the factor cancels completely, so the graph has a removable hole at (2,12)(2, 12) instead of blowing up.