Adding x−12+x+23 over a common denominator gives x2+x−25x+1. Partial fraction decomposition reverses this — it breaks one complicated rational function back into a sum of simple pieces. Those pieces are far easier to integrate: ∫x−12dx=2log∣x−1∣ is immediate, while the combined fraction is not.
When it applies
You need a proper rational function, degP<degQ. If the numerator's degree is equal or higher, first do polynomial long division. The denominator Q(x) must be factored into linear and/or irreducible quadratic factors.
The standard forms
For Q(x)P(x) with Q fully factored, each factor contributes a term:
Distinct linear (ax+b)→ax+bA.
Repeated linear (ax+b)n→ax+bA1+(ax+b)2A2+⋯+(ax+b)nAn.
Irreducible quadratic (ax2+bx+c)→ax2+bx+cAx+B — a linear numerator, not just a constant.
The unknown constants are found from the resulting equations; the decomposition is unique, which is what lets us solve for them systematically.
Worked example
Decompose x2−3x+23x+5. Factor the denominator: (x−1)(x−2). Set
(x−1)(x−2)3x+5=x−1A+x−2B.
Clear denominators: 3x+5=A(x−2)+B(x−1). Substituting the roots, x=1 gives 8=−A so A=−8, and x=2 gives 11=B. Hence
x2−3x+23x+5=x−1−8+x−211.
Tip
With distinct linear factors, substitute each factor's root to knock out all but one term — much faster than equating coefficients. …
We decompose the rational function into simpler fractions using partial fractions, then integrate each term separately. The result is 31(tan−1x−2tan−12x)+C.
Why partial fractions work here
When you see a rational function where the denominator is already factored into quadratics, and the numerator is of lower degree than the denominator, partial fraction decomposition is the natural tool. The idea: break a complicated fraction into a sum of simpler ones that we know how to integrate.
Here, the denominator is (x2+1)(x2+4). Both factors are irreducible quadratics (they have no real roots). So the decomposition will take the form:
(x2+1)(x2+4)x2=x2+1Ax+B+x2+4Cx+D
Why linear numerators? Because for an irreducible quadratic denominator, the numerator in the partial fraction must be one degree less — that is, linear.
From A+C=0 and 4A+C=0, subtract the first from the second: (4A+C)−(A+C)=0−0⟹3A=0⟹A=0. Then C=0.
From B+D=1 and 4B+D=0, subtract: (4B+D)−(B+D)=0−1⟹3B=−1⟹B=−31. Then D=1−B=1+31=34.
Tip
Notice that A and C turned out to be zero. This happens because the original numerator x2 is even — the odd-powered terms cancel out in the decomposition. A quick symmetry check could have saved a few steps.
Method: Partial Fractions via a Hidden Substitution (Even-Power Denominators)
Use this when the denominator is a product of irreducible quadratics in x2: treating x2 as a single variable turns it into an ordinary linear partial-fraction problem.
Steps
Step 1: Substitute y=x2 to decompose.
For (x2+1)(x2+4)x2, write (y+1)(y+4)y=y+1A+y+4B and solve for A,B.
Mistake 1: Trying a linear numerator Bx+C over x2+1 unnecessarily.
Why it's wrong: since the numerator involves only x2, the decomposition needs only constant numerators over each quadratic. Correct approach: use x2+1A+x2+4B.
Mistake 2: Integrating in the substituted variable y=x2. …