Tutorials › AP Statistics › Solving Partial-Fraction Coefficients Efficiently

Numerical and BC Integration Methods · Tutorial 528 of 999

Solving Partial-Fraction Coefficients Efficiently

Use factor roots to isolate coefficients quickly, then match only the remaining coefficients needed to solve and check a partial-fraction decomposition.

Advanced 10 min read

What You'll Learn

  • Clear denominators to turn a rational decomposition into a polynomial identity.
  • Use roots of linear factors to isolate coefficients with strategic substitutions.
  • Handle repeated linear factors without confusing coefficients of different powers.
  • Choose a small, useful set of coefficient equations for the remaining unknowns.
  • Verify a proposed decomposition by expanding its numerator.

Why the Choice of Equations Matters

Once the form of a partial-fraction decomposition is known, the remaining task is to find its unknown coefficients. Expanding every product and comparing every coefficient will work, but it can create more algebra than necessary. A better approach is to notice that some substitutions make most terms disappear.

The key is to clear the denominator first. This turns the proposed decomposition into a polynomial identity. You can then evaluate that identity at convenient values—especially roots of linear factors—and use coefficient matching only for what those evaluations do not determine.

Central strategy: Clear denominators, use strategically chosen values to isolate coefficients, and match only the remaining coefficients needed to determine the unknowns.

From a Rational Equation to a Polynomial Identity

Suppose a proper rational function has denominator factored into linear factors and irreducible quadratic factors. Its partial-fraction form has a numerator constant over each linear factor, and a linear numerator over each irreducible quadratic. Repeated factors require a term for every power, as in \(A/(x-r)+B/(x-r)^2\).

After writing the appropriate form, multiply both sides by the original denominator. Provided the decomposition is considered at values where the original rational expressions are defined, the result is an equality of polynomials. Since the equality holds for all such values, the polynomials are identical, so their coefficients agree.

Definition: A polynomial identity is an equality of polynomials that holds for every value of the variable. To test a proposed partial-fraction decomposition, clear the denominator and compare the resulting numerator polynomials.

This step also explains why substituting a factor's root is useful. The cleared identity remains meaningful at that root, even though the original rational expression was undefined there. Terms containing the corresponding factor become zero, leaving fewer unknowns.

Why Strategic Substitution Works

Consider a denominator with distinct linear factors \((x-r_1),\ldots,(x-r_n)\), and a decomposition with corresponding coefficients \(A_1,\ldots,A_n\). After clearing denominators, the term containing \(A_i\) is multiplied by every denominator factor except \((x-r_i)\). At \(x=r_i\), every other term contains a factor \((x-r_i)\) and vanishes. Thus the value \(x=r_i\) isolates \(A_i\).

The same idea applies to a repeated factor. If the denominator includes \((x-r)^m\), multiplying by the full denominator makes the coefficient of \(1/(x-r)^m\) the only term from that repeated factor that survives at \(x=r\). Terms for lower powers still contain a positive power of \((x-r)\), so they vanish there.

These substitutions are useful, but coefficient matching is still important. A factor's root may determine only one coefficient, and an irreducible quadratic has no real root at which to make its terms vanish. In those cases, match selected powers of \(x\), rather than automatically expanding and solving for every coefficient at once.

Why matching coefficients is valid: If two polynomials are equal for every \(x\), the coefficients of each power of \(x\) must be equal. A nonzero polynomial of degree \(n\) can have at most \(n\) distinct roots: each distinct root contributes a linear factor, and more than \(n\) such factors cannot divide a degree-\(n\) polynomial. Therefore, two polynomials that agree at infinitely many values are identical.

Worked Example: Distinct Linear Factors

Worked Example: Distinct Linear Factors

Find the coefficients in the decomposition of \(\frac{2x^2+4x+6}{(x-1)(x+2)(x+3)}\).

Write the form with one constant numerator for each distinct linear factor:

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

Multiply by \((x-1)(x+2)(x+3)\). The polynomial identity to solve is

$$ 2x^2+4x+6 = A(x+2)(x+3)+B(x-1)(x+3)+C(x-1)(x+2). $$

Set \(x=1\). The terms with \(B\) and \(C\) vanish:

$$ 12= A(3)(4)=12A, \qquad A=1. $$

Set \(x=-2\). The terms with \(A\) and \(C\) vanish:

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

Set \(x=-3\). The terms with \(A\) and \(B\) vanish:

$$ 2(-3)^2+4(-3)+6=18-12+6=12, $$ $$ 12=C(-4)(-1)=4C, \qquad C=3. $$

Therefore, the proposed decomposition is

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

Check by expanding the cleared numerator. The three contributions are

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

Adding gives \((1-2+3)x^2+(5-4+3)x+(6+6-6)=2x^2+4x+6\), exactly the original numerator.

Repeated Factors: Isolate What You Can, Then Match

