Integration using partial fractions

A level Maths (Edexcel) · Edexcel 9MA0 · P8.6 · Pure mathematics › Integration

1 exam-style question plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes and Full packs are open to everyone. Practice needs a free account.

Or take a quick quiz: 10 questions on this subtopic in A level Maths (Edexcel), marked as you tap.

Revision notes

Rational functions whose denominators factorise into linear factors can be split into partial fractions and then integrated term by term, mostly into logarithms. The usual exam form has two parts: (a) write the expression in partial fractions, (b) hence find the integral, often as an exact value in the form \(\ln k\) or \(a + b\ln c\)

Key facts

  • \(\dfrac{px + q}{(ax + b)(cx + d)} = \dfrac{A}{ax + b} + \dfrac{B}{cx + d}\)
  • \(\dfrac{\text{linear or quadratic}}{(ax + b)(cx + d)^2}\)
    \(= \dfrac{A}{ax + b} + \dfrac{B}{cx + d} + \dfrac{C}{(cx + d)^2}\)
  • \(\int \dfrac{1}{ax + b}\,\mathrm{d}x = \dfrac{1}{a}\ln|ax + b| + c\)
  • \(\int \dfrac{1}{(ax + b)^2}\,\mathrm{d}x = -\dfrac{1}{a(ax + b)} + c\)
  • Improper fraction: divide first
  • \(\ln a + \ln b = \ln ab\), \(\ln a - \ln b = \ln\dfrac{a}{b}\), \(k\ln a = \ln a^k\)

Notes

Splitting into partial fractions

  • Distinct linear factors: \(\dfrac{5x + 1}{(x - 1)(x + 2)} = \dfrac{A}{x - 1} + \dfrac{B}{x + 2}\)
  • A repeated factor needs two terms: \(\dfrac{x + 5}{(x + 1)(x + 3)^2} = \dfrac{A}{x + 1} + \dfrac{B}{x + 3} + \dfrac{C}{(x + 3)^2}\)
  • Multiply through by the denominator, then substitute the value of \(x\) that makes each factor zero to find constants quickly; compare coefficients for any that remain.
  • Improper fraction (degree of numerator \(\ge\) degree of denominator): divide first, e.g. \(\dfrac{x^2}{x^2 - 1} = 1 + \dfrac{1}{x^2 - 1}\), then split the proper part.

Integrating each term

diagram
  • \(\int \dfrac{A}{ax + b}\,\mathrm{d}x = \dfrac{A}{a}\ln|ax + b| + c\). Watch the sign when the \(x\) term inside is negative: \(\int \dfrac{1}{3 - x}\,\mathrm{d}x = -\ln|3 - x| + c\)
  • xyO124x = 1areay = f(x)
    \(\int_2^4 \left(\dfrac{2}{x - 1} + \dfrac{3}{x + 2}\right)\mathrm{d}x = \ln\dfrac{243}{8}\) is the shaded area; the limits must stay to one side of the asymptote.
  • \[\begin{aligned}\int \frac{B}{(ax + b)^2}\,\mathrm{d}x &= \int B(ax + b)^{-2}\,\mathrm{d}x \\ &= -\frac{B}{a}(ax + b)^{-1} + c\end{aligned}\]
  • Polynomial terms from the division integrate as powers of \(x\)

Exact answers

  • Combine logs with the laws of logarithms: \[\begin{aligned}2\ln 3 + 3\ln 6 - 3\ln 4 &= \ln 9 + \ln\frac{27}{8} \\ &= \ln\frac{243}{8}\end{aligned}\]
  • Keep the modulus signs when a bracket is negative at a limit: \(\ln|x - 3|\) at \(x = 1\) is \(\ln 2\)

How to answer each type of question

M = method mark, A = answer mark, B = a mark on its own, dM = depends on the earlier method mark, A1* = the solution must be fully correct, with every step shown, ft = follow through: you still earn the mark if you use your own earlier wrong answer correctly.

Partial fractions, then integrate (distinct factors)

7 marksGrade C
  1. Write the identity for the numerator and substitute the roots of each factor to find the constants.
  2. Integrate each term to a logarithm, dividing by the coefficient of \(x\) where needed.
  3. Substitute the limits and combine the logs into the form asked for.

Example. \(\mathrm{f}(x) = \dfrac{5x + 1}{(x - 1)(x + 2)}\), \(x \gt 1\).
(a) Express \(\mathrm{f}(x)\) in partial fractions.
(b) Hence find the exact value of \(\displaystyle\int_2^4 \mathrm{f}(x)\,\mathrm{d}x\), giving your answer in the form \(\ln k\), where \(k\) is a rational number.

