Skip to main content
ExamExplained
NSW · Maths Extension 1
Maths Extension 1 study scene
§-Syllabus dot point
NSWMaths Extension 1Syllabus dot point

How do we use the substitution method to evaluate integrals that arise from the reverse chain rule?

Apply integration by substitution to evaluate definite and indefinite integrals, including reverse chain rule cases

A focused answer to the HSC Maths Extension 1 dot point on integration by substitution. Choosing the right substitution, transforming the integrand and differential, changing limits for definite integrals, and standard reverse chain rule patterns, with worked examples.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to evaluate integrals where the integrand is a composition or contains a factor that is (almost) the derivative of another factor, by choosing a substitution u=g(x)u = g(x) that undoes the chain rule. You should be fluent both with the rote mechanics and with recognising the patterns that signal a substitution is appropriate.

The reason substitution works is that integration is differentiation run backwards, and the chain rule is the differentiation rule for compositions. So when an integrand looks like "a function of something, times the derivative of that something", a substitution collapses it back to the simple integral it came from. Seeing that structure quickly is what separates a fast, clean solution from a stuck one.

The answer

The general method

For an integral f(g(x))g(x)dx\int f(g(x)) g'(x) \, dx:

  1. Identify the inner function g(x)g(x) and let u=g(x)u = g(x).
  2. Compute du=g(x)dxdu = g'(x) \, dx.
  3. Rewrite the integral entirely in terms of uu: f(u)du\int f(u) \, du. Nothing in xx may remain.
  4. Evaluate the integral in uu.
  5. For an indefinite integral, substitute back to xx. For a definite integral, either substitute back and use the original limits, or change the limits to uu-values and skip the back-substitution.

Choosing a good uu

Look for one of these patterns in the integrand:

  • A function inside another function ((x2+1)5(x^2 + 1)^5, x+4\sqrt{x + 4}, ex3e^{x^3}). Set uu equal to the inner.
  • A function and its derivative appearing as a product. Set uu equal to the function whose derivative is present.
  • A linear inside argument: sin(2x+1)\sin(2 x + 1), e3x5e^{3 x - 5}. Substitute, or use the linear-argument shortcut.

The quick test: after substituting, does every xx disappear? If a stray xx survives that you cannot express through uu, the choice was wrong - try a different inner function.

Changing limits, stage by stage

The mechanics that students most often slip on is the definite integral: choosing uu, transforming the differential, and changing the limits in step. The figures below walk through the 2022 HSC integral 01xx2+3dx\displaystyle\int_0^1 x\sqrt{x^2+3}\,dx to show how the substitution moves the whole problem from xx-space to uu-space while preserving the area.

Stage 1, the integral in xx. The integral is the area under y=xx2+3y = x\sqrt{x^2+3} from x=0x = 0 to x=1x = 1. We will not compute this area directly; we will transform it.

Stage 1: the integral in xThe area under the curve y equals x times the square root of x squared plus three, between x equals 0 and x equals 1, is the integral we want to evaluate.xyx = 0x = 1y = x√(x² + 3)area = ∫ x√(x²+3) dx1

Stage 2, choose the substitution. The inner function is x2+3x^2 + 3, and the spare factor xx is (up to a constant) its derivative. Let u=x2+3u = x^2 + 3; then dudx=2x\dfrac{du}{dx} = 2x, so xdx=12dux\,dx = \tfrac12\,du. That is exactly the leftover piece of the integrand, which is the sign of a good choice.

Stage 2: choose the substitutionLet u equal the inner function x squared plus three. Then du by dx is two x, so x dx equals one half du, which matches the spare factor of x in the integrand.u = x² + 3differentiatedu = 2x dx ⇒ x dx = ½ du2

Stage 3, change the limits. Because the variable has changed, the limits must change with it: feed each xx-limit through u=x2+3u = x^2 + 3. So x=0x = 0 gives u=3u = 3, and x=1x = 1 gives u=4u = 4. The integral now runs from u=3u = 3 to u=4u = 4.

Stage 3: change the limitsThe x limits 0 and 1 are converted to u limits using u equals x squared plus three: x equals 0 gives u equals 3, and x equals 1 gives u equals 4.xx = 0x = 1uu = 3u = 4u = x² + 33

Stage 4, the integral in uu. Replacing xx2+3dxx\sqrt{x^2+3}\,dx with u12du\sqrt{u}\cdot\tfrac12\,du turns the problem into 1234udu\tfrac12\displaystyle\int_3^4 \sqrt{u}\,du, a one-line power integral. The shaded area is identical to the one in Stage 1, so no back-substitution to xx is needed - the uu-limits already carry the right interval. Evaluating gives 13(43/233/2)=13(833)\tfrac13\big(4^{3/2} - 3^{3/2}\big) = \tfrac13(8 - 3\sqrt 3).

