Tutorials › Calculus II › Substitution Signals in Definite Integrals

Integration Strategy · Tutorial 7 of 998

Substitution Signals in Definite Integrals

Learn how to carry a substitution through a definite integral by changing the integrand, differential, and limits together.

Beginner 9 min read

What You'll Learn

  • Recognize when a definite integral has a substitution pattern.
  • Change both the differential and the integration limits consistently.
  • Use the transformed limits in the correct order, including for reversed intervals.
  • Justify definite-integral substitution using the chain rule and the Fundamental Theorem of Calculus.
  • Identify why keeping the original limits after changing variables can produce an invalid integral.

Why Definite Integrals Need One More Step

A substitution can make a definite integral simpler by replacing a complicated expression with a new variable. For a definite integral, however, changing the variable also changes the endpoints. The lower and upper limits describe values of the integration variable, so they must be expressed in the new variable as well.

The guiding rule is simple: if \(u=g(x)\), then transform the integrand and differential using \(du=g'(x)\,dx\), and transform the limits using the same relation \(u=g(x)\). The resulting integral is entirely in \(u\); it should not retain limits that refer to \(x\).

Key takeaway: In a definite integral, a substitution changes three connected parts: the integrand, the differential, and the limits.

When Is Substitution a Useful Signal?

Look for a composition in the integrand: an inner expression \(g(x)\) appears inside another function, and a factor proportional to \(g'(x)\) appears elsewhere. This is the definite-integral version of the inner-function fit considered in substitution. For instance, an expression involving \(x^2+1\) together with a factor \(2x\,dx\) suggests \(u=x^2+1\).

After choosing \(u=g(x)\), write down the changed differential and endpoints explicitly. If \(x=a\) is the lower endpoint, its new value is \(u=g(a)\); if \(x=b\) is the upper endpoint, its new value is \(u=g(b)\). The order is inherited from the original limits: it is not automatically reordered to make the lower limit numerically smaller.

Definition: Suppose \(g\) is differentiable on \([a,b]\), \(f\) is continuous on an interval containing the values \(g(x)\) for \(a\le x\le b\), and \(g'\) is continuous on \([a,b]\). Then the definite-integral substitution formula is
$$ \int_a^b f(g(x))g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du. $$
The transformed limits are \(g(a)\) and \(g(b)\), in that order. If the integrand includes a constant multiple of \(g'(x)\), account for that constant when rewriting the differential.

Worked Example: A Trigonometric Composition

Worked Example: A Trigonometric Composition

Evaluate \(\displaystyle \int_0^1 2x\cos(x^2+1)\,dx\).

The inner expression is \(x^2+1\), whose derivative is \(2x\), matching the factor in the integrand. Set \(u=x^2+1\). Then \(du=2x\,dx\). Change the endpoints using this same substitution: at \(x=0\), \(u=0^2+1=1\); at \(x=1\), \(u=1^2+1=2\).

$$ \begin{aligned} \int_0^1 2x\cos(x^2+1)\,dx &=\int_1^2 \cos u\,du\\ &=\left[\sin u\right]_1^2\\ &=\sin 2-\sin 1. \end{aligned} $$

Check in the original variable: an antiderivative is \(\sin(x^2+1)\), since \(\frac{d}{dx}\sin(x^2+1)=\cos(x^2+1)\cdot 2x\). Evaluating it from \(0\) to \(1\) gives \(\sin 2-\sin 1\), as obtained by substitution.

Why the Formula Works

The substitution formula follows from the chain rule and the Fundamental Theorem of Calculus. The new limits are not an extra convention: they are what makes the transformed integral evaluate the same change in an antiderivative over the original interval.

1
Construct an antiderivative in the new variable.
Let \(F(t)=\int_{g(a)}^t f(u)\,du\). Since \(f\) is continuous, the Fundamental Theorem of Calculus gives \(F'(t)=f(t)\).
2
Apply the chain rule.
For \(H(x)=F(g(x))\), the chain rule gives \(H'(x)=F'(g(x))g'(x)=f(g(x))g'(x)\).
3
Evaluate across the original interval.
The Fundamental Theorem of Calculus gives \(\int_a^b f(g(x))g'(x)\,dx=H(b)-H(a)=F(g(b))-F(g(a))\). By the definition of \(F\), this difference is \(\int_{g(a)}^{g(b)}f(u)\,du\).

This argument also explains why the order of the new limits matters. The endpoint \(b\) contributes \(g(b)\), and the endpoint \(a\) contributes \(g(a)\). If \(g(b)<g(a)\), the transformed integral is oriented in the reverse direction and carries the corresponding sign.

Worked Example: Changing Limits in a Rational Integral

Worked Example: Changing Limits in a Rational Integral

Evaluate \(\displaystyle \int_0^2 \frac{x}{1+x^2}\,dx\).

The denominator contains \(1+x^2\), whose derivative is \(2x\). The numerator has \(x\), which is half of that derivative. Set \(u=1+x^2\). Then \(du=2x\,dx\), so \(x\,dx=\frac12\,du\). Transform the endpoints: when \(x=0\), \(u=1\); when \(x=2\), \(u=5\).

$$ \begin{aligned} \int_0^2 \frac{x}{1+x^2}\,dx &=\frac12\int_1^5 \frac{1}{u}\,du\\ &=\frac12\left[\ln u\right]_1^5\\ &=\frac12(\ln 5-\ln 1)\\ &=\frac12\ln 5. \end{aligned} $$

Check by differentiating an antiderivative in \(x\): \(\frac{d}{dx}\left(\frac12\ln(1+x^2)\right)=\frac12\cdot\frac{2x}{1+x^2}=\frac{x}{1+x^2}\). Its endpoint difference is \(\frac12\ln 5-\frac12\ln 1=\frac12\ln 5\), confirming the result.

A Common Mistake: Keeping the Old Limits

A frequent error is to change \(x\) to \(u\) in the integrand but leave the limits unchanged. In the rational example, \(u=1+x^2\) sends the original endpoints \(x=0\) and \(x=2\) to \(u=1\) and \(u=5\), not \(u=0\) and \(u=2\). Keeping \(0\) and \(2\) would make those limits refer to values of \(u\) that do not match the original interval.

Worked Example: Spotting the Bounds Error

For \(\displaystyle \int_0^2 \frac{x}{1+x^2}\,dx\), the substitution \(u=1+x^2\) gives \(x\,dx=\frac12\,du\). A wrong calculation might be written as

$$ \int_0^2 \frac{x}{1+x^2}\,dx \ \overset{\text{wrong}}{=}\ \frac12\int_0^2 \frac{1}{u}\,du. $$

This equality is invalid because the limits were not converted: the correct \(u\)-limits are \(1\) and \(5\). In addition, the displayed integral on the right diverges at \(u=0\). It is an improper integral, and \(\int_0^2 \frac{1}{u}\,du\) does not have a finite value. It therefore cannot be evaluated as \(\ln 2\).

The correction is to change the endpoints together with the variable:

$$ \frac12\int_1^5 \frac{1}{u}\,du = \frac12(\ln 5-\ln 1) = \frac12\ln 5. $$

Checking the endpoints before evaluating helps prevent both the bounds mismatch and the resulting improper-integral error.

Reversed Limits and Orientation

Do not reverse the transformed limits merely because they appear in descending numerical order. A definite integral with upper limit less than lower limit is defined with a sign: \(\int_c^d f(u)\,du=-\int_d^c f(u)\,du\). This preserves the orientation of the original interval under substitution.

Worked Example: A Substitution with Reversed Limits

Evaluate \(\displaystyle \int_2^0 3x^2e^{x^3}\,dx\).

The inner expression \(x^3\) has derivative \(3x^2\). Set \(u=x^3\), so \(du=3x^2\,dx\). The original lower endpoint \(x=2\) becomes \(u=8\), and the upper endpoint \(x=0\) becomes \(u=0\). Keep that order:

$$ \begin{aligned} \int_2^0 3x^2e^{x^3}\,dx &=\int_8^0 e^u\,du\\ &=\left[e^u\right]_8^0\\ &=e^0-e^8\\ &=1-e^8. \end{aligned} $$

The result is negative, consistent with integrating the positive function \(3x^2e^{x^3}\) from the larger \(x\)-value \(2\) down to \(0\). Check directly: \(\frac{d}{dx}e^{x^3}=3x^2e^{x^3}\), and evaluating \(e^{x^3}\) from \(2\) to \(0\) gives \(e^0-e^8=1-e^8\).

A Practical Check Before Evaluating

Before carrying out the final antiderivative calculation, pause to make sure the transformed integral is coherent. The variable in the integrand, differential, and limits should all be the new variable. A useful quick audit is:

  • Does the chosen inner expression match a derivative factor in the integrand?
  • Has the differential been rewritten correctly, including any constant factor?
  • Were both endpoints converted using the substitution?
  • Were the converted limits kept in their original order?
  • Is the transformed integrand defined throughout the interval of integration?

This last check matters because a substitution does not make a divergent integral finite. It must also be possible to apply the integral and substitution rules on the interval in question, or any endpoint singularity must be treated as an improper integral under the appropriate conditions.

Check Your Understanding

For each question, focus on how the variable and limits change together.

  1. For \(\int_0^1 4x(x^2+3)^2\,dx\), choose a substitution and state the transformed integrand and limits.
  2. For \(u=2x-1\) on the interval \(x=1\) to \(x=3\), what are the new lower and upper limits?
  3. Why is it incorrect to keep the original limits after replacing \(x\) with \(u=1+x^2\) in an integral from \(x=0\) to \(x=2\)?
  4. If a substitution changes the limits from \(u=5\) to \(u=1\), should they be reordered before evaluating? Explain.
  5. What theorem and differentiation rule together justify the definite-integral substitution formula?

Test yourself: Calculus II final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon