Partial fraction decomposition is the reverse of adding fractions. Just as you combine x−11+x+32 into a single fraction, partial fractions breaks (x−1)(x+3)5x+7 back into a sum of simpler fractions. This technique is essential for integration in calculus, for inverse Laplace transforms in engineering, and for simplifying complex rational expressions.
Why Partial Fractions?
Consider the fraction x2+2x−35x+7. As a single fraction, it is hard to integrate, hard to analyze, and hard to invert in a Laplace transform. But if we write it as:
x2+2x−35x+7=x−13+x+32
Each piece has a simple, well-known integral (ln∣x−1∣ and ln∣x+3∣), and each piece has a straightforward Laplace inverse. The decomposition makes hard problems easy.
The Setup: Three Cases
The method depends on the type of factors in the denominator after complete factoring.
Case 1: Distinct Linear Factors
If the denominator factors into distinct (non-repeating) linear factors:
An irreducible quadratic is a quadratic ax2+bx+c that cannot be factored over the real numbers (its discriminant b2−4ac<0). For each irreducible quadratic factor, the partial fraction has a linear numerator:
(ax2+bx+c)P(x)→ax2+bx+cAx+B
If the irreducible quadratic is repeated with multiplicity k, you need k terms:
ax2+bx+cA1x+B1+(ax2+bx+c)2A2x+B2+⋯
Example 3: Decompose (x−1)(x2+1)2x2+x+3.
Note: x2+1 is irreducible (discriminant 0−4=−4<0).
Setup:
(x−1)(x2+1)2x2+x+3=x−1A+x2+1Bx+C
Solve: Multiply both sides by (x−1)(x2+1):
2x2+x+3=A(x2+1)+(Bx+C)(x−1)
Set x=1: 2+1+3=A(2)⟹6=2A⟹A=3
Expand the right side: A(x2+1)+(Bx+C)(x−1)=Ax2+A+Bx2−Bx+Cx−C
=(A+B)x2+(−B+C)x+(A−C)
Match coefficients with 2x2+x+3:
x2: A+B=2⟹3+B=2⟹B=−1
x1: −B+C=1⟹1+C=1⟹C=0
x0: A−C=3⟹3−0=3 — confirmed
Result:
(x−1)(x2+1)2x2+x+3=x−13+x2+1−x
The General Procedure
Ensure the fraction is proper (numerator degree less than denominator degree). If not, perform long division first.
Factor the denominator completely.
Set up the decomposition according to the three cases above.
Clear denominators by multiplying both sides by the full denominator.
Solve for coefficients using strategic substitution (plug in roots of denominator factors) and/or coefficient matching.
Verify by recombining the partial fractions.
Important: The Fraction Must Be Proper
If deg(P)≥deg(Q), you must divide first.
Example 4: Decompose x2−1x3+2x2+x+1.
Numerator degree 3 is greater than denominator degree 2. Divide first:
Now decompose the proper fraction (x−1)(x+1)2x+3:
(x−1)(x+1)2x+3=x−1A+x+1B
x=1: 5=2A⟹A=25
x=−1: 1=−2B⟹B=−21
Final result:
x2−1x3+2x2+x+1=x+2+x−15/2−x+11/2
Solving Systems by Coefficient Matching
When strategic substitution does not give you all constants (common with irreducible quadratics), expand the right side and match coefficients of like powers of x.
In electrical engineering, the transfer function of a circuit is often a rational function of the complex frequency variable s. To find the time-domain response, engineers use inverse Laplace transforms, which require partial fraction decomposition.
For example, a circuit might produce:
H(s)=(s+2)(s+5)10
Decomposing: (s+2)(s+5)10=s+2A+s+5B
s=−2: 10=3A⟹A=310
s=−5: 10=−3B⟹B=−310
H(s)=s+210/3−s+510/3
Each term has a known inverse: s+ba↔ae−bt. So the time response is:
h(t)=310e−2t−310e−5t
Without partial fractions, finding this inverse would be far more difficult.
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: Decompose (x−2)(x+3)7x−1.
(x−2)(x+3)7x−1=x−2A+x+3B
x=2: 13=5A⟹A=513
x=−3: −22=−5B⟹B=522
Answer:(x−2)(x+3)7x−1=5(x−2)13+5(x+3)22
Problem 2: Decompose (x+1)24x+5.
(x+1)24x+5=x+1A+(x+1)2B
Multiply through: 4x+5=A(x+1)+B
x=−1: 1=B
x=0: 5=A+1⟹A=4
Answer:(x+1)24x+5=x+14+(x+1)21
Problem 3: Decompose (x−1)(x2+x+1)x2+2.
Note: x2+x+1 is irreducible (discriminant 1−4=−3<0).
(x−1)(x2+x+1)x2+2=x−1A+x2+x+1Bx+C
Multiply: x2+2=A(x2+x+1)+(Bx+C)(x−1)
x=1: 3=3A⟹A=1
Expand: (x2+x+1)+(Bx+C)(x−1)=x2+x+1+Bx2−Bx+Cx−C
=(1+B)x2+(1−B+C)x+(1−C)
Match with x2+0x+2:
x2: 1+B=1⟹B=0
x1: 1−0+C=0⟹C=−1
x0: 1−(−1)=2 — confirmed
Answer:(x−1)(x2+x+1)x2+2=x−11+x2+x+1−1
Problem 4: Decompose (x−1)(x+2)x3 (note: improper fraction).
Degree of numerator (3) exceeds denominator (2). Divide first: