James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AA HL › Topic 1: Number & algebra › Partial fractions

Partial fractions

How to split a fraction with a product of two linear factors in the denominator into two simpler fractions, and why that makes integration and series much easier.

AHL 1.11HL onlyPaper 1Paper 2≈ 60 min to work through
Before you start: factorising quadratics and adding algebraic fractions. See Quadratics.

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Explain what partial fractions are and why they are usefulAHL 1.11
  • Factorise the denominator before splittingAHL 1.11
  • Find the constants by substituting values (the cover-up idea)AHL 1.11
  • Find the constants by comparing coefficientsAHL 1.11
  • Use partial fractions to integrate and to sum seriesAHL 1.11, 5.16

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

You already know how to add two fractions: 1x+1+2x+3=3x+5(x+1)(x+3). Partial fractions reverse this: they take the single, more complicated fraction and split it back into the simple pieces. Simple pieces are much easier to integrate, differentiate and sum.

2.1 What we are trying to do

In the IB course, the fractions you split have a denominator that is a product of two different linear factors, and a numerator of lower degree than the denominator. Every such fraction can be written as

Form of the partial fractions Not in booklet: learn it
px+q(ax+b)(cx+d)≡Aax+b+Bcx+d

where A and B are constants to be found. The symbol ≡ means the two sides are equal for every value of x (except where a denominator is zero).

Why only constants on top? Each piece has a linear denominator, so its numerator must be of lower degree, which means a constant. Two unknowns, A and B, need two equations, and the identity provides as many as we like.

Start by multiplying both sides by the whole denominator. For example, with 3x+5(x+1)(x+3)≡Ax+1+Bx+3 this gives

3x+5≡A(x+3)+B(x+1)

This identity is true for all x. There are two ways to use it to find A and B.

2.2 Method 1: substitute convenient values

Choose values of x that make one bracket zero. Then one unknown disappears and the other can be read off.

Worked example 1Paper 1
Express 3x+5(x+1)(x+3) in partial fractions.
3x+5≡A(x+3)+B(x+1)
Let x=−1: 2=2A, so A=1.
Substituting x=−1 makes the B(x+1) term zero.
Let x=−3: −4=−2B, so B=2.
3x+5(x+1)(x+3)≡1x+1+2x+3
Check by adding the fractions back together.
Why can we substitute x=−1?

You might worry that x=−1 is not allowed, because the original fraction is undefined there. But after multiplying through, 3x+5≡A(x+3)+B(x+1) is an identity between two polynomials, and they agree for every x except possibly −1 and −3. Two straight lines that agree at more than two points must be the same line, so they agree at −1 and −3 as well. That is why the substitution is valid.

There is a quick version of this, sometimes called the cover-up rule. To find A (the constant over x+1), cover up the factor x+1 in the original fraction and substitute x=−1 into what is left: 3(−1)+5(−1)+3=1. It is a useful check, but in an exam show the substitution working.

2.3 Method 2: compare coefficients

Alternatively, expand the right-hand side and match the coefficients of x and the constant terms on both sides. This always works and is useful when substitution gives awkward fractions.

Worked example 2Paper 1
Use comparing coefficients to find A and B in 4x+1(2x−1)(x+1)≡A2x−1+Bx+1.
4x+1≡A(x+1)+B(2x−1)=(A+2B)x+(A−B)
Coefficients of x: A+2B=4. Constants: A−B=1.
Subtract: 3B=3, so B=1 and A=2.
4x+1(2x−1)(x+1)≡22x−1+1x+1
Substituting x=12 and x=−1 gives the same values: try it.

2.4 Factorise the denominator first

Questions often give the denominator as an expanded quadratic. Factorise it before you do anything else.

Worked example 3Paper 1
Express x+7x2−x−6 in partial fractions.
x2−x−6=(x−3)(x+2)
x+7≡A(x+2)+B(x−3)
x=3: 10=5A⇒A=2.   x=−2: 5=−5B⇒B=−1.
x+7x2−x−6≡2x−3−1x+2
Worked example 4 (faded)Paper 1
Express 5(x−2)(x+3) in partial fractions.
5≡A(x+3)+B(x−2). x=2: A= 1  ← you work this out
x=−3: B= −1, so the answer is 1x−2−1x+3.  ← you work this out

2.5 Why partial fractions are useful

Integration. You cannot integrate x+7x2−x−6 directly, but each partial fraction integrates to a logarithm: ∫Ax−adx=Aln|x−a|+C. See Integration & areas.

