Integration by Substitution (AA HL)

Integration by substitution replaces an expression in xx with a new variable uu, turning an integral of the form ∫kg′(x)f(g(x))dx\int kg'(x)f(g(x))\,dx into a simpler one in uu. Choose u=g(x)u=g(x), replace dxdx using dudx\dfrac{du}{dx}, integrate, then return to xx or use new limits. It also covers substitutions that are given in the question. It's part of the broader Integration topic.

18 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL5.10Indefinite integral of xnx^n (n≠−1n\neq-1), sin⁡x\sin x, cos⁡x\cos x, exe^x and 1x\dfrac1x. The composites of any of these with the linear function ax+bax+b. Integration by inspection (reverse chain rule) or by substitution for expressions of the form ∫kg′(x)f(g(x))dx.\int kg'(x)f(g(x))\,dx.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

The technique

Neither approach has a formula-booklet entry - both are techniques you apply, not results you look up.

Integration by substitution

Replace part of the integrand with a new variable uu to turn an awkward integral into a standard one. On the exam, a substitution is provided unless the integral is already of the reverse-chain-rule form.

Not a listed formula - technique

Reverse chain rule (by inspection)

When g′(x)g'(x) is already sitting next to f(g(x))f(g(x)), you can often integrate directly without formally introducing uu - useful for quicker questions like ∫2x(x2+1)4dx.\int 2x(x^2+1)^4\,dx.

Not a listed formula - technique

Need the full syllabus wording and formula-booklet reference table? See Integration.

Key terms

How do you choose the substitution uu?

Choose uu as the inner function whose derivative, apart from a constant, also appears in the integrand. If the question gives a substitution, use that one.

e.g. In ∫3x2cos⁡(x3)dx\int 3x^2\cos(x^3)\,dx, take u=x3u=x^3, since dudx=3x2\dfrac{du}{dx}=3x^2. The integral becomes ∫cos⁡udu=sin⁡(x3)+C\int\cos u\,du=\sin(x^3)+C.

How do you replace dxdx?

Differentiate u=g(x)u=g(x) to get dudx=g′(x)\dfrac{du}{dx}=g'(x), so du=g′(x)dxdu=g'(x)\,dx. Rearrange this to replace dxdx or a multiple of it.

e.g. If u=x2+3u=x^2+3, then dudx=2x\dfrac{du}{dx}=2x, so xdx=12dux\,dx=\tfrac12\,du.

How do you convert limits to uu-values?

Substitute each xx-limit into u=g(x)u=g(x) and use the results as the new limits. Then there is no need to return to xx.

e.g. For u=x2+1u=x^2+1, the limits x=0x=0 and x=2x=2 become u=1u=1 and u=5u=5.

What does the form ∫kg′(x)f(g(x))dx\int kg'(x)f(g(x))\,dx look like?

The integrand is a function of g(x)g(x) multiplied by the derivative of g(x)g(x), possibly times a constant kk. Spotting this means substitution, or inspection, will work.

e.g. In ∫4xex2dx\int 4xe^{x^2}\,dx, g(x)=x2g(x)=x^2 and g′(x)=2xg'(x)=2x, so the integrand is 2g′(x)eg(x)2g'(x)e^{g(x)} with k=2k=2, and the integral is 2ex2+C2e^{x^2}+C.

Worked examples

1
Medium
No calc
[3 marks]

Find ∫2x(x2+1)4dx.\displaystyle\int 2x(x^2+1)^4\,dx.

Worked solution

u=x2+1, du=2xdx.u = x^2+1,\ du = 2x\,dx. M1
∫u4du=u55+C.\int u^4\,du = \dfrac{u^5}{5} + C. A1
(x2+1)55+C.\dfrac{(x^2+1)^5}{5} + C. A1

M1 Substitution A1 Correct integration giving u55+C\dfrac{u^5}{5}+C A1 Correct answer of (x2+1)55+C\frac{(x^2+1)^5}{5}+C
2
Hard
GDC
[4 marks]

Evaluate ∫02xx2+1dx.\displaystyle\int_0^2 \dfrac{x}{x^2+1}\,dx.

Worked solution

