Integration by Substitution A-Level Maths Guide
Revise integration by substitution for A-level Maths with step-by-step methods, worked examples, common mistakes and exam-style questions with answers.

Integration by Substitution A-Level Maths Guide
Integration by substitution rewrites an integral in terms of a new variable so that it becomes easier to evaluate. It is closely connected to the reverse chain rule, but it is more flexible because it allows you to replace a complicated expression systematically.
This integration by substitution A-level Maths guide explains how to choose and use a substitution, deal with definite integrals and recognise common exam forms. It also includes worked examples and exam-style questions with answers.
What is integration by substitution?
Suppose an integral contains a composite expression such as x2+4x^2+4x2+4, 0˘05csqrt3x+1\u005csqrt{3x+1}0˘05csqrt3x+1 or ex2e^{x^2}ex2. You can introduce a new variable, usually uuu, to represent the expression inside the outer function.
If
u=g(x), u=g(x), u=g(x),then
dudx=g′(x). \frac{du}{dx}=g'(x). dxdu=g′(x).Rearranging formally gives
du=g′(x) dx. du=g'(x)\,dx. du=g′(x)dx.The aim is to rewrite every part of the integral, including the differential dxdxdx, in terms of uuu. The integral can then be evaluated using standard integration rules.
This method reverses the chain rule. Differentiating F(g(x))F(g(x))F(g(x)) gives
ddxF(g(x))=F′(g(x))g′(x). \frac{d}{dx}F(g(x))=F'(g(x))g'(x). dxdF(g(x))=F′(g(x))g′(x).Therefore,
∫F′(g(x))g′(x) dx=F(g(x))+C. \int F'(g(x))g'(x)\,dx=F(g(x))+C. ∫F′(g(x))g′(x)dx=F(g(x))+C.Substitution makes this relationship explicit, particularly when the derivative g′(x)g'(x)g′(x) is present only after rearranging or rewriting the integrand.
The integration by substitution method
For an indefinite integral, use the following process.
- Choose a substitution, normally for an expression inside a power, root, exponential, logarithm or denominator.
- Differentiate the substitution to find du/dxdu/dxdu/dx.
- Rearrange for dxdxdx, or identify the part of the integral equal to dududu.
- Rewrite the whole integral in terms of uuu. No xxx terms should remain.
- Integrate with respect to uuu.
- Substitute back to express the answer in terms of xxx.
- Include the constant of integration +C+C+C for an indefinite integral.
A good substitution removes the most complicated feature of the integrand. If the transformed integral still mixes xxx and uuu, the substitution has not yet been applied completely or is unsuitable.
How to choose a suitable substitution
The question may give you the substitution, or you may have to find one. In the second case, look for an inner function whose derivative is also present, perhaps with a constant multiple missing.
| Form in the integrand | Likely substitution |
|---|---|
| (ax+b)n(ax+b)^n(ax+b)n | u=ax+bu=ax+bu=ax+b |
| f′(x)[f(x)]nf'(x)[f(x)]^nf′(x)[f(x)]n | u=f(x)u=f(x)u=f(x) |
| f′(x)f(x)\dfrac{f'(x)}{f(x)}f(x)f′(x) | u=f(x)u=f(x)u=f(x) |
| f′(x)ef(x)f'(x)e^{f(x)}f′(x)ef(x) | u=f(x)u=f(x)u=f(x) |
| xx2+ax\sqrt{x^2+a}xx2+a | u=x2+au=x^2+au=x2+a |
| Expressions involving both xxx and x\sqrt{x}x | u=xu=\sqrt{x}u=x |
The derivative does not have to appear exactly. A constant factor can be taken outside the integral. For example, if du=2x dxdu=2x\,dxdu=2xdx but the integral contains x dxx\,dxxdx, then
x dx=12du. x\,dx=\frac12du. xdx=21du.Integration by substitution worked examples
Worked example 1: substituting for a quadratic expression
Evaluate
∫6x(x2+5)4 dx. \int 6x(x^2+5)^4\,dx. ∫6x(x2+5)4dx.Let
u=x2+5. u=x^2+5. u=x2+5.Differentiate:
dudx=2x, \frac{du}{dx}=2x, dxdu=2x,so
du=2x dx. du=2x\,dx. du=2xdx.The integral contains 6x dx=3(2x dx)=3 du6x\,dx=3(2x\,dx)=3\,du6xdx=3(2xdx)=3du. Therefore,
∫6x(x2+5)4 dx=∫3u4 du. \int 6x(x^2+5)^4\,dx=\int 3u^4\,du. ∫6x(x2+5)4dx=∫3u4du.Integrating gives
3⋅u55+C=35u5+C. 3\cdot\frac{u^5}{5}+C=\frac35u^5+C. 3⋅5u5+C=53u5+C.Substitute u=x2+5u=x^2+5u=x2+5 back into the answer:
35(x2+5)5+C. \boxed{\frac35(x^2+5)^5+C}. 53(x2+5)5+C.You can check the result by differentiating it. The chain rule produces the factor 2x2x2x, confirming that the substitution was appropriate.
Worked example 2: a constant factor is missing
Evaluate
∫xx2+9 dx. \int \frac{x}{x^2+9}\,dx. ∫x2+9xdx.Let
u=x2+9. u=x^2+9. u=x2+9.Then
du=2x dx, du=2x\,dx, du=2xdx,which means
x dx=12du. x\,dx=\frac12du. xdx=21du.The integral becomes
12∫1u du. \frac12\int \frac1u\,du. 21∫u1du.Using ∫1/u du=ln∣u∣+C\int 1/u\,du=\ln|u|+C∫1/udu=ln∣u∣+C gives
12ln∣u∣+C. \frac12\ln|u|+C. 21ln∣u∣+C.Since x2+9x^2+9x2+9 is always positive,
12ln(x2+9)+C. \boxed{\frac12\ln(x^2+9)+C}. 21ln(x2+9)+C.The factor 1/21/21/2 is essential. Losing it is one of the most frequent errors in substitution questions.
Worked example 3: rearranging to replace an extra xxx
Evaluate
∫x3x2+1 dx. \int x^3\sqrt{x^2+1}\,dx. ∫x3x2+1dx.Choose
u=x2+1. u=x^2+1. u=x2+1.Then
du=2x dxandx dx=12du. du=2x\,dx \quad\text{and}\quad x\,dx=\frac12du. du=2xdxandxdx=21du.There is still a factor of x2x^2x2. Use the substitution itself to write
x2=u−1. x^2=u-1. x2=u−1.Now
x3 dx=x2(x dx)=(u−1)12du. x^3\,dx=x^2(x\,dx)=(u-1)\frac12du. x3dx=x2(xdx)=(u−1)21du.The integral becomes
12∫(u−1)u1/2 du. \frac12\int (u-1)u^{1/2}\,du. 21∫(u−1)u1/2du.Expand before integrating:
12∫(u3/2−u1/2) du. \frac12\int \left(u^{3/2}-u^{1/2}\right)\,du. 21∫(u3/2−u1/2)du.Therefore,
12(25u5/2−23u3/2)+C=15u5/2−13u3/2+C. \frac12\left(\frac25u^{5/2}-\frac23u^{3/2}\right)+C =\frac15u^{5/2}-\frac13u^{3/2}+C. 21(52u5/2−32u3/2)+C=51u5/2−31u3/2+C.Substituting back gives
15(x2+1)5/2−13(x2+1)3/2+C. \boxed{\frac15(x^2+1)^{5/2}-\frac13(x^2+1)^{3/2}+C}. 51(x2+1)5/2−31(x2+1)3/2+C.This example shows that substitution may require an algebraic rearrangement. You must replace all remaining occurrences of xxx before integrating.
Definite integration by substitution
For a definite integral, you can either change the limits to uuu-values or substitute back into xxx before using the original limits. Do not change the limits and then substitute back, because that mixes two valid methods.
If u=g(x)u=g(x)u=g(x), convert each limit by substituting its xxx-value into g(x)g(x)g(x):
x=a⇒u=g(a),x=b⇒u=g(b). x=a\Rightarrow u=g(a), \qquad x=b\Rightarrow u=g(b). x=a⇒u=g(a),x=b⇒u=g(b).Worked example 4: changing the limits
Evaluate
∫02x(x2+1)3 dx. \int_0^2 x(x^2+1)^3\,dx. ∫02x(x2+1)3dx.Let
u=x2+1, u=x^2+1, u=x2+1,so
du=2x dxandx dx=12du. du=2x\,dx \quad\text{and}\quad x\,dx=\frac12du. du=2xdxandxdx=21du.Change the limits:
- When x=0x=0x=0, u=02+1=1u=0^2+1=1u=02+1=1.
- When x=2x=2x=2, u=22+1=5u=2^2+1=5u=22+1=5.
The integral becomes
12∫15u3 du. \frac12\int_1^5u^3\,du. 21∫15u3du.Hence
12[u44]15=18(54−14)=18(624)=78. \frac12\left[\frac{u^4}{4}\right]_1^5 =\frac18(5^4-1^4) =\frac18(624) =\boxed{78}. 21[4u4]15=81(54−14)=81(624)=78.Because the limits were converted to uuu-values, there was no need to substitute back into xxx.
Substitutions involving roots
Sometimes a substitution is chosen to remove a square root rather than to represent an obvious inner function. For example, if an integrand contains both xxx and x\sqrt{x}x, setting
u=x u=\sqrt{x} u=xgives
x=u2anddx=2u du. x=u^2 \quad\text{and}\quad dx=2u\,du. x=u2anddx=2udu.Both replacements matter. Merely replacing x\sqrt{x}x with uuu while leaving dxdxdx unchanged does not produce an equivalent integral.
Worked example 5: removing a square root
Evaluate
∫11+x dx. \int \frac{1}{1+\sqrt{x}}\,dx. ∫1+x1dx.Let u=xu=\sqrt{x}u=x. Then x=u2x=u^2x=u2 and dx=2u dudx=2u\,dudx=2udu. Therefore,
∫11+x dx=∫2u1+u du. \int \frac{1}{1+\sqrt{x}}\,dx =\int \frac{2u}{1+u}\,du. ∫1+x1dx=∫1+u2udu.Rewrite the fraction:
2uu+1=2−2u+1. \frac{2u}{u+1}=2-\frac{2}{u+1}. u+12u=2−u+12.Thus,
∫(2−2u+1) du=2u−2ln∣u+1∣+C. \int \left(2-\frac{2}{u+1}\right)\,du =2u-2\ln|u+1|+C. ∫(2−u+12)du=2u−2ln∣u+1∣+C.Substitute back:
2x−2ln(1+x)+C. \boxed{2\sqrt{x}-2\ln(1+\sqrt{x})+C}. 2x−2ln(1+x)+C.For x≥0x\geq0x≥0, 1+x1+\sqrt{x}1+x is positive, so modulus signs are not required in the final logarithm.
Common mistakes in integration by substitution
Leaving both variables in the integral
After substitution, the integrand, differential and any limits must all use the same variable. An expression such as
∫xu3 du \int xu^3\,du ∫xu3duis incomplete unless xxx is also rewritten in terms of uuu.
Treating dxdxdx as unchanged
A substitution changes the differential. If u=x2+1u=x^2+1u=x2+1, then du=2x dxdu=2x\,dxdu=2xdx. Replacing only x2+1x^2+1x2+1 but ignoring x dxx\,dxxdx breaks the relationship between the original and transformed integrals.
Missing a constant multiplier
If du=3x2 dxdu=3x^2\,dxdu=3x2dx and the integral contains only x2 dxx^2\,dxx2dx, replace it with 13du\frac13du31du. Check constant factors before integrating.
Forgetting +C+C+C
An indefinite integral represents a family of antiderivatives, so it requires +C+C+C. A definite integral produces a numerical value and does not require it.
Using the wrong limits
Original xxx-limits cannot be applied to an expression in uuu. Either change the limits immediately or return the antiderivative to xxx before evaluating it.
Omitting modulus signs in logarithms
The general result is
∫1u du=ln∣u∣+C. \int \frac1u\,du=\ln|u|+C. ∫u1du=ln∣u∣+C.You may remove the modulus signs only when the substituted expression is known to be positive on the relevant domain.
Exam technique for substitution questions
Show the substitution, its derivative and the transformed integral clearly. These lines demonstrate the method and can earn credit even if a later arithmetic error occurs.
Before integrating, check that:
- the new integral contains only one variable;
- all constant factors have been included;
- powers and roots have been rewritten correctly;
- definite limits match the current variable;
- the transformed integral is genuinely simpler.
For indefinite integrals, differentiate your final answer when time permits. This quickly detects missing chain-rule factors and sign errors.
Integration by substitution exam question
Evaluate
∫01x3(x2+1)2 dx. \int_0^1 \frac{x^3}{(x^2+1)^2}\,dx. ∫01(x2+1)2x3dx.You should show your substitution and any change of limits.
Answer
Let
u=x2+1. u=x^2+1. u=x2+1.Then
du=2x dx,x dx=12du,x2=u−1. du=2x\,dx,\qquad x\,dx=\frac12du,\qquad x^2=u-1. du=2xdx,xdx=21du,x2=u−1.The limits become u=1u=1u=1 when x=0x=0x=0, and u=2u=2u=2 when x=1x=1x=1. Therefore,
∫01x3(x2+1)2 dx=12∫12u−1u2 du. \int_0^1 \frac{x^3}{(x^2+1)^2}\,dx =\frac12\int_1^2 \frac{u-1}{u^2}\,du. ∫01(x2+1)2x3dx=21∫12u2u−1du.Rewrite the integrand:
12∫12(1u−1u2) du. \frac12\int_1^2\left(\frac1u-\frac1{u^2}\right)\,du. 21∫12(u1−u21)du.Integrating gives
12[lnu+1u]12. \frac12\left[\ln u+\frac1u\right]_1^2. 21[lnu+u1]12.Hence
12(ln2+12−1)=12ln2−14. \frac12\left(\ln2+\frac12-1\right) =\boxed{\frac12\ln2-\frac14}. 21(ln2+21−1)=21ln2−41.Try 4 more integration by substitution practice questions.
Four more exam-style practice questions
Question 1
Evaluate
∫8x(2x2+3)5 dx. \int 8x(2x^2+3)^5\,dx. ∫8x(2x2+3)5dx.Answer:
13(2x2+3)6+C. \boxed{\frac13(2x^2+3)^6+C}. 31(2x2+3)6+C.Use u=2x2+3u=2x^2+3u=2x2+3, for which du=4x dxdu=4x\,dxdu=4xdx.
Question 2
Evaluate
∫3x2x3+4 dx. \int \frac{3x^2}{x^3+4}\,dx. ∫x3+43x2dx.Answer:
ln∣x3+4∣+C. \boxed{\ln|x^3+4|+C}. ln∣x3+4∣+C.Use u=x3+4u=x^3+4u=x3+4, giving du=3x2 dxdu=3x^2\,dxdu=3x2dx.
Question 3
Evaluate
∫01xex2 dx. \int_0^1 xe^{x^2}\,dx. ∫01xex2dx.Answer:
12(e−1). \boxed{\frac12(e-1)}. 21(e−1).Use u=x2u=x^2u=x2. The new limits are 000 and 111, and x dx=12dux\,dx=\frac12duxdx=21du.
Question 4
Evaluate
∫x3(x2+2)2 dx. \int x^3(x^2+2)^2\,dx. ∫x3(x2+2)2dx.Answer:
18(x2+2)4−13(x2+2)3+C. \boxed{\frac18(x^2+2)^4-\frac13(x^2+2)^3+C}. 81(x2+2)4−31(x2+2)3+C.Use u=x2+2u=x^2+2u=x2+2, so x2=u−2x^2=u-2x2=u−2 and x dx=12dux\,dx=\frac12duxdx=21du. Equivalent expanded or factorised answers are acceptable.
Conclusion
Integration by substitution works by replacing a complicated expression with a new variable and transforming the whole integral consistently. The essential steps are to choose a useful substitution, calculate the differential, remove every occurrence of the original variable and handle definite limits correctly.
Strong exam solutions also show the transformation clearly and check constant factors carefully. Use MathsGenie revision materials, practice questions, past papers and mark schemes to practise recognising suitable substitutions in unfamiliar integrals.
Students reviewing the wider course structure can also consult GCSE maths topics by exam board and tier, although integration by substitution itself is an A-level topic.



