Motivating Questions
- How does the algebraic structure of a function guide us in computing its derivative using shortcut rules?
- How do we compute the derivative of a product of two basic functions in terms of the derivatives of the basic functions?
- How do we compute the derivative of a quotient of two basic functions in terms of the derivatives of the basic functions?
- How do the product and quotient rules combine with the sum and constant multiple rules to expand the library of functions we can differentiate quickly?
So far, we can differentiate power functions (), exponential functions (), and the two fundamental trigonometric functions ( and ). With the sum rule and constant multiple rules, we can also compute the derivative of combined functions.
Example
Differentiate
Because is a sum of basic functions, we can now quickly say that
What about a product or quotient of two basic functions, such as
or
While the derivative of a sum is the sum of the derivatives, it turns out that the rules for computing derivatives of products and quotients are more complicated.
Preview Activity
Let and be the functions defined by and
- Determine and
- Let and observe that Rewrite the formula for by distributing the term. Then, compute using the sum and constant multiple rules.
- True or false:
- Let and observe that Rewrite the formula for by dividing each term in the numerator by the denominator and simplify to write as a sum of constant multiples of powers of Then, compute using the sum and constant multiple rules.
- True or false:
The product rule
As part (b) of Preview Activity shows, it is not true in general that the derivative of a product of two functions is the product of the derivatives of those functions. To see why this is the case, we consider an example involving meaningful functions.
Say that an investor is regularly purchasing stock in a particular company. Let represent the number of shares owned on day where represents the first day on which shares were purchased. Let give the value of one share of the stock on day note that the units on are dollars per share. To compute the total value of the stock on day we take the product
Observe that over time, both the number of shares and the value of a given share will vary. The derivative measures the rate at which the number of shares is changing, while measures the rate at which the value per share is changing. How do these respective rates of change affect the rate of change of the total value function?
To help us understand the relationship among changes in and let's consider some specific data.
- Suppose that on day 100, the investor owns 520 shares of stock and the stock's current value is $27.50 per share. This tells us that and
- On day 100, the investor purchases an additional 12 shares (so the number of shares held is rising at a rate of 12 shares per day).
- On that same day the price of the stock is rising at a rate of 0.75 dollars per share per day.
In calculus notation, the latter two facts tell us that (shares per day) and (dollars per share per day). At what rate is the value of the investor's total holdings changing on day 100?
Observe that the increase in total value comes from two sources: the growing number of shares, and the rising value of each share. If only the number of shares is increasing (and the value of each share is constant), the rate at which which total value would rise is the product of the current value of the shares and the rate at which the number of shares is changing. That is, the rate at which total value would change is given by
Note particularly how the units make sense and show the rate at which the total value is changing, measured in dollars per day.
If instead the number of shares is constant, but the value of each share is rising, the rate at which the total value would rise is the product of the number of shares and the rate of change of share value. The total value is rising at a rate of
Of course, when both the number of shares and the value of each share are changing, we have to include both of these sources. In that case the rate at which the total value is rising is
We expect the total value of the investor's holdings to rise by about $720 on the 100th day. 1
Next, we expand our perspective from the specific example above to the more general and abstract setting of a product of two differentiable functions, and If our work above suggests that Indeed, a formal proof using the limit definition of the derivative can be given to show that the following rule, called the product rule, holds in general.
Product Rule
If and are differentiable functions, then their product is also a differentiable function, and
In light of the earlier example involving shares of stock, the product rule also makes sense intuitively: the rate of change of should take into account both how fast and are changing, as well as how large and are at the point of interest. In words the product rule says: if is the product of two functions (the first function) and (the second), then “the derivative of is the first times the derivative of the second, plus the second times the derivative of the first.” It is often a helpful mental exercise to say this phrasing aloud when executing the product rule.
Example
If we can use the product rule to differentiate The first function is and the second function is By the product rule, will be given by the first, times the derivative of the second, plus the second, times the derivative of the first, That is,
Activity
Use the product rule to answer each of the questions below. Throughout, be sure to carefully label any derivative you find by name. It is not necessary to algebraically simplify any of the derivatives you compute.
- Let Find
- Let Find
- Determine the slope of the tangent line to the curve at the point where if is given by the rule
- Find the tangent line approximation to the function at the point where if is given by the rule
The quotient rule
Because quotients and products are closely linked, we can use the product rule to understand how to take the derivative of a quotient. Let be defined by where and are both differentiable functions. It turns out that is differentiable everywhere that We would like a formula for in terms of and Multiplying both sides of the formula by we observe that
Now we can use the product rule to differentiate
We want to know a formula for so we solve this equation for
and dividing both sides by we have
Finally, we recall that Substituting this expression in the preceding equation, we have
This calculation gives us the quotient rule.
Quotient Rule
If and are differentiable functions, then their quotient is also a differentiable function for all where and
As with the product rule, it can be helpful to think of the quotient rule verbally. If a function is the quotient of a top function and a bottom function then is given by “the bottom times the derivative of the top, minus the top times the derivative of the bottom, all over the bottom squared.”
Example
If we call the top function and the bottom function. By the quotient rule, is given by the bottom, times the derivative of the top, minus the top, times the derivative of the bottom, all over the bottom squared, That is,
In this particular example, it is possible to simplify by removing a factor of from both the numerator and denominator, so that
In general, we must be careful in doing any such simplification, as we don't want to execute the quotient rule correctly but then make an algebra error.
Activity
Use the quotient rule to answer each of the questions below. Throughout, be sure to carefully label any derivative you find by name. That is, if you're given a formula for clearly label the formula you find for It is not necessary to algebraically simplify any of the derivatives you compute.
- Let Find
- Let Find
- Determine the slope of the tangent line to the curve at the point where
- When a camera flashes, the intensity of light seen by the eye is given by the function
where is measured in candles and is measured in milliseconds. Compute and include appropriate units on each value; and discuss the meaning of each.
Combining rules
In order to apply the derivative shortcut rules correctly we must recognize the fundamental structure of a function.
Example
Determine the derivative of the function
How do we decide which rules to apply? Our first task is to recognize the structure of the function. This function is a sum of two slightly less complicated functions, so we can apply the sum rule 2 to get
Now, the left-hand term above is a product, so the product rule is needed there, while the right-hand term is a quotient, so the quotient rule is required. Applying these rules respectively, we find that
Example
Differentiate
The function is a quotient of two simpler functions, so the quotient rule will be needed. To begin, we set up the quotient rule and use the notation to indicate the derivatives of the numerator and denominator. Thus,
Now, there remain two derivatives to calculate. The first one, calls for use of the product rule, while the second, needs only the sum rule. Applying these rules, we now have
While some simplification is possible, we are content to leave in its current form.
Success in applying derivative rules begins with recognizing the structure of the function, followed by the careful and diligent application of the relevant derivative rules. The best way to become proficient at this process is to do a large number of examples.
Activity
Use relevant derivative rules to answer each of the questions below. Throughout, be sure to use proper notation and carefully label any derivative you find by name.
- Let Find
- Let Find
- Let Find
- A moving particle has its position in feet at time in seconds given by the function Find the particle's instantaneous velocity at the moment
- Suppose that and are differentiable functions and it is known that and If and calculate and
As the algebraic complexity of the functions we are able to differentiate continues to increase, it is important to remember that all of the derivative's meaning continues to hold. Regardless of the structure of the function the value of tells us the instantaneous rate of change of with respect to at the moment as well as the slope of the tangent line to at the point
Summary
- If a function is a sum, product, or quotient of simpler functions, then we can use the sum, product, or quotient rules to differentiate it in terms of the simpler functions and their derivatives.
- The product rule tells us that if is a product of differentiable functions and according to the rule then
- The quotient rule tells us that if is a quotient of differentiable functions and according to the rule then
- Along with the constant multiple and sum rules, the product and quotient rules enable us to compute the derivative of any function that consists of sums, constant multiples, products, and quotients of basic functions. For instance, if has the form
then is a quotient, in which the numerator is a sum of constant multiples and the denominator is a product. This, the derivative of can be found by applying the quotient rule and then using the sum and constant multiple rules to differentiate the numerator and the product rule to differentiate the denominator.