Stage 4: the same area as an integral in uAfter substituting, the integral becomes one half times the integral of the square root of u from u equals 3 to u equals 4. The shaded area equals the original area; no back-substitution is needed.uyu = 3u = 4y = ½√uarea = ½∫√u du4

Linear inside argument

For f(ax+b)dx\int f(a x + b) \, dx, the shortcut is f(ax+b)dx=1aF(ax+b)+C\int f(a x + b) \, dx = \frac{1}{a} F(a x + b) + C, where FF is the antiderivative of ff.

For example, cos(3x+2)dx=13sin(3x+2)+C\int \cos(3 x + 2) \, dx = \frac{1}{3} \sin(3 x + 2) + C. The 1a\frac{1}{a} is the substitution u=ax+bu = ax + b done in your head; the constant slope means du=adxdu = a\,dx contributes a single factor.

Reverse chain rule patterns

Memorise these common patterns; recognising them on sight saves setting up a full substitution:

f(x)f(x)dx=lnf(x)+C,\int \frac{f'(x)}{f(x)} \, dx = \ln |f(x)| + C,

f(x)ef(x)dx=ef(x)+C,\int f'(x) e^{f(x)} \, dx = e^{f(x)} + C,

f(x)[f(x)]ndx=[f(x)]n+1n+1+C(n1),\int f'(x) [f(x)]^n \, dx = \frac{[f(x)]^{n + 1}}{n + 1} + C \quad (n \neq -1),

f(x)cosf(x)dx=sinf(x)+C,\int f'(x) \cos f(x) \, dx = \sin f(x) + C,

f(x)sinf(x)dx=cosf(x)+C.\int f'(x) \sin f(x) \, dx = -\cos f(x) + C.

When the substitution leaves a stray xx

Sometimes the natural substitution does not clear every xx at once. For x1xdx\int x\sqrt{1-x}\,dx, choosing u=1xu = 1 - x handles the root but leaves an xx; the trick is that u=1xu = 1-x also gives x=1ux = 1 - u, so the stray xx is itself expressible in uu. Rearranging the substitution to express the leftover factor is a standard Extension 1 move, shown in the worked examples below.

How exam questions ask about integration by substitution

  • "Use the substitution u=u = \ldots to evaluate ..." The substitution is handed to you; show dudu, the transformed integrand, the limit change (if definite), and a clean exact answer.
  • "Evaluate \int \ldots" (no substitution named). You must spot the structure yourself. Look for an inner function whose derivative is present as a factor.
  • "Find f(x)f(x)dx\int \frac{f'(x)}{f(x)}\,dx"-shaped integrands. Recognise the log pattern; the answer is lnf(x)+C\ln|f(x)| + C.
  • "Hence find the exact value ..." Definite integral: change limits to uu-values, integrate, evaluate. "Exact" means leave surds, ee, ln\ln and π\pi in - no decimals.
  • A square root times a linear factor. Substitute u=u = the inside of the root and re-express the stray factor through uu.
  • A linear inside a standard function (sin(2x+1)\sin(2x+1), e3xe^{3x}). Use the 1a\frac{1}{a} shortcut.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2022 HSC Q153 marksUse the substitution u=x2+3u = x^2 + 3 to evaluate 01xx2+3dx\int_0^1 x \sqrt{x^2 + 3} \, dx.
Show worked answer →

With u=x2+3u = x^2 + 3, dudx=2x\frac{du}{dx} = 2 x, so xdx=12dux \, dx = \frac{1}{2} du.

Change limits: x=0    u=3x = 0 \implies u = 3; x=1    u=4x = 1 \implies u = 4.

01xx2+3dx=34u12du=1234u1/2du=1223[u3/2]34=13(43/233/2)\int_0^1 x \sqrt{x^2 + 3} \, dx = \int_3^4 \sqrt{u} \cdot \frac{1}{2} \, du = \frac{1}{2} \int_3^4 u^{1/2} \, du = \frac{1}{2} \cdot \frac{2}{3} [u^{3/2}]_3^4 = \frac{1}{3} (4^{3/2} - 3^{3/2}).

=13(833)= \frac{1}{3} (8 - 3 \sqrt{3}).

Markers reward the substitution statement, the differential transformation, the limit change, and a clean exact answer.

2021 HSC Q184 marksUse the substitution u=sinxu = \sin x to evaluate 0π/2sin3xcosxdx\int_0^{\pi/2} \sin^3 x \cos x \, dx.
Show worked answer →

u=sinx    du=cosxdxu = \sin x \implies du = \cos x \, dx.

Limits: x=0    u=0x = 0 \implies u = 0; x=π2    u=1x = \frac{\pi}{2} \implies u = 1.

0π/2sin3xcosxdx=01u3du=[u44]01=14\int_0^{\pi/2} \sin^3 x \cos x \, dx = \int_0^1 u^3 \, du = \left[ \frac{u^4}{4} \right]_0^1 = \frac{1}{4}.

Markers reward the substitution choice, the differential, the limit change, and a clean evaluation. An alternative is to recognise sin3xcosx=ddx(sin4x4)\sin^3 x \cos x = \frac{d}{dx}\left( \frac{\sin^4 x}{4} \right) directly.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marksUse the substitution u=x3+2u = x^3 + 2 to find x2(x3+2)4dx\int x^2 (x^3 + 2)^4 \, dx.
Show worked solution →

Set up the substitution. With u=x3+2u = x^3 + 2, dudx=3x2\frac{du}{dx} = 3x^2, so x2dx=13dux^2\,dx = \frac{1}{3}\,du.

Rewrite and integrate.

x2(x3+2)4dx=u413du=13u55+C=u515+C.\int x^2 (x^3+2)^4 \, dx = \int u^4 \cdot \frac{1}{3}\,du = \frac{1}{3}\cdot\frac{u^5}{5} + C = \frac{u^5}{15} + C.

Back-substitute.

(x3+2)515+C.\frac{(x^3+2)^5}{15} + C.

Marker's note: one mark for correctly finding du=3x2dxdu = 3x^2\,dx and rewriting the integral entirely in uu, one for the correct antiderivative back-substituted to xx.

foundation2 marksFind 3x2x35dx\int \dfrac{3x^2}{x^3 - 5} \, dx.
Show worked solution →

Recognise the log pattern. The numerator 3x23x^2 is exactly the derivative of the denominator x35x^3 - 5, so this is f(x)f(x)dx\int \frac{f'(x)}{f(x)}\,dx with f(x)=x35f(x) = x^3 - 5.

3x2x35dx=lnx35+C.\int \frac{3x^2}{x^3-5}\,dx = \ln|x^3 - 5| + C.

Marker's note: one mark for recognising the numerator as the derivative of the denominator, one for the correct answer including the absolute value (since x35x^3 - 5 can be negative).

foundation3 marksUse the substitution u=cosxu = \cos x to evaluate 0π/2sinxcos4xdx\int_0^{\pi/2} \sin x \cos^4 x \, dx.
Show worked solution →
Set up
With u=cosxu = \cos x, du=sinxdxdu = -\sin x\,dx, so sinxdx=du\sin x\,dx = -du.
Change limits
x=0    u=1x = 0 \implies u = 1; x=π2    u=0x = \frac{\pi}{2} \implies u = 0.
Transform and evaluate

0π/2sinxcos4xdx=10u4(du)=01u4du=[u55]01=15.\int_0^{\pi/2} \sin x \cos^4 x\,dx = \int_1^0 u^4 (-du) = \int_0^1 u^4\,du = \left[\frac{u^5}{5}\right]_0^1 = \frac{1}{5}.

Marker's note: one mark for the correct dudu and sign, one for correctly changed limits (reversed, since uu decreases as xx increases), one for the exact value 15\frac{1}{5}. Forgetting to reverse the limits (writing 01\int_0^1 instead of 10\int_1^0) while also dropping the negative sign from dudu is the standard slip; the two errors cancel here only because both were made, which is a trap, not a shortcut.

core4 marksUse the substitution u=2x+1u = 2x + 1 to evaluate 042x+1dx\int_0^4 \sqrt{2x+1}\,dx.
Show worked solution →
Set up
With u=2x+1u = 2x+1, du=2dxdu = 2\,dx, so dx=12dudx = \frac{1}{2}\,du.
Change limits
x=0    u=1x = 0 \implies u = 1; x=4    u=9x = 4 \implies u = 9.
Transform and evaluate

042x+1dx=19u12du=1223[u3/2]19=13(93/213/2)=13(271)=263.\int_0^4 \sqrt{2x+1}\,dx = \int_1^9 \sqrt{u}\cdot\frac{1}{2}\,du = \frac{1}{2}\cdot\frac{2}{3}\left[u^{3/2}\right]_1^9 = \frac{1}{3}\left(9^{3/2} - 1^{3/2}\right) = \frac{1}{3}(27 - 1) = \frac{26}{3}.

Marker's note: one mark for the substitution and differential, one for the correctly changed limits, one for integrating u1/2u^{1/2} correctly, one for the exact value 263\frac{26}{3}.

core4 marksThe table below gives values of f(x)=xex2f(x) = x e^{-x^2} at several points. | xx | 00 | 0.50.5 | 11 | |---|---|---|---| | f(x)f(x) | 00 | 0.3890.389 | 0.3680.368 | Using the substitution u=x2u = -x^2, find the exact value of 01xex2dx\int_0^1 x e^{-x^2}\,dx, and comment on why this exact value is consistent with the table showing f(x)f(x) staying positive throughout [0,1][0,1].
Show worked solution →
Set up
With u=x2u = -x^2, du=2xdxdu = -2x\,dx, so xdx=12dux\,dx = -\frac{1}{2}\,du.
Change limits
x=0    u=0x = 0 \implies u = 0; x=1    u=1x = 1 \implies u = -1.
Transform and evaluate

01xex2dx=01eu(12)du=1210eudu=12[eu]10=12(1e1).\int_0^1 x e^{-x^2}\,dx = \int_0^{-1} e^{u}\left(-\frac{1}{2}\right)du = \frac{1}{2}\int_{-1}^{0} e^u\,du = \frac{1}{2}\left[e^u\right]_{-1}^{0} = \frac{1}{2}\left(1 - e^{-1}\right).

Numerically, 12(1e1)12(10.368)0.316\frac{1}{2}(1 - e^{-1}) \approx \frac{1}{2}(1 - 0.368) \approx 0.316.

Comment: This is positive, which is consistent with the table: every tabulated value of f(x)=xex2f(x) = xe^{-x^2} on [0,1][0,1] is non-negative (zero only at x=0x=0), so the integral, being an area under a non-negative curve, must be positive.

Marker's note: one mark for the substitution and differential, one for the correctly reversed limits, one for the exact value 12(1e1)\frac{1}{2}(1-e^{-1}), one for linking the sign of the answer to the tabulated data being non-negative.

exam5 marksUsing an appropriate substitution, show that x31x2dx=15(1x2)5/213(1x2)3/2+C\int x^3 \sqrt{1 - x^2}\,dx = \frac{1}{5}(1-x^2)^{5/2} - \frac{1}{3}(1-x^2)^{3/2} + C.
Show worked solution →

Choose the substitution. Let u=1x2u = 1 - x^2, so x2=1ux^2 = 1 - u and du=2xdxdu = -2x\,dx, giving xdx=12dux\,dx = -\frac{1}{2}\,du. Split off one factor of xx to leave x2x^2 expressible in uu:

x31x2dx=x21x2xdx=(1u)u(12)du.\int x^3\sqrt{1-x^2}\,dx = \int x^2 \sqrt{1-x^2}\cdot x\,dx = \int (1-u)\sqrt{u}\left(-\frac{1}{2}\right)du.

Expand and integrate term by term.

=12(1u)u1/2du=12(u1/2u3/2)du=12(23u3/225u5/2)+C.= -\frac{1}{2}\int (1-u)u^{1/2}\,du = -\frac{1}{2}\int \left(u^{1/2} - u^{3/2}\right)du = -\frac{1}{2}\left(\frac{2}{3}u^{3/2} - \frac{2}{5}u^{5/2}\right) + C.

=13u3/2+15u5/2+C.= -\frac{1}{3}u^{3/2} + \frac{1}{5}u^{5/2} + C.

Back-substitute u=1x2u = 1-x^2.

=13(1x2)3/2+15(1x2)5/2+C=15(1x2)5/213(1x2)3/2+C,= -\frac{1}{3}(1-x^2)^{3/2} + \frac{1}{5}(1-x^2)^{5/2} + C = \frac{1}{5}(1-x^2)^{5/2} - \frac{1}{3}(1-x^2)^{3/2} + C,

which is exactly the required expression.

Marker's note: one mark for choosing u=1x2u = 1-x^2 and splitting off the stray xx, one for correctly expressing x2=1ux^2 = 1-u and xdx=12dux\,dx = -\frac{1}{2}du, one for expanding the product correctly, one for integrating each power, one for back-substituting to the required form. Candidates should verify by differentiating their final answer if time allows, since sign errors are common with this substitution.

ExamExplained