Skip to content
IB Diploma ProgrammeSL & HL

Partial fractions

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Partial fractions notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Partial fractions notes as text: skim, search, and jump between subtopics.

~13 min read

1. What partial fractions do

A partial fraction split writes one fraction as a sum of simpler fractions. It reverses adding fractions over a common denominator. Each new fraction has one linear term in its denominator.

The syllabus allows a maximum of two distinct linear terms in the denominator, and the degree of the numerator must be less than the degree of the denominator. So the numerator is a constant or px + q.

The symbol ≡ means the two sides are equal for every value of x where they are defined. The command term *show that* needs every step and the given result reached.

(px + q)/((x - a)(x - b)) ≡ A/(x - a) + B/(x - b) (a ≠ b)

Worked example 13 marks

Show that 1/(x - 1) + 1/(x + 2) ≡ (2x + 1)/(x² + x - 2).

  1. 1

    write over the common denominator: ((x + 2) + (x - 1))/((x - 1)(x + 2)) (M1) [1]

  2. 2

    numerator: (x + 2) + (x - 1) = 2x + 1 (A1) [1]

  3. 3

    expand the denominator: (x - 1)(x + 2) = x² + x - 2, so the sum is (2x + 1)/(x² + x - 2) A1 AG [1]

2. Finding the constants by substitution

First factorise the denominator. Write the fraction as A/(x -a) + B/(x -b) and multiply both sides by (x - a)(x - b). This gives an identity with no fractions in it.

The identity holds for every x, so substitute two values of x. Choose the value that makes one bracket zero: x = a leaves only A, and x = b leaves only B.

Check by putting any other value of x into both sides. The command term *express* needs the final sum of fractions written out.

px + q ≡ A(x - b) + B(x - a)

x = a ⇒ A = (pa + q)/(a - b), x = b ⇒ B = (pb + q)/(b - a)

Worked example 14 marks

Express (x + 7)/(x² - x - 6) in the form A/(x - 3) + B/(x + 2).

  1. 1

    factorise the denominator: x² - x - 6 = (x - 3)(x + 2) (A1) [1]

  2. 2

    x + 7 ≡ A(x + 2) + B(x - 3) (M1) [1]

  3. 3

    substitute x = 3: 10 = 5A, so A = 2 (A1) [1]

  4. 4

    x = -2: 5 = -5B, so B = -1. The result is 2/(x - 3) - 1/(x + 2) A1 [1]

3. Finding the constants by comparing coefficients

The second method compares linear and constant coefficients. Expand the brackets in the identity and collect terms in x. The coefficient of x on the left must equal the coefficient of x on the right, and the constants must match too.

This gives two simultaneous equations in A and B.

The syllabus example (2x + 1)/(x² + x - 2) ≡ 1/(x - 1) + 1/(x + 2) is the answer to the question below.

A(x - b) + B(x - a) ≡ (A + B)x - (bA + aB)

so A + B = p, bA + aB = -q

Worked example 13 marks

Find A and B such that (2x + 1)/(x² + x - 2) ≡ A/(x - 1) + B/(x + 2).

  1. 1

    x² + x - 2 = (x - 1)(x + 2), so 2x + 1 ≡ A(x + 2) + B(x - 1) (M1) [1]

  2. 2

    comparing coefficients: x: A + B = 2. Constants: 2A - B = 1 (M1) [1]

  3. 3

    add the equations: 3A = 3, so A = 1 and B = 1 A1 [1]

4. A form given in the question

A question may give the form it wants. Use that form exactly. A denominator such as 3 - x is not the same as x - 3: the two differ by a factor of -1, so the constant changes sign.

Factorise the denominator to match the form, write the two fractions over a common denominator, and equate the numerators. Then find A and B by either method.

Here the factor 3 - x goes with B, so x = 3 gives B.

Worked example 13 marks

