Partial Fraction Decomposition Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Partial Fraction Decomposition.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

Breaking a rational expression into a sum of simpler fractions whose denominators are the factors of the original denominator.

Just as 712\frac{7}{12} can be split into 13+14\frac{1}{3} + \frac{1}{4}, a complex fraction like 5xโˆ’1(x+1)(xโˆ’2)\frac{5x-1}{(x+1)(x-2)} can be split into Ax+1+Bxโˆ’2\frac{A}{x+1} + \frac{B}{x-2}. The simpler pieces are each easy to integrate.

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: Split a rational function into simpler fractions whose denominators are the original's factors.

Common stuck point: The procedure for partial fraction decomposition is the easy part; the trap is decomposing an improper fraction directly. Asking "Is this a proper rational function whose denominator factors, that I need to break into a sum of simpler fractions?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Is this a proper rational function whose denominator factors, that I need to break into a sum of simpler fractions?

Worked Examples

Example 1

easy
Decompose 5(x+1)(xโˆ’2)\dfrac{5}{(x+1)(x-2)} and integrate.

Answer

53lnโกโˆฃxโˆ’2x+1โˆฃ+C\frac{5}{3}\ln\left|\frac{x-2}{x+1}\right| + C

First step

1
5(x+1)(xโˆ’2)=Ax+1+Bxโˆ’2\frac{5}{(x+1)(x-2)} = \frac{A}{x+1}+\frac{B}{x-2}.

Full solution

  1. 2
    x=2x=2: B=5/3B=5/3. x=โˆ’1x=-1: A=โˆ’5/3A=-5/3.
  2. 3
    โˆซ=โˆ’53lnโกโˆฃx+1โˆฃ+53lnโกโˆฃxโˆ’2โˆฃ+C=53lnโกโˆฃxโˆ’2x+1โˆฃ+C\int = -\frac{5}{3}\ln|x+1| + \frac{5}{3}\ln|x-2| + C = \frac{5}{3}\ln\left|\frac{x-2}{x+1}\right|+C.
Strategic substitution: set xx equal to each root of the denominator to isolate each constant.

Example 2

hard
Integrate โˆซx2+2xโˆ’1x(xโˆ’1)2โ€‰dx\displaystyle\int \frac{x^2+2x-1}{x(x-1)^2}\,dx.

Example 3

medium
Decompose 4x+1(xโˆ’1)(x+3)\dfrac{4x+1}{(x-1)(x+3)}.

Example 4

medium
Integrate โˆซ1x2โˆ’9โ€‰dx\displaystyle\int \frac{1}{x^2 - 9}\,dx.

Example 5

hard
Decompose x+4(xโˆ’1)2\dfrac{x+4}{(x-1)^2}.

Example 6

hard
Decompose 2x2+3(xโˆ’1)(x2+1)\dfrac{2x^2+3}{(x-1)(x^2+1)}.

Example 7

medium
Integrate โˆซ1x(x+2)โ€‰dx\displaystyle\int \frac{1}{x(x+2)}\,dx.

Example 8

hard
Compute x3+2x2โˆ’1\dfrac{x^3 + 2}{x^2 - 1} as a polynomial plus a proper fraction.

Example 9

medium
Integrate โˆซ3x+5(x+1)(x+2)โ€‰dx\displaystyle\int \frac{3x+5}{(x+1)(x+2)}\,dx.

Example 10

hard
Decompose 1x3โˆ’x\dfrac{1}{x^3 - x}.

Example 11

challenge
Use partial fractions to evaluate โˆ‘n=1โˆž1n(n+1)\displaystyle\sum_{n=1}^{\infty} \frac{1}{n(n+1)}.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Decompose 3x+5(x+1)(x+2)\dfrac{3x+5}{(x+1)(x+2)}.

Example 2

medium
Integrate โˆซ1x2โˆ’4โ€‰dx\displaystyle\int \frac{1}{x^2-4}\,dx.

Example 3

easy
What is the partial fraction form for 1(x+1)(xโˆ’2)\frac{1}{(x+1)(x-2)}?

Example 4

easy
Decompose 5xโˆ’1(x+1)(xโˆ’2)\frac{5x-1}{(x+1)(x-2)}: find AA for Ax+1\frac{A}{x+1}.

Example 5

easy
Decompose 5xโˆ’1(x+1)(xโˆ’2)\frac{5x-1}{(x+1)(x-2)}: find BB for Bxโˆ’2\frac{B}{x-2}.

Example 6

easy
Does x3x2โˆ’1\frac{x^3}{x^2-1} need long division before decomposing?