Show the model answerHide the model answer
(a) \(5x + 1 = A(x + 2) + B(x - 1)\)
M1
\(x = 1\): \(6 = 3A\), so \(A = 2\) A1; \(x = -2\): \(-9 = -3B\), so \(B = 3\)
A1
\(\mathrm{f}(x) = \dfrac{2}{x - 1} + \dfrac{3}{x + 2}\)
(b) \(\left[2\ln(x - 1) + 3\ln(x + 2)\right]_2^4\)
M1 A1ft
\[\begin{aligned}[b]&= (2\ln 3 + 3\ln 6) \\ &\phantom{=}\;{}- (2\ln 1 + 3\ln 4) \\ &= \ln 9 + \ln\frac{27}{8}\end{aligned}\]
M1
\(= \ln\dfrac{243}{8}\)
A1

Integrate with a repeated linear factor

9 marksGrade B
  1. Use three terms, including one over the squared factor.
  2. Find two constants by substitution and the third by comparing coefficients.
  3. Integrate: the single factors give logs, the squared factor gives a negative power.
  4. Substitute the limits and simplify.

Example. (a) Express \(\dfrac{x + 5}{(x + 1)(x + 3)^2}\) in partial fractions.
(b) Hence show that \(\displaystyle\int_0^1 \dfrac{x + 5}{(x + 1)(x + 3)^2}\,\mathrm{d}x = \ln\dfrac{3}{2} - \dfrac{1}{12}\)

Show the model answerHide the model answer
(a)\[\begin{aligned}[b]&x + 5 \\ &= A(x + 3)^2 \\ &\phantom{=}\;{}+ B(x + 1)(x + 3) \\ &\phantom{=}\;{}+ C(x + 1)\end{aligned}\]
M1
\(x = -1\): \(4 = 4A\), so \(A = 1\); \(x = -3\): \(2 = -2C\), so \(C = -1\)
A1
Comparing \(x^2\) terms: \(0 = A + B\), so \(B = -1\)
M1 A1
\(\dfrac{1}{x + 1} - \dfrac{1}{x + 3} - \dfrac{1}{(x + 3)^2}\)
(b) \(\left[\ln(x + 1) - \ln(x + 3) + \dfrac{1}{x + 3}\right]_0^1\) M1 (logs) M1 (\(k(x + 3)^{-1}\))
A1
\(= \left(\ln 2 - \ln 4 + \dfrac{1}{4}\right) - \left(0 - \ln 3 + \dfrac{1}{3}\right)\)
dM1
\[\begin{aligned}[b]&= \ln\frac{2 \times 3}{4} + \frac{1}{4} - \frac{1}{3} \\ &= \ln\frac{3}{2} - \frac{1}{12}\end{aligned}\]
A1*

Divide first, then use partial fractions

6 marksGrade A
  1. Check the degrees: if the numerator's degree is at least the denominator's, divide.
  2. Split the proper fraction that is left into partial fractions.
  3. Integrate every term and simplify the logs to reach the given form.

Example. Show that \(\displaystyle\int_2^3 \dfrac{x^2}{x^2 - 1}\,\mathrm{d}x = 1 + \dfrac{1}{2}\ln\dfrac{3}{2}\)

Show the model answerHide the model answer
\(\dfrac{x^2}{x^2 - 1} = 1 + \dfrac{1}{x^2 - 1}\)
M1
\(\dfrac{1}{(x - 1)(x + 1)} = \dfrac{A}{x - 1} + \dfrac{B}{x + 1}\) with \(A = \dfrac{1}{2}\), \(B = -\dfrac{1}{2}\)
M1 A1
Integral \(= x + \dfrac{1}{2}\ln(x - 1) - \dfrac{1}{2}\ln(x + 1)\)
M1
\(\left(3 + \dfrac{1}{2}\ln 2 - \dfrac{1}{2}\ln 4\right) - \left(2 + \dfrac{1}{2}\ln 1 - \dfrac{1}{2}\ln 3\right)\)
\(= 1 + \dfrac{1}{2}\ln\dfrac{2 \times 3}{4}\)
dM1
\(= 1 + \dfrac{1}{2}\ln\dfrac{3}{2}\)
A1*

Don’t lose marks

  • Forgetting the \(\dfrac{1}{a}\): \(\int \dfrac{1}{2x + 1}\,\mathrm{d}x = \dfrac{1}{2}\ln|2x + 1| + c\)
  • Integrating \(\dfrac{1}{(x + 3)^2}\) to a logarithm.
  • Missing the minus sign in \(\int \dfrac{1}{3 - x}\,\mathrm{d}x = -\ln|3 - x| + c\)
  • Splitting an improper fraction without dividing first, so the constants cannot be found.
  • Sign slips at the lower limit: put the whole lower-limit value in brackets before subtracting.

