Tutorials › Calculus I › Rule Sequences for Polynomial Products

Product, Quotient, and Chain Rules · Tutorial 481 of 1495

Rule Sequences for Polynomial Products

Apply the product rule systematically to polynomial products with multiple factors, collect the resulting terms, and verify the derivative by differentiating the expanded polynomial.

Intermediate 10 min read

What You'll Learn

  • Apply the product rule to a product of two or more polynomial factors.
  • Use the sum and power rules to differentiate each polynomial factor.
  • Keep track of every term in the derivative of a multi-factor product.
  • Expand and collect terms without losing signs or powers.
  • Check a product-rule result by first expanding the original polynomial.

Why Multi-Factor Products Need a Systematic Rule

A polynomial product may contain several factors, each of which is itself a sum of powers of \(x\). Differentiating the product requires accounting for how every factor changes. With three or more factors, it is easy to omit a term if the calculation is not organized.

The product rule gives a direct method: differentiate one factor at a time, leave the other factors unchanged, and add the resulting terms. Once those terms are written, the sum and power rules let us differentiate the polynomial factors, and ordinary algebra lets us expand and collect the result.

Key idea: In the derivative of a product with several factors, each factor is differentiated once in its own term. In that term, every other factor remains unchanged.

The Rule for Several Factors

For differentiable functions \(f\) and \(g\), the product rule states that

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

For polynomials, the factors and their derivatives are defined for every real \(x\). The sum rule says that the derivative of a finite sum is the sum of the derivatives, and the power rule says that \(\frac{d}{dx}x^k=kx^{k-1}\) for a nonnegative integer \(k\), with the derivative of a constant equal to zero. These rules provide the factor derivatives needed in each product-rule term.

