01 / 20

Partial Fractions
in Integration

Master the technique of decomposing rational functions into simpler fractions to evaluate integrals that would otherwise seem impossible.

IB Mathematics: Analysis and Approaches

What Are Partial Fractions?

A rational function is a ratio of two polynomials: \(\frac{P(x)}{Q(x)}\). When the denominator factors into linear or irreducible quadratic terms, we can decompose the fraction into a sum of simpler fractions whose denominators are those factors.

This technique transforms a difficult integral into a sum of integrals we already know how to evaluate: logarithms and inverse tangents.

Why Do We Need This Technique?

Consider trying to integrate \(\displaystyle\int \frac{1}{x^2 - 1}\,dx\). There is no direct formula for this. But if we rewrite the integrand:

Now each piece is a simple \(\frac{1}{\text{linear}}\) form, which integrates to a natural logarithm:

The Big Picture

Hard Integral Single fraction Decompose Partial Fractions Sum of simple pieces Integrate Answer

\(\ln, \arctan, + C\)

Cannot integrate directly Each piece has a known antiderivative Combine results

Decomposition Rules

Distinct Linear
For each factor \((ax + b)\):
assign \(\frac{A}{ax+b}\)
Repeated Linear
For \((ax+b)^n\):
assign \(\frac{A_1}{ax+b} + \frac{A_2}{(ax+b)^2} + \cdots\)
Irreducible Quadratic
For \((ax^2+bx+c)\):
assign \(\frac{Ax+B}{ax^2+bx+c}\)

The Formal Setup

For distinct linear factors in the denominator:

For three distinct linear factors:

The number of unknown constants always equals the degree of the denominator.

Proper vs. Improper Fractions

Proper Fraction Improper Fraction
Condition \(\deg(P) \lt \deg(Q)\) \(\deg(P) \ge \deg(Q)\)
Example \(\frac{3x+1}{x^2+x-2}\) \(\frac{x^3+2}{x^2-1}\)
First Step Decompose directly Long division first
Result Sum of partial fractions Polynomial + proper fraction

Step-by-Step Method

1
Check degrees: Ensure \(\deg(P) \lt \deg(Q)\). If not, perform polynomial long division.
2
Factor the denominator completely into linear and/or irreducible quadratic factors.
3
Write the decomposition with unknown constants \(A, B, C, \ldots\) following the rules for each factor type.
4
Solve for constants by multiplying both sides by \(Q(x)\) and substituting strategic values of \(x\), or by equating coefficients.
5
Integrate each fraction separately: \(\frac{A}{x-a} \to A\ln|x-a|\), etc.

Finding Constants: Cover-Up Method

For distinct linear factors, the cover-up method (Heaviside's technique) gives constants instantly. To find the constant above a factor \((x - a)\), "cover up" that factor in the original fraction and substitute \(x = a\).

Worked Example 1

Evaluate: \(\displaystyle\int \frac{3}{x^2 - 9}\,dx\)

1
Factor: \(x^2 - 9 = (x-3)(x+3)\)
2
Decompose: \(\frac{3}{(x-3)(x+3)} = \frac{A}{x-3} + \frac{B}{x+3}\)
3
Cover-up: \(x = 3 \Rightarrow A = \frac{3}{6} = \frac{1}{2}\). \(x = -3 \Rightarrow B = \frac{3}{-6} = -\frac{1}{2}\)
4
Integrate: \(\displaystyle\frac{1}{2}\int\frac{1}{x-3}\,dx - \frac{1}{2}\int\frac{1}{x+3}\,dx\)

Worked Example 2: Three Factors

Evaluate: \(\displaystyle\int \frac{2x + 1}{x(x-1)(x+2)}\,dx\)

A
\(x = 0\): \(A = \frac{2(0)+1}{(0-1)(0+2)} = \frac{1}{-2} = -\frac{1}{2}\)
B
\(x = 1\): \(B = \frac{2(1)+1}{(1)(1+2)} = \frac{3}{3} = 1\)
C
\(x = -2\): \(C = \frac{2(-2)+1}{(-2)(-2-1)} = \frac{-3}{6} = -\frac{1}{2}\)

Worked Example 3: Repeated Factor

Evaluate: \(\displaystyle\int \frac{4x}{(x-1)^2(x+1)}\,dx\)

Multiply both sides by \((x-1)^2(x+1)\):

Integration Results Reference

Simple Linear
$$\int \frac{A}{x-a}\,dx = A\ln|x-a| + C$$
Repeated Linear
$$\int \frac{A}{(x-a)^n}\,dx = \frac{A}{(1-n)(x-a)^{n-1}} + C$$
Irreducible Quadratic
$$\int \frac{A}{x^2+a^2}\,dx = \frac{A}{a}\arctan\!\left(\frac{x}{a}\right) + C$$
Linear over Quadratic
$$\int \frac{x}{x^2+a^2}\,dx = \frac{1}{2}\ln(x^2+a^2) + C$$

Common Mistakes

✕ Forgetting Long Division
Attempting to decompose \(\frac{x^3+1}{x^2-4}\) directly. Always check: if \(\deg(P) \ge \deg(Q)\), divide first.
✕ Missing Repeated Terms
Writing only \(\frac{A}{x-1}\) for \((x-1)^2\) instead of including both \(\frac{A}{x-1} + \frac{B}{(x-1)^2}\).
✕ Wrong Numerator Form
Using just a constant \(A\) over an irreducible quadratic \((x^2+1)\) instead of the correct form \(\frac{Ax+B}{x^2+1}\).

Summary of Forms

Denominator Factor Partial Fraction Form Integral Result
\((x - a)\) \(\frac{A}{x-a}\) \(A\ln|x-a| + C\)
\((x - a)^2\) \(\frac{A}{x-a} + \frac{B}{(x-a)^2}\) \(A\ln|x-a| - \frac{B}{x-a} + C\)
\((x^2 + a^2)\) \(\frac{Ax + B}{x^2+a^2}\) \(\frac{A}{2}\ln(x^2+a^2) + \frac{B}{a}\arctan\!\frac{x}{a} + C\)

Question 1 of 5

What is the correct partial fraction decomposition of \(\frac{1}{(x-2)(x+3)}\)?

Question 2 of 5

Evaluate: \(\displaystyle\int \frac{2}{x^2 - 4}\,dx\)

Question 3 of 5

For the fraction \(\frac{x+5}{(x+1)(x-1)^2}\), which is the correct form of the partial fraction decomposition?

Question 4 of 5

Before decomposing \(\frac{x^3 + 2x}{x^2 + 1}\) into partial fractions, what must you do first?

Question 5 of 5

Evaluate: \(\displaystyle\int \frac{5x - 1}{(x-1)(x+2)}\,dx\)