Tutorials › AP Calculus › Substitution with Polynomial Inner Expressions

Antiderivatives and Substitution · Tutorial 498 of 999

Substitution with Polynomial Inner Expressions

Match a polynomial expression with its derivative to integrate powers of that expression by substitution.

Intermediate 9 min read

What You'll Learn

  • Identify a polynomial inner expression and calculate its derivative.
  • Match the derivative factor in the integrand, including any constant multiplier.
  • Apply the substitution formula to powers of polynomial expressions.
  • Use the quadratic pattern involving a factor of x.
  • Check an antiderivative by differentiating it.
  • Recognize when the power rule for substitution does not apply.

Why Polynomial Substitution Works

Some integrands contain a polynomial raised to a power, together with a factor that resembles the derivative of that polynomial. For example, the factor \(x\) in \(x(x^2+3)^4\) is closely related to the derivative of \(x^2+3\), which is \(2x\). That relationship makes substitution effective: the polynomial becomes a single variable, and its derivative factor becomes the differential.

The important step is not merely to spot a polynomial power. It is to check whether the rest of the integrand supplies the derivative of the inside expression, possibly after adjusting by a constant. Once the factors match, the power rule for antiderivatives can be applied to the new variable.

Key idea: If the integrand contains a power of a polynomial \(P(x)\) and also contains \(P'(x)\), substitution turns the integrand into a power of a single variable.

The Substitution Pattern

Let \(P\) be a differentiable polynomial, and suppose that the powers in the expression are defined on the interval being considered. Set \(u=P(x)\). Then \(du=P'(x)\,dx\). When the integrand contains \(P'(x)\,dx\), the substitution changes the remaining power of \(P(x)\) into a power of \(u\).

Theorem: If \(n\ne -1\), then, on any interval where the expression is defined, $$ \int P'(x)[P(x)]^n\,dx = \frac{[P(x)]^{n+1}}{n+1}+C. $$ More generally, for a constant \(k\), $$ \int kP'(x)[P(x)]^n\,dx = \frac{k[P(x)]^{n+1}}{n+1}+C. $$

For noninteger real powers, the expression must be defined on the interval in question; requiring \(P(x)>0\) throughout the interval is a sufficient condition. The formula excludes \(n=-1\), because the power rule would require division by zero. That case has a logarithmic form, rather than the power formula given here.

In practice, the derivative factor may not be written exactly as \(P'(x)\). A constant multiple is enough. For instance, if the inside expression is \(ax^2+b\), its derivative is \(2ax\). Therefore, an integrand with a factor of \(x\) can match the derivative after multiplying or dividing by the constant \(2a\).

$$ \int x(ax^2+b)^n\,dx = \frac{(ax^2+b)^{n+1}}{2a(n+1)}+C, \qquad a\ne 0,\quad n\ne -1. $$

This quadratic formula is valid wherever the power is defined. It follows because \(d(ax^2+b)=2ax\,dx\), so \(x\,dx\) is one-half of \(1/a\) times that differential.

Worked Examples

Worked Example: A Quadratic Inside with a Matching Factor

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

The inner polynomial is \(3x^2+2\). Its derivative is \(6x\), exactly the factor outside the power. Let

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

Substitute both expressions into the integral:

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

Apply the power rule for antiderivatives:

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

Check by differentiating the result. The chain rule gives

$$ \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 is correct.

Worked Example: Adjusting for a Missing Constant

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

The inside polynomial is \(2x^2-1\), whose derivative is \(4x\). The integrand has \(x\,dx\), which is one-fourth of \(du\). Set

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

Substitution gives

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

Replace \(u\) with the original polynomial:

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

Check by differentiation:

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

The factors \(4\) from the power rule and \(4x\) from differentiating the inside cancel the denominator \(16\), leaving the required factor \(x\).

Worked Example: A General Polynomial Inside

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

Here the inner expression is cubic rather than quadratic. Differentiate it:

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

The derivative is exactly the other factor in the integrand. Set

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

Then

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

Substituting back gives

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

Check by differentiating:

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

This matches the original integrand exactly.

Why the Formula Is True

The substitution rule is not a separate trick disconnected from differentiation. It reverses the chain rule. The chain rule says that differentiating a power of a composite function produces two factors: the power rule contributes a factor involving the inner function, and differentiating the inner function contributes its derivative.

1
Start with a proposed antiderivative.
For \(n\ne -1\), consider \(F(x)=\frac{[P(x)]^{n+1}}{n+1}\), on an interval where the power is defined.
2
Differentiate using the chain rule.
The derivative of the outer power contributes \((n+1)[P(x)]^n\), and the derivative of the inside contributes \(P'(x)\).
3
Simplify and compare.
The factor \(n+1\) cancels the denominator, leaving \(F'(x)=P'(x)[P(x)]^n\), the original integrand.
$$ F'(x) = \frac{1}{n+1}(n+1)[P(x)]^nP'(x) = P'(x)[P(x)]^n. $$

This verifies the theorem directly. If a constant \(k\) multiplies the integrand, multiplying the proposed antiderivative by \(k\) makes its derivative \(kP'(x)[P(x)]^n\), as required. The constant of integration \(C\) accounts for the fact that any two antiderivatives on an interval differ by a constant.

How to Recognize the Match

When the inside expression is a polynomial, differentiate it before trying to integrate. Then compare its derivative with the factors outside the power. The comparison should include the coefficient, not just the variable terms.

  • If the derivative appears exactly, use it as \(du\).
  • If the derivative appears up to a constant factor, adjust by that constant.
  • If the derivative factor is absent or does not match, this substitution pattern does not directly reduce the integral to a power of \(u\).

For example, the derivative of \(x^2+5\) is \(2x\). Thus \(x\,dx\) is half of \(d(x^2+5)\). The derivative of \(x^3+5\), however, is \(3x^2\), so a lone factor of \(x\) does not match it. The inner expression and the remaining factors must be considered together.

A Common Mistake: Losing the Constant Factor

A frequent error is to substitute the inside polynomial correctly but forget to convert the differential factor. Consider \(\int x(x^2+1)^3\,dx\). Since \(u=x^2+1\), differentiating gives \(du=2x\,dx\). The incorrect calculation below treats \(x\,dx\) as though it were \(du\):

$$ \text{Incorrect:}\qquad \int x(x^2+1)^3\,dx = \int u^3\,du = \frac{u^4}{4}+C. $$

There is a missing factor of one-half. From \(du=2x\,dx\), it follows that \(x\,dx=\frac12du\), so the corrected calculation is

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

Differentiate the incorrect answer to see the error:

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

That result is twice the original integrand. By contrast, differentiating the corrected answer gives

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

Keeping the differential and its coefficient visible is the simplest way to avoid this mistake.

Why This Pattern Matters

Polynomial substitution lets a complicated-looking expression be treated as a familiar power, provided the derivative of the inside is present. It also makes the relationship between differentiation and integration concrete: the factor \(P'(x)\) is precisely what the chain rule creates when differentiating a power of \(P(x)\).

For AP Calculus problems, the main decision is often whether the factors match. Do not assume that every polynomial power can be handled this way. Check the derivative of the inside, account for constant multipliers, and then confirm the final expression by differentiation. If those checks succeed, the substitution has done more than simplify the notation: it has identified the structure that makes the antiderivative possible.

Check Your Understanding

For each question, identify the inner polynomial and explain how its derivative relates to the remaining factor.

  1. Evaluate \(\int 4x(x^2+6)^2\,dx\), and check the result by differentiation.
  2. Evaluate \(\int x(5x^2+3)^4\,dx\). What constant factor is needed when replacing \(x\,dx\)?
  3. For \(\int (2x+1)(x^2+x+4)^6\,dx\), what should \(u\) be, and what is \(du\)?
  4. Explain why the power formula in this tutorial does not apply when \(n=-1\).
  5. A student claims \(\int x(3x^2+1)^2\,dx=\frac{(3x^2+1)^3}{3}+C\). Differentiate the claim and identify the coefficient error.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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