u=x2+1, du=2xdxu = x^2+1,\ du = 2x\,dx: 12∫1udu.\dfrac12\int \dfrac{1}{u}\,du. M1
12∫1udu=12ln⁡u.\dfrac12\int \dfrac{1}{u}\,du = \dfrac12\ln u. A1
x=0⇒u=1, x=2⇒u=5x=0\Rightarrow u=1,\ x=2\Rightarrow u=5: 12[ln⁡u]15\dfrac12[\ln u]_1^5 M1 =12ln⁡5≈0.805.= \dfrac12\ln 5 \approx 0.805. A1On the GDC. Find the definite integral of x/(x2+1)x/(x^{2}+1) from x=0x=0 to x=2x=2. The calculator shows about 0.80471895621705.

TI-84 Plus CE: math 9 function x/(x^2+1) lower 0 upper 2 enterCasio fx-CG50: MENU 1 OPTN F4 F4 function x/(x^2+1) lower 0 upper 2 EXECasio fx-CG100: HOME Calculate CATALOG Function Analysis Integration type x/(x^2+1),0,2) EXETI-Nspire CX: menu Calculus Numeric Integral function x/(x^2+1) lower 0 upper 2 variable x enterFull GDC guide: Definite integral Topic page

M1 Substitution by inspection A1 Antiderivative M1 Substitute limits A1 Correct answer of ≈0.805\approx0.805
3
Hard
No calc
[5 marks]

Use the substitution u=2x+3u = 2x + 3 to find ∫x(2x+3)4dx.\displaystyle\int x(2x+3)^4\,dx.

Worked solution

Let u=2x+3,u = 2x + 3, so x=u−32x = \dfrac{u-3}{2} and du=2dx,du = 2\,dx, i.e. dxdx M1
dx=12du.dx = \dfrac{1}{2}\,du. A1
Substituting gives
∫x(2x+3)4dx=∫u−32⋅u4⋅12du=14∫(u5−3u4)du.\int x(2x+3)^4\,dx = \int \dfrac{u-3}{2}\cdot u^4 \cdot \dfrac{1}{2}\,du = \dfrac{1}{4}\int (u^5 - 3u^4)\,du. M1
Integrating term by term,
Result: 14(u66−3u55)+C=u624−3u520+C.\dfrac{1}{4}\left(\dfrac{u^6}{6} - \dfrac{3u^5}{5}\right) + C = \dfrac{u^6}{24} - \dfrac{3u^5}{20} + C. A1
Now
back-substitute u=2x+3.u = 2x+3. A1

M1 Substitution A1 Express x M1 Transform A1 Integrating 14(u5−3u4)\tfrac14(u^5-3u^4) with respect to uu A1 Back-substitute

Common mistakes

  • Forgetting to convert dxdx into dudu. Substituting uu for part of the expression but leaving dxdx untouched breaks the integral - every xx and dxdx in the original expression needs to be replaced in terms of uu and dudu.
  • Not changing the limits on a definite integral. When you substitute u=g(x)u=g(x) in a definite integral, the limits must be converted to uu-values too, rather than integrating in uu and switching back to the original xx-limits at the end.
  • Reaching for a full substitution when inspection would do. If g′(x)g'(x) is already sitting next to f(g(x))f(g(x)), such as 2x(x2+1)42x(x^2+1)^4, you can often integrate directly by the reverse chain rule - writing out a full substitution just adds unnecessary steps.

Quick questions

When should I use substitution instead of the reverse chain rule?

Use substitution when the reverse chain rule isn't obvious by inspection, especially on unfamiliar or messy integrands - it turns the awkward expression into a standard integral in a new variable uu.

Do I need to change the limits when substituting in a definite integral?

Yes - once you substitute uu for an expression in xx, the limits of integration must be converted into uu-values too, rather than converting back to xx at the end.

What if the substitution leaves an x in the integral?

Rewrite the remaining xx in terms of uu using the substitution. For ∫x(x+1)3dx\int x(x+1)^3\,dx with u=x+1u=x+1, x=u−1x=u-1 and dx=dudx=du, so the integral is ∫(u−1)u3du=u55−u44+C\int(u-1)u^3\,du=\dfrac{u^5}{5}-\dfrac{u^4}{4}+C.

How can I check an answer from substitution?

Differentiate the result using the chain rule, and it should return the original integrand. For example, ddxsin⁡(x3)=3x2cos⁡(x3)\dfrac{d}{dx}\sin(x^3)=3x^2\cos(x^3).

What do I do if the substitution is given in the question?

Use it exactly as given. Differentiate it to find dudx\dfrac{du}{dx}, replace dxdx and every xx term, and change the limits if the integral is definite.

Ready to practise properly?

18 integration-by-substitution questions, marked instantly like the real exam.