Pubch 03
Pubch 03
Differentiation
1. Derivative of a Constant
2. The Power Rule
3. Derivative of a Constant Multiple Function
4. The Sum Rule
Four Basic Rules
We’ve learned that to find the rule for the derivative f ′of a
function f, we first find the difference quotient
f ( x h) f ( x)
lim
h0 h
But this method is tedious and time consuming, even for
relatively simple functions.
This chapter we will develop rules that will simplify the
process of finding the derivative of a function.
Rule 1: Derivative of a Constant
d
We will use the notation f ( x )
dx
To mean “the derivative of f with respect to x at x.”
f(x) = c
x
Rule 1: Derivative of a Constant
We can use the definition of the derivative to
demonstrate this:
f ( x h) f ( x)
f ( x ) lim
h0 h
cc
lim
h0 h
lim 0
h0
0
Rule 2: The Power Rule
d n
dx
x nx n 1
Rule 2: The Power Rule
Lets verify this rule for the special case of n = 2.
If f(x) = x2, then
d 2 f ( x h) f ( x)
f ( x )
dx
x lim
h0 h
( x h)2 x 2 x 2 2 xh h 2 x 2
lim lim
h0 h h0 h
2 xh h 2 h(2 x h )
lim lim
h0 h h0 h
lim(2 x h ) 2 x
h0
Rule 2: The Power Rule
Practice Examples:
d
If f(x) = x, then f ( x ) x 1 x11 x 0 1
dx
d 8
If f(x) = x8, then f ( x )
dx
x 8 x 81 8 x 7
Practice Examples:
Find the derivative of f ( x ) x
f ( x )
d
dx
d 1/2
x x
dx
1 1/21 1 1/2
x x
2 2
1
2 x
Practice Examples:
1
Find the derivative of f ( x )
3
x
d 1 d 1/3
f ( x ) x
dx x dx
3
1
x 1/31
3
1 4 / 3 1
x 4/3
3 3x
d d
cf ( x ) c f ( x )
dx dx
Rule 3: Derivative of a Constant Multiple Function
Practice Examples:
Find the derivative of f ( x ) 5 x 3
d
f ( x ) 5 x 3
dx
d 3
5 x
dx
5 3x 2
15 x 2
Practice Examples:
3
Find the derivative of f ( x )
x
d
f ( x)
dx
3 x 1/ 2
1 3/ 2
3 x
2
3
3/ 2
2x
d d d
f ( x ) g ( x ) f ( x ) g ( x )
dx dx dx
Rule 4: The Sum Rule
Practice Examples:
Find the derivative of f ( x ) 4 x 5 3x 4 8 x 2 x 3
d
f ( x )
dx
4 x 5 3 x 4 8 x 2 x 3
d 5 d 4 d 2 d d
4 x 3 x 8 x x 3
dx dx dx dx dx
4 5x 4 3 4 x3 8 2 x 1 0
20 x 4 12 x 3 16 x 1
Practice Examples:
t2 5
Find the derivative of g (t ) 3
5 t
d t2 5 d 1 2
g (t ) 3 t 5t 3
dt 5 t dt 5
1 d 2 d 3
t 5 t
5 dt dt
1
2t 5 3t 4
5
2t 15 2t 5 75
4
5 t 5t 4
Example 5, page 161
Applied Example: Conservation of a Species
A group of marine biologists at the Neptune Institute of
Oceanography recommended that a series of conservation
measures be carried out over the next decade to save a
certain species of whale from extinction.
After implementing the conservation measure, the
population of this species is expected to be
N (t ) 3t 3 2t 2 10t 600 (0 t 10)
where N(t) denotes the population at the end of year t.
Find the rate of growth of the whale population when
t = 2 and t = 6.
How large will the whale population be 8 years after
implementing the conservation measures?
N (2) 9 2 4 2 10 34
2
N (6) 9 6 4 6 10 338
2
N 8 3 8 2 8 10 8 600
3 2
2184 whales
d
f ( x ) g ( x ) f ( x ) g ( x ) g ( x ) f ( x )
dx
d f ( x ) g ( x ) f ( x ) f ( x ) g ( x )
2
dx g ( x ) g ( x )
Rule 5: The Product Rule
d
f ( x ) g ( x ) f ( x ) g ( x ) g ( x) f ( x )
dx
Rule 5: The Product Rule
Practice Examples:
Find the derivative of f ( x ) 2 x 2 1 x 3 3
d 3 d
f ( x ) 2 x 2 1 x 3 x 3
3 2 x 2 1
dx dx
2 x 2 1 3 x 2 x 3 3 4 x
6 x 4 3x 2 4 x 4 12 x
x 10 x 3 3x 12
Practice Examples:
Find the derivative of f ( x ) x 3 x 1
d 1/2 d 3
f ( x ) x
3
dx
x 1 x 1
1/2
dx
x
1
x 3 x 1/2 x1/2 1 3x 2
2
1 5/2
x 3x 5/2 3x 2
2
7
x 5/2 3x 2
2
d f ( x) g ( x) f ( x) f ( x) g ( x)
g x 0
2
dx g ( x) g ( x )
Rule 6: The Quotient Rule
Practice Examples:
x
Find the derivative of f ( x)
2x 4
d d
2 x 4 ( x) x 2 x 4
f ( x ) dx dx
2
2 x 4
2 x 4 1 x 2
2
2 x 4
2x 4 2x 4
2 x 4 2 x 4
2 2
Practice Examples:
x2 1
Find the derivative of f ( x) 2
x 1
d 2 d 2
x 1 dx x 1 x 1 dx x 1
2 2
f ( x )
x 1
2 2
x 2
1 2 x x 2 1 2 x
x 1
2 2
2 x3 2 x 2 x3 2 x 4x
x 1 x 1
2 2 2 2
t 2
1 5 5t 2t
t 1
2 2
5t 5 10t
2 2 5 1 t2
t 1 t 1
2 2 2 2
5 1 0 5 1
2
S (0) 5
1
2 2
0 1
2
5 1 2 5 1 4
2
15 3
S (2) 0.6
4 1
2 2
2 1
2 25 5
d
h( x ) g f ( x ) g f ( x ) f ( x )
dx
dy dy du
dx du dx
Deriving Composite Functions
2
Consider the function h ( x ) x x 1 2
h( x ) x x 1 x 2 x 1 x 2 x 1
2 2
x 4 2 x 3 3x 2 2 x 1
H ( x ) x x 1
2 100
Deriving Composite Functions
Note that H ( x ) x x 1
2 100
is a composite function:
H(x) is composed of two simpler functions
f ( x) x2 x 1 and g ( x ) x100
So that
H ( x ) g f ( x ) f ( x ) x x 1
100 2 100
dy dy du
100u 99 2 x 1
dx du dx
dy
100 x x 1 2 x 1
99
H ( x ) 2
dx
Rule 7: The Chain Rule
If h(x) = g[f(x)], then
Equivalently, if we write
d y = h(x) = g(u),
h( x) g f ( x) g f ( x) f ( x)
where u = f(x), then dx
dy dy du
dx du dx
The Chain Rule for Power Functions
Many composite functions have the special form
h(x) = g[f(x)]
where g is defined by the rule
g(x) = xn (n, a real number)
so that
h(x) = [f(x)]n
In other words, the function h is given by the power of a
function f.
Examples:
1
h( x ) x x 1
100
2
H ( x) G( x) 2 x2 3
5 x 3 3
The General Power Rule
dx
The General Power Rule
Practice Examples:
Find the derivative of G ( x ) x 2 1
Solution
Rewrite as a power function: G ( x ) x 2 1
1/2
1 2 1/2 d
G( x ) x 1 x 2
1
2 dx
1 2
x 1 2 x
1/2
2
x
x2 1
Solution
Apply the product rule and the general power rule:
d 5 d
2 x 3 2 x 3
5
f ( x ) x 2 x2
dx dx
x 5 2 x 3 2 2 x 3 2 x
2 4 5
10 x 2 2 x 3 2 x 2 x 3
4 5
2 x 2 x 3 5x 2 x 3
4
2 x 2 x 3 7 x 3
4
Solution
Rewrite as a power function: f ( x ) 4 x 2 7
2
f ( x ) 2 4 x 7
3
2
8x
16 x
4x 7
2 3
2x 1
2
3x 2 2 2 x 1 3
3
3x 2
2
3 x 2
2 x 1 6 x 4 6 x 3 3 2 x 1
2 2
3
3x 2 3x 2
2 4
3 x 2
Example 6, page 186
Applied Problem: Arteriosclerosis
Arteriosclerosis begins during childhood when plaque
forms in the arterial walls, blocking the flow of blood
through the arteries and leading to heart attacks, stroke
and gangrene.
2
0.01t
2 (1 h )
10,000 t 2
1/2
0.02 (1 h )t
10,000 t 2
Applied Example 8, page 188
Applied Problem: Arteriosclerosis
For example, at age 50 (t = 50),
dA 0.02 (1 0.134)50
0.03
dt 10,000 2500
That is, the area of the arterial opening is decreasing at the
rate of 0.03 cm2 per year for a typical 50 year old.
Percentage
f ( p h) f ( p )
change in quantity
100
demanded f ( p)
E ( p)
h
p 100
Percentage
change in price
Marginal Analysis
Marginal analysis is the study of the rate of change of
economic quantities.
These may have to do with the behavior of costs, revenues,
profit, output, demand, etc.
In this section we will discuss the marginal analysis of
various functions related to:
✦ Cost
✦ Average Cost
✦ Revenue
✦ Profit
✦ Elasticity of Demand
Applied Example: Rate of Change of Cost Functions
Suppose the total cost in dollars incurred each week by
Polaraire for manufacturing x refrigerators is given by the
total cost function
C(x) = 8000 + 200x – 0.2x2 (0 x 400)
a. What is the actual cost incurred for manufacturing the
251st refrigerator?
b. Find the rate of change of the total cost function with
respect to x when x = 250.
c. Compare the results obtained in parts (a) and (b).
R(x) = px
= (– 0.02x + 400)x
= – 0.02x2 + 400x (0 x 20,000)
Change in price h
Percentage
change in price = 100 100
Price p
f ( p h) f ( p)
100
f ( p)
Elasticity of Demand
One good way to measure the effect that a percentage
change in price has on the percentage change in the
quantity demanded is to look at the ratio of the latter to the
former. We find
Percentage
f ( p h) f ( p )
change in quantity
100
demanded f ( p)
E ( p)
h
p 100
Percentage
change in price
f ( p h) f ( p ) f ( p h) f ( p )
f ( p) h
h f ( p)
p p
Elasticity of Demand
We have
f ( p h) f ( p )
E ( p) h
f ( p)
p
If f is differentiable at p, then, when h is small,
f ( p h) f ( p)
f ( p )
h
Elasticity of Demand
If f is a differentiable demand function defined by
x = f(p) , then the elasticity of demand at price p is
given by
pf ( p )
E ( p)
f ( p)
E (100)
100
1
400 100 3
E (300)
300
3
400 300
2 4 8 7/3 8
f ( x ) x 7/3 x
9 3 27 27 x 2 3 x
dv d ds d 2 s d
a 2 8t 8
dt dt dt dt dt
Higher-Order Derivatives
dx dx
1
6 x 2 x 3 4 x 2 x 3 6
2 1/2 2 1/2
2
12 x 2 x 3 6 2 x 3
2 2 1/2 2 1/2
6 2 x 3 2 x 2 2 x 2 3
2 1/2
6 4 x 2 3
2 x2 3
Example 2, page 209
Applied Example: Acceleration of a Maglev
The distance s (in feet) covered by a maglev moving along
a straight track t seconds after starting from rest is given
by the function
s = 4t 2 (0 t 10)
What is the maglev’s acceleration after 30 seconds?
Solution
The velocity of the maglev t seconds from rest is given by
ds d
v 4t 2 8t
dt dt
The acceleration of the maglev t seconds from rest is given
by the rate of change of the velocity of t, given by
d d ds d 2 s d
a v 2 8t 8
dt dt dt dt dt
Rocket
y
x
Spectator
Launch Pad
4000 ft
Differentiating Implicitly
Up to now we have dealt with functions in the form
y = f(x)
That is, the dependent variable y has been expressed
explicitly in terms of the independent variable x.
However, not all functions are expressed explicitly.
For example, consider
x 2y + y – x2 + 1 = 0
This equation expresses y implicitly as a function of x.
Solving for y in terms of x we get
( x 2 1) y x 2 1
x2 1
y f ( x) 2
x 1
which expresses y explicitly.
Differentiating Implicitly
Now, consider the equation
y 4 – y 3 – y + 2x 3 – x = 8
With certain restrictions placed on y and x, this equation
defines y as a function of x.
But in this case it is difficult to solve for y in order to
express the function explicitly.
How do we compute dy/dx in this case?
The chain rule gives us a way to do this.
Differentiating Implicitly
Consider the equation y2 = x.
To find dy/dx, we differentiate both sides of the equation:
d d
dx
y x
2
dx
d d
dx
y f ( x )
2
dx
2
2 f ( x ) f ( x )
dy
2y
dx
dy
2y 1
dx
dy 1
dx 2 y
dx dx
3
dx dx
dy dy
3y 2
6x2 1 0
dx dx
dy
dx
3 y 2
1 1 6 x 2
dy 1 6 x 2
2
dx 3 y 1
Example 2, page 216
Differentiating Implicitly
Examples
Find dy/dx for the equation x 2 y 3 6 x 2 y 12
Then, find the value of dy/dx when y = 2 and x = 1.
Solution
d 2 3 d d d
dx
x y
dx
6 x 2
dx
y
dx
12
d 3 d dy
x2
dx
y 3
y
dx
x 2
12 x
dx
dy dy
2
3x y 2 xy 12 x
2 3
dx dx
dy
3x y 1 dx 2 xy 3 12 x
2 2
dy 2 xy 3 12 x
Example 4, page 217 dx 1 3x 2 y 2
Differentiating Implicitly
Examples
Find dy/dx for the equation x 2 y 3 6 x 2 y 12
Then, find the value of dy/dx when y = 2 and x = 1.
Solution
Substituting y = 2 and x = 1 we find:
dy 2 xy 3 12 x
dx 1 3x 2 y 2
2(1)(2)3 12(1)
1 3(1) 2 (2)2
16 12
1 12
28
11
Example 4, page 217
Differentiating Implicitly
Examples
Find dy/dx for the equation x2 y2 x2 5
Solution
d 2 d 2 d
dx
x y
2 1/2
dx
x
dx
5
1 2 2 1/2 dy
2
x y
2 x 2 y 2x 0
dx
dy
x y
2
2 1/2
2 x 2 y 4x
dx
dy
x y 2x x y
2 2 1/2
dx
dy
y 2x x y x
2 2 1/2
dx
dy 2x x y
2 1/2
2
x
Example 5, page 219 dx y
Related Rates
Implicit differentiation is a useful technique for solving a
class of problems known as related-rate problems.
Here are some guidelines to solve related-rate problems:
9 N 2 11 36
25
N2
9
5 (rejecting the
N negative root)
3
Rocket
y
x
Spectator
Launch Pad
4000 ft
Applied Example 8, page 221
Applied Example: Watching a Rocket Launch
Solution
1. Let
y = altitude of the rocket
x = distance between the rocket and the spectator
at any time t.
2. We are told that at a certain instant in time
dy
y 3000 and 600
dt
and are asked to find dx/dt at that instant.
Rocket
y
x
Spectator
Launch Pad
4000 ft
Applied Example 8, page 221
Applied Example: Watching a Rocket Launch
Solution
4. Differentiate x y 4000 with respect to t, obtaining
2 2 2
dx dy
2x 2y
dt dt
5. Substitute x = 5000, y = 3000, and dy/dt = 600, to find
dx
2 5000 2 3000 600
dt
dx
360
dt
Therefore, the distance between the rocket and the
spectator is changing at a rate of 360 feet per second.
y
T
f(x + x)
y
P dy
f(x)
x
x x + x
x
Increments
Let x denote a variable quantity and suppose x changes
from x1 to x2.
This change in x is called the increment in x and is denoted
by the symbol x (read “delta x”).
Thus,
x = x2 – x1
Examples:
Find the increment in x as x changes from 3 to 3.2.
Solution
Here, x1 = 3 and x2 = 3.2, so
x = x2 – x1 = 3.2 – 3 = 0.2
f(x + x)
y
f(x)
x
x x + x
x
Example 1, page 227
Example
Let y = x3.
Find x and y when x changes
a. from 2 to 2.01, and
b. from 2 to 1.98.
Solution
a. Here,x = 2.01 – 2 = 0.01
y
T
f ( x + x )
y
P dy
f( x )
x
x x + x
x
Differentials
Notice that the slope of T is given by dy/x (rise over run).
But the slope of T is given by f ′(x), so we have
dy/x = f ′(x) or dy = f ′(x) x
Thus, we have the approximation
y ≈ dy = f ′(x)x
The quantity dy is called the differential of y.
y
T
f ( x + x )
y
P dy
f( x )
x
x x + x
x
The Differential
4500
C dC C (v )dv 1 2 3
v v 55
4500
1 3 1.46
3025