More tips

Memory tricks

  • Cover-up rule for a distinct factor \((x - p)\): cover it up in the original fraction and put \(x = p\) into what is left to get its constant.
  • Check your partial fractions by putting \(x = 0\) (or any easy value) into both forms.
  • Linear denominator gives \(\ln\); squared denominator gives a negative power.
  • Before splitting, compare degrees: top \(\ge\) bottom means divide first.

Exam technique

  • 'Hence' means use your partial fractions from part (a); even if part (a) is wrong you can still earn method marks in part (b).
  • Give the answer in exactly the form asked (e.g. \(\ln k\), or \(a + b\ln c\)), stating the constants.
  • Show the identity and the values you substitute: these earn method marks even if you make an arithmetic slip.

What each grade needs

What you need to be able to do, from the first marks up to the top grade.

  1. Grade C
    Split into partial fractions with distinct factorsWrite \(\dfrac{px + q}{(ax + b)(cx + d)} = \dfrac{A}{ax + b} + \dfrac{B}{cx + d}\) and find \(A\) and \(B\) by substituting values or comparing coefficients.
  2. Grade C
    Integrate A/(ax + b) to a logarithm\[\int \frac{A}{ax + b}\,\mathrm{d}x = \frac{A}{a}\ln|ax + b| + c\]
  3. Grade B
    Integrate a repeated-factor term\(\int \dfrac{B}{(ax + b)^2}\,\mathrm{d}x = -\dfrac{B}{a(ax + b)} + c\): a power, not a logarithm.
  4. Grade B
    Combine logarithms into an exact answerUse the laws of logarithms to write the answer in the form the question asks for.
  5. Grade A
    Divide first for improper fractionsIf the degree of the numerator is at least that of the denominator, divide to get a polynomial plus a proper fraction.
  6. Grade A*
    Use partial fractions inside longer problemsPartial fractions often appear after a substitution or when separating the variables in a differential equation.

Sample questions

Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.

Question 1Easy5 marks
(a) Express \(\frac{2x - 2}{(x + 2)(x + 5)}\) in partial fractions.
[3]
(b) Hence find
\[\int \frac{2x - 2}{(x + 2)(x + 5)}\,\mathrm{d}x\]
[2]
Show the answer and mark scheme
(a) Answer: \(-\frac{2}{x + 2} + \frac{4}{x + 5}\)
  • M1 for \(2x - 2 \equiv A(x + 5) + B(x + 2)\) and substituting a value of \(x\) or equating coefficients to find \(A\) or \(B\)
  • A1 for one of \(A = -2\), \(B = 4\)
  • A1 for \(-\frac{2}{x + 2} + \frac{4}{x + 5}\)

Worked solution: \(2x - 2 \equiv A(x + 5) + B(x + 2)\).
\(x = -2\): \(-6 = 3A\), so \(A = -2\). \(x = -5\): \(-12 = -3B\), so \(B = 4\).
So \(\frac{2x - 2}{(x + 2)(x + 5)} = -\frac{2}{x + 2} + \frac{4}{x + 5}\).

(b) Answer: \(-2\ln|x + 2| + 4\ln|x + 5| + c\)
  • M1 for \(\alpha\ln|x + 2| + \beta\ln|x + 5|\)
  • A1ft for \(-2\ln|x + 2| + 4\ln|x + 5| + c\), following through their constants

Worked solution: \(\int \left(-\frac{2}{x + 2} + \frac{4}{x + 5}\right)\,\mathrm{d}x = -2\ln|x + 2| + 4\ln|x + 5| + c\)

Question 2Medium4 marks
A student is asked to find the exact value of \(\int_{1}^{2} \frac{5x + 2}{(x + 1)(2x + 1)}\,\mathrm{d}x\).
The student correctly shows that \(\frac{5x + 2}{(x + 1)(2x + 1)} = \frac{3}{x + 1} - \frac{1}{2x + 1}\) and then writes:
\(\int_{1}^{2} \left(\frac{3}{x + 1} - \frac{1}{2x + 1}\right)\,\mathrm{d}x = \left[3\ln(x + 1) - \ln(2x + 1)\right]_{1}^{2} = (3\ln 3 - \ln 5) - (3\ln 2 - \ln 3) = 4\ln 3 - \ln 5 - 3\ln 2 = \ln\left(\frac{81}{40}\right)\)
(a) Identify the error in the student’s working.
[1]
(b) Find the correct exact value of the integral, giving your answer in the form \(\ln k\), where \(k\) is an exact constant.
[3]
Show the answer and mark scheme
(a) Answer: \(\int \frac{1}{2x + 1}\,\mathrm{d}x\) is \(\frac{1}{2}\ln(2x + 1)\), not \(\ln(2x + 1)\).
  • B1 for stating that \(\int \frac{1}{2x + 1}\,\mathrm{d}x = \frac{1}{2}\ln(2x + 1)\), not \(\ln(2x + 1)\) (the factor \(\frac{1}{2}\) from the chain rule is missing)

