H5PureStretch

Integration by Substitution

Something like ∫2x(x2+1)5 dx\int 2x(x^2+1)^5\,dx has no obvious antiderivative from the power rule alone — it is a composite function in disguise. Substitution reverses the chain rule, replacing a complicated expression with a single new variable to make the integral solvable.

36 min Video by TLMaths Integration

The big picture

Just as the chain rule differentiates a function nested inside another, integration by substitution reverses that exact process. By spotting a function AND its own derivative sitting together inside the integral, you can rename the inner function uu and rewrite the entire integral purely in terms of uu — usually collapsing it down to a simple power-rule integral. Recognising when a substitution will work (and choosing the right one) is the key skill.

A-Level Maths H5-12: Further Integration: Introducing Integration by SubstitutionCurated by Kepler, not produced by us. Watch it, then work through the notes below.
Open on YouTube

What you'll be able to do

  • Recognise integrals that can be simplified using substitution
  • Choose an appropriate substitution u=g(x)u=g(x) and rewrite dxdx in terms of dudu
  • Integrate fully in terms of uu, then substitute back
  • Apply substitution to definite integrals, changing the limits
1

Spotting a substitution

Substitution works well when the integral contains a function AND something proportional to its derivative multiplied alongside it — a strong hint that the chain rule was used to build the original expression.

Example 1Integrate ∫2x(x2+1)5 dx\int 2x(x^2+1)^5\,dx using substitution.
1Let u=x2+1u=x^2+1 (the "inner" function), so dudx=2x\dfrac{du}{dx}=2x, meaning du=2x dxdu=2x\,dx.
2Notice the integral already contains 2x dx2x\,dx exactly — replace it directly with dudu: ∫u5 du\int u^5\,du.
3Integrate using the power rule: u66+c\dfrac{u^6}{6}+c.
4Substitute back u=x2+1u=x^2+1.
Answer
(x2+1)66+c\dfrac{(x^2+1)^6}{6}+c

Tip — A good candidate for uu is usually the expression INSIDE a bracket, root, or other composite structure — the part being "raised to a power" or "square-rooted", etc.

2

When du does not appear exactly

Often the exact multiple of the derivative is not sitting in the integral — you may need to rearrange to introduce a constant multiple, since constants can always be moved in and out of an integral freely.

Example 1Integrate ∫x(x2+3)4 dx\int x(x^2+3)^4\,dx.
1Let u=x2+3u=x^2+3, so du=2x dxdu=2x\,dx, meaning x dx=12 dux\,dx=\dfrac12\,du.
2Rewrite: ∫u4×12 du=12∫u4 du\int u^4\times\dfrac12\,du = \dfrac12\int u^4\,du.
3Integrate: 12×u55=u510\dfrac12\times\dfrac{u^5}{5}=\dfrac{u^5}{10}.
4Substitute back.
Answer
(x2+3)510+c\dfrac{(x^2+3)^5}{10}+c
Why this works

The missing factor of 12\tfrac12 came directly from solving du=2x dxdu=2x\,dx for x dxx\,dx — always solve explicitly for whatever appears in the original integral (here, x dxx\,dx), not just for dudu itself.

3

Substitution in definite integrals

For a definite integral, you can either substitute back to xx before evaluating, OR — often faster — convert the LIMITS themselves into uu-values using the substitution, and evaluate directly in terms of uu without ever substituting back.

Example 1Evaluate ∫02x(x2+1)3 dx\int_0^2 x(x^2+1)^3\,dx using substitution, converting the limits.
1Let u=x2+1u=x^2+1, du=2x dxdu=2x\,dx, so x dx=12dux\,dx=\tfrac12du.
2Convert limits: when x=0x=0, u=1u=1; when x=2x=2, u=5u=5.
3Rewrite: ∫15u3×12 du=12[u44]15=18[u4]15\int_1^5 u^3\times\tfrac12\,du = \tfrac12\left[\dfrac{u^4}{4}\right]_1^5 = \tfrac18\big[u^4\big]_1^5.
4Evaluate: 18(625−1)=18(624)\tfrac18(625-1)=\tfrac18(624).
Answer
7878

Tip — Converting the limits to uu-values avoids ever having to substitute back to xx — a real time-saver in definite integral questions.

Think like an examiner

  • Choose uu to be the "inner" function of the composite expression, then find dudx\dfrac{du}{dx} and rearrange to match what appears in the original integral.
  • If the exact derivative is not present, look for a constant multiple — constants can always be pulled outside the integral sign.
  • For definite integrals, converting the limits into uu-values (rather than substituting back to xx at the end) is usually the more efficient method.

