β—€ Back to Note

Tony's Intertwingled Memex β€’ Reference Manual

Factor and Cancel

Formulas & Definitions
Core Definition

The Factor and Cancel strategy is an algebraic limit evaluation method used when direct substitution into a rational function P(x)Q(x)\frac{P(x)}{Q(x)}Q(x)P(x)​ yields the indeterminate form 00\frac{0}{0}00​ as xβ†’ax \to axβ†’a.

The Target Factor Principle: Because xβ†’ax \to axβ†’a, the factor causing division by zero is always (xβˆ’a)(x - a)(xβˆ’a). Factoring or dividing out (xβˆ’a)(x - a)(xβˆ’a) from both the numerator and denominator removes the removable discontinuity, enabling direct substitution:

lim⁑xβ†’aP(x)Q(x)=lim⁑xβ†’a(xβˆ’a)β‹…P~(x)(xβˆ’a)β‹…Q~(x)=lim⁑xβ†’aP~(x)Q~(x)=P~(a)Q~(a)\lim_{x \to a} \frac{P(x)}{Q(x)} = \lim_{x \to a} \frac{(x - a) \cdot \tilde{P}(x)}{(x - a) \cdot \tilde{Q}(x)} = \lim_{x \to a} \frac{\tilde{P}(x)}{\tilde{Q}(x)} = \frac{\tilde{P}(a)}{\tilde{Q}(a)}xβ†’alim​Q(x)P(x)​=xβ†’alim​(xβˆ’a)β‹…Q~​(x)(xβˆ’a)β‹…P~(x)​=xβ†’alim​Q~​(x)P~(x)​=Q~​(a)P~(a)​

Concept Explanation

When direct substitution of x=ax = ax=a produces 00\frac{0}{0}00​, the Polynomial Remainder Theorem guarantees that x=ax = ax=a is a root of both the numerator P(x)P(x)P(x) and denominator Q(x)Q(x)Q(x). Therefore, (xβˆ’a)(x - a)(xβˆ’a) is guaranteed to be an exact factor of both expressions.

Because a limit analyzes behavior near aaa rather than at aaa (xβ‰ ax \neq axξ€ =a), the term (xβˆ’a)β‰ 0(x - a) \neq 0(xβˆ’a)ξ€ =0. This allows us to divide (xβˆ’a)(x - a)(xβˆ’a) out cleanly without violating rules of arithmetic.

       Direct Substitution
        x = a  --->  0 / 0  (Indeterminate Hole)
               |
     +---------+---------+
     | Target Factor is  |
     |   always (x - a)  |
     +---------+---------+
               |
     +---------+-------------------------+
     |                                   |
Method 1: Factoring              Method 2: Long Division
Trial & error / AC method /      Divide polynomial by (x - a) via
difference of squares            <a class="text-accent underline font-semibold" href="/garden/polynomial-long-division">Polynomial Long Division</a>
     |                                   |
     +-----------------+-----------------+
                       |
               Cancel (x - a)
                       |
             Re-substitute x = a

Two Methods to Extract (xβˆ’a)(x - a)(xβˆ’a)

Method 1: Traditional Polynomial Factoring

Use standard algebraic factoring patterns (factoring techniques, difference of squares, greatest common factor, or the AC method for quadratics) to rewrite P(x)P(x)P(x) and Q(x)Q(x)Q(x) as products of binomials.

Method 2: The Polynomial Long Division Shortcut

When factoring is difficultβ€”such as with higher-degree cubics, non-monic quadratics (ax2+bx+cax^2+bx+cax2+bx+c), or polynomials in the numerator or denominator where factoring isn't obviousβ€”you can use Polynomial Long Division (or synthetic division) to divide P(x)P(x)P(x) or Q(x)Q(x)Q(x) directly by (xβˆ’a)(x - a)(xβˆ’a).

Because x=ax = ax=a is guaranteed to be a root, the division will always produce a remainder of 000. The resulting quotient is the simplified polynomial, allowing you to bypass factoring guesses completely.


Example Problems

Example Problem 1: Factoring vs. Long Division Comparison (Quadratic)

Evaluate the limit:

lim⁑xβ†’2x2+3xβˆ’10xβˆ’2\lim_{x \to 2} \frac{x^2 + 3x - 10}{x - 2}xβ†’2lim​xβˆ’2x2+3xβˆ’10​

Solution

Step 1: Check direct substitution

