Differentiate each factor in turn, leaving the other one alone.
\[\left(fg\right)' = f'g + fg'\]
What it says
The derivative of a product is not the product of the derivatives. Think of a rectangle with sides \(f\) and \(g\): growing \(f\) by a sliver adds a strip of area \(f'g\), growing \(g\) adds a strip \(fg'\), and the tiny corner where both grow is negligible in the limit. The two strips are the two terms.
The rule is symmetric, so it does not matter which factor you call \(f\). It extends to three or more factors by differentiating one at a time: \(\left(fgh\right)' = f'gh + fg'h + fgh'\) — one term per factor.
Before using it, check whether one factor is a constant. If it is, the constant multiple rule is shorter and produces one term instead of two.
When it applies
Two or more expressions that each contain the variable are multiplied together.
A polynomial times a transcendental function, such as \(x^{2}e^{x}\).
Not needed when a factor is constant, or when multiplying out first is easier.
Five worked examples
Every line is the step the calculator would show, in the order it applies them. Each graph
is live: hover it to read both curves and see the tangent whose slope is the derivative,
drag to pan, scroll to zoom.
\[\frac{d}{dx}\left[x^{2}\sin x\right] = \frac{d}{dx}\left[x^{2}\right]\sin x + x^{2}\,\frac{d}{dx}\left[\sin x\right]\]
Power rule and trigonometric rule.
\[= 2x\sin x + x^{2}\cos x\]
Answer
\[2 x \sin\left(x\right) + x^{2} \cos\left(x\right)\]
An oscillation whose swing grows like \(x^{2}\), with f′ swinging wider still and crossing zero at every crest and trough of f. Both terms of the rule are visible in the shape: \(2x\sin x\) opens out the envelope, \(x^{2}\cos x\) keeps the wave in step.
Each term keeps one factor untouched. That is the signature of the product rule.