Partial Fraction Decomposition Examples in Math

Worked examples of Partial Fraction Decomposition to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

easy
Decompose 5(x+1)(x−2) and integrate.
Show solution

Answer

53ln⁡∣x−2x+1∣+C

First step

1.
5(x+1)(x−2)=Ax+1+Bx−2.

Full solution

  1. 2.
    x=2: B=5/3. x=−1: A=−5/3.
  2. 3.
    ∫=−53ln⁡∣x+1∣+53ln⁡∣x−2∣+C=53ln⁡∣x−2x+1∣+C.
Strategic substitution: set x equal to each root of the denominator to isolate each constant.

Example 2

hard
Integrate ∫x2+2x−1x(x−1)2 dx.

Example 3

medium
Decompose 4x+1(x−1)(x+3).

Example 4

medium
Integrate ∫1x2−9 dx.

Example 5

hard
Decompose x+4(x−1)2.

Example 6

hard
Decompose 2x2+3(x−1)(x2+1).

Example 7

medium
Integrate ∫1x(x+2) dx.

Example 8

hard
Compute x3+2x2−1 as a polynomial plus a proper fraction.

Example 9

medium
Integrate ∫3x+5(x+1)(x+2) dx.

Example 10

hard
Decompose 1x3−x.

Example 11

challenge
Use partial fractions to evaluate ∑n=1∞1n(n+1).

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

easy
Decompose 3x+5(x+1)(x+2).

Example 2

medium
Integrate ∫1x2−4 dx.

Example 3

easy
What is the partial fraction form for 1(x+1)(x−2)?

Example 4

easy
Decompose 5x−1(x+1)(x−2): find A for Ax+1.

Example 5

easy
Decompose 5x−1(x+1)(x−2): find B for Bx−2.

Example 6

easy
Does x3x2−1 need long division before decomposing?

Example 7

easy
What is the form for 3(x−1)2?

Example 8

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

Example 9

easy
Combine 1x+1x+1 into a single fraction.

Example 10

easy
How many unknown constants appear in the decomposition of 1x(x−1)(x−2)?

Example 11

medium
Fully decompose 5x−1(x+1)(x−2).

Example 12

medium
Decompose 1x2−1.

Example 13

medium
Find A in x+3(x−1)2=Ax−1+B(x−1)2.

Example 14

medium
Decompose 2x(x2+1)(x−1): set up the equation for the constants.

Example 15

medium
After long division, write x2x−1 in mixed form.

Example 16

medium
Use 1x2−1=1/2x−1−1/2x+1 to integrate ∫dxx2−1.

Example 17

medium
Decompose 3x+5x2+5x+6.

Example 18

medium
How many unknowns are needed for 1x(x2+4)2?

Example 19

medium
Decompose x+4x2+x.

Example 20

challenge
Decompose x2+1x(x−1)(x+1).

Example 21

challenge
Decompose x(x−1)2(x+1).

Example 22

challenge
Decompose 4x3+x=4x(x2+1).

Example 23

easy
Decompose 1(x−1)(x+1).

Example 24

easy
Decompose 2x(x−1)(x+1).

Example 25

easy
What is the partial-fraction form of P(x)(x−1)(x−2)(x−3)?

Example 26

medium
Decompose 3x−2x2−x−2.

Example 27

hard
Integrate ∫x+4(x−1)2 dx.

Example 28

medium
What is the proper partial-fraction form for P(x)(x2+1)(x−2)?

Example 29

medium
Decompose 1x(x+2).

Example 30

medium
Before decomposing x3+2x2−1, what must you do first?

Example 31

hard
Continue: decompose x+2x2−1.

Example 32

medium
Set up (do not solve) the partial-fraction decomposition of 1(x−2)3(x+5).

Example 33

medium
Combine into a single fraction: 2x−1+3x+2.

Example 34

easy
Decompose 1(x−2)(x+3).

Example 35

hard
Integrate ∫1x3−x dx.

Example 36

medium
Decompose 5(x+2)(x−3).

Example 37

medium
Combine 3x−2−2x+1 into a single fraction.

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.

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

Concept recap

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

Partial fractions is unmixing paint: you are handed a colour and asked which pure colours, in what amounts, were stirred together to make it. The denominator's factors say which pure colours are possible, and solving for A and B finds the amounts. Unlike real paint, the unmixing is exact and has only one correct answer.

Read the full lesson on Partial Fraction Decomposition

Partial Fraction Decomposition is covered with related ideas in the guide Partial Fraction Decomposition: Step-by-Step Guide.

Background knowledge

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

integrallong division