Skip to main content

Section 3.3 The Product Rule

The rule for differentiating a product of function is slightly more complicated than previous rules. One might at first glance believe that the derivative of a product of two functions is the product of the derivatives, however this is not true.

Subsection 3.3.1 The Product Rule

The formula can be more easily remembered by omitting the arguments, as,
\begin{equation*} \boxed{(fg)' = f'g + fg'} \quad \text{} \end{equation*}
If \(u, v\) are quantities that are functions of \(x\text{,}\) then in Leibniz notation,
\begin{equation*} \frac{d(uv)}{dx} = u \cdot \frac{dv}{dx} + \frac{du}{dx} \cdot v \end{equation*}
Let \(u = f(x), v = g(x)\text{.}\) Then, as \(x\) changes, both \(f\) and \(g\) change, and this causes \(uv = f(x)g(x)\) to change. The product rule shows how the product \(uv\) changes as \(x\) changes, in terms of \(f\) and \(g\text{.}\) Suppose that \(x\) is incremented by some \(\Delta x\text{,}\) and let \(\Delta u, \Delta v\) be the corresponding increments in \(u\) and \(v\text{.}\) Then, consider the change in the product, \(\Delta(uv)\text{,}\)
\begin{equation*} \Delta(uv) = \underbrace{(u + \Delta u)(v + \Delta v)}_{\text{new }} - \underbrace{uv}_{\text{old }} \end{equation*}
Then, expanding and simplifying,
\begin{align*} \Delta(uv) \amp = uv + \Delta u v + u \Delta v + \Delta u \Delta v - uv\\ \amp = \Delta u v + u \Delta v + \Delta u \Delta v \end{align*}
Then, dividing both sides by \(\Delta x\text{,}\)
\begin{align*} \frac{\Delta(uv)}{\Delta x} \amp = \frac{\Delta u v}{\Delta x} + \frac{u \Delta v}{\Delta x} + \frac{\Delta u \Delta v}{\Delta x}\\ \amp = \frac{\Delta u}{\Delta x} v + u \frac{\Delta v}{\Delta x} + \Delta u \frac{\Delta v}{\Delta x} \end{align*}
Then, as \(\Delta x \to 0\text{,}\)
\begin{align*} \lim_{\Delta x \to 0} \frac{\Delta(uv)}{\Delta x} \amp = \lim_{\Delta x \to 0} \brac{\frac{\Delta u}{\Delta x} v + u \frac{\Delta v}{\Delta x} + \Delta u \frac{\Delta v}{\Delta x}}\\ \frac{d(uv)}{dx} \amp = \lim_{\Delta x \to 0} \frac{\Delta u}{\Delta x} \cdot v + \lim_{\Delta x \to 0} u \cdot \frac{\Delta v}{\Delta x} + \lim_{\Delta x \to 0} \Delta u \frac{\Delta v}{\Delta x} \end{align*}
The first term approaches \(\frac{du}{dx} v\text{,}\) the second approaches \(u \frac{dv}{dx}\text{,}\) and for the third, \(\lim_{\Delta x \to 0} \frac{\Delta v}{\Delta x} = \frac{dv}{dx}\text{,}\) however \(\Delta u\) also depends on \(\Delta x\text{,}\) and since \(f\) is continuous, as the change in \(x\) goes to 0, the change in \(u\) goes to 0 also. Thus,
\begin{align*} \frac{d(uv)}{dx} \amp = \frac{du}{dx} v + u \frac{dv}{dx} + 0 \cdot \frac{dv}{dx}\\ \amp = \frac{du}{dx} v + u \frac{dv}{dx} \end{align*}

Subsection 3.3.2 Simplifying Before Using the Product Rule

When a function can be differentiated using the product rule, sometimes it is simpler to simplify it first to avoid using the product rule.
For \(f(x) = x^2(1 - 7x)\text{,}\) it can be differentiated using the product rule,
\begin{align*} f'(x) \amp = 2x (1 - 7x) + x^2 (-7)\\ \amp = -21x^2 + 2x \amp\amp \text{simplifying} \end{align*}
Alternatively, simplifying \(f\) first, \(f(x) = x^2 - 7x^3\text{,}\) and then using the power rule,
\begin{equation*} f'(x) = 2x - 21x^2 \end{equation*}

Subsection 3.3.3 Product Rule Mnemonic

Each term in the product rule has one derivative, multiplied by the other function. Note that because the two terms are added, their order doesn't matter.
The product rule isn't particularly difficult to remember, however, there's an interesting pattern that may help. Consider the product rule,
\begin{equation*} (fg)' = f'g + fg' \end{equation*}
Dividing both sides by \(f\) and \(g\text{,}\) we get an interesting pattern,
\begin{equation*} \frac{(fg)'}{fg} = \frac{f'}{f} + \frac{g'}{g} \end{equation*}

Subsection 3.3.4 Differential Intuition

Recall the equation in Leibniz notation,
\begin{equation*} \frac{d(uv)}{dx} = u \cdot \frac{dv}{dx} + \frac{du}{dx} \cdot v \end{equation*}
Then, “multiplying by \(dx\)”,
\begin{equation*} \boxed{d(uv) = u \,dv + du \,v} \end{equation*}