Tutorials › AP Calculus › Powers of Polynomial Expressions

Chain Rule and Nested Functions · Tutorial 166 of 999

Powers of Polynomial Expressions

Use the chain rule to differentiate powers of polynomial expressions, keeping the inner derivative factor and checking your result.

Intermediate 9 min read

What You'll Learn

  • Identify the polynomial inside a powered expression and the outer power.
  • Apply the power rule to the outer function and the polynomial derivative to the inner function.
  • Differentiate positive integer powers of polynomials at any real input.
  • Check a derivative using a product-rule calculation or an expanded polynomial.
  • Recognize and correct the common error of omitting the inner derivative.

Why These Expressions Need Two Derivatives

A powered polynomial such as \((x^3-2x+1)^6\) has an outer operation and an inner expression. The outer operation raises a quantity to the sixth power; the inner quantity is the polynomial \(x^3-2x+1\). Differentiating correctly requires accounting for both layers.

The power rule tells us how to differentiate a power of a variable. The chain rule explains what changes when the quantity being raised to a power is itself a function of \(x\). Together, they give a compact method for differentiating powers of polynomial expressions without expanding them first.

Key idea: Differentiate the outside power, leave the polynomial inside, and multiply by the derivative of that polynomial.

The Rule for a Positive Integer Power

Let \(p(x)\) be a polynomial and let \(n\) be a positive integer. The expression \([p(x)]^n\) is a composite function: its inner function is \(p(x)\), and its outer function raises an input to the \(n\)th power. Since polynomials are differentiable for every real \(x\), the chain rule applies at every real input.

Theorem: If \(p\) is a polynomial and \(n\) is a positive integer, then $$ \frac{d}{dx}[p(x)]^n = n[p(x)]^{n-1}p'(x) $$ for every real \(x\).

