Chapter 6: Rules For Finding Derivatives

Linearity of the Derivative

This means two things:

First:

If you know the derivative [Maple Math] of a function [Maple Math] , then the
derivative of a constant multiple
[Maple Math] is simply [Maple Math] . i.e.

The derivative of a constant c times a function is equal to c times the derivative of the function :

[Maple Math] [Maple Math] = c [Maple Math] f(x).

This principle is obvious if you think of the derivative as a rate of change. For example, it says that if f(t) is the distance function for a bicycle, and if the distance function for a car is always 5 times the distance for the bicycle, then the car must be going at 5 times the velocity of the bicycle:


[Maple Math] 5 f(t) = 5 [Maple Math]

Second :

If you know the derivatives [Maple Math] and [Maple Math] of two functions f(x) and g(x), then the derivative of the sum f(x)+g(x) is simply [Maple Math] .

The derivative of the sum of two functions is equal to the sum of the derivatives of the functions :

[Maple Math] ( [Maple Math] ) = [Maple Math] f(x) + [Maple Math] g(x).


This principle is also obvious when one thinks of rates. It says that the rate at which the sum of two distances is changing is equal to the sum of the rates at which each distance is changing.

If you have already caught on to the idea of the derivative as a limit of the difference quotient [Maple Math] , then these are easy to understand. If y is replaced by [Maple Math] then clearly the quotient always gets multiplied by the same constant c and so does the derivative which is its limit! Similarly, if [Maple Math] is a sum of two functions, then their difference quotients clearly add up and give the sum formula.


The second principle can be used repeatedly, if we have a sum of more than two functions. It can also be used in combination with the first principle. When combined in this way, the two principles together tell us that it is easy to find the derivative of any
linear combination of functions whose derivatives we know. By a ``linear combination'' we mean any function that is constructed using the process of addition and multiplying by constants. For example, a polynomial is a linear combination of power functions:

[Maple Math] +...+ [Maple Math] .

Example 6.1:

In the section on the derivative function, we found the derivative of
[Maple Math] (or [Maple Math] ), of [Maple Math] , and of the reciprocal function. Use that, together with linearity of the derivative, to do Problem 2(a)-(c) of that
section much more quickly.

We have:

[Maple Math] ( [Maple Math] ) = [Maple Math] 80 - 4.9 [Maple Math] [Maple Math] = [Maple Math] = [Maple Math] .

[Maple Math] ( [Maple Math] ) = [Maple Math] x^2- [Maple Math] [Maple Math] = [Maple Math] = [Maple Math] .


[Maple Math] ( [Maple Math] ) = [Maple Math] [Maple Math] [Maple Math] + [Maple Math] ( [Maple Math] ) = [Maple Math] .

Example 6.2. Find the derivative of y = [Maple Math] .

Since
[Maple Math] , the derivative is


[Maple Math] ( [Maple Math] ) = [Maple Math] 1-10 [Maple Math] [Maple Math] [Maple Math] [Maple Math]

= 0 [Maple Math] .

The Product Rule

