Integration by substitution & by parts
The two main techniques for integrals that are not standard: substitution (reversing the chain rule) and integration by parts (reversing the product rule), including changing limits, repeated parts and the cyclic case.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Integrate by substitution, including a given substitutionAHL 5.16
- Change the limits in a definite integral after substitutingAHL 5.16
- Integrate by parts, choosing and wellAHL 5.16
- Use repeated integration by parts, including the cyclic caseAHL 5.16
- Integrate and inverse trig functions by partsAHL 5.16
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
Each differentiation rule has a reverse. The chain rule reversed is substitution: if the integrand contains a function and (a multiple of) its derivative, a new variable collapses it to a standard integral. The product rule reversed is integration by parts: it trades an integral you cannot do for one you can.
2.1 Integration by substitution
Choose (usually the "inside" function), find , replace by , and check that every disappears. Integrate in , then substitute back.
2.2 Changing the limits
In a definite integral, change the limits to -values at the same time as you substitute. Then there is no need to substitute back.
2.3 Harder substitutions
Sometimes the substitution is given, or the derivative is not obviously present. Then rewrite everything, including leftover ’s, in terms of .
2.4 Integration by parts
Choose to be the factor that gets simpler when differentiated, and to be something you can integrate. A useful order of preference for : Logarithms, Inverse trig, Algebraic (powers of ), Trig, Exponentials (LIATE).
The same "multiply by 1" trick integrates the inverse trig functions: .
2.5 Repeated and cyclic integration by parts
For , neither factor gets simpler. After two applications the original integral reappears. Call it and solve for it. This is the hard case in this topic.
- Is it a standard integral, possibly after simplifying or using an identity? Do that first.
- Is there a function and (a multiple of) its derivative? Substitution.
- Is it a product of two unrelated types (polynomial × exponential, polynomial × trig, log × anything)? Parts.
- Rational function with factorising denominator? Partial fractions. Quadratic denominator with no roots? Complete the square and use arctan.
Check any definite integral with Calculus → Numerical integral, e.g. . The CAS-free TI-Nspire cannot give an antiderivative, so indefinite integrals must be checked by differentiating your answer.
3Explore it
The shaded area is . The dashed curve is the antiderivative found on this page; the area always equals .
4Common mistakes & exam tips
Common mistakes
- Leaving some ’s in the integral after substituting.
- Forgetting to change the limits, or changing them and then substituting back as well.
- Choosing in , which makes the integral harder.
- Sign errors in parts, especially with .
- In the cyclic case, switching the choice of on the second application, which returns .
Exam tips
- When a substitution is given, follow it: it is usually the only route the markscheme expects.
- Write , , and in a small box before applying the formula.
- Differentiate your answer to check an indefinite integral.
- On Paper 2, check definite integrals numerically on the GDC.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.
Find the exact value of .
| attempt at integration by parts with | M1 |
| A1 | |
| A1 | |
| M1 | |
| A1 |
Using the substitution , find the exact value of .
| A1 | |
| M1A1 | |
| limits and | A1 |
| M1 | |
| A1 |
Let .
- (a)Show that .[5]
- (b)Hence find the exact value of .[2]
| (a) | |
| M1A1 | |
| M1A1 | |
| A1AG | |
| (b) | |
| M1 | |
| A1 | |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2021 · TZ2 · Paper 1 | Q9 | Integration using the substitution | ★★ |
| May 2022 · TZ2 · Paper 1 | Q7 | Using to integrate | ★★★ |
| May 2023 · TZ2 · Paper 1 | Q12 | Showing a result by an appropriate substitution | ★★★ |
| Nov 2025 · TZ1 · Paper 2 | Q11 | Integrating by parts | ★★★ |