The factor \(n[p(x)]^{n-1}\) comes from differentiating the outer power while treating its input as a single quantity. The remaining factor, \(p'(x)\), comes from differentiating that input with respect to \(x\). Both factors are essential.

For example, in \((x^3-2x+1)^6\), the inner polynomial is \(p(x)=x^3-2x+1\), so \(p'(x)=3x^2-2\). The exponent decreases from 6 to 5, and the derivative of the inner polynomial multiplies the result.

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

Why the Rule Works

The justification is a direct application of the chain rule and the power rule. Define an outer function \(g(u)=u^n\), where \(u\) is its input, and let the inner function be \(p(x)\). Then \([p(x)]^n=g(p(x))\).

For a positive integer \(n\), the power rule gives \(g'(u)=nu^{n-1}\). The chain rule says that the derivative of \(g(p(x))\) is \(g'(p(x))p'(x)\). Substituting \(p(x)\) into the outer derivative gives the stated formula:

$$ \begin{aligned} \frac{d}{dx}[p(x)]^n &=g'(p(x))p'(x)\\ &=n[p(x)]^{n-1}p'(x). \end{aligned} $$

The conditions are met: \(p\) is a polynomial, so it is differentiable for every real \(x\), and \(g(u)=u^n\) is differentiable for every real \(u\) when \(n\) is a positive integer. Thus the formula holds for every real \(x\), including points where \(p(x)=0\).

This derivation also explains the role of each factor. The exponent decreases because of the outer power rule; the derivative \(p'(x)\) appears because the input to that outer function changes as \(x\) changes.

A Reliable Three-Step Method

1
Identify the inner polynomial.
Write down the full expression being raised to a power, and determine its derivative.
2
Differentiate the outer power.
Bring the exponent down as a coefficient and reduce the exponent by one, keeping the inner polynomial in parentheses.
3
Multiply by the inner derivative.
Attach the derivative of the polynomial as a factor. Then simplify only if doing so preserves the structure clearly.

Keeping the polynomial grouped in parentheses helps distinguish the inner function from the outer power. It also makes the required inner derivative factor easier to see.

Worked Examples

Worked Example: A Sixth Power of a Cubic

Differentiate \(y=(x^3-2x+1)^6\).

First identify the inner polynomial and differentiate it term by term:

$$ p(x)=x^3-2x+1, \qquad p'(x)=3x^2-2. $$

Apply the rule with \(n=6\). The exponent becomes \(6-1=5\), and the inner derivative is included as a factor:

$$ \begin{aligned} \frac{dy}{dx} &=6(x^3-2x+1)^5(3x^2-2). \end{aligned} $$

Check: At \(x=0\), the inner polynomial has value \(p(0)=1\), and its derivative has value \(p'(0)=-2\). The formula gives \(6(1)^5(-2)=-12\). Independently, view \(p(x)^6\) as a product of six copies of \(p(x)\). At \(x=0\), the product rule gives six terms, each with one factor \(p'(0)=-2\) and five factors \(p(0)=1\), so the derivative is \(6(-2)(1)^5=-12\), as required.

Worked Example: A Quadratic Raised to the Third Power

Differentiate \(y=(3x^2-5)^3\).

The inner polynomial and its derivative are

$$ p(x)=3x^2-5, \qquad p'(x)=6x. $$

Bring down the outer exponent, reduce it by one, and multiply by \(6x\):

$$ \begin{aligned} \frac{dy}{dx} &=3(3x^2-5)^2(6x)\\ &=18x(3x^2-5)^2. \end{aligned} $$

Check: At \(x=1\), \(p(1)=3-5=-2\) and \(p'(1)=6\). The derivative formula gives \(3(-2)^2(6)=3(4)(6)=72\). To check by the product rule, write \(p^3=p\cdot p\cdot p\). Its derivative is \(p'p^2+pp'p+ p^2p'=3p'p^2\). At \(x=1\), this is \(3(6)(4)=72\), matching the result.

Worked Example: Checking by Expanding a Square

Differentiate \(y=(x^2+1)^2\). Here the inner polynomial is \(p(x)=x^2+1\), so \(p'(x)=2x\). Applying the rule gives

$$ \begin{aligned} \frac{dy}{dx} &=2(x^2+1)(2x)\\ &=4x(x^2+1). \end{aligned} $$

For an independent check, expand the original expression and differentiate the resulting polynomial:

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

Factoring the expanded derivative gives \(4x^3+4x=4x(x^2+1)\), exactly the same answer. Expanding is not necessary for the method; here it serves as a check.

When the Inner Polynomial Is Zero

The formula remains valid when \(p(x)=0\). For a positive integer exponent \(n\), the expression \([p(x)]^n\) is still a polynomial expression, and its derivative is defined at such inputs.

If \(n>1\) and \(p(a)=0\), the formula gives \(n[p(a)]^{n-1}p'(a)=0\), because the factor \([p(a)]^{n-1}\) is zero. For instance, at \(x=1\), \(x^3-2x+1=0\), so the derivative of \((x^3-2x+1)^6\) is zero there. The rule does not require dividing by \(p(x)\), so there is no problem at a zero of the inner polynomial.

The exponent \(n=1\) is also covered: the formula becomes \(1[p(x)]^0p'(x)=p'(x)\), using \(p(x)^0=1\). A zeroth power is a separate constant case: \([p(x)]^0=1\) wherever that expression is defined, and its derivative is zero. The main rule above is stated for positive integer exponents.

A Common Mistake: Forgetting the Inner Derivative

A frequent error is to apply the outer power rule and stop before multiplying by the derivative of the polynomial. For example, an incorrect attempt at differentiating \((3x^2-5)^3\) might be

$$ \text{Incorrect:}\qquad \frac{d}{dx}(3x^2-5)^3 = 3(3x^2-5)^2. $$

This calculation accounts for the exponent but treats the inner expression as though it changed at a rate of \(1\). In fact, the derivative of \(3x^2-5\) is \(6x\), so that rate must be included:

$$ \text{Correct:}\qquad \frac{d}{dx}(3x^2-5)^3 = 3(3x^2-5)^2(6x) = 18x(3x^2-5)^2. $$

A useful check is to compare the proposed answer with the three-step method: did the outer power produce the coefficient and reduced exponent, and did the inner polynomial contribute its derivative as a factor? If the latter factor is absent, the chain rule has not been completed.

Why This Method Is Useful

Expanding a powered polynomial before differentiating can create many terms. For example, a sixth power of a cubic would expand into a polynomial with several powers of \(x\). The chain-rule form is usually shorter and keeps the structure visible: one factor records the outer power, and another records how the inner polynomial changes.

The method also makes it easier to check each part of the derivative. You can verify the exponent and coefficient from the outer power rule, then verify the inner factor by differentiating the polynomial. This is especially valuable when the polynomial has several terms or the outer exponent is large.

Takeaway: For a positive integer power of a polynomial, keep the polynomial intact, reduce the exponent by one, bring the exponent down as a coefficient, and multiply by the polynomial’s derivative.

Check Your Understanding

For each question, identify the inner polynomial before applying the rule.

  1. Differentiate \((x^2-4x+3)^5\).
  2. Differentiate \((2x^3+x)^4\), showing the derivative of the inner polynomial.
  3. For \(y=(x^2-1)^3\), find \(y'\) and evaluate it at \(x=1\).
  4. What factor is missing from the incorrect derivative \(4(x^2+3)^3\) for \((x^2+3)^4\)?
  5. Explain why the power rule for a positive integer exponent still applies at an input where the inner polynomial equals zero.

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
Clinical Biostats