Suppose that we want to find the derivative of a function that is written as a product f(x) = u(x)v(x), where each of the two factors u(x) and v(x) is a function whose derivative we know. For example, [Maple Math] is the product of a function u(x) = [Maple Math] whose derivative was already computed (namely, [Maple Math] ) and a function [Maple Math] whose derivative we also know (namely, [Maple Math] .

We derive the
product rule using the tangent line approximation formula for [Maple Math] and [Maple Math] :

u(x+h)= (approx) [Maple Math] ; [Maple Math] = (approx ) [Maple Math] .

We now look at the difference quotient for [Maple Math] , whose limit as h approaches zero is the derivative [Maple Math] :


[Maple Math] = (approx)

[Maple Math] = [Maple Math] = [Maple Math] .


As h approaches zero, the last term
[Maple Math] drops out, and we are left with [Maple Math] . Thus,


if [Maple Math] then [Maple Math] .


This rule can be written in shorthand as follows:


Product Rule:
[Maple Math] [Maple Math] = [Maple Math] .



In words,
the derivative of a product is equal to the first function times the derivative of the second function plus the derivative of the first function times the second function .

The above calculations certainly motivate the formula and do give an idea of the proof. They still lack many details for a complete proof. You should think about what is possibly wrong with them. The details will be discussed in class.


WARNING : Never take the derivative of a product by multiplying
the derivatives of the terms. With addition you have [Maple Math] , but with multiplication [Maple Math] is NOT [Maple Math] . You should experiment with some examples and see if you can find two special functions u and v for which this is actually the case. It does work if one of u and v is the zero function or both are constant - see if you can find an example where neither is zero and at least one is not constant.

Example 6.3 : Find the derivative of [Maple Math] , and determine the points where the curve has a horizontal tangent line.


By the product rule,
[Maple Math] . To say that a point (x,f(x)) has a horizontal tangent line means that the slope of the tangent line is 0, i.e., [Maple Math] . So we must solve the equation [Maple Math] . We do this by first clearing denominators (multiplying everything through by [Maple Math] ). The result is: [Maple Math] . When you have an equation like this, it is a good idea to try to factor the expression on the left. Right away we can factor out [Maple Math] ; then we gather terms in what remains: [Maple Math] = 0. This has roots x = 0 or when [Maple Math] , i.e., x = +- [Maple Math] = +- [Maple Math] = +- [Maple Math] .... Thus, there are three points with horizontal tangent lines : (0,0), (4.33,202.97), and (-4.33,-202.97). The following are graphs of f and f', note where f has horizontal tangents and the fact that f' has roots (meets the x-axis) at the same points.
[Maple Plot]

code for above diagram

Example 6.4:

Use the product rule to show how the [Maple Math] formula can be obtained for n = 4,5,6, ... (i.e., the successive values of n after the values
n = 0,1,2,3 for which we already derived the
[Maple Math] formula earlier).


So suppose we don't yet know a formula for the derivative of
[Maple Math] , but we do know the derivative of [Maple Math] (namely, [Maple Math] ). Then we can write [Maple Math] , so that, by the product rule,


[Maple Math] [Maple Math] = [Maple Math] ( [Maple Math] ) = [Maple Math] + ( [Maple Math] [Maple Math] ) [Maple Math] = [Maple Math] .

This confirms the [Maple Math] rule when n = 4. Now that we have established
the rule for the derivative of
[Maple Math] , we can use the same method to treat [Maple Math] :


[Maple Math] [Maple Math] = [Maple Math] ( [Maple Math] ) = [Maple Math] + ( [Maple Math] [Maple Math] ) [Maple Math] = [Maple Math] .

And similarly for n = 6:


[Maple Math] [Maple Math] = [Maple Math] ( [Maple Math] ) = [Maple Math] + ( [Maple Math] [Maple Math] ) [Maple Math] = [Maple Math]

By now it should be clear that, continuing in this way, we can establish
the validity of the
[Maple Math] rule for all positive integers n. You should write out the derivation for this rule in your notes.

The Quotient Rule


Suppose that we want to find the derivative of a function that is written as the quotient of two functions whose derivatives we know: f(x) = u(x)/v(x). The rule is:


(
Quotient Rule ) [Maple Math] [Maple Math] = [Maple Math] ,

or, in shorthand notation,

[Maple Math] .

This rule is a little more complicated than the product rule:

the derivative of a quotient is equal to the denominator times the derivative of the numerator minus the numerator times the derivative of the denominator, all over the square of the denominator .

However it its easily understood from the product rule. Suppose we let [Maple Math] and seek [Maple Math] . We observe that [Maple Math] = [Maple Math] . Since these are equal their derivatives are equal so we have:

[Maple Math] = [Maple Math]

Applying the product rule to the left side we have

[Maple Math]

Since f is [Maple Math] we then have [Maple Math] which we can solve for [Maple Math] to get [Maple Math] .

As we noted above such calculations certainly motivate the formula and do give an idea of the proof. They still lack many details for a complete proof. The basic problem is that some functions don't have a derivative and in principle [Maple Math] could be one of them. These calculations assume that [Maple Math] actually exists.

We will derive the quotient rule again in this section, when we cover the chain rule.

Example 6.5 : Use the quotient rule to find the derivative of the derivative of the upper semicircle function [Maple Math] . (The derivative of the derivative is called the second derivative . )


Since the derivative is
[Maple Math] , we want the derivative of an expression of the form [Maple Math] , where [Maple Math] and v(x) = [Maple Math] . Since [Maple Math] and [Maple Math] , the quotient rule gives us:


[Maple Math] [Maple Math] =
[Maple Math] .

The last expression can be simplified by multiplying the top and bottom by [Maple Math] . After a little cancellation, we arrive at [Maple Math] .

Alternative Method: The above calculations can be simplified by using proper notations and some clever simplification. First set [Maple Math] and note that [Maple Math] . Applying the quotient rule and linearity we get (y')' = - [Maple Math] = [Maple Math] .

Noticing that
[Maple Math] , we get that [Maple Math] = [Maple Math] .
This idea will be developed into implicit differentiation method later.


Example 6.6: . Find the derivative of [Maple Math] in two ways: using the quotient rule, and using the product rule. First, using the quotient rule and the fact that [Maple Math] has derivative [Maple Math] and [Maple Math] has derivative [Maple Math] , we obtain:

[Maple Math] ( [Maple Math] ) = [Maple Math] [Maple Math]



=
[Maple Math] .



Alternately, we could use the product rule if we first write our function in the form
[Maple Math] :

[Maple Math] ( [Maple Math] ) = [Maple Math] = [Maple Math] ,

which is algebraically equivalent to the answer we got using the quotient rule.

Alternative method: As above, the work can be cleaned up by using a few names. Let [Maple Math] and [Maple Math] . Then [Maple Math] = [Maple Math] . Also, [Maple Math] . The derivative of the function becomes:

[Maple Math] = [Maple Math] .

Getting the final answer is now the matter of plugging in the values of y,z and simplifying.


(
A bit of advice on avoiding the quotient rule .) Do not use the quotient rule when the numerator is a constant, because it is unnecessarily cumbersome in that case. For example, to find the derivative of [Maple Math] , write this as 1 [Maple Math] and use the power rule: the derivative is [Maple Math] . On the other hand it is a good idea to try your quotient rule on [Maple Math] , whose derivative is known to be - [Maple Math] . It helps you to remember that the negative term in the numerator is [Maple Math] .

The Second Derivative and Acceleration


As mentioned before, the
second derivative is simply the derivative of the
derivative. If
[Maple Math] is our function, then there are various ways to denote the second derivative

[Maple Math] ( [Maple Math] [Maple Math] ):

[Maple Math] = [Maple Math] [Maple Math] = [Maple Math] = [Maple Math] ( [Maple Math] [Maple Math] ).

Example 6.7 : Find the second derivative of (a) [Maple Math] , (b) [Maple Math] , (c) [Maple Math] (where [Maple Math] are constants).

(a) We have [Maple Math] [Maple Math] [Maple Math] = [Maple Math] ( [Maple Math] ) = [Maple Math] .

Then (b) is the special case [Maple Math] , i.e., the second derivative of [Maple Math] is [Maple Math] .
In part (c) we have

[Maple Math] [Maple Math] ( [Maple Math] ) = [Maple Math] ( [Maple Math] ) = [Maple Math] .

In the case of a distance function [Maple Math] , both the first derivative function and the second derivative function have a familiar practical meaning. The first derivative is, as we've seen, the velocity function, which is often denoted v(t):

v(t) = [Maple Math] [Maple Math] .

The derivative of that --- the instantaneous rate at which the velocity is changing --- is what is called the acceleration often denoted a(t)


[Maple Math] [Maple Math] s(t)

Earlier we saw that the velocity at a certain instant t is the slope of the tangent line to the graph of the distance function at the point ( [Maple Math] ). Similarly, the acceleration at a certain instant t is the slope of the tangent line to the graph of the velocity function at the point ( [Maple Math] ).

Example 6.8: A bicycle is traveling along a road (which we take to be the x-axis). Its distance in meters from the reference point (0 on the x-axis) at time t seconds is given by the formula x(t) = [Maple Math] . Find the derivative function and the second derivative function, graph all three functions (distance, velocity, and acceleration), and explain in words what is going on.

First v(t) = [Maple Math] ( [Maple Math] ) = [Maple Math] . Next, [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] ( [Maple Math] ) = [Maple Math] . The distance function [Maple Math] tells us that the bicycle is at [Maple Math] meters from the reference point at time [Maple Math] and is moving to the right at a certain velocity [Maple Math] . The formula for this velocity function [Maple Math] says that the speed of the bicycle is 5 m/sec at first (t = 0), but it increases steadily. The rate at which the velocity increases is the acceleration function [Maple Math] , which happens to be a constant function in this example. The acceleration is measured in ``meters per second per second'' or ``meters per second squared,'' written 2 [Maple Math] . Here are the graphs of the distance, velocity, and acceleration functions:

code for diagrams

Example 6.9: Free fall without air resistance

This is a good place to discuss the vertical motion of an object moving without air resistance under the influence of
gravity . Let y denote the height (say in meters) of the object above ground level and let t be the time (in seconds). Suppose that at time t = 0 an object is located at height y = [Maple Math] and has velocity [Maple Math] . (Notice that [Maple Math] is positive means that the object is initially moving upward.) Then y and t are related by the formula:

Falling Body Formula [Maple Math] = [Maple Math]


Taking derivatives gives the formula for the velocity


[Maple Math] [Maple Math]


and taking one more derivative gives the acceleration


[Maple Math] [Maple Math]

In particular, the acceleration of a falling body is constant, it is called the acceleration due to gravity . On the
surface of the earth g = 9.8
[Maple Math] . (Notice that the acceleration is negative because the force of gravity points down.)

( Deducing the formulas;) We stated the above formulas without proofs. However, if we start with the formula [Maple Math] , then the formulas for [Maple Math] and [Maple Math] can be deduced by guesswork and the differentiation formulas that we already know. For instance, the formula for v(t) must be [Maple Math] for some constant C (think why!). Checking the values at t = 0, we can see why C = [Maple Math] . You should attempt to finish the formula for y(t) yourself.

This is the process of finding
antiderivatives and will be developed later.

The Chain Rule

The chain rule is the way to find the derivative of a function that is built up from simpler functions by the composition of two functions , i.e. by taking a ``function of a function.'' For example, the function [Maple Math] is built up from the square root function and the function [Maple Math] . The function [Maple Math] is built up from the reciprocal square root function (i.e., the [Maple Math] -power function) and the function [Maple Math] . We shall write [Maple Math] = [Maple Math] to indicate that y is obtained by taking a function [Maple Math] (which we sometimes call the `` outside function '') and applying it to another function u(x) (which we call the `` inside function ''). In the two examples just mentioned:


[Maple Math] and [Maple Math] implies that [Maple Math] = [Maple Math]

[Maple Math] and [Maple Math] implies that [Maple Math] = [Maple Math] .

The chain rule enables us to find [Maple Math] once we know the derivative of the outside function [Maple Math] and the derivative of the inside function [Maple Math] .


We shall derive the chain rule using the tangent line approximation. The t
angent line approximation formula for the function [Maple Math] can be written in the form [Maple Math] = (approx) [Maple Math] . Similarly, the tangent line approximation formula for the function [Maple Math] can be written [Maple Math] = (approx) [Maple Math] . Putting these two facts together, we see that a small change [Maple Math] produces a change [Maple Math] times as much in u, which, in turn, produces a change [Maple Math] times as much in [Maple Math] , i.e., [Maple Math] = (approx) [Maple Math] = (approx) [Maple Math] . Since we also have [Maple Math] = (approx) [Maple Math] , it follows that the two ``proportionality factors'' between [Maple Math] and [Maple Math] must be equal, i.e., [Maple Math] . This is the chain rule. It is especially easy to remember when it is written in the [Maple Math] notation:


(
Chain Rule ) [Maple Math] = [Maple Math] [Maple Math] .


It is as if the ``
[Maple Math] ,'' `` [Maple Math] ,'' and `` [Maple Math] '' can be treated individually as algebraic quantities, where we cancel the two `` [Maple Math] '' on the right.


Indeed, another way of formulating the above calculations is to write


[Maple Math] = [Maple Math] [Maple Math]


which is precise. Now we take the limits as
[Maple Math] goes to [Maple Math] . We have to see why [Maple Math] also goes to zero and then the formula will be proved. We leave the precise treatment for an appendix.


Schematically, we can regard a function of a function as a 2-step procedure, first going from x to u and then from u to y. The chain rule says that the derivative from x to u must be multiplied by the derivative from u to y to get the derivative from x to y.

Before giving some computational examples, we shall give a story problem to
show that the chain rule makes sense from a practical point of view.


Example 6.10: Suppose your income is in the 28% tax bracket , and it is increasing at the rate of $ [Maple Math] per year. At what rate is your tax increasing?

Let us use [Maple Math] to denote income and [Maple Math] to denote the income tax. Recall that `` [Maple Math] % tax bracket'' means that [Maple Math] as a function of [Maple Math] has slope [Maple Math] over the range of values of [Maple Math] (your income) in question. In this problem [Maple Math] depends on [Maple Math] , which in turn depends on the time [Maple Math] . We could write that [Maple Math] and [Maple Math] together give y = [Maple Math] . (Thus, [Maple Math] is playing the rule of [Maple Math] in the chain rule, and [Maple Math] is playing the role of [Maple Math] .) The chain rule says that

[Maple Math] [Maple Math] = [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] [Maple Math] .

That is, tax is increasing at the rate of $ 0.28 for every dollar increase in income, and income is increasing at the rate of $ [Maple Math] for every year increase in time; hence, tax is increasing at the rate [Maple Math] = [Maple Math] dollars every year.

Example 6.11: (a) Use the chain rule to find the derivative of the upper semicircle function [Maple Math] (where r is a constant), and see that the answer agrees with our earlier formula for the derivative obtained using geometry. Also find the derivative of the two examples mentioned above: (b) [Maple Math] , (c) [Maple Math] .

(a) We take [Maple Math] = [Maple Math] for the outside function and [Maple Math] for the inside function. Then, since [Maple Math] , we have


[Maple Math] = [Maple Math] [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] = [Maple Math] ,

as expected.

(b) Here the outside function is y = [Maple Math] , and the inside function is [Maple Math] . So

[Maple Math] [Maple Math] [Maple Math] [Maple Math] = [Maple Math]

(the answer should be written in terms of x, i.e., in [Maple Math] you should substitute [Maple Math] , which in this case is [Maple Math] ).

(c) Here the outside function is y = [Maple Math] , and the inside function is [Maple Math] . So

[Maple Math] [Maple Math] [Maple Math] ( [Maple Math] )= [Maple Math] .


When the outside function g(u) is the power function
[Maple Math] , we can write the chain rule in the form


[Maple Math] ( [Maple Math] ) = [Maple Math] [Maple Math] .


For example, the derivative of the square of a function is
[Maple Math] [Maple Math] .

Example 6.12: Find the derivative of [Maple Math] in two ways: (a) by the chain rule; (b) by expanding the square.


(a) In the above formula for the derivative of
[Maple Math] , we take [Maple Math] , so that [Maple Math] . Then [Maple Math] [Maple Math] = [Maple Math] .

(b) We write [Maple Math] , and then [Maple Math] ( [Maple Math] ) =
[Maple Math] = [Maple Math] , the same answer as in part (a).

We next use the chain rule to show how we get the quotient rule. We write the quotient [Maple Math] in the form of a product [Maple Math] . Then we apply the chain rule to find the derivative of [Maple Math] , where the outside function is the reciprocal function and the inside function is v(x). According to the chain rule,


[Maple Math] [Maple Math] = [Maple Math]

We are now ready to apply the product rule:

[Maple Math] [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] [Maple Math] [Maple Math] + [Maple Math] = [Maple Math] = [Maple Math] + [Maple Math] = [Maple Math] ,

which is the quotient rule.
Another comment to make about the chain rule is that it can be used to find the derivative of a function of a function of a function, or even a function of a function of a function of a function, and so on, where in each case we build up a function by applying a chain of simple functions.
Here is an example to illustrate this.

Example 6.13: Find the derivative of [Maple Math] .


The outermost function is
[Maple Math] , where [Maple Math] . In the chain rule we need [Maple Math] , which in this case we find by using the chain rule again:

[Maple Math] = [Maple Math] ( [Maple Math] [Maple Math] ) = [Maple Math] .


Finally,

[Maple Math] [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] .

table of contents