Tutorials › Calculus I › Substitution As The Reverse Chain Rule

Substitution and Reversing the Chain Rule · Tutorial 1121 of 1495

Substitution As The Reverse Chain Rule

Recognize the reverse-chain-rule pattern and use it to find and verify antiderivatives of composite functions.

Intermediate 10 min read

What You'll Learn

  • Identify a composite input and its derivative in an integrand.
  • Explain why reversing the chain rule produces an antiderivative.
  • Replace a composite input with a temporary variable to simplify the calculation.
  • Check a proposed antiderivative by differentiating it.
  • Recognize when the reverse-chain-rule pattern is not present as written.
  • Avoid the common error of omitting the derivative of the inner function.

Introduction

An antiderivative problem often asks us to recognize a derivative that has already been formed. The chain rule tells us how to differentiate a composite function: differentiate the outer function at the inner input, then multiply by the derivative of that inner input. Reversing that process gives a useful method for finding antiderivatives.

The central pattern is a function evaluated at an inner expression, multiplied by the derivative of that expression. When the pattern is present, we can temporarily give the inner expression a new name, integrate with respect to that name, and then substitute the original expression back.

Central idea: If \(A'(u)=F(u)\), then the chain rule gives \(\frac{d}{dx}A(g(x))=F(g(x))g'(x)\). Thus \(A(g(x))\) is an antiderivative of \(F(g(x))g'(x)\).

Recognizing the pattern

In the expression \(F(g(x))g'(x)\), the function \(g\) is the inner function. The factor \(F(g(x))\) is another function evaluated at the inner expression, and \(g'(x)\) is the derivative of that inner function. The matching factor \(g'(x)\) is essential: it is what the chain rule produces when differentiating a composite.

To use the method, we need an antiderivative \(A\) of the outer function \(F\), so that \(A'(u)=F(u)\). The variable \(u\) is only a temporary name for the input to \(F\). After integrating in terms of \(u\), replace \(u\) with \(g(x)\).

Definition: An antiderivative of a function \(q\) on an interval \(I\) is a function \(Q\) differentiable on \(I\) such that \(Q'(x)=q(x)\) for every \(x\in I\). An indefinite integral represents the family of antiderivatives, written \(\int q(x)\,dx=Q(x)+C\), where \(C\) is an arbitrary constant.

In this tutorial, the method is applied when the integrand has the stated composite-and-derivative form and the outer function has a known antiderivative. The chain rule verifies the result directly. If the inner-derivative factor is missing or does not match, this pattern cannot be applied as written; that does not by itself prove that the integrand has no antiderivative.

Worked Example: A trigonometric function of a composite input

Worked Example: A trigonometric function of a composite input

Find an antiderivative of \(\int 2x\cos(x^2+1)\,dx\).

First identify the inner function and its derivative:

$$ g(x)=x^2+1, \qquad g'(x)=2x. $$

The remaining function is cosine, whose antiderivative with respect to its input \(u\) is \(\sin u\), since \(\frac{d}{du}\sin u=\cos u\). The integrand is therefore \(\cos(g(x))g'(x)\).

Temporarily write \(u=g(x)=x^2+1\). In terms of this input, the antiderivative is \(\sin u\). Substitute \(u=x^2+1\) back:

$$ \int 2x\cos(x^2+1)\,dx = \sin(x^2+1)+C. $$

Check by differentiation. The chain rule gives

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

This is the original integrand, so the antiderivative is correct.

Why the method works

The justification is exactly the chain rule. Suppose \(g\) is differentiable on an interval \(I\), and \(A\) is differentiable on an interval containing the values \(g(x)\) for \(x\in I\). Suppose also that \(A'(u)=F(u)\) for those inputs. Then the composite function \(A(g(x))\) is differentiable on \(I\), and its derivative is as follows.

Theorem: Under those conditions, \(A(g(x))\) is an antiderivative on \(I\) of \(F(g(x))g'(x)\).

Proof. Apply the chain rule to the composite \(A\circ g\). Its outer function is \(A\), and its inner function is \(g\). Therefore, for every \(x\in I\),

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

The last expression is the stated integrand. By the definition of antiderivative, \(A(g(x))\) is an antiderivative of that integrand. This proves the result.

This argument also explains why the temporary variable is useful. It isolates the input being passed to the outer function. We find an antiderivative in terms of that input, then restore the original expression. The temporary variable does not change the function or the answer.

Worked Example: A polynomial outer function

Worked Example: A polynomial outer function

Find an antiderivative of \(\int (3x^2-2)(x^3-2x+5)^4\,dx\).

Set \(g(x)=x^3-2x+5\). Differentiate it:

$$ g'(x)=3x^2-2. $$

Thus the integrand is \(g'(x)\) multiplied by \(g(x)^4\). The outer function is \(F(u)=u^4\), and an antiderivative of it is \(A(u)=\frac{u^5}{5}\), because

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

Replace the temporary input \(u\) by \(x^3-2x+5\):

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

Check the result by differentiating the proposed antiderivative:

$$ \begin{aligned} \frac{d}{dx}\left(\frac{(x^3-2x+5)^5}{5}\right) &= \frac{5(x^3-2x+5)^4}{5}(3x^2-2)\\ &= (3x^2-2)(x^3-2x+5)^4. \end{aligned} $$

The derivative matches the original integrand exactly.

A practical sequence of steps

For a candidate integrand, compare the expression inside the composition with the factors multiplying it. The order below makes the check explicit and reduces the chance of losing the inner derivative.

1
Choose the inner expression.
Identify a plausible \(g(x)\) that is being used as the input to another function.
2
Differentiate the inner expression.
Compute \(g'(x)\) and compare it with the other factors in the integrand.
3
Find the outer antiderivative.
If the outer function is \(F(u)\), find \(A(u)\) satisfying \(A'(u)=F(u)\).
4
Substitute the inner expression back.
Write \(A(g(x))+C\), with the original variable \(x\) restored.
5
Verify by differentiation.
Apply the chain rule to the proposed antiderivative and compare the result with the integrand.

Worked Example: A matching derivative found by expansion

Worked Example: A matching derivative found by expansion

Find an antiderivative of \(\int (2x+4)(x^2+4x+7)^3\,dx\).

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

$$ g'(x)=2x+4. $$

This matches the factor outside the power, so the integrand has the required form. For the outer function \(F(u)=u^3\), an antiderivative is \(A(u)=\frac{u^4}{4}\), since

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

Substitute the inner expression into \(A\):

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

Differentiate to check:

$$ \begin{aligned} \frac{d}{dx}\left(\frac{(x^2+4x+7)^4}{4}\right) &= \frac{4(x^2+4x+7)^3}{4}(2x+4)\\ &= (2x+4)(x^2+4x+7)^3. \end{aligned} $$

The derivative is precisely the original integrand, confirming the answer.

A common mistake: forgetting the inner derivative

When integrating a function of \(g(x)\), it is tempting to integrate only the visible outer function and omit the factor that the chain rule requires. That produces an answer whose derivative is usually incorrect.

Common mistake: Claiming \(\int 2x\cos(x^2+1)\,dx=-\cos(x^2+1)+C\). Differentiating the claimed answer gives \(2x\sin(x^2+1)\), not \(2x\cos(x^2+1)\). The outer antiderivative of cosine is sine, not negative cosine. The corrected answer is \(\sin(x^2+1)+C\), whose derivative is \(2x\cos(x^2+1)\).

There is a related pattern-recognition mistake: seeing an inner expression does not guarantee that its derivative is present. For example, \(\cos(x^2)\) contains the inner function \(x^2\), but its derivative is \(2x\), and the integrand as written has no such factor. The reverse-chain-rule method does not apply directly in that form. One should not insert a missing factor without also accounting for its effect on the expression.

When this viewpoint is useful

Many complicated-looking integrands are simple once their structure is recognized. A nested expression can conceal the derivative of a familiar outer antiderivative. Looking for the inner derivative is therefore not merely a bookkeeping trick: it is a way to identify how the integrand could have been produced by differentiation.

The final differentiation check is especially valuable. It tests both the outer antiderivative and the inner derivative factor. If the result differs from the original integrand, compare the two expressions carefully before accepting the answer. A missing factor, a sign error, or an incorrect outer antiderivative will be exposed by this check.

Remember that the constant \(C\) is included because adding any constant to an antiderivative does not change its derivative. The reverse-chain-rule step constructs one antiderivative, and \(+C\) records the full family on the interval under consideration.

Check Your Understanding

For each question, identify the inner expression and use differentiation to justify your conclusion.

  1. Find an antiderivative of \(\int 6x\sin(3x^2+2)\,dx\), and verify it.
  2. For \(\int (4x^3)(x^4+1)^6\,dx\), identify the inner function, its derivative, and the outer antiderivative.
  3. Why does the factor \(g'(x)\) appear in an integrand of the form \(F(g(x))g'(x)\)?
  4. Does the reverse-chain-rule pattern apply directly to \(\int \sin(x^2)\,dx\) as written? Explain what factor you would look for.
  5. State the chain-rule calculation that verifies \(A(g(x))\) as an antiderivative when \(A'(u)=F(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