Tutorials › Calculus I › Why Substitution Preserves An Antiderivative

Substitution and Reversing the Chain Rule · Tutorial 1137 of 1495

Why Substitution Preserves An Antiderivative

Learn why replacing the inner variable by a differentiable function preserves an antiderivative, and how the Chain Rule verifies the result.

Intermediate 9 min read

What You'll Learn

  • State the conditions under which composition preserves an antiderivative.
  • Derive the substitution formula directly from the Chain Rule.
  • Explain why the derivative of the inner function must appear.
  • Apply the result to power, exponential, and logarithmic examples.
  • Check proposed antiderivatives by differentiating them.
  • Recognize that the inner function need not be one-to-one.

The idea behind substitution

Substitution in an indefinite integral can look like a change of symbols: choose an inner expression, call it \(u\), integrate with respect to \(u\), and then replace \(u\) by the original expression. The reason this procedure works is not a separate integration trick. It is the Chain Rule applied to a proposed antiderivative.

If an antiderivative \(A\) has derivative \(F\), then composing \(A\) with a differentiable function \(g\) gives the function \(A(g(x))\). The Chain Rule tells us exactly what its derivative is: \(F(g(x))g'(x)\). That identity is the mathematical basis of substitution.

Core result: If \(A'(u)=F(u)\) on an interval \(J\), and \(g\) is differentiable on an interval \(I\) with \(g(x)\in J\) for every \(x\in I\), then \(A(g(x))\) is an antiderivative of \(F(g(x))g'(x)\) on \(I\).

Definitions and conditions

A function \(A\) is an antiderivative of a function \(F\) on an interval \(J\) if \(A\) is differentiable on \(J\) and \(A'(u)=F(u)\) for every \(u\in J\). The letter \(u\) here is simply the input variable for the function \(A\).

To apply the result, we need \(A'(u)=F(u)\) wherever \(g(x)\) takes its values, and we need \(g\) to be differentiable at the \(x\)-values under consideration. In particular, the composition \(A(g(x))\) must be defined. These conditions allow the Chain Rule to be used at every point of \(I\).

The conclusion is a derivative identity on an interval:

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

Therefore the function \(A(g(x))\) is an antiderivative of the product on the right. No assumption that \(g\) is one-to-one or increasing is needed for this identity. The argument only requires differentiability and the stated domain conditions.

Why the formula works

The essential point is that differentiating a composition has two parts. First, differentiate the outer function \(A\), then evaluate that derivative at the inner expression \(g(x)\). Next, multiply by the derivative of the inner function. Since \(A'=F\), the first part becomes \(F(g(x))\); the second part is \(g'(x)\).

1
Start with an antiderivative.
Assume \(A'(u)=F(u)\) for \(u\in J\).
2
Compose with the inner function.
Form \(A(g(x))\), which is defined because \(g(x)\in J\).
3
Differentiate the composition.
By the Chain Rule, its derivative is \(A'(g(x))g'(x)\).
4
Use the antiderivative relation.
Substitute \(A'(g(x))=F(g(x))\). The derivative is \(F(g(x))g'(x)\), as required.

This is a complete proof: the definition of antiderivative asks us to verify the derivative, and the Chain Rule gives exactly the required expression. In integral notation, the same result is written

$$ \int F(g(x))g'(x)\,dx=A(g(x))+C, \qquad \text{where } A'(u)=F(u). $$

Here \(C\) is an arbitrary constant. For any fixed constant \(C\), differentiating \(A(g(x))+C\) gives the same derivative because the derivative of a constant is zero. Thus every expression on the right is an antiderivative.

Worked examples

Worked Example: A power of a composite expression

Find an antiderivative of \(6x(3x^2+2)^4\). Let \(g(x)=3x^2+2\). Then \(g'(x)=6x\). For the outer function, \(A(u)=u^5/5\), since

$$ A'(u)=\frac{d}{du}\left(\frac{u^5}{5}\right)=u^4. $$

Thus \(F(u)=u^4\), and \(F(g(x))g'(x)=(3x^2+2)^4(6x)\), which is the given integrand. The result is

$$ \int 6x(3x^2+2)^4\,dx =\frac{(3x^2+2)^5}{5}+C. $$

Check by differentiating the proposed antiderivative:

$$ \frac{d}{dx}\left(\frac{(3x^2+2)^5}{5}+C\right) =\frac{1}{5}\cdot 5(3x^2+2)^4\cdot 6x+0 =6x(3x^2+2)^4. $$

The derivative matches the integrand, so the antiderivative is correct.

Worked Example: An exponential of a trigonometric expression

Find an antiderivative of \(e^{\sin x}\cos x\). Set \(g(x)=\sin x\), so \(g'(x)=\cos x\). An antiderivative of \(F(u)=e^u\) is \(A(u)=e^u\), because

$$ A'(u)=\frac{d}{du}e^u=e^u=F(u). $$

Composing \(A\) with \(g\) gives \(A(g(x))=e^{\sin x}\). Therefore

$$ \int e^{\sin x}\cos x\,dx=e^{\sin x}+C. $$

The check uses the Chain Rule:

$$ \frac{d}{dx}\left(e^{\sin x}+C\right) =e^{\sin x}\cos x+0 =e^{\sin x}\cos x. $$

This verifies the proposed antiderivative.

Worked Example: A logarithm with a positive inner function

Find an antiderivative of \(\frac{2x}{x^2+5}\). Choose \(g(x)=x^2+5\), for which \(g'(x)=2x\). On the real line, \(x^2+5\geq 5>0\). An antiderivative of \(F(u)=1/u\) on the positive real numbers is \(A(u)=\ln u\), because \(A'(u)=1/u\) there. Hence

$$ \int \frac{2x}{x^2+5}\,dx=\ln(x^2+5)+C. $$

Differentiate to check:

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

The result differentiates to the original integrand. Positivity of \(x^2+5\) also ensures that the logarithm is defined for every real \(x\).

What substitution notation records

The common instruction “let \(u=g(x)\)” records the choice of inner function. It also signals that the derivative factor \(g'(x)\) must be accounted for. In differential notation, the relation \(du=g'(x)\,dx\) is a compact way of keeping track of that factor; the justification for the antiderivative remains the Chain Rule identity above.

For example, in the first worked example, \(u=3x^2+2\) gives \(du=6x\,dx\). The integral can then be recognized as \(\int u^4\,du\), whose antiderivative is \(u^5/5+C\). Replacing \(u\) by \(3x^2+2\) gives the displayed answer. The proof explains why that replacement is valid: differentiating the resulting composition restores both the outer derivative and the inner derivative.

This viewpoint also clarifies the role of a constant multiple. If the integrand contains \(k g'(x)\) alongside \(F(g(x))\), where \(k\) is constant, then an antiderivative is \(kA(g(x))+C\), since

$$ \frac{d}{dx}\bigl(kA(g(x))\bigr) =kF(g(x))g'(x). $$

A common mistake: leaving out the inner derivative

A frequent error is to replace \(u\) by \(g(x)\) in an antiderivative without checking whether the original integrand contains the corresponding factor \(g'(x)\). For instance, it would be incorrect to claim

$$ \int (3x^2+2)^4\,dx=\frac{(3x^2+2)^5}{5}+C. $$

The proposed answer differentiates to

$$ \frac{d}{dx}\left(\frac{(3x^2+2)^5}{5}+C\right) =6x(3x^2+2)^4, $$

which has the extra factor \(6x\). It is therefore not an antiderivative of \((3x^2+2)^4\). The formula from the Chain Rule applies directly to an integrand of the form \(F(g(x))g'(x)\), not to \(F(g(x))\) alone. If the inner derivative is absent, this particular substitution formula does not establish the claimed answer.

A reliable check is to differentiate the proposed antiderivative and compare the result with the entire original integrand, including every factor. This catches missing inner derivatives and other algebraic errors.

Why the result is useful

Substitution is often introduced as a practical way to recognize an integral. Its deeper value is that it lets us build antiderivatives systematically from known ones. Whenever an integrand is a composite \(F(g(x))\) multiplied by \(g'(x)\), a known antiderivative \(A\) of \(F\) immediately supplies the antiderivative \(A(g(x))\).

The result is also useful for checking an answer independently. Rather than relying on the substitution steps, differentiate the final expression. If the Chain Rule produces the original integrand at every point in the interval, the expression is an antiderivative there. No inverse of \(g\) is needed: the proof only differentiates the composition.

Takeaway: Substitution preserves an antiderivative because the Chain Rule reverses exactly: \(A'(u)=F(u)\) implies \(\frac{d}{dx}A(g(x))=F(g(x))g'(x)\).

Check Your Understanding

Use the Chain Rule, not just a pattern match, to answer these questions.

  1. If \(A'(u)=F(u)\), what is the derivative of \(A(g(x))\)?
  2. What differentiability and domain conditions are needed for the composition result?
  3. Why does the integrand need the factor \(g'(x)\) in the substitution formula?
  4. Differentiate \(\frac{(x^2+1)^3}{3}\) and identify the integrand for which it is an antiderivative.
  5. Does the proof require \(g\) to be one-to-one? Explain briefly.

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