Tutorials › Calculus II › Strategic Substitution for Coefficient Systems

Improper Rational Functions · Tutorial 212 of 998

Strategic Substitution for Coefficient Systems

Use carefully chosen values of x to make repeated-factor partial-fraction coefficient systems simpler to solve and easier to check.

Intermediate 10 min read

What You'll Learn

  • Clear denominators to obtain a polynomial identity before choosing values of x.
  • Use roots of denominator factors to eliminate groups of coefficient terms.
  • Choose additional values of x that simplify the remaining equations.
  • Solve coefficient systems systematically when root substitutions do not determine every constant.
  • Verify a decomposition by recombining its terms.
  • Recognize why evaluating at a denominator root applies to the cleared identity, not the original rational expression.

Why the Choice of x Matters

When a rational function has repeated denominator factors, its partial-fraction decomposition includes several unknown coefficients. Clearing denominators produces a polynomial identity, and comparing coefficients is one way to find those unknowns. But expanding and matching every power can create a larger system than necessary.

A useful alternative is to evaluate the cleared identity at selected values of \(x\). A root of a denominator factor may make several terms vanish at once. Other values, chosen for simple arithmetic, can then give equations for the coefficients that remain. The aim is not to avoid the coefficient system altogether; it is to make that system easier to solve.

Central strategy: First clear denominators to form a polynomial identity. Then choose values of \(x\) that simplify that identity, using roots of denominator factors where helpful and additional convenient values when needed.

Start with the Cleared Identity

Consider a rational function whose denominator contains a repeated factor. A typical decomposition might include terms such as \(A/(x-a)\) and \(B/(x-a)^2\), along with terms from other factors. Multiplying the proposed decomposition by the full denominator eliminates the fractions and gives a polynomial identity involving the unknown coefficients.

Definition: A cleared polynomial identity is the equation obtained by multiplying a proposed partial-fraction equation by its common denominator. It must hold for every value of \(x\) for which the original rational expressions are defined. Because both sides after clearing are polynomials, the resulting polynomial identity also holds when \(x\) is a root of that denominator.

This last point is essential. The original rational expression is undefined at a denominator root, so we do not substitute that value into the original fractions. We substitute it into the cleared polynomial identity, where every term is defined.

At a root, a factor can make terms vanish. For example, if the cleared identity contains a term multiplied by \((x-a)^2\), setting \(x=a\) makes that term zero. The remaining equation may determine one coefficient immediately, but it does not necessarily determine all the coefficients. Additional values of \(x\), or coefficient comparison, may still be required.

A Justification for the Method

The reason these substitutions are legitimate follows from the definition of a polynomial identity. Suppose two polynomials \(P(x)\) and \(Q(x)\) are equal for every \(x\) in the domain of an original rational identity after denominators have been cleared. There are infinitely many such real values of \(x\), since a denominator has only finitely many real roots. The difference \(P(x)-Q(x)\) is therefore a polynomial that is zero for infinitely many values. A nonzero polynomial has only finitely many roots, so \(P-Q\) must be the zero polynomial. Hence \(P(x)=Q(x)\) for every real \(x\), including the roots of the original denominator.

Why root substitution works: Clearing denominators gives a polynomial identity. That identity remains valid at denominator roots, even though the original rational expressions are not defined there.

In practice, this means we can evaluate the cleared identity at a factor’s root to eliminate terms. Then we choose other values that keep the arithmetic manageable. A good choice produces a simpler equation; it does not change the identity or the answer.

Worked Example: One Repeated Linear Factor

Worked Example: One Repeated Linear Factor

Find \(A\), \(B\), and \(C\) in the decomposition

$$ \frac{x^2+7x+1}{(x-1)^2(x+2)} = \frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{x+2}. $$

Multiply both sides by \((x-1)^2(x+2)\). The cleared identity is

$$ x^2+7x+1 = A(x-1)(x+2)+B(x+2)+C(x-1)^2. $$

Set \(x=1\). The terms containing \(x-1\) vanish, leaving

$$ 1^2+7(1)+1=3B, \qquad 9=3B, \qquad B=3. $$