Express 1/(-3 + 4x - x²) in the form A/(x - 1) + B/(3 - x), where A, B ∈ R.

  1. 1

    the denominator is (x - 1)(3 - x), so A/(x - 1) + B/(3 -x) ≡ (A(3 -x) + B(x - 1))/((3 - x)(x - 1)), and A(3 -x) + B(x - 1) ≡ 1 (A1) [1]

  2. 2

    comparing linear and constant coefficients: A = B and 3A - B = 1 (M1). Or substituting two values of x: x = 3 gives 2B = 1 and x = 1 gives 2A = 1 [1]

  3. 3

    A = 1/2 and B = 1/2, so 1/(2(x - 1)) + 1/(2(3 - x)) A1 [1]

5. Using partial fractions to integrate

The syllabus links partial fractions to rearranging the integrand (AHL 5.15). Once the integrand is split, each term integrates to a logarithm.

Take care with a term such as 1/(3 - N). The derivative of 3 - N is -1, so its integral is -ln(3 - N), with a minus sign.

In a differential equation, recognise the need to use partial fractions after separating the variables. Keep the constant of integration, because it is needed to use the starting values. The command term *show that* needs each line of working.

int 1/(x - a) dx = ln|x - a| + c

int 1/(b - x) dx = -ln|b - x| + c

Worked example 18 marks

The number N, in thousands, of infected rabbits at time t days satisfies dN/dt = k(-3 + 4N - N²), where t ≥ 0 and k ∈ R⁺. Initially, 1500 rabbits are infected. From part (a), 1/(-3 + 4x - x²) ≡ 1/(2(x - 1)) + 1/(2(3 - x)).

Hence, show that ln((N - 1)/(3 - N)) = 2kt - ln p, where p ∈ R⁺ is a constant to be determined.

  1. 1

    separate the variables: int 1/(-3 + 4N - N²) dN = int k dt (M1) [1]

  2. 2

    recognise the need to use partial fractions: int (1/(2(N - 1)) + 1/(2(3 - N)))dN = int k dt (M1) [1]

  3. 3

    first term on the left: 1/2ln(N - 1) A1 [1]

  4. 4

    second term on the left: -1/2ln(3 - N) A1 [1]

  5. 5

    right side with a constant of integration: kt + c A1 (one A1 for each term on the left, one for the right side andc) [1]

  6. 6

    multiply by 2 and combine the logarithms: ln((N - 1)/(3 - N)) = 2kt + 2c A1 [1]

  7. 7

    substitute t = 0, N = 1.5 (1500 rabbits is N = 1.5 thousand): ln0.5/1.5 = 2c, so 2c = ln1/3 (M1). The constant of integration must be present for this mark [1]

  8. 8

    ln((N - 1)/(3 - N)) = 2kt - ln 3, so p = 3 A1 [1]

