Skip to main content

Integration by substitution (SACE Stage 2 Specialist Mathematics)

Syllabus dot point

“Evaluate integrals using the method of substitution, including changing the limits for definite integrals.”

8 min read

Quick answer

Substitution reverses the chain rule. Choose u=g(x)u = g(x) so that its derivative also appears in the integrand, then replace dxdx using du=g′(x) dxdu = g'(x)\,dx. The integral becomes one in uu that you can do directly. For a definite integral, either convert the limits to uu-values, or convert back to xx before substituting the original limits.

Jump to a section
  1. What this dot point is asking
  2. The method
  3. A worked indefinite integral
  4. Why substitution works
  5. Handling a constant factor
  6. Definite integrals: change the limits
  7. Trigonometric substitutions
  8. Exam-style questions

What this dot point is asking

You need to evaluate integrals by substitution, including correctly handling the limits of definite integrals.

The method

If u=g(x)u = g(x) then dudx=g′(x)\dfrac{du}{dx} = g'(x), so du=g′(x) dxdu = g'(x)\,dx. The substitution rule is

∫f(g(x)) g′(x) dx=∫f(u) du.\int f(g(x))\,g'(x)\,dx = \int f(u)\,du.

The aim is to pick uu so the integrand turns into f(u) duf(u)\,du with no xx left over. Look for a function whose derivative (up to a constant factor) is also in the integrand.

Choosing the substitution

A good uu is usually the "inside" of a composite function, or whatever sits under a root, inside a power, or in an exponent - provided its derivative appears (possibly times a constant) elsewhere in the integrand. After substituting, the integral must contain only uu and dudu.

A worked indefinite integral

Substitution for an indefinite integral

Find ∫2xx2+1 dx\displaystyle\int 2x\sqrt{x^{2} + 1}\,dx

Step 1: Choose uu, compute dudu, and note it matches the integrand

The expression inside the square root, x2+1x^2 + 1, is the natural candidate for uu because its derivative 2x2x appears as the other factor in the integrand. Set u=x2+1u = x^2 + 1, so dudx=2x\dfrac{du}{dx} = 2x and du=2x dxdu = 2x\,dx. The 2x dx2x\,dx in the integrand is exactly dudu, so the match is perfect with no extra constant needed.

Step 2: Substitute and integrate in terms of uu

Replacing x2+1\sqrt{x^2 + 1} with u\sqrt{u} and 2x dx2x\,dx with dudu converts the integral into a standard power rule.

∫2xx2+1 dx=∫u du=∫u1/2 du=23u3/2+C.\int 2x\sqrt{x^2 + 1}\,dx = \int \sqrt{u}\,du = \int u^{1/2}\,du = \frac{2}{3}u^{3/2} + C.

Step 3: Substitute back to express the answer in terms of xx

Replace uu with x2+1x^2 + 1 to return to the original variable.

=23(x2+1)3/2+C.= \frac{2}{3}(x^2 + 1)^{3/2} + C.

Why substitution works

Substitution is the chain rule run in reverse. When you differentiate F(g(x))F(g(x)) the chain rule produces F′(g(x))g′(x)F'(g(x))g'(x), so any integrand of that shape antidifferentiates back to F(g(x))F(g(x)). Setting u=g(x)u = g(x) simply renames the inside function so the integral looks like the standard ∫F′(u) du\int F'(u)\,du. This is why the search for a good substitution is really a search for an inside function whose derivative is already present, up to a constant, in the integrand. If you can spot that pairing, the substitution is guaranteed to collapse the integral.

Handling a constant factor

Often dudu differs from the integrand by a constant. Solve for dxdx and carry the constant through.

For ∫xex2 dx\displaystyle\int x e^{x^2}\,dx, let u=x2u = x^2, so du=2x dxdu = 2x\,dx, hence x dx=12dux\,dx = \tfrac{1}{2}du:

∫xex2 dx=∫eu⋅12 du=12eu+C=12ex2+C.\int x e^{x^2}\,dx = \int e^{u}\cdot\tfrac{1}{2}\,du = \tfrac{1}{2}e^{u} + C = \tfrac{1}{2}e^{x^2} + C.

Definite integrals: change the limits

For a definite integral, the cleanest approach changes the limits to uu-values so you never convert back.

Definite integral by substitution

Evaluate ∫02x(x2+1)3 dx\displaystyle\int_{0}^{2} x(x^{2} + 1)^{3}\,dx

Step 1: Choose uu, compute dudu, and solve for x dxx\,dx

The inner function (x2+1)(x^2 + 1) is the natural substitution. Set u=x2+1u = x^2 + 1, so du=2x dxdu = 2x\,dx, which gives x dx=12dux\,dx = \tfrac{1}{2}du. The factor x dxx\,dx appears in the integrand, so the substitution removes all xx from the integral.

Step 2: Change the limits to uu-values

Converting the limits avoids the need to substitute back at the end, making the definite integral cleaner to evaluate. When x=0x = 0, u=02+1=1u = 0^2 + 1 = 1; when x=2x = 2, u=22+1=5u = 2^2 + 1 = 5.

Step 3: Substitute and evaluate the integral in uu

The integral becomes a straightforward power rule, evaluated between the new limits.

