Tutorials › Calculus II › Selecting Substitutions by Inner-Function Fit

Integration Strategy · Tutorial 6 of 998

Selecting Substitutions by Inner-Function Fit

Choose a substitution by matching the proposed inner function’s derivative to the other factors in the integrand.

Beginner 9 min read

What You'll Learn

  • Identify a useful inner function in a composite integrand
  • Compare its derivative with the remaining factors
  • Recognize when a constant multiple is enough for a substitution
  • Apply substitution to power, exponential, and rational expressions
  • Check an antiderivative by differentiating it
  • Recognize when a proposed substitution does not fit

Choosing a Substitution by Its Derivative

When an integrand contains a composite expression, a substitution can simplify it by treating the inner expression as a new variable. The key question is not simply whether an expression looks like an inner function. It is whether the other factors in the integrand match its derivative.

For instance, if a power such as \((3x^2+2)^5\) appears, then \(3x^2+2\) is a natural candidate for a new variable. Its derivative is \(6x\). If the integrand also contains \(6x\), the substitution fits directly: the power becomes a power of the new variable, and the remaining factor becomes its differential.

This derivative match is the basis of substitution selection. It tells us when substitution turns the integrand into a simpler expression, and when a tempting choice is missing a necessary factor.

Core principle: For an integrand involving \(F(g(x))\), test \(g(x)\) as a substitution candidate by comparing \(g'(x)\) with the other factors. A direct fit occurs when those factors provide \(g'(x)\), possibly up to a nonzero constant.

What Counts as a Fit?

Suppose an integrand can be written as \(F(g(x))g'(x)\), where \(g\) is differentiable and \(F\) has an antiderivative \(H\) on the relevant interval. Setting \(u=g(x)\) gives \(du=g'(x)\,dx\), so the integral becomes \(\int F(u)\,du\). The substitution works because it replaces the composite inner expression and its derivative together.

A constant multiple also fits. If the integrand is \(F(g(x))h(x)\), and \(h(x)=c\,g'(x)\) for a nonzero constant \(c\), then the original integrand is \(cF(g(x))g'(x)\). The constant can be carried through the substitution.

Definition: A proposed inner function \(g(x)\) has a direct derivative fit in an integrand when the remaining factor is \(g'(x)\) or a nonzero constant multiple of \(g'(x)\). Algebraic simplification may reveal a fit that is not obvious at first glance.

The fit need not be an exact visual copy of the derivative. What matters is whether the factors can be rearranged or a constant can be taken out to produce \(g'(x)\,dx\). But if a factor is missing or cannot be obtained by such a rearrangement, the substitution does not directly reduce the integral to a simpler one.

Why the Derivative Match Works

The justification is the chain rule in reverse. Let \(H\) be an antiderivative of \(F\), so \(H'(u)=F(u)\). Differentiating the composite function \(H(g(x))\) gives:

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

Thus \(H(g(x))\) is an antiderivative of \(F(g(x))g'(x)\). This establishes the substitution rule for indefinite integrals:

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

If instead the integrand contains \(c\,g'(x)\), the constant factor changes the result accordingly:

$$ \int F(g(x))\,c\,g'(x)\,dx = cH(g(x))+C, \qquad c\ne 0. $$

In practice, this means we can choose a candidate \(g(x)\), calculate \(g'(x)\), and compare that derivative with the remaining factors. If they match up to a constant, substitution is promising. If they do not, we should not proceed as though they do.

Worked Examples

Worked Example: A Power with a Matching Derivative

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

The composite expression is \((3x^2+2)^5\), so take its inner function as the candidate:

$$ u=3x^2+2. $$

Differentiate this candidate with respect to \(x\):

$$ \frac{du}{dx}=6x, \qquad du=6x\,dx. $$

The factor \(6x\,dx\) is exactly present in the integral. Therefore the substitution fits, and the integral becomes:

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

Substitute \(3x^2+2\) back for \(u\):

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

Check by differentiating the proposed antiderivative:

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

This is the original integrand, so the antiderivative checks.

Worked Example: An Exponential with a Matching Derivative

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

The exponent \(2x^2-x\) is the inner function to test. Its derivative is:

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

This is exactly the factor multiplying the exponential. Set \(u=2x^2-x\), so \(du=(4x-1)\,dx\). The substitution gives:

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

To check, differentiate the answer and apply the chain rule:

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

The result agrees with the original integrand.

Worked Example: A Rational Expression with a Matching Denominator Derivative

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

In a fraction, the denominator is a useful candidate when its derivative appears in the numerator. Let \(u=x^2+3x+7\). Then:

$$ \frac{du}{dx}=2x+3, \qquad du=(2x+3)\,dx. $$

The numerator times \(dx\) is exactly \(du\), while the denominator becomes \(u\). Therefore:

$$ \int \frac{2x+3}{x^2+3x+7}\,dx = \int \frac{1}{u}\,du = \ln|u|+C = \ln|x^2+3x+7|+C. $$

In fact, the denominator is positive for every real \(x\), since:

$$ x^2+3x+7 = \left(x+\frac{3}{2}\right)^2+\frac{19}{4}>0. $$

So the absolute-value signs can be omitted here, although keeping them is valid. Check by differentiation:

$$ \frac{d}{dx}\ln|x^2+3x+7| = \frac{2x+3}{x^2+3x+7}. $$

This recovers the original rational expression.

How to Test a Candidate Efficiently

A useful test has three parts. First, identify a plausible inner function, often the expression inside a power, exponential, or denominator. Second, differentiate it. Third, compare that derivative with the factors outside the composite expression. This keeps the choice tied to the actual structure of the integrand rather than to appearance alone.

1
Choose a candidate.
Look for an expression whose substitution would simplify a composite part of the integrand.
2
Differentiate it.
Compute the candidate’s derivative before changing variables.
3
Compare the factors.
Check whether the derivative is present, up to a constant or a valid algebraic rearrangement.
4
Substitute and verify.
If the fit works, integrate in the new variable, return to \(x\), and differentiate the result to check it.

The derivative comparison can be especially revealing in common patterns:

Composite partCandidate to testFactor to compare
\((g(x))^n\)\(u=g(x)\)\(g'(x)\)
\(e^{g(x)}\)\(u=g(x)\)\(g'(x)\)
\(\frac{1}{g(x)}\)\(u=g(x)\)\(g'(x)\)

These are signals to test, not automatic instructions. A candidate is useful only if its derivative is accounted for by the rest of the integrand. In the rational pattern, for example, a numerator equal to the denominator’s derivative produces the form \(\int \frac{1}{u}\,du\). A different numerator may not.

A Common Mistake: Forgetting the Constant

Consider \(\int \frac{x}{x^2+1}\,dx\). The denominator suggests \(u=x^2+1\), but its derivative is \(2x\), not \(x\). A common error is to write \(du=x\,dx\) and conclude that the integral is \(\ln(x^2+1)+C\). That substitution equation is incorrect: differentiating \(x^2+1\) gives \(2x\).

The correction is to account for the factor of \(2\):

$$ u=x^2+1, \qquad du=2x\,dx, \qquad x\,dx=\frac{1}{2}\,du. $$

Now the integral is:

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

Since \(x^2+1>0\), the absolute-value signs are unnecessary in the final expression. Differentiate to check:

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

The factor of \(\frac{1}{2}\) is essential. Matching a derivative up to a constant does not mean the constant can be ignored; it must be carried through the substitution.

When a Candidate Does Not Fit

Not every composite expression has a useful derivative match. For example, in \(\int e^{x^2}\,dx\), choosing \(u=x^2\) gives \(du=2x\,dx\), but the integrand contains no factor of \(x\). The substitution therefore does not turn the integral directly into \(\int e^u\,du\). This observation does not prove that no method can handle an integral; it only shows that this particular direct substitution lacks its required derivative factor.

Conversely, a match may be hidden in the way the integrand is written. Before rejecting a candidate, check whether a constant can be factored out or the expression can be rearranged without changing it. Once the derivative fit is established, substitution is mechanical; choosing the candidate carefully is the strategic step.

Takeaway: A substitution is justified by a structural pairing: the chosen inner function and its derivative must both be represented. Test the derivative before changing variables, preserve any constant factor, and check the final antiderivative by differentiation.

Check Your Understanding

For each question, focus on the proposed inner function and the derivative match.

  1. For \(\int 10x(5x^2-4)^3\,dx\), what inner function would you test, and what factor shows that it fits?
  2. In \(\int 3e^{3x+2}\,dx\), what substitution makes the derivative factor appear exactly?
  3. For \(\int \frac{6x}{3x^2+5}\,dx\), which part suggests a substitution, and what is its derivative?
  4. Why is \(\int \frac{x}{x^2+1}\,dx\) not equal to \(\ln(x^2+1)+C\)?
  5. What does it mean for a proposed inner function to have a direct derivative fit?

Test yourself: Calculus II 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