Now set \(x=-2\). The terms containing \(x+2\) vanish, so

$$ (-2)^2+7(-2)+1=9C, \qquad -9=9C, \qquad C=-1. $$

These two root substitutions have determined \(B\) and \(C\), but the coefficient \(A\) remains. Choose \(x=0\), which makes the arithmetic simple:

$$ 1=A(-1)(2)+3(2)+(-1)(-1)^2, \qquad 1=-2A+6-1, \qquad A=2. $$

Thus the proposed decomposition is

$$ \frac{x^2+7x+1}{(x-1)^2(x+2)} = \frac{2}{x-1} + \frac{3}{(x-1)^2} - \frac{1}{x+2}. $$

Check by recombining the right-hand side over the common denominator. Its numerator is

$$ 2(x-1)(x+2)+3(x+2)-(x-1)^2 = (2x^2+2x-4)+(3x+6)+(-x^2+2x-1) = x^2+7x+1. $$

This matches the original numerator, so the decomposition checks.

When Root Substitutions Are Not Enough

Repeated factors often produce a useful first equation at a root, but the remaining unknowns may still be linked. Choose further values that make the cleared identity easy to evaluate. Values such as \(0\), \(1\), or \(-1\) are often convenient, provided they are not excluded by the original expression when considering the rational equation. In the cleared polynomial identity, any value is valid; in practice, values that keep the arithmetic simple are preferable.

It is also useful to plan which equations are needed before substituting. If there are four unknowns and the root evaluations provide only two independent equations, two more independent equations are needed. They may come from convenient substitutions or from comparing coefficients. Repeating substitutions without checking whether they add new information can waste effort.

Worked Example: A Repeated Linear Factor and a Quadratic

Worked Example: A Repeated Linear Factor and a Quadratic

Find the coefficients in

$$ \frac{4x^2+6x+6}{(x+1)^2(x^2+1)} = \frac{A}{x+1} + \frac{B}{(x+1)^2} + \frac{Cx+D}{x^2+1}. $$

After multiplying by the denominator, obtain

$$ 4x^2+6x+6 = A(x+1)(x^2+1) + B(x^2+1) + (Cx+D)(x+1)^2. $$

The repeated linear factor has root \(x=-1\). Substitution gives

$$ 4(-1)^2+6(-1)+6 = 2B, \qquad 4=2B, \qquad B=2. $$

There are three coefficients left. Set \(x=0\):

$$ 6=A+B+D, \qquad 6=A+2+D, \qquad A+D=4. $$

Set \(x=1\). The left side is \(4+6+6=16\), so

$$ 16=4A+2B+4(C+D), \qquad 16=4A+4+4C+4D, \qquad A+C+D=3. $$

Subtract \(A+D=4\) from \(A+C+D=3\) to obtain \(C=-1\). Finally, set \(x=-2\). The left side is \(16-12+6=10\), and the identity gives

$$ 10=-5A+5B+(-2C+D)(1), \qquad 10=-5A+10+2+D, \qquad -5A+D=-2. $$

Using \(D=4-A\) from \(A+D=4\), solve:

$$ -5A+(4-A)=-2, \qquad -6A=-6, \qquad A=1, \qquad D=3. $$

The decomposition is therefore

$$ \frac{4x^2+6x+6}{(x+1)^2(x^2+1)} = \frac{1}{x+1} + \frac{2}{(x+1)^2} + \frac{-x+3}{x^2+1}. $$

To check, recombine the numerators:

$$ (x+1)(x^2+1)+2(x^2+1)+(-x+3)(x+1)^2 $$

Expand each term:

$$ (x^3+x^2+x+1)+(2x^2+2)+(-x^3+x^2+5x+3) = 4x^2+6x+6. $$

The numerator agrees with the original one, verifying the result.

Worked Example: Two Repeated Linear Factors

Worked Example: Two Repeated Linear Factors

Determine the coefficients in

$$ \frac{5x^3-8x^2-16x+15}{(x-2)^2(x+1)^2} = \frac{A}{x-2} + \frac{B}{(x-2)^2} + \frac{C}{x+1} + \frac{D}{(x+1)^2}. $$