Recap

  • Partial fractions split one fraction into two, each with one linear term. The numerator has a lower degree than the denominator.
  • Factorise the denominator first. Check a factorisation by expanding it.
  • Write (px + q)/((x - a)(x - b)) ≡ A/(x - a) + B/(x - b), then multiply through to get px + q ≡ A(x - b) + B(x - a).
  • Substitute x = a to find A and x = b to find B. Or compare coefficients and solve two equations.
  • Use the form the question gives. 3 - x and x - 3 differ by a minus sign.
  • Check by putting any other value of x into both sides.
  • When integrating, each term gives a logarithm. int 1/(b - x) dx = -ln|b - x| + c, with the minus sign.
  • Keep the constant of integration until you have substituted the starting values.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Which of these is the form of the partial fractions of 5/((x - 2)(x + 3))? A. A/(x - 2) + B/(x + 3) B. A/(x + 2) + B/(x - 3) C. A/((x - 2)(x + 3)) D. (Ax + B)/(x - 2)1 mark
    Answer
    1. A: one fraction with a constant numerator for each linear factor [1].

    Trap: B flips the signs in the brackets, C is the original fraction, not a split, and D puts a numerator of the same degree over one factor.

  2. Show that 1/(x - 1) - 1/(x + 2) ≡ 3/((x - 1)(x + 2)).2 marks
    Answer
    1. Common denominator: ((x + 2) - (x - 1))/((x - 1)(x + 2)) [1].
    2. = (x + 2 - x + 1)/((x - 1)(x + 2)) = 3/((x - 1)(x + 2)) [1].

    Trap: The bracket round x - 1 matters: (x + 2) - (x - 1) = 3. Without it, x + 2 - x - 1 = 1.

  3. Do not use a calculator. Express (4x - 1)/((x - 1)(x + 2)) in the form A/(x - 1) + B/(x + 2).3 marks
    Answer
    1. 4x - 1 ≡ A(x + 2) + B(x - 1) [1].
    2. x = 1: 3 = 3A, so A = 1 [1].
    3. x = -2: -9 = -3B, so B = 3 [1].
    4. Answer: 1/(x - 1) + 3/(x + 2).

    Trap: -9 ÷ -3 = 3, a positive number. B = -3 comes from losing a minus sign.

  4. Do not use a calculator. Express (5x - 10)/(x² - 3x - 4) in partial fractions.3 marks
    Answer
    1. x² - 3x - 4 = (x - 4)(x + 1) [1].
    2. 5x - 10 ≡ A(x + 1) + B(x - 4). x = 4: 10 = 5A, so A = 2 [1].
    3. x = -1: -15 = -5B, so B = 3 [1].
    4. Answer: 2/(x - 4) + 3/(x + 1).

    Trap: (x + 4)(x - 1) expands to x² + 3x - 4, not x² - 3x - 4. Check a factorisation by expanding.

  5. Do not use a calculator. Given that (7x + k)/((x - 1)(x + 3)) ≡ 2/(x - 1) + 5/(x + 3), determine the value of k.3 marks
    Answer
    1. 7x + k ≡ 2(x + 3) + 5(x - 1) [1].
    2. = 2x + 6 + 5x - 5 [1].
    3. = 7x + 1, so k = 1 [1].

    Trap: 5(x - 1) = 5x - 5. Writing +5 for the constant gives k = 11.

  6. Do not use a calculator. Express (7x + 4)/((2x - 1)(x + 2)) in the form A/(2x - 1) + B/(x + 2).3 marks
    Answer
    1. 7x + 4 ≡ A(x + 2) + B(2x - 1) [1].
    2. x = 1/2: 15/2 = 5/2A, so A = 3 [1].
    3. x = -2: -10 = -5B, so B = 2 [1].
    4. Answer: 3/(2x - 1) + 2/(x + 2).

    Trap: 2x - 1 = 0 gives x = 1/2, not x = 2. Only x = 1/2 removes the bracket.

  7. Do not use a calculator. Express (2x + 6)/(3 + 2x - x²) in the form A/(3 - x) + B/(1 + x), where A, B ∈ Z.4 marks
    Answer
    1. 3 + 2x - x² = (3 - x)(1 + x) [1].
    2. 2x + 6 ≡ A(1 + x) + B(3 - x) [1].
    3. x = 3: 12 = 4A, so A = 3 [1].
    4. x = -1: 4 = 4B, so B = 1 [1].

    Trap: A goes with 3 - x, so x = 3 finds A. Using x = 3 for B swaps the constants.

  8. Do not use a calculator. Find the values of A and B such that (6x + 8)/(x² - 4) ≡ A/(x - 2) + B/(x + 2).4 marks
    Answer
    1. x² - 4 = (x - 2)(x + 2) [1].
    2. 6x + 8 ≡ A(x + 2) + B(x - 2) [1].
    3. x = 2: 20 = 4A, so A = 5 [1].
    4. x = -2: -4 = -4B, so B = 1 [1].

    Trap: x² - 4 is a difference of two squares, (x - 2)(x + 2). It is not (x - 2)².

  9. Do not use a calculator. (a) Express (x + 5)/(x² + x - 2) in partial fractions. [3] (b) Hence show that int₂⁴ (x + 5)/(x² + x - 2) dx = ln 6. [4]7 marks
    Answer
    1. (a)
    2. x² + x - 2 = (x - 1)(x + 2), so x + 5 ≡ A(x + 2) + B(x - 1) [1].
    3. x = 1: 6 = 3A, so A = 2 [1].
    4. x = -2: 3 = -3B, so B = -1. So 2/(x - 1) - 1/(x + 2) [1].
    5. (b)
    6. Integrate each term to a logarithm [1].
    7. [2ln(x - 1) - ln(x + 2)]₂⁴ [1].
    8. Substitute the limits: (2ln 3 - ln 6) - (2ln 1 - ln 4) [1].
    9. = 2ln 3 - ln 6 + ln 4 = ln(9 × 4)/6 = ln 6 [1].

    Trap: Subtracting the lower limit: -(2ln 1 - ln 4) = +ln 4. Writing -ln 4 gives ln3/8, not ln 6.

  10. In a chemical reaction, x is the amount of product, in moles, at time t minutes. It is modelled by dx/dt = (2 - x)(4 - x), where 0 ≤ x < 2. When t = 0, x = 0. (a) Express 1/((2 - x)(4 - x)) in the form A/(2 - x) + B/(4 - x). [3] (b) Show that ln((4 - x)/(2 - x)) = 2t + ln 2. [5] (c) Determine the exact time at which x = 1. [2]10 marks
    Answer
    1. (a)
    2. 1 ≡ A(4 - x) + B(2 - x) [1].
    3. x = 2: 1 = 2A, so A = 1/2 [1].
    4. x = 4: 1 = -2B, so B = -1/2 [1].
    5. (b)
    6. Separate the variables: int (1/(2(2 - x)) - 1/(2(4 - x)))dx = int 1 dt [1].
    7. -1/2ln(2 - x) + 1/2ln(4 - x) = t + c [1][1].
    8. Substitute t = 0, x = 0: -1/2ln 2 + 1/2ln 4 = c, so c = 1/2ln 2 [1].
    9. Multiply by 2 and combine: ln((4 - x)/(2 - x)) = 2t + ln 2 [1].
    10. (c)
    11. x = 1: ln 3 = 2t + ln 2 [1].
    12. t = 1/2ln3/2 minutes [1].

    Trap: Both factors have the form a - x, so both integrals carry a minus sign: int 1/(2 - x) dx = -ln(2 - x). Losing it gives ln((2 - x)/(4 - x)), the reciprocal, and a missing +c loses the starting value.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
