TheCalculatorsHub

Product Rule Calculator

Interactive calculator coming soon!

Disclaimer: Results are estimates only. Always verify important calculations with a qualified professional before making decisions. Learn about our methodology.

The product rule is the differentiation rule for functions that are multiplied together. When y equals f(x) times g(x), the derivative is not simply f prime times g prime. Instead, the product rule states: d/dx[f(x) times g(x)] = f prime(x) times g(x) plus f(x) times g prime(x). In words, you differentiate the first factor and keep the second unchanged, then add the first factor unchanged multiplied by the derivative of the second. This calculator accepts two polynomial functions, applies the product rule to work out the full derivative expression, shows each partial term separately, and lets you evaluate the slope at any x value you enter, without having to carry out the algebra step by step.

Why the Product Rule Cannot Be Skipped

The single most common mistake students make, as highlighted in Reddit and Quora discussions, is assuming that (fg)' equals f' times g'. This is always wrong. A simple example from Paul's Online Math Notes shows the error clearly: let f(x) = x cubed and g(x) = x to the sixth. Then (fg)' = (x to the ninth)' = 9x to the eighth. But f' times g' = (3x squared)(6x to the fifth) = 18x to the seventh, which is a completely different expression. As a result, the product rule must always be applied when two functions are multiplied; there is no shortcut. Given that polynomial products appear in almost every calculus topic from optimisation to related rates, internalising this rule is one of the most important early steps in a calculus course. The Paul's Online Math Notes product and quotient rule lesson demonstrates the error with numerical counterexamples alongside the correct derivation.

f(x)g(x)f prime(x)g prime(x)Derivative (fg) prime
x squared3x + 12x32x(3x+1) + 3x squared = 9x squared + 2x
x cubedx squared + 23x squared2x3x squared(x sq+2) + 2x(x cubed) = 5x to 4th + 6x sq
4x + 52x - 3424(2x-3) + 2(4x+5) = 16x - 2
x to 4thx + 14x cubed14x cubed(x+1) + x to 4th = 5x to 4th + 4x cubed

Step-by-Step Application

To figure out the derivative of any product of two polynomials: step 1, identify f(x) and g(x); step 2, find f prime by applying the power rule to f; step 3, find g prime by applying the power rule to g; step 4, form the two products f prime times g and f times g prime; step 5, add them and collect like terms. With that in mind, the order in which you label f and g does not affect the final answer because addition is commutative: f prime times g plus f times g prime equals g prime times f plus g times f prime. The key discipline is to build up the habit of always producing two terms and never dropping one. That said, for polynomials of higher degree the multiplication in step 4 produces many terms, and collecting like terms carefully is essential to arrive at the correctly simplified form. The Cuemath product rule guide provides colour-coded worked examples that separate each step visually.

Combining the Product Rule With the Chain Rule

When one of the factors is a composite polynomial such as (3x + 1) to the fourth power, the chain rule must be applied to that factor during step 3. The chain rule gives: d/dx[(3x+1) to the 4th] = 4(3x+1) cubed times 3 = 12(3x+1) cubed. You then use this as g prime in the product rule. On top of that, you can often factor common terms from the two product rule terms to narrow down a compact simplified expression. For example, if both terms share a factor of (3x+1) cubed, factoring it out reduces the expression to a single term times (3x+1) cubed. Given that combined product-and-chain-rule problems are among the most tested in A-level and AP Calculus, knowing how to handle them is essential. Our Chain Rule Calculator handles composite polynomial functions specifically, and our Derivative Calculator handles standard polynomial terms without composition. The Derivative Calculus product rule calculator shows the step-by-step application for a range of function types beyond polynomials.