Tutorials › Calculus I › Reversing the Chain Rule in One Step

Integral Evaluation Strategies · Tutorial 1161 of 1495

Reversing the Chain Rule in One Step

Recognize a composite-function derivative inside an integrand, account for constant factors, and confirm the antiderivative by differentiating it.

Advanced 10 min read

What You'll Learn

  • Identify an inner function and its derivative in a composite integrand
  • State the conditions for reversing the chain rule
  • Find antiderivatives when the derivative factor matches exactly
  • Adjust for a constant factor between the integrand and the inner derivative
  • Verify proposed antiderivatives by differentiation
  • Recognize when a tempting chain-rule pattern has the wrong outer antiderivative

Recognizing a Reversed Chain Rule

An integral may look complicated because one function is nested inside another. Sometimes, however, the integrand contains exactly the factor produced by differentiating that composition. In that case, the chain rule can be read backward in a single step.

The key is to recognize both parts of the pattern: an outer function evaluated at an inner function, and the derivative of that inner function as a factor in the integrand. When the match is exact, there is no need to carry out a separate substitution calculation.

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

This is a recognition method, not a new differentiation rule. Its reliability comes from checking that the proposed answer differentiates to the original integrand. That check is especially useful when constants appear in the inner derivative.

The One-Step Rule

Let \(I\) and \(J\) be intervals. Suppose \(g\) is differentiable on \(I\), its values lie in \(J\), and \(F\) is differentiable on \(J\). Write \(f=F'\). Then for every \(x\) in \(I\), the chain rule gives the identity below.

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

This identity immediately gives the antiderivative rule. If the integrand has the form on the right, an antiderivative is obtained by evaluating the outer antiderivative \(F\) at the inner function \(g(x)\).

$$ \int f(g(x))g'(x)\,dx = F(g(x))+C, \qquad F'=f. $$

Here \(C\) is an arbitrary constant. On an interval, any two antiderivatives of the same function differ by a constant. The rule assumes that the stated derivatives exist on the relevant intervals; it does not require the integrand to have a particular appearance beyond the exact factorization shown.

The notation \(F'=f\) means that \(F\) is an antiderivative of \(f\). The inner function \(g\) and the factor \(g'\) must match: \(g'\) is the derivative of the same expression that appears as the input of \(f\). The outer antiderivative \(F\) must also be correct. Recognizing only a familiar inner expression is not enough.

Why the Rule Works

The complete justification is a direct application of the chain rule. The chain rule says that differentiating an outer function evaluated at an inner function multiplies the derivative of the outer function, evaluated at the inner function, by the derivative of the inner function.

1
Start with an outer antiderivative.
Choose \(F\) so that \(F'(u)=f(u)\) for inputs \(u\) in the relevant interval.
2
Compose it with the inner function.
The candidate antiderivative is \(F(g(x))\).
3
Differentiate the composition.
By the chain rule, its derivative is \(F'(g(x))g'(x)=f(g(x))g'(x)\), exactly the integrand.

This proof also explains the practical check: differentiate the proposed answer and compare the result with the original integrand, including every constant and sign.

Worked Examples

Worked Example: A Trigonometric Outer Function

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

First identify the inner function and its derivative:

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

The remaining factor is \(\cos(g(x))\). An outer antiderivative of \(\cos(u)\) is \(\sin(u)\), since \(\frac{d}{du}\sin(u)=\cos(u)\). The inner derivative is present exactly, so the one-step rule gives:

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

Check by differentiating the result:

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

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

Worked Example: A Logarithm with a Matching Derivative

Evaluate \(\int \frac{4x}{2x^2+7}\,dx\).

The denominator is the inner function, and its derivative is the numerator:

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

For positive \(u\), an outer antiderivative of \(1/u\) is \(\ln(u)\). Since \(2x^2+7\geq 7>0\) for every real \(x\), the logarithm is defined throughout the domain. Thus:

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

To check, differentiate the proposed antiderivative:

$$ \frac{d}{dx}\ln(2x^2+7) = \frac{1}{2x^2+7}\cdot 4x = \frac{4x}{2x^2+7}. $$

The derivative agrees with the integrand, including the numerator factor.

Worked Example: Correcting for a Constant Factor

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

Set \(g(x)=x^2+1\), so \(g'(x)=2x\). The integrand contains \(x\), not \(2x\). Since \(x=\frac12(2x)\), the integrand is one half of the exact chain-rule pattern:

$$ x\cos(x^2+1) = \frac12\bigl(2x\bigr)\cos(x^2+1). $$

An outer antiderivative of \(\cos(u)\) is \(\sin(u)\). Keeping the factor \(\frac12\) gives:

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

Verify the result by differentiating:

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

The factor of \(2\) from differentiating the inner function cancels the factor of \(\frac12\), leaving exactly the original integrand.

Worked Example: A Constant Inside an Exponential

Evaluate \(\int e^{5x+1}\,dx\).

Here the inner function is \(g(x)=5x+1\), with \(g'(x)=5\). The integrand does not include that factor of \(5\). Write it as one fifth of the matching pattern:

$$ e^{5x+1} = \frac15\bigl(5e^{5x+1}\bigr). $$

An outer antiderivative of \(e^u\) is \(e^u\). Therefore:

$$ \int e^{5x+1}\,dx = \frac15e^{5x+1}+C. $$

Differentiate to check the coefficient:

$$ \frac{d}{dx}\left(\frac15e^{5x+1}\right) = \frac15e^{5x+1}\cdot 5 = e^{5x+1}. $$

The result differentiates to the original integrand.

Handling Constant Factors Reliably

A constant factor can be handled by factoring it out of the integral or by comparing the inner derivative with the factor that is present. Suppose \(F'=f\) and \(c\) is a constant. The chain rule shows that:

$$ \frac{d}{dx}\bigl(cF(g(x))\bigr) = c f(g(x))g'(x). $$

Consequently, if the integrand is \(c f(g(x))g'(x)\), an antiderivative is \(cF(g(x))+C\). Equivalently, if the inner derivative is a constant multiple of the factor that appears, rewrite the integrand to expose the exact derivative and keep the compensating constant.

For instance, in the exponential example, the derivative of \(5x+1\) is \(5\), while the integrand has no factor \(5\). The required antiderivative therefore carries the factor \(\frac15\). In the trigonometric example, the inner derivative was \(2x\), but the integrand had \(x\); the needed factor was again \(\frac12\).

Do not change a constant merely because an inner function looks familiar. Compare the derivative of that exact inner function with the factor actually present in the integrand. A factor that is absent must be accounted for, and a factor already present must not be inserted again.

A Common Mistake: Forgetting the Outer Antiderivative

A frequent error is to preserve the inner expression and the derivative factor but choose the wrong outer antiderivative. For example, it is incorrect to claim:

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

Differentiating the proposed answer reveals the error:

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

which is not the original integrand \(3x^2\cos(x^3)\). The outer function is \(\cos(u)\), whose antiderivative is \(\sin(u)\), not \(\cos(u)\). The corrected calculation is:

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

and the check is:

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

This illustrates why a verification by differentiation is more than a formality: it detects errors in the outer antiderivative, the inner derivative, and constant factors.

When the One-Step Match Is Not Enough

The pattern is useful only when the integrand really has the required structure. Before applying it, check these points:

  • The expression inside the outer function is identified as \(g(x)\).
  • The integrand includes \(g'(x)\), either exactly or up to a constant factor.
  • The outer antiderivative \(F\) satisfies \(F'=f\) on the values taken by \(g(x)\).
  • The proposed result differentiates back to the entire integrand.

If the derivative factor does not match, the one-step rule cannot be applied in that form. A different evaluation strategy may be needed. In particular, a superficial resemblance between part of an integrand and a familiar composite function does not establish the chain-rule pattern.

Reversing the chain rule matters because it turns many composite integrals into quick, verifiable calculations. It also provides a useful way to judge a proposed antiderivative: the answer is correct precisely when differentiation reconstructs the integrand on the interval under consideration.

Check Your Understanding

For each question, identify the inner function and use differentiation to check any proposed antiderivative.

  1. Evaluate \(\int 2x\sin(x^2)\,dx\).
  2. Evaluate \(\int \frac{6x}{3x^2+2}\,dx\), and state why the logarithm is defined for every real \(x\).
  3. Find an antiderivative of \(e^{4x}\). What constant factor is needed, and why?
  4. Explain why \(\cos(2x^2)\) is not an antiderivative of \(4x\sin(2x^2)\).
  5. State the chain-rule identity that justifies the one-step antiderivative rule.

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