01 / 21
A B +

Linear
Partial Fractions

Learn to decompose rational expressions into simpler fractions with linear denominators to unlock powerful integration techniques.

Calculus 2

What Are Partial Fractions?

Partial fraction decomposition is the process of breaking a complex rational expression into a sum of simpler fractions. It reverses the process of adding fractions over a common denominator.

Why Do We Need Partial Fractions?

Many integrals involving rational functions cannot be solved directly. By decomposing them, each simpler fraction becomes easy to integrate using basic rules.

Hard to Integrate
$$\int \frac{5x + 3}{(x+1)(x+2)}\,dx$$
Easy to Integrate
$$\int \frac{A}{x+1}\,dx + \int \frac{B}{x+2}\,dx$$

The Big Picture: Decomposition Flow

Step 1 Factor the denominator Step 2 Set up decomposition Step 3 Solve for constants Step 4 Integrate each fraction EXAMPLE
$$\frac{5x+3}{(x+1)(x+2)} = \frac{\color{#818cf8}A}{\color{#818cf8}{x+1}} + \frac{\color{#4ade80}B}{\color{#4ade80}{x+2}}$$

Core Rule: Distinct Linear Factors

Requirements:

1
The degree of the numerator must be strictly less than the degree of the denominator (proper fraction).
2
The denominator must be fully factored into linear factors.
3
All linear factors must be distinct (no repeated roots).

Repeated Linear Factors

When a linear factor \((ax+b)\) appears more than once in the denominator, we need a separate fraction for each power of that factor.

Distinct vs. Repeated Factors

Distinct Linear Factors Repeated Linear Factors
Denominator Form \((x-a)(x-b)(x-c)\) \((x-a)(x-b)^2\)
Number of Terms One per factor One per power of each factor
Example Setup \(\displaystyle\frac{A}{x-a} + \frac{B}{x-b} + \frac{C}{x-c}\) \(\displaystyle\frac{A}{x-a} + \frac{B}{x-b} + \frac{C}{(x-b)^2}\)
Total Unknowns = Number of distinct factors = Degree of denominator

Proper vs. Improper Fractions

Partial fractions only works on proper rational expressions where the degree of the numerator is strictly less than the degree of the denominator.

Proper (ready to decompose)
\(\deg(P) < \deg(Q)\), e.g., \(\displaystyle\frac{3x+1}{x^2+3x+2}\)
Improper (needs long division first)
\(\deg(P) \ge \deg(Q)\), e.g., \(\displaystyle\frac{x^3+2}{x^2+3x+2}\)

How to Apply Partial Fractions

1
Check properness. If \(\deg(P) \ge \deg(Q)\), do polynomial long division first.
2
Factor the denominator completely into linear (and irreducible quadratic) factors.
3
Write the decomposition with unknown constants \(A, B, C, \ldots\) in each numerator.
4
Clear denominators by multiplying both sides by the full denominator.
5
Solve for constants using strategic substitution (plug in roots) or by equating coefficients.
6
Integrate each simple fraction: \(\displaystyle\int \frac{A}{ax+b}\,dx = \frac{A}{a}\ln|ax+b| + C\).

Two Methods to Find Constants

Strategic Substitution
Plug in the roots of each denominator factor. Each root eliminates all terms except one, giving the constant directly. Fastest for distinct factors.
Equating Coefficients
Expand the right side, then match coefficients of like powers of \(x\). Creates a system of equations. Needed for repeated factors.

Example 1: Distinct Factors

1
Set up: \(\displaystyle\frac{5x+3}{(x+1)(x+2)} = \frac{A}{x+1} + \frac{B}{x+2}\)
2
Clear denominators: \(5x + 3 = A(x+2) + B(x+1)\)
3
Let \(x = -1\): \(5(-1)+3 = A(1) + 0\), so \(A = -2\)
4
Let \(x = -2\): \(5(-2)+3 = 0 + B(-1)\), so \(B = 7\)

Example 2: Three Distinct Factors

1
Setup: \(\displaystyle\frac{A}{x} + \frac{B}{x-1} + \frac{C}{x+3}\)
2
Clear: \(2x^2 + x + 1 = A(x-1)(x+3) + Bx(x+3) + Cx(x-1)\)
3
Substitutions: \(x=0\): \(1 = A(-1)(3)\) so \(A = -\frac{1}{3}\); \(x=1\): \(4 = B(1)(4)\) so \(B = 1\); \(x=-3\): \(16 = C(-3)(-4)\) so \(C = \frac{4}{3}\)

Example 3: Repeated Factor

1
Setup: \(\displaystyle\frac{A}{x+1} + \frac{B}{x+2} + \frac{C}{(x+2)^2}\)
2
Clear: \(4x+5 = A(x+2)^2 + B(x+1)(x+2) + C(x+1)\)
3
Let \(x=-1\): \(1 = A(1)\) so \(A=1\). Let \(x=-2\): \(-3 = C(-1)\) so \(C=3\).
4
Equate \(x^2\) coefficients: \(0 = A + B\), so \(B = -1\).

Integrating the Pieces

After decomposition, each fraction integrates using one of two basic formulas:

Simple Linear
$$\int \frac{A}{ax+b}\,dx = \frac{A}{a}\ln|ax+b| + C$$
Repeated Linear
$$\int \frac{A}{(ax+b)^n}\,dx = \frac{A}{a(1-n)(ax+b)^{n-1}} + C \quad (n \ne 1)$$

Common Mistakes

✕ Forgetting Long Division
If \(\deg(P) \ge \deg(Q)\), you must divide first. The decomposition formula only applies to proper fractions.
✕ Missing Repeated Terms
For \((x+2)^3\), you need \(\frac{A}{x+2} + \frac{B}{(x+2)^2} + \frac{C}{(x+2)^3}\). All powers must be included.
✕ Not Fully Factoring
The denominator \(x^2 - 4\) must be factored as \((x-2)(x+2)\) before decomposing. Don't skip this step.

Summary: Decomposition Patterns

Denominator Factor Partial Fraction Terms Integration Result
\((ax+b)\) \(\displaystyle\frac{A}{ax+b}\) \(\frac{A}{a}\ln|ax+b|\)
\((ax+b)^2\) \(\frac{A}{ax+b} + \frac{B}{(ax+b)^2}\) \(\frac{A}{a}\ln|ax+b| - \frac{B}{a(ax+b)}\)
\((ax+b)^3\) \(\frac{A}{ax+b} + \frac{B}{(ax+b)^2} + \frac{C}{(ax+b)^3}\) Combine \(\ln\) and power rule terms

Question 1 of 5

What is the correct partial fraction setup for \(\displaystyle\frac{3x+7}{(x-2)(x+5)}\)?

Question 2 of 5

Find the value of \(A\) in: \(\displaystyle\frac{7x + 1}{(x+3)(x-1)} = \frac{A}{x+3} + \frac{B}{x-1}\)

Question 3 of 5

How many unknown constants are needed to decompose \(\displaystyle\frac{x+4}{(x-1)(x+2)^3}\)?

Question 4 of 5

What must you do before applying partial fraction decomposition to \(\displaystyle\frac{x^3 + 2x}{x^2 - 1}\)?

Question 5 of 5

Evaluate \(\displaystyle\int \frac{1}{x^2 - 4}\,dx\) using partial fractions.