Why Simplify Before Differentiating?
A rational function is a quotient of polynomials. If both polynomials vanish at the point where a limit is being evaluated, direct substitution gives \(0/0\), which does not determine the limit. The expression may still have a finite limit: its numerator and denominator may share a factor that can be cancelled for nearby points.
L'Hôpital's Rule is one way to evaluate a \(0/0\) limit when its hypotheses hold. But if factoring reveals a common factor immediately, cancellation may make the limit shorter and easier to understand. The essential point is to simplify the expression on a punctured neighborhood of the limit point, not to pretend the original quotient is defined at that point.
What a \(0/0\) Rational Limit Tells Us
Let \(P\) and \(Q\) be polynomials and suppose \(Q\) is not the zero polynomial. If \(P(a)=0\) and \(Q(a)=0\), then direct substitution into \(P(x)/Q(x)\) produces \(0/0\). This is called an indeterminate form: it gives no answer by itself. The quotient might approach a finite number, approach zero, or fail to have a finite limit.
The factor theorem says that if a polynomial \(P\) satisfies \(P(a)=0\), then \(P(x)\) has the factor \(x-a\). Thus, for a rational \(0/0\) limit, both the numerator and denominator contain at least one factor \(x-a\). If the factors can be exposed, they can be cancelled for \(x\ne a\).
For example, if the numerator contains \((x-a)^3\) and the denominator contains \((x-a)^2\), cancelling their common factors leaves one factor \(x-a\) in the numerator. If both contain the same number of copies, all copies cancel. This count helps explain what the simplification will leave behind.
Why Cancellation Preserves the Limit
Suppose \(P(x)=(x-a)^m p(x)\) and \(Q(x)=(x-a)^n q(x)\), where \(p(a)\ne0\), \(q(a)\ne0\), and \(m,n\ge1\). For every \(x\ne a\) sufficiently close to \(a\) where the original quotient is defined, cancelling the smaller of the two powers gives the same quotient value.
If \(m\ge n\), this becomes \((x-a)^{m-n}p(x)/q(x)\); if \(m<n\), it becomes \(p(x)/\bigl((x-a)^{n-m}q(x)\bigr)\). The equality applies for \(x\ne a\), not at \(x=a\), where the original quotient has denominator zero.
In the especially useful case \(m=n\), cancellation leaves \(p(x)/q(x)\). Polynomials are continuous, and \(q(a)\ne0\), so the reduced quotient is continuous at \(a\). Its limit is therefore \(p(a)/q(a)\). This argument justifies the common-factor method directly.
If more copies remain in the numerator than in the denominator, cancellation leaves a positive power of \(x-a\) above a denominator that is nonzero at \(a\), so the limit is zero. If more copies remain in the denominator, the reduced expression still has a vanishing denominator and a nonzero numerator at \(a\); it has no finite limit. The parity of the remaining power can determine whether the two-sided behavior is the same on both sides.
Worked Examples
Worked Example: Cancelling One Common Factor
Evaluate \(\lim_{x\to 4}\frac{x^2-16}{x-4}\).
Substitution gives numerator \(4^2-16=16-16=0\) and denominator \(4-4=0\). Factor the difference of squares:
The reduced expression is continuous at \(4\), so the limit is \(4+4=8\). As a check, substituting \(4\) into the reduced expression gives \(8\); the original expression is undefined at \(4\), but agrees with \(x+4\) at every nearby \(x\ne4\).
For comparison, L'Hôpital's Rule gives the same result: the derivatives of the numerator and denominator are \(2x\) and \(1\), so their quotient tends to \(2(4)/1=8\). Factoring is shorter here because it immediately removes the common factor and leaves an expression that can be evaluated.
Worked Example: Cancelling a Factor in Both Polynomials
Evaluate \(\lim_{x\to 1}\frac{x^2-4x+3}{x^2-1}\).
Substitution gives numerator \(1-4+3=0\) and denominator \(1-1=0\). Factor each polynomial:
For \(x\ne1\), cancel the common factor \(x-1\):
At \(x=1\), the reduced expression has numerator \(1-3=-2\) and denominator \(1+1=2\). Thus the limit is \(-2/2=-1\). Checking the reduced expression gives \((1-3)/(1+1)=-1\).
L'Hôpital's Rule also applies: the derivative of the numerator is \(2x-4\), and the derivative of the denominator is \(2x\). Their quotient at \(x=1\) is \((2-4)/2=-2/2=-1\), matching the cancellation result. Here too, factoring makes the shared source of the \(0/0\) form explicit.
Worked Example: Unequal Multiplicities Leave a Zero
Evaluate \(\lim_{x\to 2}\frac{(x-2)^2(x+1)}{(x-2)(x+3)}\).
At \(x=2\), the numerator is \(0^2(3)=0\), and the denominator is \(0(5)=0\). Cancel one common factor \(x-2\), valid for \(x\ne2\):
The remaining denominator at \(x=2\) is \(2+3=5\), while the remaining numerator is \((2-2)(2+1)=0\). The limit is \(0/5=0\). Checking by substitution into the reduced expression gives \((0)(3)/5=0\).
There are two copies of \(x-2\) in the numerator but only one in the denominator. The extra numerator factor explains why the reduced expression tends to zero. Applying L'Hôpital's Rule directly would also give zero, but the cancellation reveals the reason without differentiating.
Choosing Between Factoring and L'Hôpital's Rule
L'Hôpital's Rule applies to a \(0/0\) limit under specific conditions. In its finite-endpoint form, the numerator and denominator must be differentiable on a punctured interval around \(a\), the original quotient must have the \(0/0\) form as \(x\to a\), the derivative of the denominator must be nonzero sufficiently near \(a\) (away from \(a\)), and the limit of the quotient of derivatives must exist, possibly as an infinite limit. Under these conditions, the original quotient has the same limit as the quotient of derivatives.
For rational functions, the polynomials are differentiable everywhere. Still, the \(0/0\) form alone is not enough to invoke L'Hôpital's Rule: its other conditions matter. Factoring has a different advantage. If a common factor is apparent, cancellation can resolve the limit without computing derivatives or separately checking the derivative quotient.
Substitute the endpoint into the numerator and denominator. For this method, both must give zero.
Factor each polynomial, especially for a factor \(x-a\) when the limit is at \(a\).
State that cancellation is for \(x\ne a\), then inspect what remains in the denominator.
If the reduced denominator is nonzero at \(a\), substitute into the reduced expression. If a \(0/0\) form remains, consider further algebra or L'Hôpital's Rule, checking its conditions.
Factoring is usually shorter when the polynomials are already factored, are low-degree expressions with familiar patterns, or have an obvious common factor. L'Hôpital's Rule can be clearer when factoring is not transparent and the derivatives are simple. Neither method should be chosen mechanically: use the one that makes the structure and justification easiest to see.
A Common Cancellation Mistake
Cancellation applies to factors of the whole numerator and denominator, not to terms that merely appear in sums. For example, in \(\frac{x^2+3x}{x+3}\), it is incorrect to “cancel the \(x\)” in the numerator's sum and the denominator, obtaining \(1\). A sum is not a product, so its terms cannot be cancelled separately.
The correction is to factor the entire numerator: \(x^2+3x=x(x+3)\). Then, for \(x\ne-3\), cancellation is valid:
Consequently, as \(x\to-3\), the limit is \(-3\), not \(1\). The check is the reduced expression: \(x\) approaches \(-3\). The original quotient is undefined at \(-3\), so the cancellation establishes a limit, not a new value for the original function at that point.
Why the Algebraic View Matters
Factoring does more than shorten a calculation. It shows why a quotient that appears undefined at one point may nevertheless settle to a definite nearby value. The numerator and denominator may both vanish because they share a factor, while their remaining factors approach ordinary nonzero values. Comparing multiplicities also explains whether cancellation leaves a zero, a finite nonzero value, or another vanishing denominator.
Before differentiating a rational \(0/0\) expression, ask whether the common factor is visible. If it is, cancellation often gives the most direct evaluation and the clearest explanation. If it is not, L'Hôpital's Rule remains a useful alternative when its hypotheses are satisfied.
Check Your Understanding
For each question, identify the factorization or condition that justifies your conclusion.
- For \(\lim_{x\to 3}\frac{x^2-9}{x-3}\), what common factor can be cancelled, and what is the limit?
- In \(\frac{x^2-5x+6}{x-2}\), why is cancelling \(x-2\) valid for evaluating the limit as \(x\to2\), but not a claim that the original quotient is defined at \(2\)?
- If the numerator contains \((x-a)^3\) and the denominator contains \((x-a)\), what factor remains after cancelling their common power?
- What is wrong with cancelling individual terms in a sum rather than factoring a common factor from the whole numerator?
- Name one reason factoring may be clearer than L'Hôpital's Rule for a rational \(0/0\) limit.