Tutorials › AP Calculus › Definite Integrals with Substituted Bounds

Antiderivatives and Substitution · Tutorial 504 of 999

Definite Integrals with Substituted Bounds

Change the limits along with the variable so a definite integral can be evaluated entirely in the substitution variable.

Intermediate 8 min read

What You'll Learn

  • Translate each original endpoint into a bound for the substitution variable.
  • Apply the definite-integral substitution rule with the correct differential and constant factor.
  • Evaluate an integral in the new variable without substituting back.
  • Handle substitutions that reverse the order of the bounds.
  • Identify and correct the error of using original bounds with a new variable.

Why Change the Bounds?

A substitution can make an integrand simpler by replacing a complicated expression with a new variable. For an indefinite integral, one usually returns to the original variable before writing the answer. A definite integral offers another option: convert the endpoints to the new variable, then do the remaining integration and evaluation there.

This method keeps the variable and its bounds consistent from start to finish. If \(u=g(x)\), then the original endpoints \(x=a\) and \(x=b\) become \(u=g(a)\) and \(u=g(b)\). Once the substitution is made, the integral is evaluated using those new bounds; there is no need to express the antiderivative in terms of \(x\).

Key takeaway: When a definite integral is rewritten using \(u=g(x)\), change both bounds to the corresponding values of \(u\). Then integrate and evaluate entirely in \(u\).

The Definite-Integral Substitution Rule

Suppose \(g\) is continuously differentiable on \([a,b]\), and \(f\) is continuous on an interval containing all the values \(g(x)\) for \(a\le x\le b\). Then the substitution rule is

$$ \int_a^b f(g(x))g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du. $$

The new lower bound is the value of \(u=g(x)\) at the original lower endpoint \(x=a\). The new upper bound is its value at \(x=b\). The order is determined by the original endpoints; if \(g(b)<g(a)\), the new bounds appear in decreasing order.

