Partial fractions is a method for integrating rational functions $\frac{P(x)}{Q(x)}$ where $P(x)$ and $Q(x)$ are polynomials. The idea is to break a complicated fraction into a sum of simpler fractions that are easy to integrate (like $\frac{A}{x-a}$ or $\frac{Ax+B}{x^2+bx+c}$). This is a BC Calculus topic.

🎯 In this section you will learn

📌 When to Use Partial Fractions

Partial fractions works when the denominator $Q(x)$ factors into linear factors or irreducible quadratic factors. The numerator $P(x)$ must have degree less than $Q(x)$ (if not, use polynomial long division first).

📋 The Four Cases

CaseDenominator FactorsPartial Fraction Form
Case 1Distinct linear factors$\frac{A}{x-a} + \frac{B}{x-b} + \cdots$
Case 2Repeated linear factors$\frac{A_1}{x-a} + \frac{A_2}{(x-a)^2} + \cdots + \frac{A_k}{(x-a)^k}$
Case 3Distinct irreducible quadratics$\frac{Ax+B}{x^2+bx+c} + \frac{Cx+D}{x^2+ex+f} + \cdots$
Case 4Repeated irreducible quadratics$\frac{A_1x+B_1}{x^2+bx+c} + \frac{A_2x+B_2}{(x^2+bx+c)^2} + \cdots$
💡 Important

Always perform polynomial long division first if the degree of the numerator is greater than or equal to the degree of the denominator.

Example 1Case 1: Distinct Linear Factors

Find $\displaystyle \int \frac{5x-1}{x^2 - x - 2} dx$.

Factor denominator
$x^2 - x - 2 = (x-2)(x+1)$
Set up partial fractions
$\frac{5x-1}{(x-2)(x+1)} = \frac{A}{x-2} + \frac{B}{x+1}$
Multiply through by denominator
$5x-1 = A(x+1) + B(x-2)$
Solve for $A$ and $B$
Let $x=2$: $5(2)-1 = A(3) + B(0)$ → $9 = 3A$ → $A=3$
Let $x=-1$: $5(-1)-1 = A(0) + B(-3)$ → $-6 = -3B$ → $B=2$
Rewrite and integrate
$\int \frac{5x-1}{(x-2)(x+1)} dx = \int \left(\frac{3}{x-2} + \frac{2}{x+1}\right) dx = 3\ln|x-2| + 2\ln|x+1| + C$
Example 2Case 2: Repeated Linear Factors

Find $\displaystyle \int \frac{x+2}{(x-1)^2} dx$.

Set up partial fractions
$\frac{x+2}{(x-1)^2} = \frac{A}{x-1} + \frac{B}{(x-1)^2}$
Multiply through
$x+2 = A(x-1) + B$
Solve for $A$ and $B$
Let $x=1$: $3 = B$
Expand: $x+2 = Ax - A + 3$ → Compare coefficients: $A=1$, $-A+3=2$ checks.
Integrate
$\int \frac{x+2}{(x-1)^2} dx = \int \frac{1}{x-1} dx + \int \frac{3}{(x-1)^2} dx = \ln|x-1| - \frac{3}{x-1} + C$
Example 3Case 3: Distinct Irreducible Quadratics

Find $\displaystyle \int \frac{2x+1}{x(x^2+1)} dx$.

Set up partial fractions
$\frac{2x+1}{x(x^2+1)} = \frac{A}{x} + \frac{Bx+C}{x^2+1}$
Multiply through
$2x+1 = A(x^2+1) + (Bx+C)x = A(x^2+1) + Bx^2 + Cx$
Expand and compare coefficients
$2x+1 = (A+B)x^2 + Cx + A$
Compare: $x^2$: $A+B=0$; $x$: $C=2$; constant: $A=1$
Then $1+B=0$ → $B=-1$
Integrate
$\int \frac{2x+1}{x(x^2+1)} dx = \int \frac{1}{x} dx + \int \frac{-x+2}{x^2+1} dx = \ln|x| - \frac{1}{2}\ln|x^2+1| + 2\arctan x + C$
Example 4Improper Rational Function (Long Division First)

Find $\displaystyle \int \frac{x^3}{x^2 - 1} dx$.

Long division
$\frac{x^3}{x^2-1} = x + \frac{x}{x^2-1}$
Partial fractions on remainder
$\frac{x}{x^2-1} = \frac{x}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1}$
$x = A(x+1) + B(x-1)$
Let $x=1$: $1 = 2A$ → $A=\frac{1}{2}$
Let $x=-1$: $-1 = -2B$ → $B=\frac{1}{2}$
Integrate
$\int \frac{x^3}{x^2-1} dx = \int x dx + \frac{1}{2} \int \frac{1}{x-1} dx + \frac{1}{2} \int \frac{1}{x+1} dx = \frac{x^2}{2} + \frac{1}{2}\ln|x-1| + \frac{1}{2}\ln|x+1| + C$
⚠️ Common Mistakes
🔍 Key Takeaways
← Back to Module Page