Partial fractions rewrites a rational function as a sum of simpler fractions. It is especially useful for integration because linear denominators lead to logarithms and irreducible quadratic denominators often lead to logarithms or inverse tangents.
Prepare the rational expression
First compare degrees. If the numerator's degree is at least the denominator's degree, perform polynomial division. Partial fractions applies to the remaining proper fraction, whose numerator has lower degree.
Next factor the denominator over the real numbers. Each factor determines the shape of a term in the decomposition. A distinct linear factor needs a constant numerator. A repeated linear factor requires a term for every power up to its multiplicity. An irreducible quadratic needs a general linear numerator.
These choices provide enough flexibility to reproduce the original numerator after the denominators are cleared.
Example: two distinct linear factors
Find Write
Multiplying by the denominator gives At and at so Therefore the integral is
The excluded values and remain outside the domain. Absolute values allow the logarithmic antiderivative to work on each interval between those exclusions.
Substituting a root into the cleared polynomial identity is legitimate even though the original rational expression is undefined there. The identity itself is a polynomial equality, valid for every real once the coefficients are matched.
Example: repeated factors need every power
Decompose as Clearing denominators gives
Setting gives and setting gives Comparing the coefficient gives Thus
The last term is positive because integrating gives Omitting the first power of a repeated factor would leave too few terms to match the original numerator.
Irreducible quadratics use linear numerators
A decomposition involving needs a term not just a constant numerator. Its two parts integrate differently: the term matches the derivative of the denominator and produces a logarithm, while the constant term produces an arctangent.
For example,
No absolute value is needed in this logarithm because is always positive. If the quadratic is shifted, completing the square can reveal the appropriate arctangent scale.
Verify before integrating
After solving for coefficients, recombine the fractions over the common denominator and check the numerator. This catches sign errors before integration adds another layer of algebra. A second check is to differentiate the final antiderivative.
For definite integrals, inspect the entire interval for denominator zeros. A singularity inside the interval makes the integral improper; endpoint subtraction alone can conceal divergence. The decomposition does not remove the original domain restrictions.
Division can reveal a polynomial plus a simple pole
For division gives The antiderivative is therefore on an interval avoiding . No multi-term coefficient system is needed after division because the remainder already has one linear denominator.
The polynomial part and proper fraction play different roles. Attempting a decomposition with only cannot reproduce a quadratic numerator; its behavior at large would be completely wrong. A quick degree comparison before writing unknown coefficients saves unnecessary and impossible algebra.
Try it yourself
Find on an interval avoiding and 1.
Answer: Since the decomposition is The integral is
What to remember
Divide if needed, factor completely, include the correct numerator and every repeated power, and solve a polynomial identity. Integration becomes straightforward only after the decomposition is correct.