Why Match Coefficients?
Partial fractions rewrite a rational function as a sum of simpler rational functions. When the denominator has distinct linear factors, each fraction in the standard partial-fraction form has a constant numerator. The constants can be found by clearing denominators and comparing coefficients of powers of \(x\).
For a proper rational function whose denominator is a product of \(n\) distinct linear factors, root substitution can determine the \(n\) fraction constants directly. Coefficient matching is still useful: it gives a systematic way to solve for them and check the result. It is especially important when the full decomposition also has a polynomial part, because evaluating at the denominator's roots does not determine that part.
From a Rational Equation to a Polynomial Identity
Suppose the denominator factors into distinct linear factors, and consider a proper rational function with three such factors. Its proposed form is
where \(P(x)\) is a polynomial of degree less than \(3\), and \(A,B,C\) are constants to be found. For \(x\ne a,b,c\), multiply both sides by \((x-a)(x-b)(x-c)\). The result is
Both sides are now polynomials. Expand the products, collect like powers, and equate the coefficients. For instance, if each side has degree at most \(2\), compare the coefficients of \(x^2\), \(x\), and \(1\). This gives three equations for the three unknowns.
Why is this comparison valid? The cleared equation holds for every \(x\) except possibly the three roots of the original denominator, so the difference between its two sides is a polynomial that vanishes at infinitely many real numbers. A nonzero polynomial of degree \(d\) has at most \(d\) roots: if \(r\) is a root, the factor theorem writes the polynomial as \((x-r)\) times a polynomial of degree one less, and this argument can be repeated. Therefore the difference polynomial must be the zero polynomial. Its coefficients are all zero, which is exactly why like-power coefficients must agree.
A Reliable Coefficient-Matching Procedure
Give each distinct linear factor its own constant numerator. If the rational function is improper, include its polynomial part after polynomial division.
Multiply by the full denominator so that no fractions remain.
Expand each product and group terms by powers of \(x\).
Equate coefficients of the same powers, solve the resulting equations, and substitute the constants into the original decomposition to check it.
Worked Examples
Worked Example: Matching Coefficients with Three Distinct Factors
Decompose
Because the numerator has degree \(2\) and the denominator has degree \(3\), use the form
Clear denominators by multiplying through by \((x-1)(x+2)(x-3)\):
Expand each product:
Thus the right-hand side is
Match the coefficients of \(x^2\), \(x\), and \(1\):
Solving this system gives \(A=-\frac{5}{3}\), \(B=\frac{7}{15}\), and \(C=\frac{16}{5}\). Check the coefficients: for \(x^2\), \(-\frac{25}{15}+\frac{7}{15}+\frac{48}{15}=2\); for \(x\), \(\frac{25}{15}-\frac{28}{15}+\frac{48}{15}=3\); and for the constant, \(10+\frac{7}{5}-\frac{32}{5}=5\). Therefore the decomposition is
Clearing denominators in this final expression reproduces \(2x^2+3x+5\), confirming the result.
Worked Example: Solving a Two-Equation System
Find constants \(A\) and \(B\) such that
Multiply through by \((x-2)(x+1)\):
Expand and collect powers of \(x\):
Matching the coefficients gives \(A+B=7\) and \(A-2B=-5\). Subtract the second equation from the first to obtain \(3B=12\), so \(B=4\). Then \(A+4=7\), so \(A=3\). The proposed decomposition is
Check by recombining the right-hand side: its numerator is \(3(x+1)+4(x-2)=3x+3+4x-8=7x-5\), as required.
When Root Substitution Is Not Enough
For a proper fraction with only distinct linear factors, setting \(x\) equal to each denominator root isolates the corresponding fraction constant. That is the basis of the cover-up method. But if the function is improper, its decomposition also contains a polynomial part. At the roots, that part is multiplied by the denominator and disappears, so root substitution cannot determine its coefficients. Matching all powers of \(x\) supplies the additional equations.
Worked Example: Finding a Polynomial Part as Well as Fraction Constants
Decompose
The numerator has degree \(3\), larger than the denominator's degree \(2\). Use a linear polynomial part and one constant numerator for each distinct factor:
Since \((x-1)(x+1)=x^2-1\), clearing denominators gives
Expand every term:
Now match coefficients of \(x^3,x^2,x,\) and \(1\):
Substitute \(C=1\) and \(D=2\) into the last two equations. They become \(A+B=4\) and \(A-B=6\). Adding these equations gives \(2A=10\), hence \(A=5\); then \(B=4-5=-1\). The decomposition is
Check by multiplying the right-hand side by \(x^2-1\):
The check recovers the original numerator. Root substitution at \(x=1\) or \(x=-1\) can determine \(A\) and \(B\), but it cannot determine \(C\) and \(D\); the coefficient equations determine all four constants.
A Common Coefficient-Matching Mistake
When expanding the cleared identity, it is easy to lose a minus sign in a constant term. For example, in the second worked example, the product \(B(x-2)\) is \(Bx-2B\), not \(Bx+2B\). The incorrect expansion would give
and would lead to the wrong constant equation \(A+2B=-5\). The correction is to distribute \(B\) to both terms, including the negative term: \(B(x-2)=Bx-2B\). Thus the correct expansion is \((A+B)x+(A-2B)\), and the correct equations give \(A=3\), \(B=4\). Recombining the fractions is a useful check because it exposes sign errors in the numerator.
How Coefficient Matching and Root Substitution Work Together
These methods are complementary, but they do not provide exactly the same information in every setup. In the proper three-factor example, matching coefficients produced a system for the three fraction constants. Root substitution could also find those constants directly. In the improper example, root substitution could find the two fraction constants, but only coefficient matching determined the polynomial part.
Whenever the constants have been found, check the decomposition by combining its terms over the original denominator and simplifying the numerator. This verifies that the proposed expression reproduces the rational function wherever its denominator is nonzero.
Check Your Understanding
Answer these questions to check your understanding of coefficient matching for distinct linear factors.
- What equation results from clearing denominators in \(\frac{P(x)}{(x-a)(x-b)}=\frac{A}{x-a}+\frac{B}{x-b}\)?
- Why can coefficients of the same powers of \(x\) be equated after the denominators have been cleared?
- For a proper fraction with two distinct linear factors, how many coefficient equations arise when both sides have degree at most \(1\)?
- Why does root substitution fail to determine the polynomial part in the improper-fraction example?
- What is one effective way to check a proposed partial-fraction decomposition?