Tutorials › Calculus I › Evaluating Without Solving For The Original Variable

Substitution and Reversing the Chain Rule · Tutorial 1148 of 1495

Evaluating Without Solving For The Original Variable

Use the transformed endpoints and an antiderivative in \(u\) to evaluate a definite integral without solving for \(x\).

Intermediate 9 min read

What You'll Learn

  • Identify when a substitution rewrites the entire integrand and differential in terms of \(u\).
  • Transform both endpoints directly using the substitution.
  • Evaluate a definite integral using an antiderivative in the new variable.
  • Explain why the chain rule makes solving for the original variable unnecessary.
  • Track the sign and orientation when the substitution is decreasing.
  • Recognize and correct the error of mixing \(u\)-integrands with \(x\)-bounds.

Evaluate in the New Variable

A substitution in a definite integral changes more than the expression being integrated. It also changes the variable and the endpoint values. Once the integrand and differential have both been rewritten in terms of a new variable \(u\), the integral can be completed entirely in \(u\): find an antiderivative with respect to \(u\), then evaluate it at the transformed endpoints.

This method does not require solving the substitution equation for \(x\). For example, if \(u=g(x)\), it may be inconvenient or impossible to write \(x\) explicitly as a function of \(u\). That causes no difficulty when the transformed integrand and the new endpoint values are available.

Key idea: After a valid substitution, evaluate the resulting definite integral using its new variable and its transformed bounds. Do not mix an integrand in \(u\) with bounds in \(x\).

The Evaluation Rule

Suppose the integrand can be written as \(q(g(x))g'(x)\), where \(g\) is continuously differentiable on \([a,b]\), and \(q\) is continuous on an interval containing all values \(g(x)\) for \(x\in[a,b]\). Let \(Q\) be an antiderivative of \(q\), so \(Q'(u)=q(u)\). Then the definite integral is

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

The middle integral is written in the new variable \(u\). Its bounds are the values of \(u=g(x)\) at the original endpoints; the bounds are not found by inverting \(g\). In particular, if \(g\) is decreasing, then \(g(b)<g(a)\), and the transformed bounds appear in that order. The sign from the change in variable is accounted for by the oriented bounds.

Why No Inverse Formula Is Needed

The reason is the chain rule. The antiderivative in \(u\), when composed with \(g(x)\), becomes an antiderivative in \(x\). Therefore, the original integral can be evaluated from the endpoint values of that composition. Those values require \(g(a)\) and \(g(b)\), not a formula expressing \(x\) in terms of \(u\).

