Paper 3 only. When the integrand is a product, such as \(x\sin 2x\), \(x^2e^{-x}\), \(\ln x\) or \(x\tan^{-1}x\), integration by parts trades it for a simpler integral. The skill is choosing which factor to differentiate.
\(\displaystyle\int u\dfrac{dv}{dx}\,dx = uv - \int v\dfrac{du}{dx}\,dx\). Choose \(u\) to be the factor that gets simpler when differentiated (a power of \(x\), or \(\ln x\) and \(\tan^{-1}x\), which you cannot integrate directly), and \(\dfrac{dv}{dx}\) to be the factor you can integrate.
Fig. 1: the area under y = ln x from x = 1 to x = e is found by parts with u = ln x and dv/dx = 1: [x ln x - x] from 1 to e = (e - e) - (0 - 1) = 1 square unit
Section 01
The formula and choosing u.
Integrate the product rule \(\dfrac{d}{dx}(uv) = u\dfrac{dv}{dx} + v\dfrac{du}{dx}\) and rearrange to get the formula. It only helps if the new integral \(\displaystyle\int v\dfrac{du}{dx}\,dx\) is simpler than the one you started with, so choose \(u\) to be the factor that differentiates to something simpler.
Integrand
\(u\)
\(\dfrac{dv}{dx}\)
\(x e^{2x}\), \(x\sin 2x\), \(x^2\cos x\)
the power of \(x\)
the exponential or trig factor
\(\ln x\), \(x\ln x\), \(\dfrac{\ln x}{x^2}\)
\(\ln x\)
the rest (even if it is just 1)
\(x\tan^{-1}x\), \(\tan^{-1}x\)
\(\tan^{-1}x\)
the rest
Worked example Power times exponential
Find \(\displaystyle\int x e^{2x}\,dx\).
\(u = x\), so \(\dfrac{du}{dx} = 1\). \(\dfrac{dv}{dx} = e^{2x}\), so \(v = \dfrac{1}{2}e^{2x}\).
At \(\dfrac{\pi}{4}\): \(-\dfrac{\pi}{8}\cos\dfrac{\pi}{2} + \dfrac{1}{4}\sin\dfrac{\pi}{2} = 0 + \dfrac{1}{4}\). At 0: \(0 + 0\).
Answer: \(\dfrac{1}{4}\)
Examiner trap
Choosing \(u = e^{2x}\) and \(\dfrac{dv}{dx} = x\) makes things worse: the new integral contains \(\dfrac{x^2}{2}e^{2x}\). If the integral you produce is harder than the original, swap \(u\) and \(\dfrac{dv}{dx}\).
Section 02
Integrating ln x: the hidden 1.
You cannot integrate \(\ln x\) directly, but you can differentiate it to \(\dfrac{1}{x}\). So whenever \(\ln x\) appears, make it \(u\). On its own, write \(\ln x = 1\times\ln x\) and take \(\dfrac{dv}{dx} = 1\).
Worked example ln x on its own
Find the exact value of \(\displaystyle\int_1^{e} \ln x\,dx\).
\(u = \ln x\), \(\dfrac{dv}{dx} = x\), so \(v = \dfrac{x^2}{2}\). Then \(\dfrac{x^2}{2}\ln x - \displaystyle\int \dfrac{x^2}{2}\cdot\dfrac{1}{x}\,dx = \dfrac{x^2}{2}\ln x - \dfrac{x^2}{4} + c\).
Examiner trap
With \(\ln x\) never choose \(\dfrac{dv}{dx} = \ln x\): you would need to integrate \(\ln x\) to find \(v\), which is the very thing you cannot yet do.
Stage 1 · Learn
Check your understanding
Four quick checks. Each correct answer earns XP and records this skill on your profile.
Quick check+10 XP
To find \(\displaystyle\int x\cos x\,dx\) by parts, the best choice is
Quick check+10 XP
To find \(\displaystyle\int \ln x\,dx\) by parts, take
Quick check+10 XP
Find \(\displaystyle\int x e^{x}\,dx\).
Quick check+10 XP
Find \(\displaystyle\int x\cos x\,dx\).
Section 03
Parts twice, and inverse tan.
With \(x^2\) as \(u\), one application leaves \(x\) times something, so apply parts again. With \(\tan^{-1}x\) as \(u\), the second integral is a rational function that needs a little algebra.
Worked example Parts twice
Find the exact value of \(\displaystyle\int_0^1 x^2e^{-x}\,dx\).
The minus sign in front of the second integral applies to EVERYTHING it produces. When parts is used twice, bracket the second result: \(-x^2e^{-x} + \left(-2xe^{-x} - 2e^{-x}\right)\). Sign slips here cost the accuracy marks.
Stage 2 · Exam
Exam-style questions
Unlocks once the four checks above are done. Worth more XP, written to AS & A Level Paper 1 to 6 standard.
Finish the four checks above to unlock the exam questions
Exam style+20 XP
Find the exact value of \(\displaystyle\int_0^1 xe^{x}\,dx\).
Exam style+20 XP
Find the exact value of \(\displaystyle\int_1^{e} x\ln x\,dx\).
Exam style+20 XP
Find the exact value of \(\displaystyle\int_0^{\pi/2} x\cos x\,dx\).
Exam style+20 XP
Find the exact value of \(\displaystyle\int_0^{\pi/2} x^2\cos x\,dx\).
Skill unlocked
Integration by parts, sorted.
This skill is now recorded on your profile. Keep the chain going.