Theorem: Let \(f_1,\ldots,f_n\) be differentiable functions on an interval. Then $$ \frac{d}{dx}\left(\prod_{i=1}^{n}f_i(x)\right) = \sum_{j=1}^{n} \left( f_j'(x)\prod_{\substack{i=1\\i\ne j}}^{n} f_i(x) \right). $$ In the \(j\)-th term, \(f_j\) is differentiated and every other factor is left unchanged. For \(n=1\), the product over no other factors is interpreted as \(1\), so the formula reads \(f_1'=f_1'\).

The notation \(\prod\) means to multiply the indicated factors, and \(\sum\) means to add the indicated terms. For example, with three factors the formula is

$$ \frac{d}{dx}\bigl(f_1f_2f_3\bigr) = f_1'f_2f_3+f_1f_2'f_3+f_1f_2f_3'. $$

Why the Rule Works

The multi-factor formula follows from the two-factor product rule. The argument below proves it for every positive integer number of factors, including the one-factor case.

1
Base case, \(n=1\).
The product has just one factor, so its derivative is \(f_1'\). In the formula, the product of the other factors is the empty product \(1\), and the sum has one term, \(f_1'\cdot 1=f_1'\). Thus the formula holds for \(n=1\).
2
Induction hypothesis.
Assume the formula holds for a product \(P_n=f_1f_2\cdots f_n\) of \(n\) differentiable factors. Then \(P_n'=\sum_{j=1}^{n}f_j'\prod_{1\le i\le n,\ i\ne j}f_i\).
3
Add one factor.
The product of \(n+1\) factors is \(P_nf_{n+1}\). By the two-factor product rule, its derivative is \(P_n'f_{n+1}+P_nf_{n+1}'\).
4
Substitute and identify the terms.
Substituting the induction hypothesis gives \(\sum_{j=1}^{n}\left(f_j'\prod_{1\le i\le n,\ i\ne j}f_i\right)f_{n+1}+\left(\prod_{i=1}^{n}f_i\right)f_{n+1}'\). The sum contains the terms where one of the first \(n\) factors is differentiated; the final term differentiates \(f_{n+1}\). Together these are exactly the formula for \(n+1\) factors.

By mathematical induction, the formula holds for every positive integer \(n\). This proof also explains the practical method: use the product rule to add one factor at a time, or write the equivalent list of terms in which each factor is differentiated once.

Worked Example: Differentiating Three Polynomial Factors

Worked Example: Differentiating Three Polynomial Factors

Differentiate \(f(x)=(x^2+1)(2x-3)(x^2-x+2)\), then expand and collect the derivative terms.

Name the factors \(A=x^2+1\), \(B=2x-3\), and \(C=x^2-x+2\). By the power and sum rules, \(A'=2x\), \(B'=2\), and \(C'=2x-1\). The three-factor rule gives

$$ f'=A'BC+AB'C+ABC' =2x(2x-3)(x^2-x+2)+2(x^2+1)(x^2-x+2)+(x^2+1)(2x-3)(2x-1). $$

Expand each term separately. First,

$$ (2x-3)(x^2-x+2) =2x^3-2x^2+4x-3x^2+3x-6 =2x^3-5x^2+7x-6, $$ $$ 2x(2x^3-5x^2+7x-6)=4x^4-10x^3+14x^2-12x. $$

For the second term,

$$ (x^2+1)(x^2-x+2) =x^4-x^3+2x^2+x^2-x+2 =x^4-x^3+3x^2-x+2, $$ $$ 2(x^4-x^3+3x^2-x+2)=2x^4-2x^3+6x^2-2x+4. $$

For the third term, first multiply \(A\) and \(B\), then multiply by \(2x-1\):

$$ (x^2+1)(2x-3)=2x^3-3x^2+2x-3, $$ $$ (2x^3-3x^2+2x-3)(2x-1) =4x^4-2x^3-6x^3+3x^2+4x^2-2x-6x+3 =4x^4-8x^3+7x^2-8x+3. $$

Now add like powers, displaying their coefficients:

$$ \begin{aligned} f'(x) &=(4+2+4)x^4+(-10-2-8)x^3+(14+6+7)x^2+(-12-2-8)x+(0+4+3)\\ &=10x^4-20x^3+27x^2-22x+7. \end{aligned} $$

Check by expanding the original product. First, \((x^2+1)(2x-3)=2x^3-3x^2+2x-3\). Then

$$ \begin{aligned} f(x) &=(2x^3-3x^2+2x-3)(x^2-x+2)\\ &=2x^5-2x^4+4x^3-3x^4+3x^3-6x^2 +2x^3-2x^2+4x-3x^2+3x-6\\ &=2x^5-5x^4+9x^3-11x^2+7x-6. \end{aligned} $$

Differentiate this expanded polynomial using the power and sum rules:

$$ f'(x)=10x^4-20x^3+27x^2-22x+7. $$

This matches the product-rule result.

Worked Example: Four Factors

Worked Example: Four Factors

Differentiate \(g(x)=x(x+1)(x+2)(x+3)\).

There are four factors, so write one term for each differentiated factor:

$$ \begin{aligned} g'(x) ={}&(x+1)(x+2)(x+3)+x(x+2)(x+3)\\ &+x(x+1)(x+3)+x(x+1)(x+2). \end{aligned} $$

Expand each term. The first is

$$ (x+1)(x+2)=x^2+3x+2,\qquad (x^2+3x+2)(x+3)=x^3+6x^2+11x+6. $$

The second is

$$ (x+2)(x+3)=x^2+5x+6,\qquad x(x^2+5x+6)=x^3+5x^2+6x. $$

The third is

$$ (x+1)(x+3)=x^2+4x+3,\qquad x(x^2+4x+3)=x^3+4x^2+3x. $$

The fourth is

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

Add the four results:

$$ \begin{aligned} g'(x) &=(1+1+1+1)x^3+(6+5+4+3)x^2+(11+6+3+2)x+6\\ &=4x^3+18x^2+22x+6. \end{aligned} $$

Check by expanding the original product. Since \((x+1)(x+2)=x^2+3x+2\),

$$ (x^2+3x+2)(x+3)=x^3+6x^2+11x+6, $$ $$ g(x)=x(x^3+6x^2+11x+6)=x^4+6x^3+11x^2+6x. $$

Differentiating gives \(g'(x)=4x^3+18x^2+22x+6\), agreeing with the four-factor calculation.

Worked Example: Two Polynomial Factors

Worked Example: Two Polynomial Factors

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

Let \(A=3x^2-2x+1\) and \(B=x^3+2x\). The power and sum rules give \(A'=6x-2\) and \(B'=3x^2+2\). Apply the two-factor product rule:

$$ h'=(6x-2)(x^3+2x)+(3x^2-2x+1)(3x^2+2). $$

Expand the first term:

$$ (6x-2)(x^3+2x)=6x^4-2x^3+12x^2-4x. $$

Expand the second term:

$$ (3x^2-2x+1)(3x^2+2) =9x^4-6x^3+3x^2+6x^2-4x+2 =9x^4-6x^3+9x^2-4x+2. $$

Collect like terms:

$$ h'(x)=(6+9)x^4+(-2-6)x^3+(12+9)x^2+(-4-4)x+2 =15x^4-8x^3+21x^2-8x+2. $$

To check, expand \(h\) itself:

$$ \begin{aligned} h(x) &=(3x^2-2x+1)(x^3+2x)\\ &=3x^5-2x^4+x^3+6x^3-4x^2+2x\\ &=3x^5-2x^4+7x^3-4x^2+2x. \end{aligned} $$

Its derivative is \(15x^4-8x^3+21x^2-8x+2\), which matches the product-rule result.

A Common Omission: Leaving Out a Factor's Term

For three factors, there must be three terms. In the first worked example, an incomplete calculation might write

$$ 2x(2x-3)(x^2-x+2)+2(x^2+1)(x^2-x+2) $$

and stop there. This differentiates the first factor in one term and the second factor in the other, but it never differentiates the third factor. The omitted term is \((x^2+1)(2x-3)(2x-1)\), which is not generally zero. For example, at \(x=0\) the two written terms sum to \(4\), while the omitted term equals \(3\). The complete derivative therefore has value \(7\) at \(x=0\), consistent with \(10x^4-20x^3+27x^2-22x+7\).

Practical check: Before expanding, count the factors and count the derivative terms. A product of \(n\) factors requires \(n\) terms, with each factor differentiated exactly once across the list.

Organizing the Calculation

A reliable sequence keeps the product-rule structure visible until every term is present. Then expand, collect, and check. Expanding the original product first can also provide a check, but it may involve more algebra than applying the product rule directly.

1
Identify the factors.
Write the polynomial as a product of its factors and label them if that makes the calculation easier to track.
2
Differentiate each factor.
Use the power and sum rules, keeping constants and signs in place.
3
Write every product-rule term.
Differentiate one factor in each term and copy all the other factors unchanged.
4
Expand and collect.
Expand the terms carefully, then combine coefficients of matching powers of \(x\).
5
Check the result.
Expand the original product and differentiate it, or compare with an independently simplified expression when that is convenient.

This approach matters because a correct derivative is not just a list of terms: the terms must account for every factor's contribution. Keeping the structure visible helps catch omissions before they become buried in expanded algebra.

Check Your Understanding

For each question, write the derivative rule sequence before expanding or simplifying.

  1. How many terms appear in the product-rule formula for five differentiable factors?
  2. Write the product-rule expression for the derivative of \((x^2+1)(x-2)(3x+1)\), without expanding it.
  3. For \(p(x)=x(x+1)(x+2)\), what factor is differentiated in the third term of \(p'(x)\)?
  4. Why must the derivative formula for \(n=1\) be checked separately in the induction proof?
  5. What is one way to check a derivative obtained by applying the product rule to polynomial factors?

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