Chapter 3: Differentiation Rules - The Product Rule
Introduction
The Product Rule is a method for finding the derivative of a product of two functions.
An initial, incorrect guess was that the derivative of a product is the product of the derivatives like Leibniz's initial thought.
For example, if f(x)=x2 and g(x)=x3, then f′(x)=2x and g′(x)=3x2. But f(x)g(x)=x5, so (f(x)g(x))′=5x4, which is not equal to (2x)(3x2)=6x3.
Discovery of the Product Rule
Consider two positive differentiable functions, u and v.
The product uv can be interpreted as the area of a rectangle.
If u changes by Δu and v changes by Δv, the new value of the product is (u+Δu)(v+Δv), which can be interpreted as the area of a larger rectangle.
The change in the area of the rectangle is: (u+Δu)(v+Δv)−uv=uΔv+vΔu+ΔuΔv
Dividing by Δx: Δx(u+Δu)(v+Δv)−uv=uΔxΔv+vΔxΔu+ΔxΔuΔv
Leibniz Notation and the Definition of a Derivative
The definition of a derivative in Leibniz notation is: dxdy=limΔx→0ΔxΔy
The Product Rule
If u and v are both differentiable, then: dxd(uv)=udxdv+vdxdu
In prime notation: (uv)′=u′v+uv′
Proof of the Product Rule
Starting with: ΔxΔ(uv)=uΔxΔv+vΔxΔu+ΔxΔuΔv
Taking the limit as Δx approaches 0: lim<em>Δx→0ΔxΔ(uv)=lim</em>Δx→0(uΔxΔv+vΔxΔu+ΔxΔuΔv)
Since u is differentiable, it is also continuous, so limΔx→0Δu=0
Thus, dxd(uv)=udxdv+vdxdu+0=udxdv+vdxdu
The Product Rule holds for all differentiable functions u and v, whether they are positive or negative.
In words: The derivative of a product of two functions is the first function times the derivative of the second function plus the second function times the derivative of the first function.
Example 1
Differentiate the function f(x)=x2ex
Solution:
Using the Product Rule: f′(x)=x2dxd(ex)+exdxd(x2)=x2ex+ex(2x)=x2ex+2xex
If f(x)=x2ex, find f′′′(x)
First derivative: f′(x)=x2ex+2xex
Second derivative: f′′(x)=(x2ex+2xex)+(2xex+2ex)=x2ex+4xex+2ex
Third derivative: f′′′(x)=(x2ex+4xex+2ex)+(2xex+4ex+0)=x2ex+6xex+6ex
Each successive differentiation adds another term with ex
The graph of f(x) is increasing when f′(x) is positive and decreasing when f′(x) is negative.
Example 2
Differentiate the function y=x(x2+1)
Solution 1:
Using the Product Rule: dxdy=xdxd(x2+1)+(x2+1)dxd(x)=x(2x)+(x2+1)(2x1)=2x3/2+2xx2+1
Solution 2:
Rewriting the function using laws of exponents: y=x1/2(x2+1)=x5/2+x1/2
Differentiating directly: dxdy=25x3/2+21x−1/2
This answer is equivalent to the answer in Solution 1.
Constants and Variables
In mathematics, letters near the beginning of the alphabet (e.g., a,b,c) typically represent constants, while letters near the end of the alphabet (e.g., x,y,z) represent variables.
Example 3
If g(x)=f(x)sin(x), where f(6π)=4 and f′(6π)=−2, find g′(6π).
Solution:
Applying the Product Rule: g′(x)=f(x)dxd(sin(x))+sin(x)dxd(f(x))=f(x)cos(x)+sin(x)f′(x)
Evaluating at x=6π: g′(6π)=f(6π)cos(6π)+sin(6π)f′(6π)=4(23)+(21)(−2)=23−1
Simplification
Sometimes it is easier to simplify a product of functions before differentiating than to use the Product Rule such as in Example 2.
In Example 1, the Product Rule is the only possible method because we cannot simplify x2ex by using exponent rules or any other technique.