4 exam-style questions 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.
Integration by parts reverses the product rule: \(\int u\dfrac{\mathrm{d}v}{\mathrm{d}x}\,\mathrm{d}x = uv - \int v\dfrac{\mathrm{d}u}{\mathrm{d}x}\,\mathrm{d}x\) (in the formula booklet). Use it for products such as \(x\mathrm{e}^{x}\), \(x\sin x\) and \(x^2\ln x\), and for \(\ln x\) itself. Questions are usually 4 to 7 marks, often a definite integral with an exact answer, and you may need to apply the method twice.
\(\int u\dfrac{\mathrm{d}v}{\mathrm{d}x}\,\mathrm{d}x = uv - \int v\dfrac{\mathrm{d}u}{\mathrm{d}x}\,\mathrm{d}x\). It comes from integrating the product rule, \(\dfrac{\mathrm{d}}{\mathrm{d}x}(uv) = u\dfrac{\mathrm{d}v}{\mathrm{d}x} + v\dfrac{\mathrm{d}u}{\mathrm{d}x}\)
Write out the four pieces, \(u\),\(\dfrac{\mathrm{d}u}{\mathrm{d}x}\), \(\dfrac{\mathrm{d}v}{\mathrm{d}x}\) and \(v\), before you substitute into the formula.
Fill in the four boxes first, then substitute into \(uv - \int v\dfrac{\mathrm{d}u}{\mathrm{d}x}\,\mathrm{d}x\) (shown for \(\int x\cos 2x\,\mathrm{d}x\)).
Choosing u
The new integral must be easier than the old one. Choose \(u\) in the order Logs, Algebraic (powers of \(x\)),Trig, Exponentials: the first type in this list that is present is \(u\)
If \(\ln x\) is present it must be \(u\), because you cannot easily integrate it. For \(\int \ln x\,\mathrm{d}x\), take \(u = \ln x\) and \(\dfrac{\mathrm{d}v}{\mathrm{d}x} = 1\): \(\int \ln x\,\mathrm{d}x = x\ln x - x + c\)
Otherwise take \(u\) as the power of \(x\): each application lowers the power by one.
Harder cases
Twice: \(\int x^2\mathrm{e}^{x}\,\mathrm{d}x = x^2\mathrm{e}^{x} - \int 2x\mathrm{e}^{x}\,\mathrm{d}x\), and the second integral needs parts again. Keep it in brackets to get the signs right.
If the original integral \(I\) reappears after two applications (as with \(\mathrm{e}^{x}\sin x\)), write the result as an equation in \(I\) and solve it. Grade A* only
Reduction formulae are not required.
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.
Integrate x times a trigonometric or exponential function
4 marksGrade C
Let \(u = x\) and let \(\dfrac{\mathrm{d}v}{\mathrm{d}x}\) be the trigonometric or exponential part.
Find \(v\), remembering to divide by the coefficient of \(x\)
Substitute into the formula, integrate the remaining standard integral and add \(+\,c\)
Choosing \(u = \mathrm{e}^x\) in \(\int x\mathrm{e}^x\,\mathrm{d}x\), which makes the new integral harder.
Sign errors in the second application: put it in brackets, \(x^2\mathrm{e}^x - \left(2x\mathrm{e}^x - 2\mathrm{e}^x\right)\)
Forgetting to divide by \(k\) when finding \(v\): if \(\dfrac{\mathrm{d}v}{\mathrm{d}x} = \cos 2x\), then \(v = \dfrac{1}{2}\sin 2x\)
Applying the limits to the integral part but not to \(uv\)
Trying to use \(\ln x\) as \(\dfrac{\mathrm{d}v}{\mathrm{d}x}\): it must be \(u\)
More tips
Memory tricks
LATE decides \(u\): Logs, Algebraic, Trig, Exponentials.
Say it as you write it: '\(uv\) minus the integral of \(v\) times \(\dfrac{\mathrm{d}u}{\mathrm{d}x}\)'.
Check by differentiating with the product rule: you should get back the integrand.
If the new integral looks harder than the old one, swap your choices of \(u\) and \(\dfrac{\mathrm{d}v}{\mathrm{d}x}\)
Exam technique
Write down \(u\),\(\dfrac{\mathrm{d}u}{\mathrm{d}x}\), \(\dfrac{\mathrm{d}v}{\mathrm{d}x}\) and \(v\) clearly: the correct formula with your values earns the first method mark.
The formula is in the booklet, but practise until choosing \(u\) is automatic.
When a later part says 'Hence', for example to find an area, use your result rather than starting again.
Leave exact answers in terms of \(\mathrm{e}\), \(\ln\) and \(\pi\), simplified.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade C
Choose u and dv/dx, then apply the formulaPick \(u\) so that \(\dfrac{\mathrm{d}u}{\mathrm{d}x}\) is simpler, and \(\dfrac{\mathrm{d}v}{\mathrm{d}x}\) so that it is easy to integrate.
Grade C
Integrate x times an exponential or trig functionLet \(u = x\), so \(\dfrac{\mathrm{d}u}{\mathrm{d}x} = 1\) and the new integral is a standard one.
Grade B
Integrate products involving ln xLet \(u = \ln x\); for \(\int \ln x\,\mathrm{d}x\), write it as \(\int 1 \times \ln x\,\mathrm{d}x\)
Grade B
Evaluate definite integrals by parts exactlyApply the limits to both \(uv\) and the remaining integral.
Grade A
Apply integration by parts twiceFor \(x^2\mathrm{e}^{x}\) or \(x^2\sin x\), the first application leaves \(x\) times a function, so apply the formula again.
Grade A*
Solve integrals where the original reappearsFor \(\int \mathrm{e}^x\sin x\,\mathrm{d}x\), two applications bring back the original integral \(I\); rearrange to find \(I\)
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy4 marks
Use integration by parts to find \[\int 6x\mathrm{e}^{x}\,\mathrm{d}x\]
A student is asked to find \(\int x\ln x\,\mathrm{d}x\). The student’s working begins: \(u = x\), \(\frac{\mathrm{d}v}{\mathrm{d}x} = \ln x\) \(\Rightarrow\) \(\frac{\mathrm{d}u}{\mathrm{d}x} = 1\), \(v = \frac{1}{x}\) \(\int x\ln x\,\mathrm{d}x = x \times \frac{1}{x} - \int \frac{1}{x}\,\mathrm{d}x = 1 - \ln x + c\)
(a) Identify the mistake in the student’s working.
[1]
(b) Explain why \(u = \ln x\) and \(\frac{\mathrm{d}v}{\mathrm{d}x} = x\) is a better choice.
[1]
(c) Find \(\int x\ln x\,\mathrm{d}x\).
[4]
Show the answer and mark scheme
(a)Answer: \(v\) was found by differentiating \(\ln x\) instead of integrating it.
B1 for stating that \(v\) should be found by integrating \(\ln x\), not by differentiating it (\(\frac{1}{x}\) is the derivative of \(\ln x\))
Worked solution: If \(\frac{\mathrm{d}v}{\mathrm{d}x} = \ln x\) then \(v = \int \ln x\,\mathrm{d}x\), which is not \(\frac{1}{x}\); \(\frac{1}{x}\) is \(\frac{\mathrm{d}}{\mathrm{d}x}(\ln x)\).
(b)Answer: \(\ln x\) differentiates to \(\frac{1}{x}\), which cancels with the \(x^{2}\) from integrating \(x\), leaving an easy integral.
B1 for explaining that \(\ln x\) is easy to differentiate but not a standard integral, whereas \(x\) is easy to integrate, so the new integral \(\int \frac{x^{2}}{2} \times \frac{1}{x}\,\mathrm{d}x\) is simple
Worked solution: With \(u = \ln x\), \(\frac{\mathrm{d}u}{\mathrm{d}x} = \frac{1}{x}\) and \(v = \frac{1}{2}x^{2}\), so the remaining integral is \(\int \frac{1}{2}x\,\mathrm{d}x\), which is straightforward.
(c)Answer: \(\frac{1}{2}x^{2}\ln x - \frac{1}{4}x^{2} + c\)
M1 for integrating by parts with \(u = \ln x\), \(\frac{\mathrm{d}v}{\mathrm{d}x} = x\)
A1 for \(\frac{1}{2}x^{2}\ln x - \int \frac{1}{2}x\,\mathrm{d}x\)
dM1 for integrating the second term
A1 for \(\frac{1}{2}x^{2}\ln x - \frac{1}{4}x^{2} + c\)
Worked solution: \(\int x\ln x\,\mathrm{d}x = \frac{1}{2}x^{2}\ln x - \int \frac{1}{2}x^{2} \times \frac{1}{x}\,\mathrm{d}x = \frac{1}{2}x^{2}\ln x - \int \frac{1}{2}x\,\mathrm{d}x = \frac{1}{2}x^{2}\ln x - \frac{1}{4}x^{2} + c\)
(a) Use integration by parts to show that \(I = J - 1\).
[3]
(b) Use integration by parts to show that \(I + J = \mathrm{e}^{\frac{\pi}{2}}\).
[3]
(c) Hence find the exact values of \(I\) and \(J\).
[2]
Show the answer and mark scheme
(a)Answer: Shown
M1 for integrating \(\mathrm{e}^{x}\cos x\) by parts with \(u = \cos x\),\(\frac{\mathrm{d}v}{\mathrm{d}x} = \mathrm{e}^{x}\): \(\left[\mathrm{e}^{x}\cos x\right]_{0}^{\frac{\pi}{2}} + \int_{0}^{\frac{\pi}{2}} \mathrm{e}^{x}\sin x\,\mathrm{d}x\)
A1 for \(\left[\mathrm{e}^{x}\cos x\right]_{0}^{\frac{\pi}{2}} = 0 - 1 = -1\)
M1 for integrating \(\mathrm{e}^{x}\sin x\) by parts with \(u = \sin x\): \(J = \left[\mathrm{e}^{x}\sin x\right]_{0}^{\frac{\pi}{2}} - \int_{0}^{\frac{\pi}{2}} \mathrm{e}^{x}\cos x\,\mathrm{d}x\)
A1 for \(\left[\mathrm{e}^{x}\sin x\right]_{0}^{\frac{\pi}{2}} = \mathrm{e}^{\frac{\pi}{2}}\)
A1* for \(J = \mathrm{e}^{\frac{\pi}{2}} - I\), so \(I + J = \mathrm{e}^{\frac{\pi}{2}}\) (cso)