22+3(2)βˆ’102βˆ’2=4+6βˆ’100=00(Indeterminate)\frac{2^2 + 3(2) - 10}{2 - 2} = \frac{4 + 6 - 10}{0} = \frac{0}{0} \quad (\text{Indeterminate})2βˆ’222+3(2)βˆ’10​=04+6βˆ’10​=00​(Indeterminate)
Since xβ†’2x \to 2xβ†’2, the target factor causing 00\frac{0}{0}00​ is (xβˆ’2)(x - 2)(xβˆ’2).

Method A β€” Traditional Factoring:
Find factors of βˆ’10-10βˆ’10 that sum to +3+3+3: numbers are +5+5+5 and βˆ’2-2βˆ’2.

lim⁑xβ†’2(xβˆ’2)(x+5)xβˆ’2=lim⁑xβ†’2(x+5)=2+5=7\lim_{x \to 2} \frac{(x - 2)(x + 5)}{x - 2} = \lim_{x \to 2} (x + 5) = 2 + 5 = 7xβ†’2lim​xβˆ’2(xβˆ’2)(x+5)​=xβ†’2lim​(x+5)=2+5=7

Method B β€” Polynomial Long Division:
Divide the numerator (x2+3xβˆ’10)(x^2 + 3x - 10)(x2+3xβˆ’10) directly by the known factor (xβˆ’2)(x - 2)(xβˆ’2):

  • x2Γ·x=xx^2 \div x = xx2Γ·x=x
  • Subtract x(xβˆ’2)=x2βˆ’2xβ€…β€ŠβŸΉβ€…β€Š5xβˆ’10x(x - 2) = x^2 - 2x \implies 5x - 10x(xβˆ’2)=x2βˆ’2x⟹5xβˆ’10
  • 5xΓ·x=55x \div x = 55xΓ·x=5
  • Subtract 5(xβˆ’2)=5xβˆ’10β€…β€ŠβŸΉβ€…β€ŠRemainderΒ 05(x - 2) = 5x - 10 \implies \text{Remainder } 05(xβˆ’2)=5xβˆ’10⟹RemainderΒ 0

Quotient is (x+5)(x + 5)(x+5). Substitute x=2x = 2x=2: 2+5=72 + 5 = 72+5=7.

Answer: 777

Example Problem 2: Higher Degree Cubic Polynomial in Numerator

Evaluate the limit:

lim⁑xβ†’3x3βˆ’2x2βˆ’4x+3xβˆ’3\lim_{x \to 3} \frac{x^3 - 2x^2 - 4x + 3}{x - 3}xβ†’3lim​xβˆ’3x3βˆ’2x2βˆ’4x+3​

Solution

Step 1: Check direct substitution

33βˆ’2(32)βˆ’4(3)+33βˆ’3=27βˆ’18βˆ’12+30=00\frac{3^3 - 2(3^2) - 4(3) + 3}{3 - 3} = \frac{27 - 18 - 12 + 3}{0} = \frac{0}{0}3βˆ’333βˆ’2(32)βˆ’4(3)+3​=027βˆ’18βˆ’12+3​=00​
The target factor to cancel is (xβˆ’3)(x - 3)(xβˆ’3).

Step 2: Use Polynomial Long Division
Divide x3βˆ’2x2βˆ’4x+3x^3 - 2x^2 - 4x + 3x3βˆ’2x2βˆ’4x+3 by (xβˆ’3)(x - 3)(xβˆ’3):

  1. x3Γ·x=x2x^3 \div x = x^2x3Γ·x=x2. Multiply: x2(xβˆ’3)=x3βˆ’3x2x^2(x - 3) = x^3 - 3x^2x2(xβˆ’3)=x3βˆ’3x2. Subtract β€…β€ŠβŸΉβ€…β€Šx2βˆ’4x+3\implies x^2 - 4x + 3⟹x2βˆ’4x+3.
  2. x2Γ·x=xx^2 \div x = xx2Γ·x=x. Multiply: x(xβˆ’3)=x2βˆ’3xx(x - 3) = x^2 - 3xx(xβˆ’3)=x2βˆ’3x. Subtract β€…β€ŠβŸΉβ€…β€Šβˆ’x+3\implies -x + 3βŸΉβˆ’x+3.
  3. βˆ’xΓ·x=βˆ’1-x \div x = -1βˆ’xΓ·x=βˆ’1. Multiply: βˆ’1(xβˆ’3)=βˆ’x+3-1(x - 3) = -x + 3βˆ’1(xβˆ’3)=βˆ’x+3. Subtract β€…β€ŠβŸΉβ€…β€ŠRemainderΒ 0\implies \text{Remainder } 0⟹RemainderΒ 0.