For repeated factors, a root substitution can isolate the coefficient belonging to the highest power of that factor, but it does not generally determine every coefficient associated with the repeated factor. Once the root substitutions have supplied some values, coefficient matching can finish the calculation with just one or two equations.

Worked Example: A Repeated Linear Factor

Find the coefficients in

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

Clear denominators to obtain

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

First use \(x=1\). The \(A\)- and \(C\)-terms vanish, so

$$ 5(1)^2-5(1)-3=-3=3B, \qquad B=-1. $$

Next use \(x=-2\). The \(A\)- and \(B\)-terms vanish, giving

$$ 5(-2)^2-5(-2)-3=20+10-3=27=9C, \qquad C=3. $$

Only \(A\) remains unknown. Expand the right side just enough to match the coefficient of \(x^2\). The \(x^2\)-coefficient is \(A+C\), so

$$ A+C=5, \qquad A+3=5, \qquad A=2. $$

Check the other coefficients. The coefficient of \(x\) is \(A+B-2C=2-1-6=-5\), and the constant term is \(-2A+2B+C=-4-2+3=-3\). Both match the given numerator. Thus

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

The check verifies the cleared numerator: its coefficients are \(5\), \(-5\), and \(-3\), as required.

Irreducible Quadratics: Combine Substitution with Matching

An irreducible quadratic has no real root, so there is no real substitution that makes its denominator factor vanish. A neighboring linear factor may still provide a useful value. Then match powers of \(x\) to determine the numerator coefficients over the quadratic.

Worked Example: A Linear Factor and an Irreducible Quadratic

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

$$ \frac{x^2+2x+5}{(x+1)(x^2+1)} = \frac{A}{x+1}+\frac{Bx+C}{x^2+1}. $$

Clear denominators:

$$ x^2+2x+5=A(x^2+1)+(Bx+C)(x+1). $$

Set \(x=-1\), the root of the linear factor. The second term vanishes:

$$ (-1)^2+2(-1)+5=1-2+5=4=2A, \qquad A=2. $$

Now expand the right side only to identify the coefficient equations:

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

Matching the \(x^2\)-coefficient gives \(A+B=1\), so \(2+B=1\) and \(B=-1\). Matching the \(x\)-coefficient gives \(B+C=2\), so \(-1+C=2\) and \(C=3\). The constant terms also agree, since \(A+C=2+3=5\).

Hence the decomposition is

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

Check the numerator directly: \(2(x^2+1)+(-x+3)(x+1)=2x^2+2-x^2+2x+3=x^2+2x+5\), which matches the original numerator.

A Common Mistake with Repeated Factors

A root substitution in the cleared identity isolates the coefficient of the highest power term for that repeated factor. It does not isolate the coefficient of the lowest power term.

For example, in the repeated-factor example, setting \(x=1\) gives \(-3=3B\), so \(B=-1\). A mistaken calculation might claim that this gives \(A=-1\). But the term containing \(A\) is \(A(x-1)(x+2)\), which equals zero at \(x=1\). It cannot contribute to the value of the identity there.

Another version of the same error is substituting \(x=1\) into the original rational equation: the denominator is zero, so that equation is undefined at \(x=1\). The valid substitution is made after clearing denominators, in the resulting polynomial identity.

Practical rule: First write the cleared identity. Then substitute a factor's root and check which terms actually vanish before assigning the resulting equation to a coefficient.

Choosing an Efficient Equation Set

Before expanding everything, look for values that eliminate terms. A useful sequence is to apply the roots of distinct linear factors, then use a root of a repeated linear factor to isolate its highest-power coefficient. After those substitutions, count the unknowns still remaining and match only as many convenient coefficients as needed.

1
Write the correct decomposition form.
Include every power of a repeated factor and a linear numerator over each irreducible quadratic.
2
Clear the denominator.
Work with the resulting polynomial identity, not by substituting into an undefined rational expression.
3
Use convenient roots.
Choose roots of linear factors to make as many terms vanish as possible.
4
Match only what remains.
Use a small set of coefficient equations to solve the remaining unknowns, then check the cleared numerator.

This approach matters because partial fractions are often an intermediate step in integration. Efficient coefficient work reduces avoidable algebra and makes sign errors easier to locate. The central habit is to simplify the equation structure before solving it, rather than treating every coefficient as if it required a full system of expanded equations.

Check Your Understanding

For each question, begin by writing or considering the cleared polynomial identity.

  1. In a decomposition with distinct factors \((x-2)\), \((x+1)\), and \((x-4)\), which substitution isolates the coefficient of \(1/(x+1)\)?
  2. Why must the denominator be cleared before substituting a root of one of its factors?
  3. For a repeated factor \((x-3)^2\), which of the two associated coefficients is isolated by setting \(x=3\) in the cleared identity?
  4. If an irreducible quadratic is present, why can a real root substitution not eliminate its associated term?
  5. After root substitutions determine two coefficients but leave one unknown, what is an efficient next step?

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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