Common misconceptions

Forgetting to rewrite dxdx in terms of dudu entirely (leaving a stray xx in the integral).
Every instance of xx (and dxdx) must be replaced — if a stray xx remains after substitution, either the substitution is wrong or an extra step (solving for xx) is needed.
Using the original x-limits after converting to a u-integral.
If you convert the limits to uu-values, you must evaluate the uu-integral using those NEW limits, not the original xx-limits.
Forgetting to substitute back to x at the very end of an indefinite integral.
Unless you have converted the limits (only possible for definite integrals), your final indefinite-integral answer must be expressed back in terms of the original variable xx.

Integration by substitution

u=g(x),du=g′(x) dxu = g(x), \quad du = g^{\prime}(x)\,dx
Define the substitution and its differential.
∫f(g(x))g′(x) dx=∫f(u) du\int f(g(x))g^{\prime}(x)\,dx = \int f(u)\,du
The substitution transforms the integral.

Stretch yourself

Use substitution to evaluate ∫12x(x2+1)2 dx\int_1^2 \dfrac{x}{(x^2+1)^2}\,dx, giving your answer as an exact fraction.

Hint — Let u=x2+1u=x^2+1, rewrite x dxx\,dx in terms of dudu, convert the limits, then integrate u−2u^{-2}.

Reveal solution
SolutionLet u=x2+1u=x^2+1, so du=2x dxdu=2x\,dx, meaning x dx=12dux\,dx=\tfrac12du. Limits: x=1⇒u=2x=1\Rightarrow u=2; x=2⇒u=5x=2\Rightarrow u=5. Rewrite: ∫25u−2×12 du=12[−u−1]25=12(−15+12)=12×310=320\int_2^5 u^{-2}\times\tfrac12\,du=\tfrac12\left[-u^{-1}\right]_2^5=\tfrac12\left(-\tfrac15+\tfrac12\right)=\tfrac12\times\tfrac{3}{10}=\tfrac{3}{20}. ■\blacksquare

Questions students ask

How do I know when to use substitution?
Look for a composite function (something raised to a power, inside a root, etc.) multiplied by an expression that matches (or is a constant multiple of) the derivative of the "inner" part.
What if I cannot find the exact derivative in the integral?
Check for a constant multiple — you can always adjust by a constant factor, since constants move freely in and out of an integral. If a variable (non-constant) mismatch remains, substitution may not be the right technique.
Do I always need to substitute back to x?
For an indefinite integral, yes. For a definite integral, you can instead convert the limits into uu-values and evaluate the whole thing in terms of uu, skipping the substitute-back step entirely.

Key takeaways

  • Substitution reverses the chain rule: let uu be the inner function, rewrite dxdx using dudu.
  • A constant multiple can always be introduced or removed to match what is in the integral.
  • For definite integrals, converting the limits to u-values avoids substituting back to x.
  • Always check every x has been replaced before integrating in terms of u.

How this fits the course

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. For ∫2x(x2+5)3 dx\int 2x(x^2+5)^3\,dx, the best substitution is:

    • u=x2+5u=x^2+5
    • u=2xu=2x
    • u=x3u=x^3
    • u=5u=5
    Show answer and explanation

    Answer: u=x2+5u=x^2+5

    The inner function of the composite expression.

  2. If u=x2+1u=x^2+1, then dudu equals:

    • 2x dx2x\,dx
    • x dxx\,dx
    • 2 dx2\,dx
    • x2 dxx^2\,dx
    Show answer and explanation

    Answer: 2x dx2x\,dx

    Differentiate uu with respect to xx.

  3. For definite integrals with substitution, the most efficient approach is to:

    • Convert the limits to u-values
    • Always substitute back to x first
    • Ignore the limits entirely
    • Double the final answer
    Show answer and explanation

    Answer: Convert the limits to u-values

    This avoids substituting back to x at the end.

  4. ∫x(x2+2)3 dx\int x(x^2+2)^3\,dx using u=x2+2u=x^2+2 requires which extra factor?

    • 12\tfrac12
    • 22
    • 13\tfrac13
    • No extra factor needed
    Show answer and explanation

    Answer: 12\tfrac12

    du=2x dxdu=2x\,dx, so x dx=12dux\,dx=\tfrac12du.

  5. Substitution is essentially reversing which differentiation rule?

    • The chain rule
    • The product rule
    • The quotient rule
    • The power rule alone
    Show answer and explanation

    Answer: The chain rule

    It undoes composite-function differentiation.

Finished this lesson?

Loading your progress…

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 13 lessons

Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.