∫02x(x2+1)3 dx=∫15u3⋅12 du=12[u44]15=18(54−14).\int_{0}^{2} x(x^2+1)^3\,dx = \int_{1}^{5} u^{3}\cdot\tfrac{1}{2}\,du = \frac{1}{2}\left[\frac{u^{4}}{4}\right]_{1}^{5} = \frac{1}{8}\left(5^4 - 1^4\right).

Now 54=6255^4 = 625, so

=18(625−1)=6248=78.= \frac{1}{8}(625 - 1) = \frac{624}{8} = 78.

Verify by differentiating

For an indefinite integral you can always check your answer by differentiating it - the chain rule should return the original integrand. This catches missing constant factors immediately.

Trigonometric substitutions

A frequent SACE pattern uses a trigonometric inside function. To integrate something like ∫sin⁡3x dx\int \sin^3 x\,dx, first rewrite using an identity such as sin⁡3x=sin⁡x(1−cos⁡2x)\sin^3 x = \sin x(1 - \cos^2 x), then substitute u=cos⁡xu = \cos x so that du=−sin⁡x dxdu = -\sin x\,dx. The leftover sin⁡x dx\sin x\,dx becomes −du-du, and the integral turns into a simple polynomial in uu. The general lesson is that an odd power of sine or cosine can always be split so that one factor pairs with dxdx to form the differential of the other function. Recognising this pairing is the key skill the technique tests.

Common errors
Forgetting to change dxdx to dudu
You must replace dxdx entirely; leaving a stray dxdx or xx after substituting means the substitution was not completed correctly.
Not changing the limits for a definite integral
If you switch to uu but keep the original xx-limits, the answer is wrong. Either convert the limits to uu, or convert the antiderivative back to xx first.
Mishandling the constant factor
When du=k dxdu = k\,dx, you must divide by kk; dropping this factor scales the whole answer.
Choosing a uu whose derivative is absent
If g′(x)g'(x) does not appear (even up to a constant) in the integrand, the substitution will not simplify it - try a different method.

Exam-style questions

Questions in the style of SACE Board exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

SACE 2023-style3 marks
Calculator-free. Given that sin⁡3x=sin⁡x−sin⁡xcos⁡2x\sin^3 x = \sin x - \sin x\cos^2 x, show that ∫0π/3sin⁡3x dx=524\displaystyle\int_0^{\pi/3} \sin^3 x\,dx = \dfrac{5}{24}.
Show worked answer →

Rewrite using the identity: ∫0π/3(sin⁡x−sin⁡xcos⁡2x) dx\int_0^{\pi/3} (\sin x - \sin x\cos^2 x)\,dx.

Let u=cos⁡xu = \cos x, so du=−sin⁡x dxdu = -\sin x\,dx, i.e. sin⁡x dx=−du\sin x\,dx = -du. Change limits: x=0⇒u=1x = 0 \Rightarrow u = 1; x=π3⇒u=12x = \tfrac{\pi}{3} \Rightarrow u = \tfrac{1}{2}. [1 mark]

The antiderivative is −cos⁡x+cos⁡3x3-\cos x + \dfrac{\cos^3 x}{3} (since ∫sin⁡xcos⁡2x dx=∫−u2 du=−u33\int \sin x\cos^2 x\,dx = \int -u^2\,du = -\tfrac{u^3}{3}). [1 mark]

Evaluate: at x=π3x = \tfrac{\pi}{3}, −12+124=−1124-\tfrac{1}{2} + \tfrac{1}{24} = -\tfrac{11}{24}; at x=0x = 0, −1+13=−1624-1 + \tfrac{1}{3} = -\tfrac{16}{24}. Difference =−1124+1624=524= -\tfrac{11}{24} + \tfrac{16}{24} = \tfrac{5}{24}, as required. [1 mark]

SACE 2022-style3 marks
Calculator-free. Evaluate ∫02x(x2+1)3 dx\displaystyle\int_0^2 x(x^2 + 1)^3\,dx using a substitution.
Show worked answer →

Let u=x2+1u = x^2 + 1, so du=2x dxdu = 2x\,dx and x dx=12dux\,dx = \tfrac{1}{2}du. Change limits: x=0⇒u=1x = 0 \Rightarrow u = 1; x=2⇒u=5x = 2 \Rightarrow u = 5.

∫02x(x2+1)3 dx=∫15u3⋅12 du=12[u44]15=18(625−1)=78.\int_0^2 x(x^2+1)^3\,dx = \int_1^5 u^3\cdot\tfrac{1}{2}\,du = \frac{1}{2}\Big[\frac{u^4}{4}\Big]_1^5 = \frac{1}{8}(625 - 1) = 78.

Marks: one for the substitution and limit change, one for the antiderivative, one for the value 7878.

SACE 2021-style2 marks
Calculator-free. Find ∫xex2 dx\displaystyle\int x e^{x^2}\,dx.
Show worked answer →

Let u=x2u = x^2, so du=2x dxdu = 2x\,dx and x dx=12dux\,dx = \tfrac{1}{2}du:

∫xex2 dx=∫eu⋅12 du=12eu+C=12ex2+C.\int x e^{x^2}\,dx = \int e^u\cdot\tfrac{1}{2}\,du = \tfrac{1}{2}e^u + C = \tfrac{1}{2}e^{x^2} + C.

Marks: one for the substitution with the constant factor, one for the answer including +C+C.

Practise this

Sources & how we know this

ExamExplained