Professional Documents
Culture Documents
Derivative 1
Derivative 1
Derivative 1
Lia Vas
The derivative – the rate of change
Knowing and understanding the concept of derivative enables you to answer the following ques-
tions. Let us consider a quantity whose size is described by a function.
1. How fast is the quantity changing at a given moment?
2. Is the quantity increasing or decreasing in size?
3. When will the size be maximal and when will the size be minimal?
4. If the quantity is increasing, is the rate of the increase increasing or decreasing itself?
5. If another factor impacts the size of the quantity, how does it rate of change impacts the speed
of the change of the initial quantity?
Rates of Change. To introduce the con-
cept of derivative, let us recall the definition of
the average rate of change of a function on an
interval.
Example 1. Determine the average rate of change of the following functions over the given
interval.
1
√
(a) y = x+2 , [0, 2] (b) y = x + 3, [1, 5]
1
−1
Solutions. (a) f (0) = 12 and f (2) = 41 , so the average rate is f (2)−f (0)
2−0 √
= 4 2 2 = −1
8
.
√ √ f (5)−f (1) 8−2
(b) f (1) = 4 = 2 and f (5) = 8, so the average rate is 5−1 = 4 ≈ 0.207.
Besides finding the rate of change over an interval, it may be relevant to find the rate of change
at a specific point. This rate, called the instantaneous rate of change or derivative of f at a
can be computed from the above formula f (b)−f b−a
(a)
when b approaches a.
If we denote the difference b − a by h then b = a + h and the condition b → a is equivalent to
h → 0, the formula f (b)−f
b−a
(a)
becomes f (a+h)−f
h
(a)
. Hence, the can be computed as follows.
limh→0 f (a+h)−f
h
(a)
1
Geometric Interpretation. We have seen
that the average rate of change of f (x) from a to
b represents the slope of the secant line. In the
limiting case when b → a, the secant line becomes
the tangent line as the previous figure illustrates.
Thus,
y − y0 = m(x − x0 )
This formula computes the equation of the tangent line to f (x) at x = a for x0 = a, y0 = f (a) and
m = limh→0 f (a+h)−f
h
(a)
.
Example 2. Let f (x) = x2 + 4.
(a) Determine the average rate of change of f (x) for 1 ≤ x ≤ 2. Then find the equation of the
secant line of f (x) passing the graph of f (x) at x = 1 and x = 2.
(b) Determine the instantaneous rate of change of f (x) for x = 1. Then find the equation of the
tangent line to f (x) at x = 1.
Solution. (a) The average rate of change of f (x) for 1 ≤ x ≤ 2 can be computed as
f (2) − f (1) 22 + 4 − (12 + 4)
= = 4 + 4 − 1 − 4 = 3.
2−1 1
This also computes the slope of the secant line. The equation of the secant line can be obtained
using the point slope equation with m = 3 and using either (1, f (1)) or (2, f (2)) for point (x0 , y0 ).
For example, with (1, f (1)) = (1, 5) one gets the equation
y − 5 = 3(x − 1) ⇒ y = 3x + 2.
f (1+h)−f (1)
(b) The instantaneous rate of change of f (x) at x = 1 can be computed as limh→0 h
=
(1 + h)2 + 4 − (12 + 4) 1 + 2h + h2 + 4 − 1 − 4 2h + h2
lim = lim = lim = lim 2 + h = 2.
h→0 h h→0 h h→0 h h→0
This also computes the slope of the tangent line. The equation of the tangent line can be
obtained using the point-slope equation with m = 2 and using (1, f (1)) = (1, 5) for point (x0 , y0 ).
So, the tangent line is
y − 5 = 2(x − 1) ⇒ y = 2x + 3.
2
An application. If f (x) computes the position (in units of length) of an object at time x (in
time units) after the object started moving, then the average rate of change from x = a to x = b
computes the average velocity between times a and b. The instantaneous rate of change at a computes
the instantaneous velocity at time x = a.
If [x] denotes the units of quantity x and [y] denotes the units of f (x), the units of both the
[y]
average and the instantaneous rates of change are [x] since
Example 3. Assume that the position of a moving object x second after the object started
moving can be computed by f (x) = x2 + 4 feet.
(a) Determine the average velocity at which the object was moving between the first and the second
second.
(b) Determine the velocity of the object one second after it started moving.
Solution. Note that the function describing the position is the same function as in Example 1.
Part (a) is asking for the average rate of change of f (x) for 1 ≤ x ≤ 2 which we computed to be 3.
Thus, the average velocity is 3 feet per second.
Part (b) us asking for the instantaneous rate of change of f (x) at x = 1 which we computed to
be 2 in part (b) of Example 1. Thus, the object has (instantaneous) velocity of 2 feet per second 1
second after it started moving.
3
Alternative formula. If we denote the changing quantity a + h by x so that x − a = h, the
quotient f (a+h)−f
h
(a)
can be written as f (x)−f
x−a
(a)
. When h → 0, x → a so the derivative f 0 (a) can also
be found as follows.
f (x)−f (a)
f 0 (a) = limx→a x−a
f (x+h)−f (x)
f 0 (x) = limh→0 h
measures the quotient of the change in y over change of x. These two changes are denoted by ∆y
dy
and ∆x and the limit when h = ∆x → 0 is denoted by dx . This notation is known as the Leibniz
notation. In this notation, the formula computing the derivative can be written as follows.
dy ∆y
= lim
dx ∆x→0 ∆x
d df d
In some cases, the notations dx f (x) or dx are also used. In this case, the term dx is considered
0 0 d
as a function that maps y = f (x) to its derivative y = f (x). In this case, the term dx is refer to as
df
differentiation operator. Keep in mind that the notations dx f (x) or dx are equivalent to f 0 (x), y 0
d
dy
and dx . To summarize, the following denote the derivative of y = f (x).
dy df
f 0 (x), y0, dx
, dx
, d
dx
f (x)
4
If the derivative y 0 of a function y = f (x) is evaluated at x = a, the following notation is also
used besides f 0 (a)
dy
dx x=a
Units of the derivative. If [x] denotes the units of quantity x and [f (x)] denotes the units of
f (x), the units of derivative are determined as follows.
[f (x + h) − f (x)] units of f (x) [f (x)]
Units of derivative f 0 (x) = [f 0 (x)] = lim = = .
h→0 [h] units of x [x]
In Example 2 we have seen that the the velocity is in feet per second if the position function is in
feet and the time is in seconds.
f (x) = c ⇒ f 0 (x) = 0
Derivative of a power function. In Examples 6 of previous section, we have seen that the
derivative of the line mx + b is m. Thus the derivative of x is 1. In Example 7 we have seen that the
derivative of x2 is 2x. Let us demonstrate a more general formula which will compute the derivative
of xn for any positive integer n.
Let f (x) = xn and let us find the formula for f 0 (a) using the formula f 0 (a) = limx→a f (x)−f
x−a
(a)
for
f (x)−f (a) xn −an
the derivative at a. For this function the quotient x−a becomes x−a . To determine the limit
of this when x → a, we want to factor the numerator. Note that xn − an factors as 1
Thus,
0 x n − an (x − a)(xn−1 + xn−2 a + . . . + xan−2 + an−1 )
f (a) = lim = lim =
x→a x − a x→a x−a
lim xn−1 + xn−2 a + . . . + xan−2 + an−1 = an−1 + an−1 + . . . + an−1 + an−1 = nan−1
x→a
5
The Power Rule. f (x) = xn ⇒ f 0 (x) = nxn−1
Note that this formula confirms our calculation of derivative of x and x2 . Indeed when n = 1,
it produces the derivative of x = x1 as 1x1−1 = 1x0 = 1 and when n = 2, the derivative of x2 as
2x2−1 = 2x1 = 2x.
Together with the following three rules, we shall be able to find derivative of any polynomial
function without using the definition of derivative.
Thus,
3. To find the derivative of a constant multiple of the function, carry the constant and find the
derivative of the function.
These formulas hold basically because the same rules can be applied to limits: limits are additive
and constant factors out of them. Thus, if y = f (x) + g(x), the sum rule holds since
6
This rule enables us to find derivatives of functions with negative or fractional powers. You need
to make sure that your function is written in the form xn before you apply the power rule. The
following algebra rules may be useful when doing that.
√
1
xn
= x−n n
x = x1/n
(b) Write both terms of f (x) in axn form first: f (x) = (x3 )1/2 − 3x−1/2 = x3/2 − 3x−1/2 . Then find
derivative using the power rule for both terms. f 0 (x) = dx
d 3/2
x − dx d
3x−1/2
√ = 32 x3/2−1 − 3( −1
2
)x−1/2−1 =
x + 23 x−3/2 . If necessary, you can write your answer as f 0 (x) = 23 x + 2√3x3 .
3 1/2
2
The shortcuts. Having the differentiation formulas enables you to find
• the instantaneous rate of change,
• the slope of the tangent line at a point,
• velocity or any other rate of change in an applied problem
without using the definition of the derivative.
Example 3. f (x) = x2 + 4. Determine the instantaneous rate of change of f (x) for x = 1. Then
find the equation of the tangent line to f (x) at x = 1.
Solution. Find the derivative to be f 0 (x) = dx
d 2 d
x + dx 4 = 2x1−1 + 0 = 2x. Then plug x = 1 and
0
obtain f (1) = 2(1) = 2.
This computes the slope of the tangent line. The equation of the tangent line can be obtained
using the point-slope equation with m = 2 and (1, f (1)) = (1, 5). So, the tangent line is y − 5 =
2(x − 1) ⇒ y = 2x + 3.
More on velocity and other applications of derivative in physics. You can relate the
formula computing the velocity v = ds dt
of an object with position s(t) at time t with the pre-calculus
formula you used for velocity v = st now better expressed as v = ∆s ∆t
. The formula dsdt
computes the
∆s
instantaneous velocity while the formula ∆t computes the average velocity. As we have seen in the
previous example, if the position function is a linear function (that is, if the velocity is constant),
the two formulas amount to the same thing. One should keep in mind that the pre-calculus formula
v = st when s is a nonlinear function does not compute the instantaneous velocity.
Similar argument can be made for relation between several other physical quantities. For example,
recall that the force F is the quotient of change in work W and change in displacement x caused by
the force. Thus, the average force can be computed as ∆W ∆x
and the force as the derivative F = dW dx
.
Example 4. If we approximate the gravitational acceleration g by 9.8 meters per seconds squared,
the displacement from the initial height of an object dropped from it to the ground can be described
as s(t) = g2 t2 ≈ 4.9t2 .
7
1. Determine the average velocity of the object in the first three seconds.
2. Find the formula computing the velocity at any point t.
3. Determine the velocity of the object three seconds into the fall.
Solutions. 1. The average velocity in the first three seconds is s(3)−s(0)3
= 4.9(9)
3
= 14.7 meters
per second.
2. The velocity at time t is v(t) = s0 (t) = 4.9 · 2t = 9.8t meters per second.
3. The velocity three seconds into the fall is v(3) = s0 (3) = 9.8(3) = 29.4 meters per second.
Practice problems.
1. Find the derivative of the given functions.
(a) y = 2x5 − 3x3 + 5x − 9 (b) y = x38 + 6
3 √
(c) y = x2 + x3 (d) y = 4
x2
− 1
3x6
2. Find an equation of the line tangent to the curve at the indicated point.
√ √
(a) f (x) = x2 + x2 at x = 2.
3
(b) f (x) = x3 + x2 at x = 1.
3. A company determines that its cost function is
C(x) = 1000 + 35x − .01x2 ,
0 ≤ x ≤ 300, where x is the number of items produced and C(x) is the cost of producing x
items in dollars. (a) Determine the average rate of change in cost when x is changing from 100
to 150. (b) Determine the rate of change in cost when producing 200 items.
4. Assume that the mathematical
√ model for the growth of a locust tree in its first century of life is
given by h(t) = 3 t, 0 ≤ t ≤ 100, where t is the age of the tree in years and h(t) is the height
of the tree in feet. Determine h(64) and h0 (64) and interpret the meaning of your answers in a
full sentence.
5. The mass of a bacteria culture at time t in hours, is approximated by N (t) = 4t7/2 , in milligrams.
(a) Determine N (9) and N 0 (9) and interpret the meaning of your answers in a full sentence.
(b) Determine how fast the mass of bacteria increases 4 hours after the experiment started.
6. The body mass index (BMI) is a number obtained as BM I = 703w
h2
where w is the weight in pounds and h is the height in inches. For a 125-lb female that is now
65 inches tall but growing, calculate how fast is BMI changing with each new inch. Explain
the meaning of the answer.
7. A particle moves on a line away from its initial position so that after t hours it is s(t) = 2t2 − 1
miles from its initial position. (a) Determine the velocity of the particle 5 hours after it started
moving. (b) Determine the time when the velocity is 30 miles per hour.
8. The mass of a bacteria culture t hours after the start of experiment, is modeled by N (t) = 3t5/2 ,
in milligrams. (a) Determine the mass 16 hours after experiment started. (b) Determine how
fast the mass of bacteria increases 9 hours after the experiment started. (c) Determine the
time when the mass is 300 mg.
8
Solutions.
2. (a) To use the point-slope equation, you need to compute the y-value of point with x = 2 and
the slope f 0 (2).
f (2) = 22 + 22 = 1 + 1 = 2. To find the derivative, note that f (x) = 2x−1 + 12 x ⇒ f 0 (x) =
2(−1)x−1−1 + 21 x1−1 = −2 x2
+ 12 . Thus f 0 (2) = −2
22
+ 21 = −1 2
+ 12 = 0. So, the tangent line is
y − 2 = 0(x − 2) ⇒ y = 2.
√ √3
√ √
3
(b) f (1) = 13 + 12 = 1 + 1 = 2. So, the function passes (1,2). f (x) = x3 + x2 =
x3/2 + x2/3 ⇒ f 0 (x) = 32 x1/2 + 32 x−1/3 . At x = 1, f 0 (1) = 32 11/2 + 23 1−1/3 = 23 + 23 = 9+4
6
= 13
6
.
13 13 1
Thus, the tangent line is y − 2 = 6 (x − 1) ⇒ y = 6 x − 6 .
3. (a) When production changes from 100 to 150 items produced, the cost increased at an average
rate of C(150)−C(100)
150−100
= 6025−4400
50
= 32.5 dollars per item produced. (b) C 0 (x) = 0 + 35x1−1 −
0.01(2)x 2−1
= 35 − 0.02x. When producing 200 items, the cost is increasing at a rate C 0 (200) =
35 − 0.02(200) = 31 dollars per item produced.
4. h(t) = 3t1/2 . h(64) = 24. 64 years after it starts growing, the tree is 24 feet tall. h0 (t) =
3 12 t1/2−1 = 32 t−1/2 = 2√
3
t
. h0 (64) = 16
3
= .1875 ≈ 0.19. 64 years after it starts growing, the tree
is growing at the rate of .19 feet per year.
5. (a) N (t) = 4t7/2 , N (9) = 8748 mg = the mass of bacteria 9 hours after. N 0 (t) = 4 27 t7/2−1 =
14t5/2 . N 0 (9) = 3402 mg per hour. Thus, after 9 hours, the mass is increasing at the rate
of 3402 mg per hour. (b) 4 hours after, the mass of bacteria is increasing at the rate of
N 0 (4) = 14(4)5/2 = 448 mg per hour.
7. (a) s(t) = 2t2 − 1 ⇒ s0 (t) = 4t ⇒ s0 (5) = 20. So, after 5 hours, the velocity is 20 miles per
hour. (b) s0 (t) = 4t = 30 ⇒ t = 30
4
= 7.5. So, after 7.5 hours, the velocity is 30 miles per hour.
9
The second derivative. The derivative itself can be considered as a function. The instantaneous
rate of change of this function is the second derivative. Thus, the second derivative evaluated at a
point computes the slope of the tangent line to the graph of the first derivative.
The second derivative f 00 (x) is the derivative of the first derivative f 0 (x)
d2 00 d2 y
Notation: f 00 (x), dx 2 f (x), y , dx2
d2 d2 y
Evaluated at x = a : f 00 (a), dx2
f (x)|x=a , dx 2 |x=a
Applications. If s(t) represents the position of an object at time t, we have seen that the
derivative s0 (t) represents the velocity at time t. The second derivative is the acceleration
since it calculates the rate at which the velocity is changing.
d2 s
acceleration a(t) = v 0 (t) = dv
dt
= s00 (t) = dt2
Example 2. Consider the object whose position (in meters) is given as a function of time (in
seconds) by the formula s(t) = t3 − 7t2 + 13t. Find the formulas for velocity and acceleration.
Solution. s(t) = t3 − 7t2 + 13t ⇒ v(t) = s0 (t) = 3t2 − 14t + 13 ⇒ a(t) = s00 (t) = 6t − 14.
Higher Derivatives. Continuing differentiating the derivative, one obtains the higher deriva-
tives: the second derivative as the derivative of the first, the third derivative as the derivative of the
second and so on. The third derivative is usually denoted by f 000 (x). For the derivatives higher than
three, f (n) is used to denote the n-th derivative. So, for example, the fourth derivative is written as
f (4) (x) rather than f 0000 (x). √
Example 3. Find the fourth derivative of the function f (x) = x + x2 + 5.
Solution. √
f (x) = x + x2 + 5 = x1/2 + x2 + 5 ⇒ f 0 (x) = 21 x1/2−1 + 2x1 + 0 = 12 x−1/2 + 2x ⇒
1 −1 −1/2−1 −1 −3/2
00
f (x) = 2 2 x 0
+ 2x = 4 x + 2 ⇒ f 000 (x) = −1 −3 −3/2−1
4 2
x + 0 = 38 x−5/2 ⇒
f (4) (x) = 38 −5
2
x −5/2−1
= −15 −7/2
16
x .
Differentiable Functions. Recall that the derivative at x = a is the limit limh→0 f (a+h)−f h
(a)
or,
f (x)−f (a)
equivalently limx→a x−a . If either one (then necessarily both) of these limits exist, f (x) is said to
be differentiable at x = a. Thus, if you can find the derivative of a function (either by definition or
using the differentiation formulas) and if f 0 (x) is defined at x = a, then the function is differentiable
at a.
10
Recall that a function is continuous at x = a if limit of f (x) when x → a exists and it is equal
to f (a). Thus, f (a) = limx→a f (x) or, equivalently, limx→a f (x) − f (a) = 0. If a function f (x) is
differentiable at a, then
f (x) − f (a) f (x) − f (a)
lim f (x) − f (a) = x→a
lim (x − a) = x→a
lim lim x − a = f 0 (a) · 0 = 0
x→a x−a x−a x→a
11
√
(d) f (x) = 3 x = x1/3 ⇒ f 0 (x) = 13 x−2/3 = 3 √ 1
3 2 . This derivative is defined for every value
x
of x except 0. So, f (x) is differentiable for every x 6= 0. f 0 (x) is not defined at 0 so f (x) is not
differentiable at 0. The graph of f (x) reveals a vertical tangent at x = 0.
Practice problems.
1. Find the first and the second derivative of the following functions.
3 √ √
(a) f (x) = x2 + x42
3
(b) f (x) = x3 + x2
(a) f (x) = x2 + 2
√3
(b) f (x) = 5 x2
(c) The function given by the graph on the
right.
Solutions.
x3
1. (a) f (x) = 2
= 21 x3 + 4x−2 ⇒ f 0 (x) = 32 x2 − 8x−3 ⇒ f 00 (x) = 3x + 24x−4 = 3x + x244
+ 4
x2
√ √
(b) f (x) = x3 + x2 = x3/2 + x2/3 ⇒ f 0 (x) = 32 x1/2 + 23 x−1/3 ⇒ f 00 (x) = 34 x−1/2 − 29 x−4/3
3
2. (a) f (x) = x2 + 2 ⇒ f 0 (x) = 2x. The derivative is defined at every x-value so f (x) is differen-
tiable for every x.
√
(b) f (x) = 5 x2 = 5x2/3 ⇒ f 0 (x) = 10 x−1/3 = 310
3
3 3 x . This function is defined for every value of
√
x except x = 0. Graphing f (x), you can notice that it has a corner (and a vertical tangent) at
x = 0 so it is not differentiable at 0. Thus, f (x) is differentiable for every x 6= 0.
(c) The function is differentiable at every point different from −2, 0 and 1 since there is a well
defined tangent to the graph for all x 6= −2, 0, 1. At x = −2 and x = 0 the function is not
differentiable since it is not continuous (a jump at −2 and a hole at 0). At x = 1 the function
is not differentiable since there is a corner in the graph.
12