B/(x - 3) for the second fraction when the question asks for B/(3 - x)The form the question gives: A/(x - 1) + B/(3 - x), which gives A = B = 1/2
Integrating 1/(2(3 - N)) to give +1/2ln(3 - N)-1/2ln(3 - N), because the derivative of 3 - N is -1
Integrating with no +c, then substituting t = 0, N = 1.5Include the constant of integration (kt + c) before substituting: the markscheme says it must be present for the method mark

Frequently asked questions

What form should partial fractions take for a denominator with two linear factors?
Use A/(x - a) + B/(x - b) with a ≠ b. The syllabus allows a maximum of two distinct linear terms in the denominator. The degree of the numerator must be less than the degree of the denominator, so the numerator is a constant or px + q. Factorise the denominator first.
How do I find the constants in partial fractions by substitution?
Factorise the denominator and multiply both sides by (x - a)(x - b). Substitute x = a to find A, since that bracket becomes zero, and x = b to find B. Check by putting any other value of x into both sides. For (x + 7)/(x² - x - 6) the result is 2/(x - 3) - 1/(x + 2).
How do I find A and B by comparing coefficients?
Write px + q ≡ A(x - b) + B(x - a) and expand the brackets. Compare the coefficient of x and the constants, which gives A + B = p and bA + aB = -q. Solve the two simultaneous equations. For (2x + 1)/(x² + x - 2) the equations are A + B = 2 and 2A - B = 1, so A = 1 and B = 1.
Why must I keep the constant of integration when integrating partial fractions?
Keep the constant of integration until the starting values are substituted, because they are needed to find it. The markscheme needs the constant present for the method mark. Each term integrates to a logarithm, and int 1/(b - x) dx = -ln|b - x| + c, with a minus sign because the derivative of b - x is -1.
Why do I get the wrong sign for B when the question gives the form with 3 - x?
The factor 3 - x is not the same as x - 3: the two differ by a factor of -1, so the constant changes sign. Use the form the question gives exactly. Factorise the denominator to match it, equate the numerators over the common denominator, then find A and B. For 1/(-3 + 4x - x²) the result is 1/(2(x - 1)) + 1/(2(3 - x)).

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters