CH 3. Derivatives
CH 3. Derivatives
CH 3. Derivatives
Chapter-3: Derivatives
Lemi Taye
y = f (x)
Example
Definition 3.1
The derivative of a function f at a number a, denoted by f 0 (a), is
f (a + h) − f (a)
f 0 (a) = lim
h→0 h
if this limit exists.
If we write x = a + h, then we have h = x − a and h approaches 0 if and
only if x approaches a. Therefore, an equivalent way of stating the
definition of the derivative is
f (x) − f (a)
f 0 (a) = lim
x→a x−a
Example
Find the derivative of the function f (x) = x2 − 8x + 9 at the number a.
Solution
From Definition 3.1 we have
f (a + h) − f (a)
f 0 (a) = lim
h→0 h
[(a + h)2 − 8(a + h) + 9] − [a2 − 8a + 9]
= lim
h→0 h
a2 + 2ah + h2 − 8a − 8h + 9 − a2 + 8a − 9
= lim
h→0 h
2ah + h2 − 8h
= lim = lim (2a + h − 8)
h→0 h h→0
= 2a − 8
Lemi Taye (AAUSC) Ch 3: Derivatives December 12, 2018 7 / 62
The Derivative and the Slope of a Curvilinear Function
Figure 1
Lemi Taye (AAUSC) Ch 3: Derivatives December 12, 2018 10 / 62
The Derivative and the Slope of a Curvilinear Function
f (a + h) − f (a)
mP Q =
h
Notice that as x approaches a, h approaches 0 (because h = x − a )
and so the expression for the slope of the tangent line in Definition 1
becomes
f (a + h) − f (a)
m = lim (2)
h→0 h
The tangent line to y = f (x) at (a, f (a)) is the line through (a, f (a))
whose slope is equal to f 0 (a), the derivative of f at a.
Solution
y − (−6) = (−2)(x − 3) or
y = −2x
Figure 2
Lemi Taye (AAUSC) Ch 3: Derivatives December 12, 2018 13 / 62
Continuity and Differentiability of a Function
Figure 3
f (x + h) − f (x)
f 0 (x) = lim (3)
h→0 h
Now we can regard f 0 as a new function, called the derivative of f
and defined by Equation 3.
We know that the value of f 0 at x, f 0 (x), can be interpreted
geometrically as the slope of the tangent line to the graph of f at the
point (x, f (x)).
Solution
When using Equation 3 to compute a derivative, we must remember that
the variable is h and that x is temporarily regarded as a constant during
the calculation of the limit.
f (x + h) − f (x) [(x + h)3 − (x + h)] − [x3 − x]
f 0 (x) = lim = lim
h→0 h h→0 h
x3 + 3x2 h + 3xh2 + h3 − x − h − x3 + x
= lim
h→0 h
3x2 h + 3xh2 + h3 − h
= lim
h→0 h
= lim (3x + 3xh + h2 − 1) = 3x2 − 1
2
h→0
Example
Given f (x) = 8, f 0 (x) = 0
Given f (x) = −6, f 0 (x) = 0
Example
Given f (x) = 4x3 , f 0 (x) = 4 · 3 · x3−1 = 12x2
Given f (x) = 5x2 , f 0 (x) = 5 · 2 · x2−1 = 10x
Given f (x) = x4 , f 0 (x) = 1 · 4 · x4−1 = 4x3
Example
Given f (x) = 12x5 − 4x4 , f 0 (x) = 60x4 − 16x3
Given f (x) = 9x2 + 2x − 3, f 0 (x) = 18x + 2
Example
Given f (x) = 3x4 (2x − 5), let g(x) = 3x4 and h(x) = 2x − 5. Taking the
individual derivatives, g 0 (x) = 12x3 and h0 (x) = 2.
Example (continued )
Then by substituting the values in the product-rule formula,
Example
5x3
Given f (x) = , where g(x) = 5x3 and h(x) = 4x + 3, we know that
4x + 3
g 0 (x) = 15x2 and h0 (x) = 4. Substituting these values in the quotient-rule
formula,
(4x + 3)(15x2 ) − 5x3 (4)
f 0 (x) =
(4x + 3)2
Simplifying algebraically,
Example
Consider the function y = (5x2 + 3)4 . To use the chain rule, let y = u4
and u = 5x2 + 3.
Example (continued )
Then dy/du = 4u3 and du/dx = 10x. Substituing these values in the
formula for the chain rule:
dy
= 4u3 · 10x = 40xu3
dx
Then to express the derivative in terms of a single variable, substitute
5x2 + 3 for u.
dy
= 40x(5x2 + 3)3
dx
f (x) = ex =⇒ f 0 (x) = ex
f 0 (x) = ax ln a
Example
Find the derivatives of
(a) f (x) = ex /x
(b) g(x) = 10−x
Solution
(a) The quotient rule yields
dy ex · x − ex · 1 ex (x − 1)
= =
dx x2 x2
(b) g(x) = 10−x = 10u where u = −x. Using the chain rule gives
g 0 (x) = −10−x ln 10.
Example
Find the derivatives of
√
(a) f (x) = ln 5 x
(b) g(x) = log x
Solution
√ 1 1
(a) f (x) = ln 5
x=ln x =⇒ f 0 (x) = .
5 5x
1
(b) g(x) = log x = log10 x =⇒ g 0 (x) = .
x ln 10
In general,
dn y
y (n) = f (n) (x) or
dxn
denotes the nth derivative of f at x.
The number n is called the order of the derivative. For example,
f (6) (x0 ) denotes the sixth derivative of f calculated at x0 , found by
differentiating six times.
Example
Compute all the derivatives up to and including order 4 of
Solution
Repeated differentiation gives
Solution
Figure 4
Lemi Taye (AAUSC) Ch 3: Derivatives December 12, 2018 35 / 62
Convex and Concave Functions
Figure 5
Solution
Here f 0 (x) = 2x − 2 so
f 00 (x) = 2. Because f 00 (x) > 0
for all x, f is convex. The
graph is shown in Figure 6.
Figure 6
Lemi Taye (AAUSC) Ch 3: Derivatives December 12, 2018 39 / 62
L’Hospital’s Rule
or that
lim f (x) = ±∞ and lim g(x) = ±∞
x→a x→a
0
(In other words,we have an indeterminate form of type 0 or ∞/∞.) Then
f (x) f 0 (x)
lim = lim 0
x→a g(x) x→a g (x)
Example
ln x
Find lim .
x→1 x − 1
Solution
Since
lim ln x = ln 1 = 0 and lim (x − 1) = 0
x→1 x→1
Solution
We have lim ex = ∞ and lim x2 = ∞, so l’Hospital’s Rule gives
x→∞ x→∞
d x
ex (e ) ex
lim 2 = lim dx = lim
x→∞ x x→∞ d x→∞ 2x
(x2 )
dx
Since ex → ∞ and 2x → ∞ as x → ∞, the limit on the right side is also
indeterminate, but a second application of l’Hospital’s Rule gives
ex ex ex
lim == lim = lim =∞
x→∞ x2 x→∞ 2x x→∞ 2
Lemi Taye (AAUSC) Ch 3: Derivatives December 12, 2018 43 / 62
Single Variable Optimization
In this case we call f (c) the maximum value, and we call f (d) the
minimum value.
Figure 7
The theorem leaves unsettled case (c) where f 0 (c) = f 00 (c) = 0. Then
"anything" can happen.
Usually, the first-derivative test can be used to classify stationary
points at which f 0 (c) = f 00 (c) = 0.
Example
Classify the stationary points of
1 1 2
f (x) = x3 − x2 − x + 1
9 6 3
by using the second-derivative test.
Solution
1 1 2 1
We get f 0 (x) = x2 − x − = (x + 1)(x − 2), with two stationary
3 3 3 3
2 1
points x = −1 and x = 2. Furthermore, f 00 (x) = x − , so that
3 3
f 00 (−1) = −1 and f 00 (2) = 1. From Theorem 3.2 it follows that x = −1 is
a local maximum point and x = 2 is a local minimum point.
Example
Given the demand function P = 30 − 2Q, the marginal revenue function
can be found by first finding the total revenue function and then taking the
derivative of that function with respect to Q.
Example (continued )
Thus,
T R = P · Q = (30 − 2Q)Q = 30Q − 2Q2
Then
dT R
MR = = 30 − 4Q
dQ
If Q = 4, M R = 30 − 4(4) = 14; if Q = 5, M R = 30 − 4(5) = 10.
Solution
First, set up the profit function
Take the first derivative, set it equal to zero, and solve for Q to find the
critical points.
Solution (continued )
Then take the second derivative; evaluate it at the positive critical point
and ignore the negative critical point.
π 00 = −12Q − 60
π 00 (20) = −12(20) − 60 = −300 < 0 (concave, relative maximum)
dQ/dP dQ P
εd ≡ =
Q/P dP Q
Example
Find εd at P = 25 if the demand function is Q = 100 − 2P .
Solution
We have
dQ Q 100 − 2P
= −2 and =
dP P P
so their ratio will give us
−P
εd =
50 − P
Hence, at P = 25, we have εd = −(25)/(50 − 25) = −1, or |εd | = 1, so
that the demand elasticity is unitary at that point.
u ≡ ln y y = f (x) x ≡ eln x ≡ eν
d(ln y) du du dy dx
= =
d(ln x) dν dy dx dν
d dy d ν
= ln y e
dy dx dν
1 dy ν 1 dy dy x
= e = x=
y dx y dx dx y
Example
Find the point elasticity of demand, given that Q = k/P , where k is a
positive constant.
Solution
This is the equation of a rectangular hyperbola; and, as is well known, a
demand function of this form has a unitary point elasticity at all points. To
show this, we shall apply (6).
Solution(continued )
Since the natural log of the demand function is
ln Q = ln k − ln P
d(ln Q)
εd = = −1 or |εd | = 1
d(ln P )