Evaluation of definite integrals by substitution

A definite integral like ∫012x1+x2 dx\displaystyle\int_0^1 2x\sqrt{1+x^2}\,dx looks awkward in the variable xx, but a clever change of variable can turn it into something as simple as ∫t dt\int \sqrt{t}\,dt. The technique is evaluation of definite integrals by substitution: pick a new variable t=g(x)t = g(x) that simplifies the integrand, and — this is the part unique to definite integrals — change the limits of integration at the same moment you change the variable. Because both the integrand and the limits move to the new variable together, the second fundamental theorem of calculus can be applied directly in tt, and the numerical answer drops out without ever writing xx again. This is faster and less error-prone than the indefinite-integral habit of substituting back at the end, and it is a routine, high-frequency task in the CBSE Class 12 Integrals chapter, often combined with the standard list of integral forms.

The core insight

Substitute t=g(x)t = g(x) in a definite integral and convert the limits to g(a)g(a) and g(b)g(b) at the same time, so the fundamental theorem is applied entirely in tt with no need to substitute back to xx.

The core idea

Ordinary (indefinite) substitution and definite-integral substitution share the first step but differ sharply at the last one. For an indefinite integral, x=g(t)x = g(t) (or t=h(x)t = h(x)) simplifies the integrand, but the antiderivative is a function of xx, so at the end you must substitute back to express the answer in terms of xx. For a definite integral, the answer is just a number, not a function — so if the limits are converted to the new variable along with the integrand, the final number can be read off entirely in tt, with no return trip to xx required. This shortcut is the whole point of the technique. Formally, suppose ∫abf(x) dx\displaystyle\int_a^b f(x)\,dx can be written as ∫abf(g(x)) g′(x) dx\displaystyle\int_a^b f(g(x))\,g'(x)\,dx for some differentiable gg. Substituting t=g(x)t = g(x), so that dt=g′(x) dxdt = g'(x)\,dx, and converting the limits by the same rule as the variable,

x=a  ⟹  t=g(a),x=b  ⟹  t=g(b),x = a \implies t = g(a), \qquad x = b \implies t = g(b),

where: t=g(x)t = g(x) is the new variable, dt=g′(x) dxdt = g'(x)\,dx is the matching differential taken from the integrand itself, and g(a)g(a), g(b)g(b) are the new lower and upper limits obtained by plugging the old limits into the substitution formula — gives

∫abf(g(x)) g′(x) dx=∫g(a)g(b)f(t) dt.\int_a^b f(g(x))\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(t)\,dt.

The right side is a complete, self-contained definite integral in tt: it has its own limits, g(a)g(a) and g(b)g(b), and evaluating it by the fundamental theorem of calculus gives the final number directly.

Choosing a good substitution. Look for a part of the integrand whose derivative is also sitting in the integrand (up to a constant), often the "inside" of a composite function or the base of a power. A useful check after substituting: the whole integrand, including dxdx, must convert cleanly into an expression in tt alone — if an xx is left stranded, the substitution was not well matched to the integrand.

Figure
Two number lines showing the x interval from a to b mapping to the t interval from g of a to g of b under the substitution t equals g of x
Changing the limits along with the variable x = a x = b integral in x, limits a and b t = g(x) t = g(a) t = g(b)

Evaluation with limits converted (worked derivation)

Show, for the specific case ∫012x1+x2 dx\displaystyle\int_0^1 2x\sqrt{1+x^2}\,dx, that converting the limits to the new variable and integrating there gives the exact same numerical answer as the fundamental theorem would give, while never needing to write the antiderivative back in terms of xx at any stage of the calculation.

Step 1. Choose the substitution. The integrand has a factor 2x dx2x\,dx sitting next to 1+x2\sqrt{1+x^2}, and ddx(1+x2)=2x\dfrac{d}{dx}(1+x^2) = 2x — exactly the factor present. So let t=1+x2t = 1+x^2, giving dt=2x dxdt = 2x\,dx.

Step 2. Rewrite the integrand entirely in tt. Replacing 2x dx2x\,dx by dtdt and 1+x2\sqrt{1+x^2} by t\sqrt t,

2x1+x2 dx=t dt.2x\sqrt{1+x^2}\,dx = \sqrt{t}\,dt.

No trace of xx remains — a sign the substitution was well chosen.

Step 3. Convert the limits using the same rule t=1+x2t = 1+x^2 that was used for the variable: at x=0x=0, t=1+02=1t = 1+0^2 = 1; at x=1x=1, t=1+12=2t = 1+1^2 = 2. So the new integral runs from t=1t=1 to t=2t=2.

Step 4. Integrate in tt and apply the fundamental theorem directly with the new limits:

∫012x1+x2 dx=∫12t dt=[23t3/2]12=23(23/2−13/2)=23(22−1).\int_0^1 2x\sqrt{1+x^2}\,dx = \int_1^2 \sqrt{t}\,dt = \left[\frac{2}{3}t^{3/2}\right]_1^2 = \frac{2}{3}\left(2^{3/2}-1^{3/2}\right) = \frac{2}{3}\left(2\sqrt2-1\right).

