Partial fraction decomposition

Let be a rational function ( polynomials) with .
Factor the denominator into linear factors: .
The are the roots of (factor theorem).
Leading coefficients can be absorbed into the numerator.
Assume the roots are distinct, so that no factor repeats; repeated and complex roots change the shape of the pieces, see below.
Then there exist constants such that

and exactly one choice of the works.

Adding requires bringing every summand to the common denominator: multiply top and bottom of each summand by the factor it is missing, then add the numerators, e.g.:

In the result, the denominator is the product of all factors, and the numerator is a sum in which each original numerator got multiplied by the other factors. Its degree stays below the denominator’s (each numerator term has of the factors), hence the condition in the definition.
The decomposition inverts this computation: it recovers the summands from the combined fraction.

Each summand can be integrated, summed, or bounded on its own; the combined fraction can't.

Computing the decomposition of

Factor the denominator: , roots and .
Write the decomposition with unknown constants:

Multiply both sides by . On the right, each fraction cancels its own factor and keeps the other:

The identity holds for every , so plugging in any value gives a valid equation in .
But plug in e.g. and , and the equations are and : each contains both unknowns, and they must be solved together (isolate in one, substitute into the other, …).
Plugging in a root instead makes every term except one vanish (), so each equation contains a single unknown.

Result:

Check by adding the right side back together:

Cleanup slop below

TODO, show all 3: Plugging in roots, Comparing coefficients, Rewriting the numerator

Ansatz shapes for general denominators

Over , every polynomial factors into linear terms and quadratics without real roots (fundamental theorem of algebra). Each factor of gets one piece of the ansatz:

factor of pieceunknowns
, no real root

A repeated factor needs all powers because its share of the numerator can be any polynomial of degree , and a single constant can’t express that. shows the failure: no constant makes equal to it. Rewriting the numerator around the root, , produces both powers:

If

The fraction has a polynomial “whole part”, like for integers.
Split it off first by polynomial long division; the decomposition applies to the remainder fraction.

Used wherever a product sits in a denominator and the pieces are tractable one at a time:
Integration … each piece integrates to a logarithm or arctan.
telescoping sums … collapses the partial sums of to .


Old slop below

Partial fractions decompose rational functions (fractions with polynomials) into simpler fractions that are easier to integrate.

When to Use

For integrals of the form where:

  • and are polynomials
  • Degree of < degree of (otherwise, do polynomial long division first)

The Method

  1. Factor the denominator completely
  2. Write the partial fraction form based on factor types
  3. Find the constants using algebra
  4. Integrate each simple fraction

Forms for Different Factor Types

Linear Factors:

Repeated Linear Factors:

Irreducible Quadratic:

Example:

Step 1: Factor denominator

Step 2: Set up partial fractions

Step 3: Find constants
Multiply both sides by :

Substitute convenient values:

  • Let :
  • Let :

Step 4: Integrate

Basic arithmetic example

See also: ^e2cb34