Partial fractions: repeated and quadratic factors
Decompose any rational function with repeated linear or irreducible quadratic factors, and integrate it into logarithms, powers and arctangents.
It opens on
The fraction 1/((x + 1)(x² + 1)) will not split as a constant over each factor. What numerator does the quadratic need, and what does it integrate to?
Why it matters
Rational functions appear in kinetics, circuits and population models, and every one of them reduces to these templates.
Good to know first
- Integrating using linear partial fractions: partial fraction decomposition splits a fraction with distinct linear factors, and the cover-up method finds each coefficient
- Integrating using long division and completing the square: divide when the numerator degree is not lower, and x² + 2x + 5 = (x + 1)² + 4
- Differentiating inverse trigonometric functions: (arctan x)′ = 1/(x² + 1)
Step by step
Choose the template
Choose the decomposition form for linear and irreducible quadratic factors and solve for its coefficients.
So the fraction 1/((x + 1)(x² + 1)) = A/(x + 1) + (Bx + C)/(x² + 1); clearing denominators gives 1 = A(x² + 1) + (Bx + C)(x + 1).
A common mix-up
A constant over every factor is enough.
In fact: Comparing x² terms gives A = 0 and B = 0, so 1 = 0 is impossible.
Repeated factors and long division
Write one term for every power of a repeated linear factor, solve with cover-up plus comparison, and divide first when the fraction is improper.
Clear denominators of the curve's fraction: x² + 2 = A(x − 1)² + Bx(x − 1) + Cx.
A common mix-up
A repeated factor needs one term.
In fact: (x − 1)² must contribute A/(x − 1) and B/(x − 1)², or the unknowns cannot match the degree.
Integrate the quadratic piece
Integrate (Ax + B)/(x² + bx + c) into a logarithm and an arctangent, and finish the lesson's definite integral.
The solid curve's antiderivative is (1/2) ln(x + 1) − (1/4) ln(x² + 1) + (1/2) arctan x.
A common mix-up
x/(x² + 1) integrates to arctan x.
In fact: The derivative of arctan x is 1/(x² + 1); x/(x² + 1) is half of d(x² + 1)/(x² + 1), a logarithm.
Try it
Write the template for 1/((x + 1)(x² + 4)).Answer
A/(x + 1) + (Bx + C)/(x² + 4)
Hint: The quadratic has no real roots
∫ dx/(x²(x + 1))Answer
Ln|(x + 1)/x| − 1/x + C
Hint: Template A/x + B/x² + C/(x + 1)
∫ (2x + 3)/(x² + 2x + 5) dxAnswer
Ln(x² + 2x + 5) + (1/2) arctan((x + 1)/2) + C
Hint: 2x + 3 = (2x + 2) + 1
A student used B/(x² + 1) with a constant B; what do the x² and x terms force?Answer
A = 0 and B = 0, but the constant needs 1.
Finish the integral of (x + 2)/(x² − 1) after factoring the denominator.Answer
(3/2) ln|x − 1| − (1/2) ln|x + 1|
