Integration of Rational Functions by Partial Fractions
This topic covers integrating rational functions whose numerator degree is less than the denominator's by rewriting the fraction as a sum of simpler partial fractions. It walks through distinct linear factors, repeated linear factors, and irreducible quadratic factors, then integrates each resulting term.
What Is Integration by Partial Fractions?
Some rational functions are too complicated to integrate directly, but they can be rewritten as a sum of simpler fractions that each integrate easily. This technique, called integration by partial fractions, relies on partial fraction decomposition from algebra: breaking a fraction like \(\frac{2x+3}{(x-1)(x+2)}\) into pieces like \(\frac{A}{x-1}+\frac{B}{x+2}\). Once the fraction is split apart, each term becomes a basic integral you already know how to solve.
When to Use This Method
Partial fractions work on integrals of the form \(\int \frac{P(x)}{Q(x)}\,dx\), where \(P(x)\) and \(Q(x)\) are polynomials. Before decomposing, check the degrees:
If the degree of \(P(x)\) is less than the degree of \(Q(x)\), the fraction is "proper" and ready to decompose.
If the degree of \(P(x)\) is greater than or equal to the degree of \(Q(x)\), divide first using polynomial long division, then decompose the leftover proper fraction.
This method pairs with other integration strategies you may already know, such as u-substitution, which is often used once the fraction has been split into simpler pieces.
The Three Main Cases
How you set up the decomposition depends on how the denominator factors.
Case 1: Distinct Linear Factors
If \(Q(x)\) factors into distinct linear pieces, such as \(Q(x) = (x-a)(x-b)\), write:
Multiply both sides by the denominator and solve for \(A\) and \(B\) by substituting convenient values of \(x\) or by comparing coefficients. Sometimes the factoring step itself uses the difference of squares formula when the denominator looks like \(x^2 - a^2\).
Case 2: Repeated Linear Factors
If a linear factor repeats, such as \((x-a)^2\), include one term for every power up to that repetition:
If \(Q(x)\) contains a quadratic factor \(x^2+bx+c\) that cannot be factored into real linear pieces, its numerator must be linear rather than constant:
\(\frac{P(x)}{x^2+bx+c} = \frac{Ax+B}{x^2+bx+c}\)
Terms like this often integrate to a combination of a logarithm and an arctangent function.
Graph of \(y = \frac{1}{(x-1)(x+2)}\), a rational function with two distinct linear factors in the denominator.
Step-by-Step Method
Confirm the fraction is proper (divide first if it is not).
Factor the denominator completely into linear and irreducible quadratic pieces.
Write the correct partial fraction form for each factor type.
Clear denominators and solve for the unknown constants.
Rewrite the original integral as a sum of simpler integrals.
Integrate each term using logarithm, power, or arctangent rules.
Worked Example
Evaluate \(\int \frac{3x+5}{(x-1)(x+2)}\,dx\).
Set up the decomposition: \(\frac{3x+5}{(x-1)(x+2)} = \frac{A}{x-1}+\frac{B}{x+2}\).
Forgetting to divide first when the numerator's degree is not smaller than the denominator's degree.
Using a constant numerator over an irreducible quadratic factor instead of a linear one.
Missing a required term when a linear factor is repeated.
Dropping the absolute value inside the logarithm after integrating a linear factor.
Extending the Technique
Partial fractions is one of several tools for handling integrals that resist basic formulas; others include improper integrals for unbounded limits or discontinuities, and trigonometric substitution for expressions involving square roots of quadratics. Choosing the right technique starts with recognizing the structure of the integrand.