Example 7

easy
What is the form for 3(xโˆ’1)2\frac{3}{(x-1)^2}?

Example 8

easy
What numerator does the factor x2+1x^2+1 require in a decomposition?

Example 9

easy
Combine 1x+1x+1\frac{1}{x}+\frac{1}{x+1} into a single fraction.

Example 10

easy
How many unknown constants appear in the decomposition of 1x(xโˆ’1)(xโˆ’2)\frac{1}{x(x-1)(x-2)}?

Example 11

medium
Fully decompose 5xโˆ’1(x+1)(xโˆ’2)\frac{5x-1}{(x+1)(x-2)}.

Example 12

medium
Decompose 1x2โˆ’1\frac{1}{x^2-1}.

Example 13

medium
Find AA in x+3(xโˆ’1)2=Axโˆ’1+B(xโˆ’1)2\frac{x+3}{(x-1)^2}=\frac{A}{x-1}+\frac{B}{(x-1)^2}.

Example 14

medium
Decompose 2x(x2+1)(xโˆ’1)\frac{2x}{(x^2+1)(x-1)}: set up the equation for the constants.

Example 15

medium
After long division, write x2xโˆ’1\frac{x^2}{x-1} in mixed form.

Example 16

medium
Use 1x2โˆ’1=1/2xโˆ’1โˆ’1/2x+1\frac{1}{x^2-1}=\frac{1/2}{x-1}-\frac{1/2}{x+1} to integrate โˆซdxx2โˆ’1\int\frac{dx}{x^2-1}.

Example 17

medium
Decompose 3x+5x2+5x+6\frac{3x+5}{x^2+5x+6}.

Example 18

medium
How many unknowns are needed for 1x(x2+4)2\frac{1}{x(x^2+4)^2}?

Example 19

medium
Decompose x+4x2+x\frac{x+4}{x^2+x}.

Example 20

challenge
Decompose x2+1x(xโˆ’1)(x+1)\frac{x^2+1}{x(x-1)(x+1)}.

Example 21

challenge
Decompose x(xโˆ’1)2(x+1)\frac{x}{(x-1)^2(x+1)}.

Example 22

challenge
Decompose 4x3+x=4x(x2+1)\frac{4}{x^3+x}=\frac{4}{x(x^2+1)}.

Example 23

easy
Decompose 1(xโˆ’1)(x+1)\dfrac{1}{(x-1)(x+1)}.

Example 24

easy
Decompose 2x(xโˆ’1)(x+1)\dfrac{2x}{(x-1)(x+1)}.

Example 25

easy
What is the partial-fraction form of P(x)(xโˆ’1)(xโˆ’2)(xโˆ’3)\dfrac{P(x)}{(x-1)(x-2)(x-3)}?

Example 26

medium
Decompose 3xโˆ’2x2โˆ’xโˆ’2\dfrac{3x-2}{x^2 - x - 2}.

Example 27

hard
Integrate โˆซx+4(xโˆ’1)2โ€‰dx\displaystyle\int \frac{x+4}{(x-1)^2}\,dx.

Example 28

medium
What is the proper partial-fraction form for P(x)(x2+1)(xโˆ’2)\dfrac{P(x)}{(x^2+1)(x-2)}?

Example 29

medium
Decompose 1x(x+2)\dfrac{1}{x(x+2)}.

Example 30

medium
Before decomposing x3+2x2โˆ’1\dfrac{x^3 + 2}{x^2 - 1}, what must you do first?

Example 31

hard
Continue: decompose x+2x2โˆ’1\dfrac{x+2}{x^2-1}.

Example 32

medium
Set up (do not solve) the partial-fraction decomposition of 1(xโˆ’2)3(x+5)\dfrac{1}{(x-2)^3(x+5)}.

Example 33

medium
Combine into a single fraction: 2xโˆ’1+3x+2\dfrac{2}{x-1} + \dfrac{3}{x+2}.

Example 34

easy
Decompose 1(xโˆ’2)(x+3)\dfrac{1}{(x-2)(x+3)}.

Example 35

hard
Integrate โˆซ1x3โˆ’xโ€‰dx\displaystyle\int \frac{1}{x^3 - x}\,dx.

Example 36

medium
Decompose 5(x+2)(xโˆ’3)\dfrac{5}{(x+2)(x-3)}.

Example 37

medium
Combine 3xโˆ’2โˆ’2x+1\dfrac{3}{x-2} - \dfrac{2}{x+1} into a single fraction.

Background Knowledge

These ideas may be useful before you work through the harder examples.

integrallong division