SECTION 1
Historical Context & Motivation
Integration is fundamentally the reverse of differentiation, but that reversal is far from straightforward. While the chain rule and the product rule give us systematic recipes for differentiating composite and product functions, undoing those rules when integrating requires special techniques. Two of the most important methods — integration by substitution and integration by parts — were developed over centuries of mathematical innovation.
1665–1676 • Newton & Leibniz Develop Calculus
1680s • Leibniz Formalises Substitution
1715 • Brook Taylor & Integration by Parts
1800s • Rigorous Foundations by Riemann & Others
The central question these techniques answer is: How do we integrate functions that are products or compositions of simpler functions? Basic power, exponential, and trigonometric rules handle only the simplest integrands. For anything more complex — such as ∫ x·eˣ dx or ∫ 2x·cos(x²) dx — you need the tools covered in this lesson.
SECTION 2
Core Principles & Definitions
Both substitution and integration by parts rest on differentiation rules you already know, applied in reverse. Understanding why each method works will help you decide when to use it.
Reversing the Chain Rule
Reversing the Product Rule
Choosing u and dv/du
Definite vs. Indefinite
KEY TAKEAWAY
SECTION 3
Visual Explanation — Substitution in Action
The diagram below illustrates the idea behind u-substitution. On the left, you see the graph of f(x) = 2x·cos(x²), a product involving a composite function. By setting u = x², the right-hand graph shows the same area re-expressed as cos(u), which is straightforward to integrate.
Notice how the complicated oscillating curve on the left becomes the familiar cosine wave on the right. The "extra" factor of 2x in the original integrand is exactly the derivative of x², which is why the substitution works perfectly. If that derivative were not present, the substitution would fail or require additional algebraic manipulation.
SECTION 4
Mathematical Framework
Integration by Substitution
SUBSTITUTION RULE
Here u is the inner function g(x), and du = g′(x) dx. After integrating with respect to u, substitute back to express the result in terms of x.
The practical steps are: (1) identify a part of the integrand to call u; (2) compute du/dx and rearrange so that dx is expressed in terms of du; (3) rewrite the entire integral in terms of u; (4) integrate; (5) replace u with g(x).
DEFINITE INTEGRAL — SUBSTITUTION WITH CHANGED LIMITS
When evaluating a definite integral, convert the original limits a and b to the new variable: lower limit becomes g(a), upper limit becomes g(b). This removes the need to substitute back.
Integration by Parts
INTEGRATION BY PARTS FORMULA
Choose u = the function that becomes simpler when differentiated, and dv/dx = the function you can readily integrate. The goal is that ∫ v (du/dx) dx is easier than the original integral.
DEFINITE FORM — INTEGRATION BY PARTS
The bracket notation [u·v]ₐᵇ means evaluate u·v at x = b and subtract its value at x = a. Then subtract the remaining integral evaluated between the same limits.
LIATE Rule for Choosing u
SECTION 5
Deciding Which Technique to Use
One of the biggest challenges students face is recognising which technique to apply. The decision flowchart below provides a systematic approach. Start at the top and follow the arrows based on the structure of your integrand.
| Integral Form | Technique | Why It Works |
|---|---|---|
| ∫ 2x · eˣ² dx | Substitution | 2x is the derivative of x², the inner function of eˣ² |
| ∫ sin(3x + 1) dx | Substitution | Inner function 3x + 1 has constant derivative 3 (adjust with 1/3) |
| ∫ x · eˣ dx | Parts | Product of algebraic (x) and exponential (eˣ); no chain rule link |
| ∫ x² · ln x dx | Parts | Product of algebraic and logarithmic; LIATE says u = ln x |
| ∫ ln x dx | Parts | Write as ∫ 1 · ln x dx; set u = ln x, dv/dx = 1 |
Common integral forms and the recommended technique
SECTION 6
Worked Examples
Example 1: Integration by Substitution
Evaluate ∫ 3x² · cos(x³) dx.
Substitution: ∫ 3x² · cos(x³) dx
- 1
Step 1 — Identify the inner function
The integrand contains cos(x³), a composite function. The inner function is x³, and its derivative 3x² appears as a factor. This is a strong signal for substitution. - 2
Step 2 — Define u and find du
Let u = x³. Then du/dx = 3x², so du = 3x² dx.u = x³, du = 3x² dx - 3
Step 3 — Rewrite the integral in terms of u
Replacing 3x² dx with du and cos(x³) with cos(u), the integral becomes ∫ cos(u) du.∫ cos(u) du - 4
Step 4 — Integrate with respect to u
The integral of cos(u) is sin(u) + C.sin(u) + C - 5
Step 5 — Substitute back
Replace u with x³ to express the answer in terms of the original variable.∫ 3x² · cos(x³) dx = sin(x³) + C
Example 2: Integration by Parts
Evaluate ∫ x · eˣ dx.
Integration by Parts: ∫ x · eˣ dx
- 1
Step 1 — Recognise the need for parts
The integrand is a product of an algebraic function (x) and an exponential (eˣ). There is no chain-rule relationship between them, so substitution will not simplify this. We use integration by parts. - 2
Step 2 — Choose u and dv/dx using LIATE
Algebraic functions rank higher than exponential in LIATE. So let u = x (which simplifies to 1 when differentiated) and dv/dx = eˣ (which we can integrate easily).u = x, du/dx = 1, dv/dx = eˣ, v = eˣ - 3
Step 3 — Apply the formula
Using ∫ u (dv/dx) dx = u·v − ∫ v (du/dx) dx, we get:∫ x · eˣ dx = x · eˣ − ∫ eˣ · 1 dx - 4
Step 4 — Evaluate the remaining integral
The remaining integral ∫ eˣ dx is simply eˣ + C. Substituting back:= x · eˣ − eˣ + C - 5
Step 5 — Simplify
Factor out eˣ to present a clean final answer.∫ x · eˣ dx = eˣ(x − 1) + C
SECTION 7
Strengths & Limitations of Each Technique
| Feature | Substitution | Integration by Parts |
|---|---|---|
| Best for | Composite functions f(g(x)) where g′(x) appears as a factor | Products of functions from different families (e.g., polynomial × exponential) |
| Differentiation rule reversed | Chain rule | Product rule |
| Typical difficulty | Usually reduces the integral in one step | May need to be applied more than once (e.g., ∫ x² eˣ dx) |
| Common pitfall | Forgetting to change limits in definite integrals | Choosing u and dv/dx the wrong way round, making the new integral harder |
| Limitation | Fails if the derivative of the inner function is not present (even up to a constant) | Fails if neither choice of u produces a simpler integral |
Comparison of substitution and integration by parts
KEY TAKEAWAY
SECTION 8
Connections to Advanced Theory
Substitution and integration by parts are the building blocks for even more powerful techniques you will encounter in further study. In the IB HL course itself, these methods combine with trigonometric identities and partial fractions. At university level, they extend into multivariable calculus, differential equations, and theoretical physics.
| This Lesson (AHL 5.9) | Where It Leads |
|---|---|
| u-substitution on single-variable integrals | Change of variables in double and triple integrals (multivariable calculus) |
| Integration by parts for ∫ u dv | Solving differential equations via integrating factors and reduction formulae |
| Choosing u = ln x, dv = rest | Integral representations of special functions (Gamma function, Beta function) |
| Repeated integration by parts | Tabular (DI) method and reduction formulas for ∫ sinⁿx dx, ∫ xⁿeˣ dx |
How AHL 5.9 techniques extend into higher mathematics
In the IB exam, integration by parts may also appear in Paper 3 (HL) as part of proof-based or exploration-style questions. A strong grasp of these techniques is essential not only for the calculus option but also for probability distributions (e.g., finding the mean of a continuous random variable using ∫ x · f(x) dx, which often requires parts).
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
This lesson covered two essential techniques in the IB HL calculus toolkit. Integration by substitution reverses the chain rule: you set u = g(x), replace dx with du/g′(x), and integrate a simpler function of u before substituting back. For definite integrals, you convert the limits to the u-variable, eliminating the need to convert back. The key requirement is that g′(x) (or a constant multiple of it) must appear as a factor in the integrand.
Integration by parts reverses the product rule using the formula ∫ u (dv/dx) dx = u·v − ∫ v (du/dx) dx. The LIATE mnemonic (Logarithmic → Inverse trig → Algebraic → Trigonometric → Exponential) guides your choice of u. In some problems — like ∫ eˣ sin(x) dx — you must apply parts twice and solve for the original integral algebraically, a pattern known as the boomerang technique. Mastering both methods and knowing when to deploy each one is a crucial skill for IB HL Paper 1, Paper 2, and Paper 3.