Tutorials › Calculus I › Deriving The Indefinite Substitution Rule

Substitution and Reversing the Chain Rule · Tutorial 1122 of 1495

Deriving The Indefinite Substitution Rule

See why substitution reverses the Chain Rule, then apply the resulting formula and verify each antiderivative by differentiation.

Intermediate 8 min read

What You'll Learn

  • State the indefinite substitution rule using an integrand and its antiderivative
  • Derive the rule from the Chain Rule
  • Identify the differentiability and domain conditions needed for the formula
  • Apply the rule to polynomial compositions
  • Apply the rule to an exponential composition
  • Detect and correct a missing-inner-derivative error

Why Substitution Reverses the Chain Rule

The Chain Rule explains how to differentiate a composition. If an outer function is evaluated at an inner function, differentiating the result produces the derivative of the outer function, evaluated at the inner function, multiplied by the derivative of the inner function.

Indefinite substitution uses this same relationship in reverse. When an integrand contains a composition together with the derivative of its inner function, the integrand has the form of a Chain Rule derivative. The antiderivative can then be written as a composition.

The key is to distinguish the function inside the composition from an antiderivative of the outside function. Let \(f\) be the outside function, and let \(F\) be an antiderivative of \(f\). Thus \(F'=f\). The substitution rule gives an antiderivative of \(f(g(x))g'(x)\) by evaluating \(F\) at \(g(x)\).

