Calculus/Product and Quotient Rules
When we wish to differentiate a more complicated expression such as
our only way (up to this point) to differentiate the expression is to expand it and get a polynomial, and then differentiate that polynomial. This method becomes very complicated and is particularly error prone when doing calculations by hand. A beginner might guess that the derivative of a product is the product of the derivatives, similar to the sum and difference rules, but this is not true. To take the derivative of a product, we use the product rule.
It may also be stated as
or in the Leibniz notation as
The derivative of the product of three functions is:
Since the product of two or more functions occurs in many mathematical models of physical phenomena, the product rule has broad application in physics, chemistry, and engineering.
- Suppose one wants to differentiate ƒ(x) = x2 sin(x). By using the product rule, one gets the derivative ƒ '(x) = 2x sin(x) + x2cos(x) (since the derivative of x2 is 2x and the derivative of sin(x) is cos(x)).
- One special case of the product rule is the constant multiple rule, which states: if c is a real number and ƒ(x) is a differentiable function, then cƒ(x) is also differentiable, and its derivative is (c × ƒ)'(x) = c × ƒ '(x). This follows from the product rule since the derivative of any constant is zero. This, combined with the sum rule for derivatives, shows that differentiation is linear.
Physics Example I: rocket acceleration
Consider the vertical acceleration of a model rocket relative to its initial position at a fixed point on the ground. Newton's second law says that the force is equal to the time rate change of momentum. If F is the net force (sum of forces), p is the momentum, and t is the time,
Since the momentum is equal to the product of mass and velocity, this yields
where m is the mass and v is the velocity. Application of the product rule gives
Since the acceleration, a, is defined as the time rate change of velocity, a = dv/dt,
Solving for the acceleration,
Physics Example II: electromagnetic induction
Faraday's law of electromagnetic induction states that the induced electromotive force is the negative time rate of change of magnetic flux through a conducting loop.
where is the electromotive force (emf) in volts and ΦB is the magnetic flux in webers. For a loop of area, A, in a magnetic field, B, the magnetic flux is given by
where θ is the angle between the normal to the current loop and the magnetic field direction.
Taking the negative derivative of the flux with respect to time yields the electromotive force gives
In many cases of practical interest only one variable (A, B, or θ) is changing, so two of the three above terms are often zero.
Proof of the Product Rule
Proving this rule is relatively straightforward, first let us state the equation for the derivative:
We will then apply one of the oldest tricks in the book—adding a term that cancels itself out to the middle:
Notice that those terms sum to zero, and so all we have done is add 0 to the equation. Now we can split the equation up into forms that we already know how to solve:
Looking at this, we see that we can factor the common terms out of the numerators to get:
Which, when we take the limit, becomes:
- , or the mnemonic "one D-two plus two D-one"
This can be extended to 3 functions:
For any number of functions, the derivative of their product is the sum, for each function, of its derivative times each other function.
Back to our original example of a product, , we find the derivative by the product rule is
Note, its derivative would not be
which is what you would get if you assumed the derivative of a product is the product of the derivatives.
To apply the product rule we multiply the first function by the derivative of the second and add to that the derivative of first function multiply by the second function. Sometimes it helps to remember the memorize the phrase "First times the derivative of the second plus the second times the derivative of the first."
Application: proof of the Power Rule
The product rule can be used to give a proof of the power rule for whole numbers. The proof proceeds by mathematical induction. We begin with the base case . If then from the definition is easy to see that
Next we suppose that for fixed value of , we know that for , . Consider the derivative of ,
We have shown that the statement is true for and that if this statement holds for , then it also holds for . Thus by the principle of mathematical induction, the statement must hold for .
There is a similar rule for quotients. To prove it, we go to the definition of the derivative:
This leads us to the so-called "quotient rule":
Some people remember this rule with the mnemonic "low D-high minus high D-low, over the square of what's below!"
The derivative of is:
Remember: the derivative of a product/quotient is not the product/quotient of the derivatives. (That is, differentiation does not distribute over multiplication or division.) However one can distribute before taking the derivative. That is