All revision notes topics

Integration by partsEdexcel A-Level Maths: Revision notes

Section 1

The integration by parts formula

Integration by parts is the reverse of the product rule. From ddx(uv)=udvdx+vdudx\frac{\mathrm{d}}{\mathrm{d}x}(uv)=u\frac{\mathrm{d}v}{\mathrm{d}x}+v\frac{\mathrm{d}u}{\mathrm{d}x}, integrating both sides and rearranging gives ∫udvdx dx=uv−∫vdudx dx.\int u\frac{\mathrm{d}v}{\mathrm{d}x}\,\mathrm{d}x=uv-\int v\frac{\mathrm{d}u}{\mathrm{d}x}\,\mathrm{d}x. Use it for a product of two different types of function, such as xe2xxe^{2x}, xsin⁡xx\sin x or xln⁡xx\ln x, that cannot be integrated by a simple rule or substitution. For a definite integral, evaluate uvuv between the limits as well: [uv]ab−∫abvdudx dx\left[uv\right]_a^b-\int_a^bv\frac{\mathrm{d}u}{\mathrm{d}x}\,\mathrm{d}x.

Key termsintegration by partsproduct rule
Common mistake

Forgetting to evaluate uvuv at both limits in a definite integral.

Section 2

Choosing uu and dvdx\frac{\mathrm{d}v}{\mathrm{d}x}

Choose uu to be the part that becomes simpler when differentiated, and dvdx\frac{\mathrm{d}v}{\mathrm{d}x} to be the part you can integrate. Take u=ln⁡xu=\ln x if it appears; otherwise take uu to be the power of xx; trigonometric and exponential functions are usually dvdx\frac{\mathrm{d}v}{\mathrm{d}x}. Example: ∫xe2x dx\int xe^{2x}\,\mathrm{d}x with u=xu=x and dvdx=e2x\frac{\mathrm{d}v}{\mathrm{d}x}=e^{2x}, so dudx=1\frac{\mathrm{d}u}{\mathrm{d}x}=1, v=12e2xv=\frac12e^{2x}: ∫xe2x dx=12xe2x−∫12e2x dx=14e2x(2x−1)+c.\int xe^{2x}\,\mathrm{d}x=\frac12xe^{2x}-\int\frac12e^{2x}\,\mathrm{d}x=\frac14e^{2x}(2x-1)+c.

Exam tip

If the second integral looks harder than the first, swap your choice of uu.

Common mistake

Choosing u=e2xu=e^{2x} and dvdx=x\frac{\mathrm{d}v}{\mathrm{d}x}=x: the power of xx rises instead of falling.

Section 3

Definite integrals and exact values

For ∫01xe2x dx\int_0^1xe^{2x}\,\mathrm{d}x, use the result above: [14e2x(2x−1)]01=e2+14\left[\frac14e^{2x}(2x-1)\right]_0^1=\frac{e^2+1}{4}. Another example: ∫13ln⁡xx2dx\int_1^3\frac{\ln x}{x^2}\mathrm{d}x with u=ln⁡xu=\ln x and dvdx=x−2\frac{\mathrm{d}v}{\mathrm{d}x}=x^{-2}, v=−1xv=-\frac1x, gives [−ln⁡xx−1x]13=2−ln⁡33\left[-\frac{\ln x}{x}-\frac1x\right]_1^3=\frac{2-\ln3}{3}. Check the answer is sensible by comparing with a rough numerical estimate of the area.

Exam tip

Remember ln⁡1=0\ln1=0 and ln⁡e=1\ln e=1; they remove many terms at the limits.

Section 4

Integrating ln⁡x\ln x

The integral of ln⁡x\ln x is required knowledge. Write ln⁡x=1×ln⁡x\ln x=1\times\ln x with u=ln⁡xu=\ln x and dvdx=1\frac{\mathrm{d}v}{\mathrm{d}x}=1, so dudx=1x\frac{\mathrm{d}u}{\mathrm{d}x}=\frac1x and v=xv=x: ∫ln⁡x dx=xln⁡x−∫1 dx=xln⁡x−x+c.\int\ln x\,\mathrm{d}x=x\ln x-\int1\,\mathrm{d}x=x\ln x-x+c. Then ∫1eln⁡x dx=[xln⁡x−x]1e=1\int_1^e\ln x\,\mathrm{d}x=\left[x\ln x-x\right]_1^e=1. For xnln⁡xx^n\ln x, use u=ln⁡xu=\ln x and dvdx=xn\frac{\mathrm{d}v}{\mathrm{d}x}=x^n: ∫x2ln⁡x dx=x33ln⁡x−x39+c\int x^2\ln x\,\mathrm{d}x=\frac{x^3}{3}\ln x-\frac{x^3}{9}+c.

Common mistake

Writing ∫ln⁡x dx=1x\int\ln x\,\mathrm{d}x=\frac1x; that is the derivative.

Section 5

Applying the method more than once

When the power of xx is 2 or more, one application leaves an integral that still needs parts. Each application lowers the power by one. Example: ∫x2e3x dx=x2e3x3−23∫xe3x dx\int x^2e^{3x}\,\mathrm{d}x=\frac{x^2e^{3x}}{3}-\frac23\int xe^{3x}\,\mathrm{d}x, and a second application gives ∫xe3x dx=xe3x3−e3x9\int xe^{3x}\,\mathrm{d}x=\frac{xe^{3x}}{3}-\frac{e^{3x}}{9}. So the answer is e3x27(9x2−6x+2)+c\frac{e^{3x}}{27}\left(9x^2-6x+2\right)+c. Similarly ∫0π/2x2cos⁡x dx=π24−2∫0π/2xsin⁡x dx=π24−2\int_0^{\pi/2}x^2\cos x\,\mathrm{d}x=\frac{\pi^2}{4}-2\int_0^{\pi/2}x\sin x\,\mathrm{d}x=\frac{\pi^2}{4}-2. Reduction formulae are not needed.

Exam tip

Keep the same pattern each time: uu is the power of xx, and its derivative reduces the power until it becomes a constant.

Common mistake

Losing a factor such as 23\frac23 when substituting the second result back; keep it in brackets.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Integration by parts

  1. Let I=∫xe2x dxI=\int xe^{2x}\,\mathrm{d}x, to be found by integration by parts.
    Hence find the exact value of ∫01xe2x dx\int_0^1xe^{2x}\,\mathrm{d}x.2 marks
  2. Integration by parts uses ∫udvdx dx=uv−∫vdudx dx\int u\frac{\mathrm{d}v}{\mathrm{d}x}\,\mathrm{d}x=uv-\int v\frac{\mathrm{d}u}{\mathrm{d}x}\,\mathrm{d}x.
    Find ∫x2ln⁡x dx\int x^2\ln x\,\mathrm{d}x for x>0x>0.2 marks
  3. In this question, use integration by parts.
    Find ∫xsin⁡2x dx\int x\sin2x\,\mathrm{d}x.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).