Worked example 5Paper 1
Find ∫45x+7x2−x−6dx, giving your answer in the form lnk.
Using WE3: ∫45(2x−3−1x+2)dx=[2ln|x−3|−ln|x+2|]45
=(2ln2−ln7)−(2ln1−ln6)=2ln2−ln7+ln6
=ln4×67=ln247
Combine with the laws of logarithms.

Series. Partial fractions turn many sums into telescoping sums, where almost every term cancels with a later one.

Worked example 6Paper 1
Show that ∑r=1n1r(r+1)=1−1n+1.
1r(r+1)≡1r−1r+1
Sum: (1−12)+(12−13)+…+(1n−1n+1)
Write out the first few and the last few terms to see the cancelling.
Everything cancels except the first and last terms: 1−1n+1. (Compare with the induction proof on the Proof by induction page.)
On your TI-Nspire Calculator tricks →

Check partial fractions on a Graphs page: enter the original fraction as f1(x) and your answer as f2(x). If the graphs are identical, your answer is right. For a definite integral, use menu → 4: Calculus → 2: Numerical Integral to check the exact answer: ln247≈1.232.

3Explore it

The navy curve is the original fraction. Show the two partial fractions (dashed) and see that adding their heights gives the navy curve at every x.

4Common mistakes & exam tips

Common mistakes

  • Not factorising the denominator first.
  • Substituting into the original fraction instead of into the identity after multiplying through.
  • Sign errors when substituting negative values, e.g. x=−3 into B(x+1).
  • Forgetting that a factor like 2x−1 is zero at x=12, not x=1.
  • Writing ∫22x−1dx=2ln|2x−1|: it is ln|2x−1|, because of the chain rule.

Exam tips

  • Check your answer by adding the partial fractions back together, or by substituting one value of x into both sides.
  • In "hence" questions, the partial fractions are almost always needed in the next part.
  • For sums, write out the first three and the last two terms so the cancelling is obvious to the examiner.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Express 5x−1(x+1)(x−1) in partial fractions.
3x+1+2x−1
FluencyP2
Express 7(x+2)(x−5) in partial fractions.
1x−5−1x+2
FluencyP3
Express x+4x2+3x+2 in partial fractions.
(x+1)(x+2): 3x+1−2x+2
FluencyP4
Express 7x+1(x+1)(2x−1) in partial fractions.
2x+1+32x−1
Problem solvingP5
Find ∫3x+5(x+1)(x+3)dx.
ln|x+1|+2ln|x+3|+C
Problem solvingP6
Use partial fractions to find ∑r=1n2r(r+2).
2r(r+2)=1r−1r+2. Sum =32−1n+1−1n+2.

6Exam-style questions

Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.

Question 1Paper 1[5 marks]

Express 7x+1(x+1)(2x−1) in the form Ax+1+B2x−1, where A,B∈ℤ.

7x+1≡A(2x−1)+B(x+1)M1
substituting x=−1 or x=12, or comparing coefficientsM1
A=2A1
B=3A1
2x+1+32x−1A1
Question 2Paper 1[7 marks]

  • (a)Express 2r(r+2) in partial fractions.[2]
  • (b)Hence show that ∑r=1n2r(r+2)=32−1n+1−1n+2.[4]
  • (c)Write down the value of ∑r=1∞2r(r+2).[1]
(a)
2≡A(r+2)+BrM1
1r−1r+2A1
(b)
writing out at least the first three and last two termsM1
(1−13)+(12−14)+(13−15)+…+(1n−1−1n+1)+(1n−1n+2)A1
identifying the terms that remain: 1+12−1n+1−1n+2M1
32−1n+1−1n+2AG A1
(c)
32A1
Question 3Paper 1[6 marks]

  • (a)Express x+5x2+x−2 in partial fractions.[3]
  • (b)Hence find the exact value of ∫23x+5x2+x−2dx, giving your answer in the form lnk.[3]
(a)
(x−1)(x+2)A1
x+5≡A(x+2)+B(x−1)M1
2x−1−1x+2A1
(b)
[2ln|x−1|−ln|x+2|]23M1
(2ln2−ln5)−(0−ln4)A1
ln165A1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.

PaperQuestionFocusDifficulty
May 2025 · TZ2 · Paper 3Q1Within an investigation linking curves and a differential equation★★★
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake