MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Integration by Substitution A-Level Maths Guide

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.

MathsGenie Team
•Last updated: 20 Nov 2026
Share
Add as a preferred source on Google

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). dxd​F(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.

  1. Choose a substitution, normally for an expression inside a power, root, exponential, logarithm or denominator.
  2. Differentiate the substitution to find du/dxdu/dxdu/dx.
  3. Rearrange for dxdxdx, or identify the part of the integral equal to dududu.
  4. Rewrite the whole integral in terms of uuu. No xxx terms should remain.
  5. Integrate with respect to uuu.
  6. Substitute back to express the answer in terms of xxx.
  7. 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 integrandLikely substitution
(ax+b)n(ax+b)^n(ax+b)nu=ax+bu=ax+bu=ax+b
f′(x)[f(x)]nf'(x)[f(x)]^nf′(x)[f(x)]nu=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=21​du.

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=53​u5+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+9x​dx.

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=21​du.

The integral becomes

12∫1u du. \frac12\int \frac1u\,du. 21​∫u1​du.

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. 21​ln∣u∣+C.

Since x2+9x^2+9x2+9 is always positive,

12ln⁡(x2+9)+C. \boxed{\frac12\ln(x^2+9)+C}. 21​ln(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+1​dx.

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=21​du.

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)21​du.

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​(52​u5/2−32​u3/2)+C=51​u5/2−31​u3/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. ∫02​x(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=21​du.

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​∫15​u3du.

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=x​

gives

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+x​1​dx.

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+x​1​dx=∫1+u2u​du.

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 ∫xu3du

is 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\frac13du31​du. 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. ∫u1​du=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)2x3​dx.

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=21​du,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)2x3​dx=21​∫12​u2u−1​du.

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[ln⁡u+1u]12. \frac12\left[\ln u+\frac1u\right]_1^2. 21​[lnu+u1​]12​.

Hence

12(ln⁡2+12−1)=12ln⁡2−14. \frac12\left(\ln2+\frac12-1\right) =\boxed{\frac12\ln2-\frac14}. 21​(ln2+21​−1)=21​ln2−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+43x2​dx.

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. ∫01​xex2dx.

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=21​du.

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=21​du. 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.

Sources and referenced URLs

  • https://www.mathsgenie.co.uk/a-level.html
  • https://www.mathsgenie.co.uk/blog/gcse-maths-topics-by-exam-board-and-tier
  • Integration by Substitution A-Level Maths Guide
  • What is integration by substitution?
  • The integration by substitution method
  • How to choose a suitable substitution
  • Integration by substitution worked examples
  • Definite integration by substitution
  • Substitutions involving roots
  • Common mistakes in integration by substitution
  • Exam technique for substitution questions
  • Integration by substitution exam question
  • Four more exam-style practice questions
  • Conclusion
  • Sources and referenced URLs

Frequently Asked Questions

How helpful was this article?
Add as a preferred source on Google

More from the blog

20 Nov 2026

Sequences and the Nth Term GCSE Maths Guide

Learn sequences and the nth term for GCSE Maths with step-by-step methods, worked examples, common mistakes, exam-style questions and clear answers.

20 Nov 2026

Marks Needed for Grade 4 AQA GCSE Maths

Find the marks needed for grade 4 in AQA GCSE Maths Foundation, why grade boundaries change, and which topics to revise to reach grade 4.

20 Nov 2026

Marks Needed for Grade 9 AQA GCSE Maths

Understand the marks needed for grade 9 AQA GCSE Maths, how Higher-tier boundaries work, and how to use topic revision and past papers to improve your scores.

20 Nov 2026

Marks Needed for Grade 5 Edexcel GCSE Maths

Find the marks needed for grade 5 in Edexcel GCSE Maths Foundation, understand changing grade boundaries, and plan focused revision with practical exam advice.

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Literary Hub
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Maths Genie on Google Play
  • Careers
  • Contact
  • For educators
  • For parents
  • Student ambassadors
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.