In an actual problem, the integrand may contain a constant multiple of \(g'(x)\), or a factor that must be rearranged before the substitution matches the rule. Keep that factor in the integral. For instance, if \(du=2x\,dx\), then \(x\,dx=\frac12\,du\), so a factor of \(\frac12\) remains.

Why the Rule Works

The rule follows from the chain rule and the Fundamental Theorem of Calculus. Let \(F\) be an antiderivative of \(f\), so \(F'(u)=f(u)\). By the chain rule,

$$ \frac{d}{dx}F(g(x)) = F'(g(x))g'(x) = f(g(x))g'(x). $$

Thus \(F(g(x))\) is an antiderivative of the original integrand. Applying the Fundamental Theorem of Calculus gives

$$ \int_a^b f(g(x))g'(x)\,dx = F(g(b))-F(g(a)). $$

On the other hand, \(F\) is an antiderivative of \(f\), so the integral in the new variable is

$$ \int_{g(a)}^{g(b)} f(u)\,du = F(g(b))-F(g(a)). $$

Both expressions equal the same difference, which proves the substitution rule. This argument also explains why the new bounds must be \(g(a)\) and \(g(b)\): those are exactly the endpoint values that appear when the chain-rule antiderivative is evaluated.

A Reliable Process

Use the following sequence to keep the variable, differential, and endpoints aligned.

1
Choose the substitution.
Set \(u=g(x)\), selecting an inner expression whose derivative is present, or can be matched by rearranging the integrand.
2
Convert the differential and bounds.
Write \(du=g'(x)\,dx\), account for any constant factor, and calculate \(u=g(a)\) and \(u=g(b)\).
3
Rewrite the entire integral.
Express the integrand, differential, and both bounds using \(u\). Do not leave an \(x\) in the transformed integral.
4
Integrate and evaluate in \(u\).
Find an antiderivative in \(u\), then substitute the new upper and lower bounds into it.

Worked Examples

Worked Example: A Trigonometric Integrand

Evaluate \(\int_0^1 2x\cos(x^2)\,dx\) using substituted bounds.

Choose the inner expression \(u=x^2\). Then \(du=2x\,dx\). Convert the endpoints: when \(x=0\), \(u=0^2=0\); when \(x=1\), \(u=1^2=1\). Therefore,

$$ \int_0^1 2x\cos(x^2)\,dx = \int_0^1 \cos u\,du = \left[\sin u\right]_0^1 = \sin(1)-\sin(0) = \sin(1). $$

The integral is now finished in \(u\); no change back to \(x\) is needed. To check, the corresponding antiderivative in the original variable is \(\sin(x^2)\), and

$$ \frac{d}{dx}\sin(x^2) = \cos(x^2)\cdot 2x = 2x\cos(x^2). $$

Evaluating this antiderivative at the original endpoints gives \(\sin(1^2)-\sin(0^2)=\sin(1)\), agreeing with the result.

Worked Example: A Rational Integrand and a Constant Factor

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

Let \(u=x^2+1\). Then \(du=2x\,dx\), so \(x\,dx=\frac12\,du\). The transformed bounds are \(u=0^2+1=1\) at \(x=0\), and \(u=2^2+1=5\) at \(x=2\). Substitute all of these into the integral:

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

Here \(u\) is positive throughout the new interval, so \(\ln u\) is defined. For a check, differentiate the corresponding antiderivative in \(x\):

$$ \frac{d}{dx}\left(\frac12\ln(x^2+1)\right) = \frac12\cdot\frac{2x}{x^2+1} = \frac{x}{x^2+1}. $$

Its endpoint difference is \(\frac12\ln(2^2+1)-\frac12\ln(0^2+1)=\frac12\ln5-\frac12\ln1=\frac12\ln5\), as obtained using the new bounds.

Worked Example: A Substitution That Reverses the Bounds

Evaluate \(\int_0^\pi \sin x\,e^{\cos x}\,dx\).

Set \(u=\cos x\), which gives \(du=-\sin x\,dx\), or \(\sin x\,dx=-du\). Convert the endpoints: at \(x=0\), \(u=\cos 0=1\); at \(x=\pi\), \(u=\cos\pi=-1\). The new bounds run from \(1\) down to \(-1\):

$$ \int_0^\pi \sin x\,e^{\cos x}\,dx = -\int_1^{-1}e^u\,du = \int_{-1}^1 e^u\,du = \left[e^u\right]_{-1}^1 = e-e^{-1}. $$

The change from \(-\int_1^{-1}\) to \(\int_{-1}^1\) uses the fact that reversing the bounds changes the sign of a definite integral. Alternatively, evaluate directly: \(-[e^u]_1^{-1}=-\bigl(e^{-1}-e\bigr)=e-e^{-1}\).

To check, differentiate \(-e^{\cos x}\):

$$ \frac{d}{dx}\left(-e^{\cos x}\right) = -e^{\cos x}(-\sin x) = \sin x\,e^{\cos x}. $$

Its endpoint difference is \(-e^{\cos\pi}-(-e^{\cos0})=-e^{-1}+e=e-e^{-1}\), matching the transformed evaluation.

Bounds Must Match the Variable

A definite integral pairs a variable with bounds expressed in that variable. Once the integral has been changed to \(u\), its bounds must also be values of \(u\). The original endpoints are values of \(x\), and using them unchanged with a \(u\)-integral generally changes the problem.

Common mistake: For \(\int_0^2 \frac{x}{x^2+1}\,dx\), setting \(u=x^2+1\) but retaining the old limits gives \(\frac12\int_0^2\frac1u\,du\). This is incorrect: \(0\) and \(2\) are the original \(x\)-endpoints, not the corresponding \(u\)-values. It also produces an improper logarithmic expression at \(u=0\), even though the original integrand is continuous on \([0,2]\). The correct new bounds are \(u=1\) and \(u=5\), giving \(\frac12\int_1^5\frac1u\,du\).

A second useful check is to inspect the transformed integral before evaluating it. It should contain only the new variable and its differential. If an \(x\) remains, or if the limits still represent \(x\)-values, the substitution has not been completed consistently.

Why This Method Matters

Changing the bounds can make a definite integral shorter and clearer because the antiderivative is evaluated directly in the variable that simplified the integrand. It also makes endpoint behavior visible: a substitution may send the original interval to a different interval, and that interval may run in the opposite direction.

The order of the new limits is not an arbitrary choice. The definite integral is oriented: switching its endpoints changes its sign. Thus, when \(u=g(x)\) decreases from \(x=a\) to \(x=b\), the transformed upper bound can be smaller than the lower bound. Preserve that order and the minus sign from the differential, or reverse the bounds and change the sign, but do not do both incorrectly.

Before finalizing an answer, check three things: the transformed differential includes every needed factor; each new bound is computed from its corresponding original endpoint; and the final evaluation uses the new variable consistently. If desired, differentiate an antiderivative in the original variable as an independent check, as in the examples.

Check Your Understanding

For each question, keep the new variable and its bounds consistent.

  1. For \(\int_1^3 2x(x^2+4)^3\,dx\), choose \(u=x^2+4\). What are the new bounds, and what is the transformed integral?
  2. Evaluate \(\int_0^1 6x e^{3x^2}\,dx\) using \(u=3x^2\). Show how the constant factor and bounds change.
  3. In \(\int_0^{\pi/2}\sin x\cos x\,dx\), use \(u=\cos x\). Why do the new bounds appear in decreasing order?
  4. What is inconsistent about changing the integrand to a function of \(u\) while leaving the original \(x\)-bounds unchanged?
  5. State the definite-integral substitution rule and identify its new lower and upper bounds.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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