The value is 2(22−1)3\dfrac{2(2\sqrt2-1)}{3}, and xx never had to reappear after Step 3 — the entire evaluation, limits and all, happened in tt.

Worked example

Evaluate ∫0π/2sin⁡3xcos⁡x dx\displaystyle\int_0^{\pi/2}\sin^3 x\cos x\,dx.

Step 1. Pick the substitution. The factor cos⁡x dx\cos x\,dx is present, and it is exactly d(sin⁡x)d(\sin x), so let t=sin⁡xt = \sin x, giving dt=cos⁡x dxdt = \cos x\,dx.

Step 2. Rewrite the integrand in tt: sin⁡3xcos⁡x dx=t3 dt\sin^3x\cos x\,dx = t^3\,dt.

Step 3. Convert the limits: at x=0x=0, t=sin⁡0=0t=\sin 0 = 0; at x=π/2x = \pi/2, t=sin⁡(π/2)=1t = \sin(\pi/2) = 1.

Step 4. Integrate and evaluate using the new limits directly:

∫0π/2sin⁡3xcos⁡x dx=∫01t3 dt=[t44]01=14−0=14.\int_0^{\pi/2}\sin^3x\cos x\,dx = \int_0^1 t^3\,dt = \left[\frac{t^4}{4}\right]_0^1 = \frac{1}{4}-0 = \boxed{\frac14}.

The answer 14\dfrac14 comes straight from the tt-limits 00 and 11; the trigonometric form never had to be restored.

Competitive stretch

For ∫0π/2sin⁡3xcos⁡x dx\displaystyle\int_0^{\pi/2}\sin^3x\cos x\,dx, spotting that the power of sin⁡x\sin x is odd is a fast recognition cue: whenever an odd power of one trig function multiplies exactly one factor of its own derivative-partner (here cos⁡x dx=d(sin⁡x)\cos x\,dx = d(\sin x)), the substitution t=sin⁡xt=\sin x (or t=cos⁡xt=\cos x for an odd power of cos⁡\cos) reduces the whole integral to a pure power of tt, as above, usually solvable in under a minute.

Common traps

  • Forgetting to change the limits, and evaluating the tt-antiderivative at the original xx-limits instead of the converted tt-limits — this produces a meaningless or wrong number.
  • Substituting back to xx anyway, then evaluating at the original limits — unnecessary extra algebra for a definite integral, and a common source of arithmetic slips; once the limits are in tt, stay in tt.
  • Choosing a substitution whose derivative is not actually present in the integrand, leaving a stray xx that cannot be written in terms of tt — always check the rewritten integrand is purely in tt.
  • Sign or order errors when the new upper limit is numerically smaller than the new lower limit (possible if gg is decreasing) — the integral is still (value at new upper limit) minus (value at new lower limit), whichever number that is.

Ask the tutor: Stuck on which substitution to pick for a definite integral, or want to practice converting limits correctly on a few more problems? Ask the AI tutor to work through extra examples with you.

Why don't we need to substitute back to x for definite integrals, when we always do for indefinite ones?

An indefinite integral is a family of functions of xx, so the answer must be expressed in xx to mean anything — leaving it in tt would be answering a different question. A definite integral, by contrast, evaluates to a single number. If the limits are converted to the new variable at the same time as the integrand, the expression ∫g(a)g(b)f(t) dt\int_{g(a)}^{g(b)} f(t)\,dt is already a complete, self-contained numerical problem in tt; applying the fundamental theorem there gives the same number the original integral would have given, so there is nothing left to convert back.

How do I know which substitution to try first?

Scan the integrand for a part whose derivative also appears, possibly scaled by a constant — a composite function's "inside," or a power of a function multiplied by that function's own derivative, are the classic patterns. In 2x1+x2 dx2x\sqrt{1+x^2}\,dx, the derivative of 1+x21+x^2 is 2x2x, which is exactly present, so t=1+x2t=1+x^2 works cleanly. In sin⁡3xcos⁡x dx\sin^3x\cos x\,dx, the derivative of sin⁡x\sin x is cos⁡x\cos x, present as a lone factor, so t=sin⁡xt=\sin x works. If no such matching derivative is visible, the substitution is unlikely to simplify the integral fully.

What happens if I forget to change the limits and only change the integrand?

You get a mismatched expression: an antiderivative correctly written in tt, but evaluated at the original xx-values as if they were tt-values. Since tt and xx are related by t=g(x)t=g(x) and are generally different numbers, plugging the old limits into a tt-antiderivative gives a wrong, meaningless result — for instance using x=0x=0 and x=1x=1 directly in [23t3/2]\left[\frac23 t^{3/2}\right] instead of the correct t=1t=1 and t=2t=2. Always convert both limits using the same substitution formula used for the variable, immediately after writing dtdt.

Before this

Where this leads