You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers integration by parts, a technique for integrating products of two functions. It is the reverse of the product rule for differentiation and is essential for A-Level Mathematics.
Integration by parts states:
∫ u (dv/dx) dx = uv − ∫ v (du/dx) dx
Or in the shorter notation:
∫ u dv = uv − ∫ v du
This formula converts one integral into another that is hopefully simpler.
The product rule states:
d/dx [uv] = u(dv/dx) + v(du/dx)
Integrating both sides:
uv = ∫ u(dv/dx) dx + ∫ v(du/dx) dx
Rearranging:
∫ u(dv/dx) dx = uv − ∫ v(du/dx) dx
The key to successful integration by parts is choosing which factor is u and which is dv/dx. The goal is to make ∫ v(du/dx) dx simpler than the original integral.
A useful guideline (sometimes called LIATE) is to let u be the function that comes first in this list:
The remaining factor is dv/dx.
Key Point: Let u be the function that becomes simpler when differentiated. Let dv/dx be the function that you can integrate.
Choose: u = x (algebraic — differentiates to something simpler), dv/dx = eˣ.
Then: du/dx = 1, v = eˣ.
∫ x eˣ dx = x eˣ − ∫ eˣ × 1 dx
= x eˣ − eˣ + C
= eˣ(x − 1) + C
Check: d/dx [eˣ(x − 1)] = eˣ(x − 1) + eˣ = eˣ × x − eˣ + eˣ = x eˣ ✓
Choose: u = x, dv/dx = cos x.
Then: du/dx = 1, v = sin x.
∫ x cos x dx = x sin x − ∫ sin x dx
= x sin x + cos x + C
Sometimes you need to apply integration by parts twice (or more).
First application:
u = x², dv/dx = eˣ → du/dx = 2x, v = eˣ.
∫ x² eˣ dx = x² eˣ − ∫ 2x eˣ dx
Second application (on ∫ 2x eˣ dx):
u = 2x, dv/dx = eˣ → du/dx = 2, v = eˣ.
∫ 2x eˣ dx = 2x eˣ − ∫ 2eˣ dx = 2x eˣ − 2eˣ + C
Combining:
∫ x² eˣ dx = x² eˣ − (2x eˣ − 2eˣ) + C
= x² eˣ − 2x eˣ + 2eˣ + C
= eˣ(x² − 2x + 2) + C
This is a classic integral that uses a clever trick: treat ln x as a product of ln x and 1.
Choose: u = ln x, dv/dx = 1.
Then: du/dx = 1/x, v = x.
∫ ln x dx = x ln x − ∫ x × (1/x) dx
= x ln x − ∫ 1 dx
= x ln x − x + C
This result is important and worth memorising:
∫ ln x dx = x ln x − x + C
Choose: u = ln x (LIATE — logs first), dv/dx = x.
Then: du/dx = 1/x, v = x²/2.
∫ x ln x dx = (x²/2) ln x − ∫ (x²/2)(1/x) dx
= (x²/2) ln x − (1/2) ∫ x dx
= (x²/2) ln x − x²/4 + C
For definite integrals, the formula becomes:
∫(from a to b) u (dv/dx) dx = [uv](from a to b) − ∫(from a to b) v (du/dx) dx
Evaluate ∫₁ᵉ ln x dx.
From Example 4, ∫ ln x dx = x ln x − x.
∫₁ᵉ ln x dx = [x ln x − x]₁ᵉ
= (e ln e − e) − (1 ln 1 − 1)
= (e − e) − (0 − 1)
= 0 + 1
= 1
When both functions regenerate upon repeated differentiation/integration, the integral "cycles back" to itself.
First application:
u = eˣ, dv/dx = sin x → du/dx = eˣ, v = −cos x.
I = ∫ eˣ sin x dx = −eˣ cos x + ∫ eˣ cos x dx
Second application (on ∫ eˣ cos x dx):
u = eˣ, dv/dx = cos x → du/dx = eˣ, v = sin x.
∫ eˣ cos x dx = eˣ sin x − ∫ eˣ sin x dx = eˣ sin x − I
Substitute back:
I = −eˣ cos x + eˣ sin x − I
2I = eˣ(sin x − cos x)
I = (eˣ/2)(sin x − cos x) + C
Exam Tip: When integrating eˣ sin x or eˣ cos x by parts, after two applications you get the original integral on the right-hand side. Call the original integral I, rearrange to solve for I. This is a favourite AQA question.
This requires integration by parts applied twice.
First: u = x², dv/dx = sin x → du/dx = 2x, v = −cos x.
∫ x² sin x dx = −x² cos x + ∫ 2x cos x dx
Second: u = 2x, dv/dx = cos x → du/dx = 2, v = sin x.
∫ 2x cos x dx = 2x sin x − ∫ 2 sin x dx = 2x sin x + 2 cos x + C
Combine:
∫ x² sin x dx = −x² cos x + 2x sin x + 2 cos x + C
Exam Tip: Integration by parts questions are worth several marks. Show every step: state your choice of u and dv/dx, write down du/dx and v, substitute into the formula, and simplify. If you need to apply parts twice, make it clear where the second application begins. Always check your answer by differentiating if time allows.
AQA 7357 specification, Paper 2 — Pure Mathematics, Section H (Integration), sub-strand H8 — Year 2 content covers using integration by parts; integrate using partial fractions; integrate by recognition or by simple substitution; understand integration as the limit of a sum (refer to the official specification document for exact wording). Integration by parts is examined principally on Paper 2 but synoptic reach extends into Paper 3 (Section O — Differential equations) where by-parts integration appears within solution techniques. The AQA formula booklet does list ∫udxdvdx=uv−∫vdxdudx, so the formula itself need not be memorised — but the strategy of choosing u and dv is a candidate decision and is never prompted in the question stem.
Question (8 marks): Find ∫x2exdx.
Solution with mark scheme:
Step 1 — choose u and dv on the first application.
By LIATE (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential), the algebraic factor x2 ranks higher than the exponential ex, so set u=x2 and dv=exdx.
Then du=2xdx and v=ex.
M1 — correct identification of u and dv consistent with LIATE; equivalently, choosing u such that du simplifies the integrand. Common error: setting u=ex and dv=x2dx, which produces a more complex integral on the right-hand side and stalls the question.
Step 2 — apply the formula.
∫x2exdx=x2ex−∫ex⋅2xdx=x2ex−2∫xexdx
M1 — correct substitution into ∫udv=uv−∫vdu.
A1 — correct intermediate expression x2ex−2∫xexdx.
Step 3 — apply integration by parts a second time to ∫xexdx.
Set u=x, dv=exdx, so du=dx and v=ex.
∫xexdx=xex−∫exdx=xex−ex+C1
M1 — correct second application of integration by parts on the residual integral. Many candidates panic at the reappearance of an integral and try a substitution; the principled move is to apply by-parts again because the algebraic factor has reduced from x2 to x (and will reduce to a constant on a third pass — except a constant integrates trivially).
A1 — correct evaluation xex−ex.
Step 4 — assemble the final answer.
∫x2exdx=x2ex−2(xex−ex)+C=x2ex−2xex+2ex+C
Factorising: =ex(x2−2x+2)+C.
M1 — correct combination, with sign on the −2(…) bracket distributed properly. The most common slip is sign error: writing +2(xex−ex) instead of −2(xex−ex).
A1 — correct final expression including the constant of integration +C. Omitting +C is an automatic loss of the final A1 on every indefinite integration question, every paper, every year.
A1 — factorised or simplified form (rewards presentation).
Total: 8 marks (M4 A4).
Question (6 marks): Use integration by parts to find the exact value of ∫1exlnxdx.
Mark scheme decomposition by AO:
Total: 6 marks split AO1 = 5, AO2 = 1. AQA reserves the AO2 mark for "exact form" presentation discipline — any decimal approximation forfeits it.
Connects to:
Section G — Differentiation (product rule, reverse direction): integration by parts is literally the product rule dxd(uv)=udxdv+vdxdu rearranged and integrated. Recognising ∫udv=uv−∫vdu as "anti-product-rule" demystifies why the formula has the structure it does.
LIATE choice and AO2 reasoning: the choice of u is not algorithmic — it is a reasoning skill. AQA increasingly tests this with questions where a poor choice produces a harder integral. The LIATE heuristic ranks function classes by how well u simplifies under differentiation: Logarithmic and Inverse-trig functions simplify dramatically (lnx→1/x); Algebraic factors reduce in degree (xn→nxn−1); Trigonometric and Exponential functions cycle without simplifying.
Reduction formulae (Year 2 / undergraduate): repeated integration by parts on ∫xnexdx produces the recurrence In=xnex−nIn−1. AQA does not formally examine reduction formulae at A-Level, but recognising the pattern in ∫x2exdx (two passes) and ∫x3exdx (three passes) is exactly the synoptic insight that distinguishes A* candidates.
Combined with substitution: harder Paper 2 integrals require both substitution and by-parts. Example: ∫sin(x)dx needs substitution u=x first to convert it into ∫2usinudu, which then requires by-parts. The strategic order — substitute first, then by-parts — is rarely signposted in the question.
Section O — Differential equations: solving dxdy+P(x)y=Q(x) via the integrating-factor method produces integrals of the form ∫Q(x)μ(x)dx where μ is exponential. When Q(x) is algebraic, the resulting integral demands by-parts. This is the most common cross-section question on Paper 2.
By-parts questions on AQA 7357 split AO marks predictably:
| AO | Typical share | Earned by |
|---|---|---|
| AO1 (knowledge / procedure) | 60–70% | Correctly identifying u, dv, computing du, v, applying the formula, evaluating residual integral |
| AO2 (reasoning / interpretation) | 20–30% | Justifying LIATE choice, recognising when a second pass is needed, presenting answer in exact form |
| AO3 (problem-solving) | 10–15% | Combining by-parts with substitution; recognising hidden by-parts structures (e.g. ∫lnxdx as ∫1⋅lnxdx) |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.