Worked solution: Differentiating \(\ln(2x + 1)\) gives \(\frac{2}{2x + 1}\), so \(\int \frac{1}{2x + 1}\,\mathrm{d}x = \frac{1}{2}\ln(2x + 1) + c\).

(b) Answer: \(\ln\left(\frac{27\sqrt{15}}{40}\right)\)
  • M1 for \(3\ln(x + 1) - \frac{1}{2}\ln(2x + 1)\)
  • dM1 for substituting the limits and using the laws of logarithms
  • A1 for \(\ln\left(\frac{27\sqrt{3}}{8\sqrt{5}}\right)\) oe, e.g. \(\ln\left(\frac{27\sqrt{15}}{40}\right)\)

Worked solution: \(\left[3\ln(x + 1) - \frac{1}{2}\ln(2x + 1)\right]_{1}^{2} = \left(3\ln 3 - \frac{1}{2}\ln 5\right) - \left(3\ln 2 - \frac{1}{2}\ln 3\right) = \frac{7}{2}\ln 3 - \frac{1}{2}\ln 5 - 3\ln 2\)
\(= \ln\left(\frac{3^{\frac{7}{2}}}{5^{\frac{1}{2}} \times 8}\right) = \ln\left(\frac{27\sqrt{3}}{8\sqrt{5}}\right) = \ln\left(\frac{27\sqrt{15}}{40}\right)\)

Question 3Hard9 marks
(a) Express \(\frac{4x^{2} + 6x + 3}{x(2x + 1)^{2}}\) in partial fractions.
[4]
(b) Hence find the exact value of
\[\int_{1}^{4} \frac{4x^{2} + 6x + 3}{x(2x + 1)^{2}}\,\mathrm{d}x\]
giving your answer in the form \(p + q\ln 2 + r\ln 3\), where \(p\), \(q\) and \(r\) are rational numbers.
[5]
Show the answer and mark scheme
(a) Answer: \(\frac{3}{x} - \frac{4}{2x + 1} - \frac{2}{(2x + 1)^{2}}\)
  • B1 for the correct form \(\frac{A}{x} + \frac{B}{2x + 1} + \frac{C}{(2x + 1)^{2}}\)
  • M1 for \(4x^{2} + 6x + 3 \equiv A(2x + 1)^{2} + Bx(2x + 1) + Cx\) and a method to find at least one constant
  • A1 for two correct constants
  • A1 for \(\frac{3}{x} - \frac{4}{2x + 1} - \frac{2}{(2x + 1)^{2}}\)

Worked solution: \(\frac{4x^{2} + 6x + 3}{x(2x + 1)^{2}} = \frac{A}{x} + \frac{B}{2x + 1} + \frac{C}{(2x + 1)^{2}}\)⁠, so \(4x^{2} + 6x + 3 \equiv A(2x + 1)^{2} + Bx(2x + 1) + Cx\)⁠.
\(x = 0\): \(3 = A\), so \(A = 3\).
\(x = -\frac{1}{2}\): \(1 = -\frac{1}{2}C\), so \(C = -2\).
Comparing coefficients of \(x^{2}\): \(4 = 4A + 2B\), so \(B = -4\).

(b) Answer: \(6\ln 2 - 2\ln 3 - \frac{2}{9}\)
  • M1 for integrating the first two terms to logarithms, with the factor \(\frac{1}{2}\) on \(\ln|2x + 1|\)
  • M1 for \(\int \frac{C}{(2x + 1)^{2}}\,\mathrm{d}x = -\frac{C}{2(2x + 1)}\)
  • A1ft for \(3\ln|x| - 2\ln|2x + 1| + \frac{1}{2x + 1}\)
  • dM1 for substituting the limits and using the laws of logarithms
  • A1 for \(6\ln 2 - 2\ln 3 - \frac{2}{9}\)

Worked solution: \(\int_{1}^{4} \left(\frac{3}{x} - \frac{4}{2x + 1} - \frac{2}{(2x + 1)^{2}}\right)\,\mathrm{d}x = \left[3\ln|x| - 2\ln|2x + 1| + \frac{1}{2x + 1}\right]_{1}^{4} = \left(\frac{1}{9} + 6\ln 2 - 4\ln 3\right) - \left(\frac{1}{3} - 2\ln 3\right) = 6\ln 2 - 2\ln 3 - \frac{2}{9}\)

More in Integration

Stuck? Get 1-to-1 help.

Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.