top of page

11.3 Integration by Parts

AQA A-level Maths Year 2 · 7357 · Chapter 11: Further Integration Techniques

What is in the full lesson (14 activities)

Every item below opens free in the course.

A free AQA A-level Maths Year 2 lesson for AQA A-level Mathematics (7357) from OBA School: reversing the product rule to integrate products (AQA 7357: H5). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Use the formula ∫ u(dv/dx) dx = uv − ∫ v(du/dx) dx
  • Choose u and dv/dx sensibly, including for ln x
  • Apply integration by parts twice when needed
  • Evaluate definite integrals and areas by parts

Key words

  • Integration by parts: A method for integrating a product, based on the product rule.
  • u: The factor you differentiate. Choose the one that gets simpler.
  • dv/dx: The factor you integrate to get v. It must be easy to integrate.
  • Cyclic integral: An integral that reappears after parts twice, such as ∫ eˣ cos x dx.

The formula

Integrating the product rule (d/dx)(uv) = u(dv/dx) + v(du/dx) and rearranging gives the formula. It swaps one integral for another, which should be easier.

By parts: ∫ u(dv/dx) dx = uv − ∫ v(du/dx) dx

Worked example: polynomial times trig

Find ∫ x sin 2x dx
u = x, du/dx = 1. dv/dx = sin 2x, v = −(1/2)cos 2x
−(1/2)x cos 2x − ∫ −(1/2)cos 2x dx = −(1/2)x cos 2x + 1/2∫ cos 2x dx

Answer: −(1/2)x cos 2x + (1/4)sin 2x + c

Worked example: linear times exponential

Find ∫ (2x + 1)eˣ dx
u = 2x + 1, v = eˣ: (2x + 1)eˣ − ∫ 2eˣ dx = (2x + 1)eˣ − 2eˣ

Answer: (2x − 1)eˣ + c

Choosing u

Usually let u be the polynomial, because differentiating lowers its power. The exception is ln x: you cannot integrate it directly, so it must be u. You can even integrate ln x alone by writing it as 1 × ln x.

  • xⁿeᵏˣ, xⁿ sin kx, xⁿ cos kx; u xⁿ; dv/dx the exponential or trig part
  • xⁿ ln x; u ln x; dv/dx xⁿ
  • ln x; u ln x; dv/dx 1

Worked example: a logarithm

Find ∫ x³ln x dx
u = ln x, du/dx = 1/x. dv/dx = x³, v = x⁴/4
(x⁴/4)ln x − ∫ x⁴/4 × 1/x dx = (x⁴/4)ln x − ∫ x³/4 dx

Answer: (x⁴/4)ln x − x⁴/16 + c

Worked example: ln x on its own

∫ 1 × ln x dx with u = ln x, v = x: x ln x − ∫ x × 1/x dx

Answer: x ln x − x + c

Using parts twice

With x² times an exponential or trig function, one application leaves x times something: apply the formula again. Keep the minus sign in a bracket so it applies to the whole second result.

Worked example: twice

Find ∫ x²sin x dx
= −x²cos x + ∫ 2x cos x dx
∫ 2x cos x dx = 2x sin x − ∫ 2 sin x dx = 2x sin x + 2 cos x

Answer: −x²cos x + 2x sin x + 2 cos x + c

Worked example: an integral that comes back

Let I = ∫ eˣ cos x dx. Parts with u = cos x: I = eˣ cos x + ∫ eˣ sin x dx
Parts again with u = sin x: ∫ eˣ sin x dx = eˣ sin x − I
So I = eˣ cos x + eˣ sin x − I, and 2I = eˣ(sin x + cos x)

Answer: ∫ eˣ cos x dx = (1/2)eˣ(sin x + cos x) + c

Definite integrals and areas

Put the limits into the uv part straight away, then evaluate the remaining integral with the same limits.

Worked example: with a logarithm

Find ∫ from 1 to e, x ln x dx
[(x²/2)ln x]₁ᵉ − ∫ from 1 to e, x/2 dx = e²/2 − [x²/4]₁ᵉ = e²/2 − e²/4 + 1/4

Answer: (e² + 1)/4

Common mistakes

  • Choosing u = eˣ or u = sin x when the other factor is a polynomial: the new integral gets harder.
  • Taking dv/dx = ln x. You cannot integrate ln x yet, so it must be u.
  • Losing the minus sign in front of the second integral, especially when using parts twice.
  • Differentiating instead of integrating to find v, for example writing v = 2 cos 2x for dv/dx = sin 2x.

Revision questions

Try these, then check your answers below each one.

Question 1. To find ∫ x cos x dx by parts, which choice of u works? (Choose from: u = x, dv/dx = cos x; u = cos x, dv/dx = x; u = x cos x, dv/dx = 1; Either choice works equally well.)

Answer: u = x, dv/dx = cos x

Working: With u = x, du/dx = 1 and the new integral ∫ sin x dx is easy. The other way gives ∫ (x²/2)sin x dx, which is harder.

Question 2. Find ∫ xe³ˣ dx. (Choose from: (x/3 − 1/9)e³ˣ + c; (x/3 + 1/9)e³ˣ + c; (x²/2)e³ˣ + c; (3x − 1)e³ˣ + c.)

Answer: (x/3 − 1/9)e³ˣ + c

Working: (x/3)e³ˣ − ∫ (1/3)e³ˣ dx = (x/3)e³ˣ − (1/9)e³ˣ + c.

Question 3. Find ∫ from 0 to π/2, x cos x dx, to 3 decimal places.

Answer: 0.571

Working: [x sin x + cos x] from 0 to π/2 = π/2 − 1 = 0.571.

Related lessons

Continue in the full course

This lesson is section 11.3 of our free AQA A-level Maths Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.

Continue lesson 11.3 in the free course →

 

 

 

 

 

 

 

bottom of page