Derivation: Let \(Q'(u)=q(u)\). By the chain rule,
$$ \frac{d}{dx}Q(g(x)) = Q'(g(x))g'(x) = q(g(x))g'(x). $$

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

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

On the other hand, since \(Q\) is an antiderivative of \(q\), the integral in the new variable is

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

Both evaluations give the same endpoint difference. This proves the rule and shows exactly why inverting \(u=g(x)\) is unnecessary. The argument requires the stated continuity and differentiability conditions so that the chain rule and the Fundamental Theorem of Calculus apply.

A Reliable Procedure

For a definite integral, keep track of the variable and bounds together. The following steps make the evaluation explicit.

1
Choose and define \(u\).
Write the substitution clearly as \(u=g(x)\), and compute \(du=g'(x)\,dx\).
2
Transform the entire integral.
Rewrite the integrand and differential so that no \(x\) remains.
3
Transform both endpoints.
Evaluate \(u=g(x)\) at the original lower and upper endpoints, in that order.
4
Integrate and evaluate in \(u\).
Find an antiderivative with respect to \(u\), then substitute the new bounds into it.
5
Check the result.
Differentiate the composed antiderivative to confirm it gives the original integrand, and check the endpoint order and sign.

Worked Examples

Worked Example: A Composite Radical

Evaluate

$$ \int_0^1 \frac{2x}{\sqrt{x^2+3}}\,dx. $$

Set \(u=x^2+3\). Then \(du=2x\,dx\), so the numerator and differential become \(du\). Transform the endpoints: when \(x=0\), \(u=0^2+3=3\); when \(x=1\), \(u=1^2+3=4\). The integral is now entirely in \(u\):

$$ \begin{aligned} \int_0^1 \frac{2x}{\sqrt{x^2+3}}\,dx &=\int_3^4 \frac{1}{\sqrt{u}}\,du\\ &=\int_3^4 u^{-1/2}\,du\\ &=\left[2\sqrt{u}\right]_3^4\\ &=2\sqrt{4}-2\sqrt{3}\\ &=4-2\sqrt{3}. \end{aligned} $$

No equation for \(x\) in terms of \(u\) is needed: the transformed integrand and both transformed endpoints suffice. To check, the derivative of \(2\sqrt{u}\) is \(u^{-1/2}\). Composing this antiderivative with \(u=x^2+3\) gives \(2\sqrt{x^2+3}\), whose derivative is \(2x/\sqrt{x^2+3}\), the original integrand.

Worked Example: An Exponential Substitution

Evaluate

$$ \int_0^{\ln 2}\frac{e^x}{(1+e^x)^2}\,dx. $$

Set \(u=1+e^x\), so \(du=e^x\,dx\). At \(x=0\), \(u=1+e^0=2\). At \(x=\ln 2\), \(u=1+e^{\ln 2}=1+2=3\). Thus

$$ \begin{aligned} \int_0^{\ln 2}\frac{e^x}{(1+e^x)^2}\,dx &=\int_2^3 u^{-2}\,du\\ &=\left[-u^{-1}\right]_2^3\\ &=-\frac{1}{3}-\left(-\frac{1}{2}\right)\\ &=\frac{1}{6}. \end{aligned} $$

For a check, the derivative of \(-u^{-1}\) is \(u^{-2}\). After composing with \(u=1+e^x\), the derivative is \((1+e^x)^{-2}e^x\), exactly the original integrand. The endpoint calculation also gives a positive result, consistent with the positive integrand on the interval.

Worked Example: A Decreasing Substitution

Evaluate

$$ \int_0^{\pi/2}\sin x\sqrt{1+\cos x}\,dx. $$

Set \(u=1+\cos x\), so \(du=-\sin x\,dx\), or \(\sin x\,dx=-du\). Transform the endpoints in their original order: at \(x=0\), \(u=1+\cos 0=2\); at \(x=\pi/2\), \(u=1+\cos(\pi/2)=1\). Therefore,

$$ \begin{aligned} \int_0^{\pi/2}\sin x\sqrt{1+\cos x}\,dx &=\int_2^1 -\sqrt{u}\,du\\ &=\left[-\frac{2}{3}u^{3/2}\right]_2^1\\ &=-\frac{2}{3}(1)^{3/2} -\left(-\frac{2}{3}(2)^{3/2}\right)\\ &=\frac{2}{3}(2\sqrt{2}-1). \end{aligned} $$

The new bounds decrease from \(2\) to \(1\), and the differential contributes a minus sign. Both are retained in the first transformed integral. As a check, let \(H(u)=-\frac{2}{3}u^{3/2}\). Then \(H'(u)=-\sqrt{u}\), and \(u'(x)=-\sin x\). Consequently,

$$ \frac{d}{dx}H(1+\cos x) = -\sqrt{1+\cos x}\,(-\sin x) = \sin x\sqrt{1+\cos x}, $$

which is the original integrand.

A Common Bounds Error

Once the integrand has been rewritten in \(u\), the limits must also be in \(u\). Consider the exponential example. Its transformed integral is \(\int_2^3 u^{-2}\,du\). Leaving the old \(x\)-bounds in place would produce the invalid expression

$$ \int_0^{\ln 2}u^{-2}\,du. $$

The integrand uses \(u\), but \(0\) and \(\ln 2\) are the original \(x\)-values, not the corresponding \(u\)-values. This also leads to an undefined endpoint if one evaluates \([-u^{-1}]_0^{\ln 2}\). The correction is to transform the endpoints first: \(x=0\) gives \(u=2\), and \(x=\ln 2\) gives \(u=3\). The valid evaluation is \([-u^{-1}]_2^3=1/6\).

Check before evaluating: Every part of a definite integral must use the same variable. If the integrand and differential are in \(u\), the bounds must be the corresponding values of \(u\).

Why This Method Matters

Some substitutions are useful precisely because their inverse formulas are awkward. The new variable may simplify the integrand even when solving \(u=g(x)\) for \(x\) would add unnecessary algebra. For a definite integral, the endpoint values are usually obtained directly by applying \(g\) to the original endpoints.

The essential condition is that the substitution rewrite the whole integrand and differential in the new variable. A partial rewrite that leaves an \(x\)-dependent factor behind is not yet an integral entirely in \(u\). Once the rewrite is complete, use the transformed bounds, find an antiderivative in \(u\), and evaluate at those bounds. The chain-rule derivation explains why this procedure gives the original definite integral.

Check Your Understanding

Answer each question by keeping the transformed variable and its bounds together.

  1. If \(u=x^2+1\) and the original bounds are \(x=1\) and \(x=3\), what are the transformed bounds in the same order?
  2. For an integral transformed to \(\int_4^1 q(u)\,du\), should the bounds be reversed automatically? Explain what happens to the orientation.
  3. Why does the antiderivative \(Q(u)\) lead to the endpoint difference \(Q(g(b))-Q(g(a))\) in the original variable?
  4. In the substitution \(u=1+e^x\), why are \(0\) and \(\ln 2\) not valid bounds for an integrand written entirely in \(u\)?
  5. What must be true of the integrand and differential before an integral has been fully rewritten in \(u\)?

Test yourself: Calculus I 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