Definition: Suppose \(g\) is differentiable on an interval \(I\), and \(F\) is differentiable on an interval containing the values \(g(x)\) for \(x\in I\). If \(F'=f\) on that interval, then the indefinite substitution rule is $$ \int f(g(x))g'(x)\,dx=F(g(x))+C. $$ Here \(C\) is an arbitrary constant.

The formula describes a family of antiderivatives, not a single function: differentiating \(F(g(x))+C\) gives the integrand for every constant \(C\). As usual, on an interval, any two antiderivatives of the same function differ by a constant.

Deriving the Rule from the Chain Rule

The result follows directly from the Chain Rule. To see why, differentiate the proposed antiderivative \(F(g(x))\). The outer function is \(F\), and the inner function is \(g\), so the Chain Rule gives the following calculation.

1
Start with the proposed antiderivative.
Consider the composite function \(F(g(x))\), where \(F'=f\).
2
Differentiate the composition.
By the Chain Rule, its derivative is \(F'(g(x))g'(x)\).
3
Use the antiderivative relationship.
Since \(F'=f\), the derivative becomes \(f(g(x))g'(x)\), exactly the integrand.
$$ \frac{d}{dx}F(g(x)) = F'(g(x))g'(x) = f(g(x))g'(x). $$

Therefore \(F(g(x))\) is an antiderivative of \(f(g(x))g'(x)\). Adding any constant does not change its derivative, which proves the displayed integration formula. The argument requires differentiability of \(g\), and differentiability of \(F\) on a domain containing the values of \(g\). If \(F\) is an antiderivative of \(f\), then the equality \(F'=f\) supplies the needed outer derivative.

This proof also explains the matching-factor requirement. The factor \(g'(x)\) is not an optional detail: it is part of the derivative of a composition. Without it, differentiating \(F(g(x))\) would not, in general, produce the integrand.

Worked Examples

Worked Example: A Polynomial Power Composition

Evaluate \(\int (3x^2+1)^4(6x)\,dx\).

The inner expression is \(g(x)=3x^2+1\). Its derivative is

$$ g'(x)=\frac{d}{dx}(3x^2+1)=6x. $$

The remaining outside function is \(f(t)=t^4\), where \(t\) is an input variable. An antiderivative of \(f\) is \(F(t)=\frac{t^5}{5}\), since

$$ F'(t)=\frac{d}{dt}\left(\frac{t^5}{5}\right)=t^4=f(t). $$

The integrand is precisely \(f(g(x))g'(x)\). Apply the rule:

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

Check by differentiating the answer:

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

The derivative agrees with the integrand, so the antiderivative is correct.

Worked Example: A Polynomial Outside Function

Evaluate \(\int (2x^2+1)(2x)\,dx\).

Rewrite the first factor in terms of \(g(x)=x^2-1\):

$$ 2x^2+1=2(x^2-1)+3=2g(x)+3. $$

The derivative of the inner function is

$$ g'(x)=\frac{d}{dx}(x^2-1)=2x. $$

Thus the integrand is \((2g(x)+3)g'(x)\). For the outside function \(f(t)=2t+3\), an antiderivative is \(F(t)=t^2+3t\), because

$$ F'(t)=\frac{d}{dt}(t^2+3t)=2t+3=f(t). $$

The substitution rule now gives

$$ \int (2x^2+1)(2x)\,dx = (x^2-1)^2+3(x^2-1)+C. $$

This answer can also be simplified:

$$ (x^2-1)^2+3(x^2-1) = x^4-2x^2+1+3x^2-3 = x^4+x^2-2. $$

Check by differentiating the simplified answer:

$$ \frac{d}{dx}(x^4+x^2-2+C) = 4x^3+2x = (2x^2+1)(2x). $$

The last equality follows by multiplying: \((2x^2+1)(2x)=4x^3+2x\). The check matches the original integrand.

Worked Example: An Exponential Composition

Evaluate \(\int e^{x^2-2x}(2x-2)\,dx\).

Take \(g(x)=x^2-2x\). Differentiating gives

$$ g'(x)=\frac{d}{dx}(x^2-2x)=2x-2. $$

The outside function is \(f(t)=e^t\), and an antiderivative is \(F(t)=e^t\), because \(\frac{d}{dt}e^t=e^t\). The integrand therefore has the required form \(f(g(x))g'(x)\). Applying the rule,

$$ \int e^{x^2-2x}(2x-2)\,dx = e^{x^2-2x}+C. $$

Check by differentiation:

$$ \frac{d}{dx}\left(e^{x^2-2x}+C\right) = e^{x^2-2x}(2x-2). $$

This is the original integrand, so the answer is verified.

What the Formula Does—and Does Not—Say

The substitution rule is a conditional recognition rule. It applies when the integrand can be written as an outside function evaluated at an inner function, multiplied by the derivative of that inner function. In the formula, \(f\) is the outside function, \(g\) is the inner function, and \(F\) is an antiderivative of \(f\).

The condition concerns the entire product. For example, in the first worked example, the inner function \(3x^2+1\) has derivative \(6x\), and that exact factor appears in the integrand. The rule then turns the outside power \(t^4\) into its antiderivative \(t^5/5\), evaluated at \(3x^2+1\).

The formula does not claim that every integral containing a composition can be evaluated this way. If the inner derivative is absent, or if the remaining factors do not make the integrand fit \(f(g(x))g'(x)\), this direct application is not justified. Other methods may be relevant, but they are not consequences of this formula alone.

A Common Missing-Factor Error

A frequent mistake is to integrate a composed power as though the derivative of its inner expression did not matter. For instance, the following proposed calculation is incorrect:

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

Differentiate the proposed answer to test it:

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

The derivative contains an extra factor \(6x\), so it is not the original integrand \((3x^2+1)^4\). The calculation incorrectly used the substitution rule without the matching inner derivative. The rule does correctly give

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

This correction does not evaluate the integral with the missing factor; it only identifies why the proposed expression is not its antiderivative. Always differentiate a proposed answer when checking whether the inner derivative has been accounted for.

Why This Derivation Matters

The substitution rule is not a separate trick that happens to produce convenient formulas. It is a direct consequence of a general differentiation rule. Recognizing this connection gives a reliable test: differentiate the proposed composite antiderivative and compare the result with the integrand.

This also clarifies the role of each part of the formula. The outside function \(f\) is integrated to obtain \(F\); the inner function \(g\) remains in place as the input to \(F\); and \(g'(x)\) is the factor created by differentiating that composition. When all three roles match, the formula follows. When one does not match, the Chain Rule does not justify the proposed answer.

Check Your Understanding

For each question, pay attention to the relationship between the inner function and its derivative.

  1. State the indefinite substitution rule using \(f\), \(g\), and an antiderivative \(F\) of \(f\).
  2. In the integrand \((x^2+5)^3(2x)\), identify the inner function, its derivative, and the outside function.
  3. Evaluate \(\int (x^2+4)^2(2x)\,dx\), then verify your answer by differentiation.
  4. Why does \(\frac{(3x^2+1)^5}{5}+C\) fail to be an antiderivative of \((3x^2+1)^4\)?
  5. What conditions on \(F\) and \(g\) are used to justify the substitution formula?

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