The quotient is x2+xβˆ’1x^2 + x - 1x2+xβˆ’1.

Step 3: Evaluate simplified limit

lim⁑xβ†’3(x2+xβˆ’1)=32+3βˆ’1=9+3βˆ’1=11\lim_{x \to 3} (x^2 + x - 1) = 3^2 + 3 - 1 = 9 + 3 - 1 = 11xβ†’3lim​(x2+xβˆ’1)=32+3βˆ’1=9+3βˆ’1=11

Answer: 111111

Example Problem 3: Higher Degree Polynomial in Denominator

Evaluate the limit:

lim⁑xβ†’2x2+xβˆ’6x3βˆ’x2βˆ’xβˆ’2\lim_{x \to 2} \frac{x^2 + x - 6}{x^3 - x^2 - x - 2}xβ†’2lim​x3βˆ’x2βˆ’xβˆ’2x2+xβˆ’6​

Solution

Step 1: Check direct substitution

  • Numerator: 22+2βˆ’6=02^2 + 2 - 6 = 022+2βˆ’6=0
  • Denominator: 23βˆ’22βˆ’2βˆ’2=8βˆ’4βˆ’2βˆ’2=02^3 - 2^2 - 2 - 2 = 8 - 4 - 2 - 2 = 023βˆ’22βˆ’2βˆ’2=8βˆ’4βˆ’2βˆ’2=0 This yields 00\frac{0}{0}00​. Since xβ†’2x \to 2xβ†’2, both polynomials share the factor (xβˆ’2)(x - 2)(xβˆ’2).

Step 2: Factor numerator and divide denominator

  • Numerator factors easily: x2+xβˆ’6=(xβˆ’2)(x+3)x^2 + x - 6 = (x - 2)(x + 3)x2+xβˆ’6=(xβˆ’2)(x+3).

  • Denominator is a cubic: divide x3βˆ’x2βˆ’xβˆ’2x^3 - x^2 - x - 2x3βˆ’x2βˆ’xβˆ’2 by (xβˆ’2)(x - 2)(xβˆ’2) via polynomial long division:

    1. x3Γ·x=x2β€…β€ŠβŸΉβ€…β€Šx3βˆ’x2βˆ’(x3βˆ’2x2)=x2βˆ’xβˆ’2x^3 \div x = x^2 \implies x^3 - x^2 - (x^3 - 2x^2) = x^2 - x - 2x3Γ·x=x2⟹x3βˆ’x2βˆ’(x3βˆ’2x2)=x2βˆ’xβˆ’2.
    2. x2Γ·x=xβ€…β€ŠβŸΉβ€…β€Šx2βˆ’xβˆ’(x2βˆ’2x)=xβˆ’2x^2 \div x = x \implies x^2 - x - (x^2 - 2x) = x - 2x2Γ·x=x⟹x2βˆ’xβˆ’(x2βˆ’2x)=xβˆ’2.
    3. xΓ·x=1β€…β€ŠβŸΉβ€…β€Š(xβˆ’2)βˆ’(xβˆ’2)=0x \div x = 1 \implies (x - 2) - (x - 2) = 0xΓ·x=1⟹(xβˆ’2)βˆ’(xβˆ’2)=0 (Remainder 000).

    Denominator quotient is (x2+x+1)(x^2 + x + 1)(x2+x+1).

Step 3: Cancel (xβˆ’2)(x - 2)(xβˆ’2) and evaluate

lim⁑xβ†’2(xβˆ’2)(x+3)(xβˆ’2)(x2+x+1)=lim⁑xβ†’2x+3x2+x+1=2+322+2+1=57\lim_{x \to 2} \frac{(x - 2)(x + 3)}{(x - 2)(x^2 + x + 1)} = \lim_{x \to 2} \frac{x + 3}{x^2 + x + 1} = \frac{2 + 3}{2^2 + 2 + 1} = \frac{5}{7}xβ†’2lim​(xβˆ’2)(x2+x+1)(xβˆ’2)(x+3)​=xβ†’2lim​x2+x+1x+3​=22+2+12+3​=75​

Answer: 57\frac{5}{7}75​


Connections & References

  • Parent Concepts: Limits, Calculus Foundations
  • Related Concepts: Polynomial Long Division, Factoring Second Order Polynomials, Removable Discontinuity, Radical Conjugate Rationalization
  • Course Links: Calc-1 Session 03