Clearing denominators gives

$$ 5x^3-8x^2-16x+15 = A(x-2)(x+1)^2 + B(x+1)^2 + C(x+1)(x-2)^2 + D(x-2)^2. $$

Set \(x=2\). Only the term involving \(B\) remains on the right:

$$ 5(2)^3-8(2)^2-16(2)+15=9B, \qquad -9=9B, \qquad B=-1. $$

Set \(x=-1\). Only the term involving \(D\) remains:

$$ 5(-1)^3-8(-1)^2-16(-1)+15=9D, \qquad 18=9D, \qquad D=2. $$

Now use \(x=0\). The left side is \(15\), giving

$$ 15=-2A+B+4C+4D, \qquad 15=-2A-1+4C+8, \qquad -A+2C=4. $$

Use \(x=1\). The left side is \(5-8-16+15=-4\):

$$ -4=-4A+4B+2C+D, \qquad -4=-4A-4+2C+2, \qquad -2A+C=-1. $$

From \(-A+2C=4\), \(A=2C-4\). Substitute this into the second equation:

$$ -2(2C-4)+C=-1, \qquad -4C+8+C=-1, \qquad -3C=-9, \qquad C=3. $$

Then \(A=2(3)-4=2\). The full set of coefficients is \(A=2\), \(B=-1\), \(C=3\), and \(D=2\).

Check by recombining. The numerator from these coefficients is

$$ 2(x-2)(x+1)^2-(x+1)^2+3(x+1)(x-2)^2+2(x-2)^2. $$

Expanding the four terms gives

$$ (2x^3-6x-4)+(-x^2-2x-1)+(3x^3-9x^2+12)+(2x^2-8x+8) = 5x^3-8x^2-16x+15. $$

This is the original numerator, so the decomposition is verified.

Common Pitfall: Substituting Before Clearing Denominators

A tempting but invalid step is to put \(x=a\) directly into a rational equation whose denominator contains \(x-a\). For example, at \(x=1\), the expression \(A/(x-1)\) is undefined. It is not valid to substitute \(x=1\) into the original partial-fraction equation and then treat the resulting fractions as ordinary numbers.

The correction is to multiply by the common denominator first. In the first example, the cleared equation was

$$ x^2+7x+1 = A(x-1)(x+2)+B(x+2)+C(x-1)^2. $$

This polynomial identity is defined at \(x=1\). Substituting there gives \(9=3B\), so \(B=3\). The value at the root is useful precisely because we evaluate the cleared identity, not the undefined rational expressions.

A second mistake is to assume that root substitutions always determine every coefficient. They often eliminate many terms, but a decomposition with several unknowns may still need equations from other values of \(x\) or from coefficient comparison. Check how many unknowns remain and whether the equations obtained are independent before deciding that the system is solved.

A Practical Strategy

1
Write the proposed decomposition.
Include every coefficient required by the denominator factors, including the full set of terms for repeated factors.
2
Clear the denominators.
Form a polynomial identity before evaluating at any denominator root.
3
Use factor roots.
Substitute roots that make groups of terms vanish, and solve the resulting equations.
4
Choose simple additional values.
Use values such as zero or small integers to obtain equations for the remaining coefficients.
5
Finish the system and verify.
Solve the remaining equations, then recombine the terms and check that the numerator is recovered.

Strategic substitution is useful because it turns the structure of the denominator into a guide for simplifying the coefficient system. It does not replace careful bookkeeping: every substitution must be applied to the cleared identity, every unknown must be determined, and the final decomposition should be checked by recombination.

Check Your Understanding

Answer these questions using the cleared-identity method.

  1. Why is it valid to substitute a root of the denominator into a cleared polynomial identity, even though the original rational expression is undefined there?
  2. For a denominator containing \((x-3)^2\), which value of \(x\) is a natural first choice, and what makes that substitution useful?
  3. If root substitutions determine two coefficients but leave three unknowns, what should you do next?
  4. Why is direct substitution into the original rational equation at a denominator root invalid?
  5. After finding the coefficients, what calculation checks that the decomposition reproduces the original rational function?

Test yourself: Calculus II final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon