Tutorials › Calculus I › Choosing The Inner Function

Substitution and Reversing the Chain Rule · Tutorial 1123 of 1495

Choosing The Inner Function

Learn to spot a useful inner function by asking whether its derivative is already present among the remaining factors.

Intermediate 10 min read

What You'll Learn

  • Identify nested expressions that could serve as the inner function.
  • Match the derivative of a candidate with the other factors in the integrand.
  • Choose a substitution that turns the integrand into a simpler power.
  • Apply the same selection idea to radical and rational expressions.
  • Check a proposed antiderivative by differentiating it.
  • Recognize when a candidate substitution is missing a necessary derivative factor.

Why the Choice of Inner Function Matters

A substitution can simplify an integral by undoing the chain rule. The main decision is often not how to integrate the transformed expression, but which part of the original integrand to call \(u\).

When an integrand contains a nested expression, such as a power of a polynomial or a radical involving a polynomial, a useful first question is: “If I choose this nested expression as \(u\), does its derivative already appear elsewhere in the integrand?” When the answer is yes, the substitution is usually direct.

This is a selection principle, not a claim that every integral has an obvious substitution. A candidate is useful when replacing it with \(u\) makes the whole integrand simpler and accounts for the accompanying factors.

Key idea: For a nested expression \(g(x)\), try \(u=g(x)\) when the integrand also contains the derivative \(g'(x)\), or a factor that can be straightforwardly expressed in terms of \(u\). The choice is effective when the resulting integral is simpler than the original one.

The Matching Principle

Suppose an integrand has the form \(f(g(x))g'(x)\), where \(f\) and \(g\) are differentiable on the interval being considered. Set \(u=g(x)\). The substitution rule gives

$$ \int f(g(x))g'(x)\,dx=\int f(u)\,du. $$

The function \(g(x)\) is the inner function: it is the expression inside another function. For instance, in \((2x^2+3)^7\), the expression \(2x^2+3\) is nested inside the seventh power. Its derivative is \(4x\), so an integrand containing \(4x(2x^2+3)^7\) has a direct match.

In practice, inspect the integrand for nested expressions, differentiate promising candidates, and compare those derivatives with the other factors. The derivative need not be written next to the candidate; it may be a factor elsewhere in the product. If it is absent, the candidate may not simplify the integral by direct substitution.

1
Spot a nested expression.
Look inside a power, radical, or denominator for a function of \(x\) that could be replaced by \(u\).
2
Differentiate the candidate.
Find its derivative and compare it with the remaining factors in the integrand.
3
Test whether the integrand simplifies.
After the substitution, check that the factors can all be written in terms of \(u\) and \(du\), and that the new integral is manageable.
4
Integrate and check.
Return to \(x\) and differentiate the proposed antiderivative to verify it.

Worked Example: A Power of a Quadratic

Worked Example: A Power of a Quadratic

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

The nested expression is \(2x^2+3\). Its derivative is \(4x\), which is exactly the other factor in the integrand. Choose

$$ u=2x^2+3,\qquad du=4x\,dx. $$

Substituting gives

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

Check by differentiating the result. The chain rule gives

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

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

Worked Example: A Radical

Worked Example: A Radical

Evaluate \(\int \frac{2x}{\sqrt{x^2+9}}\,dx\).

The radical contains \(x^2+9\). Its derivative is \(2x\), the numerator. Set

$$ u=x^2+9,\qquad du=2x\,dx. $$

Since \(\sqrt{x^2+9}=u^{1/2}\), the integral becomes

$$ \int \frac{2x}{\sqrt{x^2+9}}\,dx =\int u^{-1/2}\,du =2u^{1/2}+C =2\sqrt{x^2+9}+C. $$

To check, differentiate:

$$ \frac{d}{dx}\left(2\sqrt{x^2+9}\right) =2\cdot\frac{1}{2}(x^2+9)^{-1/2}\cdot 2x =\frac{2x}{\sqrt{x^2+9}}. $$

The derivative equals the given integrand. The selection worked because the derivative of the expression under the radical supplied the numerator factor.

Worked Example: A Rational Expression

Worked Example: A Rational Expression

Evaluate \(\int \frac{2x+1}{(x^2+x+3)^3}\,dx\).

The denominator is a power of \(x^2+x+3\). Differentiating the expression inside that power gives \(2x+1\), exactly the numerator. Choose

$$ u=x^2+x+3,\qquad du=(2x+1)\,dx. $$

Then

$$ \int \frac{2x+1}{(x^2+x+3)^3}\,dx =\int u^{-3}\,du =\frac{u^{-2}}{-2}+C =-\frac{1}{2u^2}+C =-\frac{1}{2(x^2+x+3)^2}+C. $$

Differentiate the proposed antiderivative. Using the chain rule,

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

This reproduces the original integrand, confirming the answer.

Why the Matching Principle Works

The key justification is the chain rule. If \(F\) is an antiderivative of \(f\), so \(F'(u)=f(u)\), then differentiating the composition \(F(g(x))\) gives

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

Thus, whenever the integrand is \(f(g(x))g'(x)\), the composition \(F(g(x))\) differentiates to that integrand. Substitution expresses this reversal in a useful way: replace \(g(x)\) by \(u\), integrate the resulting expression in \(u\), then replace \(u\) by \(g(x)\). The derivative match is not a coincidence; it is precisely the factor created by the chain rule.

Takeaway: The derivative match explains why a candidate inner function is useful. It allows the entire integrand to be recognized as the derivative of a composition.

Choosing Among Possible Candidates

Sometimes several nested expressions seem possible. Prefer the candidate whose derivative is already present and whose substitution leaves the simplest expression. In \(\int x(1+x^2)^4\,dx\), the natural candidate is \(u=1+x^2\), because its derivative is \(2x\), closely matching the factor \(x\), while the remaining power becomes \(u^4\). Choosing the full expression \((1+x^2)^4\) instead introduces a derivative containing the extra factor \((1+x^2)^3\), so the transformed expression is less direct.

A candidate does not become useful merely because it is nested. After substituting, check the whole integrand: the remaining factors must also be expressible using \(u\) and its differential. If an \(x\)-factor remains that cannot be rewritten simply in terms of \(u\), the proposed choice may not help.

For this tutorial’s basic matching cases, the clearest choice is one whose derivative appears exactly as a factor. More complicated situations can require rewriting an expression or accounting for a constant factor; those require additional care. The guiding question remains the same: does the choice turn the original integral into a simpler one without losing any factors?

A Common Mistake: Ignoring the Derivative Factor

Consider the tempting calculation

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

This treats \(3x^2+1\) as though its derivative were already present. But the proposed answer differentiates to

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

which is not the integrand \((3x^2+1)^5\). The substitution \(u=3x^2+1\) produces \(du=6x\,dx\), but the original integral has no factor \(6x\). Therefore this direct substitution does not turn the integral into a power of \(u\) alone. The correction is not to ignore the missing factor: first check whether the derivative of the chosen inner function is actually available in the integrand.

By contrast, for \(\int 6x(3x^2+1)^5\,dx\), the factor \(6x\) is present. The same substitution gives \(\int u^5\,du\), and therefore

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

Differentiating this expression gives \(6x(3x^2+1)^5\), exactly as required. The difference between the two integrals is the derivative factor.

Using the Choice as a Reliable Habit

Choosing \(u\) is a way to organize what you see, not a guessing game. Look for a function inside another function; differentiate that candidate; then compare its derivative with the remaining factors. Powers, radicals, and denominators are common places to find a useful inner expression, but the derivative match is what makes the selection work.

Before accepting an answer, verify two things: the substitution accounted for every factor, and differentiating the final expression returns the original integrand. This check is especially helpful when an expression looks familiar, since a familiar outer power does not by itself justify treating the inner expression as a variable.

Check Your Understanding

For each question, focus on identifying the candidate inner function and checking its derivative match.

  1. For \(\int 6x(3x^2+2)^4\,dx\), what is a natural choice of \(u\), and what factor in the integrand matches its derivative?
  2. For \(\int \frac{2x}{\sqrt{x^2+5}}\,dx\), identify the inner expression and state what the substitution does to the radical.
  3. For \(\int \frac{3x^2}{(x^3+7)^2}\,dx\), which expression is a useful candidate for \(u\), and why?
  4. Why does \(\int (x^2+1)^3\,dx\) not directly become \(\int u^3\,du\) under \(u=x^2+1\)?
  5. What calculation can you perform to check a proposed antiderivative obtained by substitution?

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