Applications of Differentiation 1
Applications of Differentiation 1
Applications of Differentiation 1
July 5, 2021
Contents
1 Extrema of a Function 1
1.1 Maximum and Minimum Values of a Function . . . . . . . . . . . . . . . 1
1.2 Rolle’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Rate of Change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3 Concavity 7
1 Extrema of a Function
Some real life problems can be solved using differential calculus. These include
1
• Determining what angle blood vessels should branch, to minimize energy expended
by the heart pumping blood.
These type of problems can be reduced to obtaining maximum and minimum values of a
function.
y = f (x)
(a, f (a))
x
a b c d e
Figure 1 above shows the graph of a function. Going by the definitions above, the function
has absolute maximum at d and absoute minimum at a. (d, f (d)) is the highest point
on the graph and (a, f (a)) is the lowest point.
However, if we consider only values of x near b (for example if we talk about the interval
(a, c)), the f (b) is the largest of the values f (x) and is called a local maximum value of
f. Similarly, f (c) is the local minimum value of f, because f (c) ≤ f (x) when we take the
interval (b, d) for instance.
2
Therefore f (0) = 0 is the absolute and local minimum value of f. f has absolute minimum
at 0. See Figure 2. The lowest point on the parabola y = x2 is the origin. y = x2 has no
maximum value. The parabola has no highest point.
y
y = x2
Figure 2: Graph of y = x2
Example 2. For f (x) = 3x4 − 16x3 + 18x2 , −1 6 x 6 4, determine the maximum and
minimum values.
From Figure 3, f (1) = 5 is a local maximum. f (−1) = 37 is the absolute maximum. The
absolute maximum is not a local maximum because it appears at an endpoint. f (0) = 0
is a local minimum and f (3) = −27 is a local minimum and an absolute minimum.
At x = 4, there is neither a local (it is at extreme) nor an absolute maximum.
y
(−1, 37)
(1, 5)
x
−1 1 2 3 4 5
(3, −27)
Theorem 1 (Extreme Value Theorem). The Extreme Value Theorem, EVT, states that
if a real-valued function f is continuous on the closed interval [a, b], then f has both a
maximum and a minimum value on [a, b].
3
Definition 3 (Critical Number). A critical number of a function f is a number c in the
domain of f such that either f 0 (c) = 0 or f 0 (c) does not exist.
f has same value at the start point and end point of the interval. Thus, all the conditions
on Rolle’s theorem are met. There exists c such that f 0 (c) = 0. There exists a c on (0, 1)
with f 0 (c) = 0 and c can be obtained from equating f 0 (c) to zero.
1
2x − 1 = 0 =⇒ x =
2
Cross-check if f 0 ( 12 ) = 0
Example 4. Let f (x) = x12 . Determine if Rolle’s theorem guarantees the existence of
some c in (−1, 1) with f 0 (c) = 0. If not, explain why?
Solution
Let y be a given function of x i.e y = f (x). Let y1 and y2 correspond to the value x1 and
−y1
x2 of x. Then the ratio xy22 −x1
is called the average rate of change of y with respect to x
in the interval x2 − x1 . When x2 − x1 is very small ≈ δx, then y2 − y1 ≈ δy, so that the
4
δy dy
average rate of change is δx . As δx −→ 0 , we have that the ratio tends to dx
; this gives
the rate of change of y with respect to x at the point x1
Example 5. A sphere ballon is inflated in such a way that its radius increases at the
rate 1cm/s. How fast is its volume changing when its radius is 12cm?
Solution
Note that:
Let r and v denote the radius and the volume respectively of the sphere at time t. Then
4
V = πr3 .
3
Differentiating, we have:
dv dv dr dr
=: = 4πr2
dt dr dt dt
dr
but dt
= 1, r = 12cm. Therefore
dv dr
= 4πr2 = 4π · 122 · 1 = 576π
dt dt
A function, f, is called increasing on the interval [a, b] if f (x1 ) < f (x2 ) ∀x1 < x2 in
the interval. Similarly, a function is called decreasing on the interval [a, b] if f (x1 ) >
f (x2 ) ∀x1 < x2 in the interval.
y y
y = f (x)
y = f (x)
x x
5
Informally, we say that f is increasing if the graph of f rises to the right
and decreasing if the graph of f falls to the right.
Definition 4. A function f is increasing in the interval I, if for each pair of points a and
b in I, such that a < b, we have f (a) < f (b). Similarly, f is decreasing in the interval I,
if for each pair of points a and b in I, such that a < b, we have f (a) > f (b)
Solution
f 0 (x) = 9x2 + 2. 9x2 + 2 > 0 for any real number. It follows from Theorem 3 above that
f i s an increasing function in any interval.
Example 7. Determine the intervals in which f is decreasing if f (x) = 2x3 +3x2 −12x+5
Solution
We consider the second option: we can find an interval in which x − 1 < 0 and x + 2 > 0
i.e x < 1 and x > −2. This holds when x is a number in the interval (−2, 1). Therefore
f is decreasing in any interval whose interior points belong to the interval (−2, 1).
Quick Practice 1. Find the interval for which the function f (x) = 3x4 − 4x3 − 12x2 + 5
is increasing and where it is decreasing.
6
2.0.1 Geometrical Implication of Zero Derivative
3 Concavity
Consider the two functions sketched in the diagrams below. The arc in Figure 5(b) has
y y y = f (x)
P1
y = f (x)
x
0 3
x
(a) Concave down (b) Concave up
the property that: if we draw the tangent line at any point of the arc, then the entire arc
( with the exception of the point of tangency) lies above the tangent line. Such an arc is
said to be concave up.
However, if an arc lies below every tangent line, then we say that the arc is concave
down. For example the part of the curve in Figure 5(a) for which 0 < x < 3, is concave
down.
Theorem 4. If f 00 (x) > 0 at every interior point x of an interval I, then the graph of f
is concave up in I. If f 00 (x) < 0 at every interior point x of an interval I, then the graph
of f is concave down in I.
Proof. We write the proof for the case f 00 (x) > 0. The case f 00 (x) < 0 is similar. See
Figure 6 below. We wish to show that if we draw the tangent line at any point (a, f (a))
then the curve lies above this line. In other words, if the line x = b, (where b is a point
of I different from a) intersects our tangent line at the point (b, c) we want to show that
c < f (b)) i.e
The slope of the line that contains the points (a, f (a)) and (b, c) is
c − f (a)
.
b−a
7
y
y = f (x)
(b, f (b))
(b, c)
(a, f (a))
x
a b
Recall that the equation of a straight line passing through the point (x1 , y1 ) with gradient
m is given by the point-slope (gradient) form as
y − y1 = m(x − x1 ).
Also, recall that in general the equation of the tangent to the curve f at the point (a, f (a))
is given as
y − f (a) = f 0 (a)(x − a)b.
Thus
y − y1 y − f (a)
=m: = f 0 (a).
x − x1 x−a
Since this line is a tangent line, this number must be equal f 0 (a). Therefore
According to the mean value theorem(recall theorem of the mean), there is a point m
between a and b such that
f (b) − f (a)
= f 0 (m)
b−a
that is
f (b) − f (a) = f 0 (m)(b − a) (3)
If we subtract the sides of equation (2) from the corresponding side of equation (3) we
have
f (b) − c = [f 0 (m) − f 0 (a)](b − a). (4)
Now we apply the theorem of the mean to the function f 0 to see that there is a number
8
n between a and m such that
f 0 (m) − f 0 (a)
= f 00 (n). (5)
m−a
Since n ia an interior point of I, the hypothesis of this theorem states that f 00 (n) is
positive. Again, since m is between a and b, the product (m − a)(b − a) is positive.
Therefore, the r.h.s of (6) is positive. This implies f (b) − c > 0. This verifies (1) Hence,
we have completed the proof.
Results concerning the increasing and decreasing nature of a function and concavity of
its graph are summarized below.
i and ii are called increasing-decreasing (I—D) tests while iii and iv are concavity tests
Definition 5 (Inflexion Point). A point c, f (c) is called an inflexion point if the concavity
of a graph changes as x moves from just below c to just above c. i.e. A point p on a curve is
called an inflexion point if the curve changes from concave upward to concave downward
or from concave downward to concave upward. Inflexion can occur when f 00 (c) = 0 or
f 00 (c) is undefined. However, f 00 (c) = 0 does not necessarily mean that inflexion occurs
at c
Example 8. Determine whether or not the function f (x) = x4 has a point of inflexion.
Solution
Also,
9
y
y = x4
Figure 7: Graph of y = x4
Solution
3 2 3
f 0 (x) = x− 5 (4 − x) − x− 5
5
3(4 − x) − 5x
= 2
5x 5
12 − 8x
= 2
5x 5
f 0 (x) = 0 if 12 − 8x = 0 i.e x = 23 . When x = 0, f 0 (x) does not exist (is undefined) hence
the critical numbers are 23 and 0.
10
(c) If f 0 does not change sign at c (if f 0 is positive on both sides of c or negative on
both sides) then f has no local maximum or local minimum at c.
y y
x x
c c
(a) Local Maximum at c (b) Local Minimum at c
x x
c c
Example 10. Find the local maximum and minimum values of the function f (x) =
3x4 − 4x3 − 12x2 + 5
Solution
For the given function, we have that f 0 (x) = 12x3 − 12x2 − 24x = 12x(x − 2)(x + 1).
We need to know where f 0 (x) is changing sign from positive or from negative to positive
or does not change sign. We divide the real line into interval whose end points are the
critical numbers −1, 0 and 2. We arrange this on a chart (recall that the critical number
f 0 (c) = 0 or f 0 (c) does not exist).
11
Interval 12x (x − 2) (x + 1) f 0 (x) decreasing or increasing
x < −1 − − − − Decreasing on (−∞, −1) f 0 (x) < 0
−1 < x < 0 − − + + increasing on (−1, 0) f 0 (x) > 0
0<x<2 + − + − Decreasing on (0, 2) f 0 (x) < 0
x>2 + + + + increasing on (2, ∞) f 0 (x) > 0
From the chat on the table above, we see that f 0 (x) changes from negative to positive at
−1. Therefore f (−1) ia a local minimum value by first derivative. Also, since f 0 changes
from negative to positive at 2, f (2) = −27 is another local minimum value.
We take an example that considers the use of I—D test, first derivative test, and point
of inflexion.
Example 11. Sketch a possible graph of a function f that satisfies the following condi-
tions:
(ii) f 0 (x) > 0 for 0 < x < 4; f 0 (x) < 0 for x < 0 and for x > 4.
Recall that
Solution
12
Condition (i) implies that the graph has horizontal tangents at the points (0, 0) and (4, 6).
(ii) tells us that f is increasing on the open interval (0, 4) and decreasing on the intervals
(−∞, 0) and (4, ∞).
This means f was decreasing up to just before zero and begins to increase at zero. i.e
f 0 (x) changeed from negative to positive. Therefore, f (0) = 0 is a local minimum by the
first derivative test.
The function is increasing between 0 and 4, i.e up to just before 4, it decreases at just
after 4, there is a sign change for f 0 from positive to negative at 4, therefore by first
derivative test f (4) = 4 is the local maximum.
(iii) informs us that the graph is concave up on −∞, 2 and concave down on (2, ∞). Since
the curve changes from concave up to concave down at 2, the point (2, 3) is the inflexion
point. Using ths information, the graph is sketched below. See Figure 9.
y (4, 6)
6
3 (2, 3)
1
x
−1 0 1 2 3 4 5 6
3 3
Figure 9: Graph of y = − 16 x + 98 x2
Example 12. Sketch the curve y = x4 − 4x3 using information about concavity, maxi-
mum, minimum and point of inflexion of the graph.
Solution
13
f (x) = x4 − 4x3
f 0 (x) = 4x3 − 12x2 = 4x2 (x − 3)
f 00 (x) = 12x2 − 24x = 12x(x − 2)
Critical number
Therefore, by the second derivative test, the point (3, −27) is a local minimum (f (3) =
−27.) The second derivative test gives no information about the critical number zero.
We try using the first derivative test for information about the point zero.
We consider f 0 just before zero and after zero for possible sign change. We consider x < 0
and 0 < x < 3 : For x < 0, f 0 < 0. For 0 < x < 3; f 0 < 0. Thus at 0 there is no change
of sign from positive to negative or from negative to positive. By the first derivative test,
there is no local maximum or minimum at 0.
Concavity
When f 00 (x) = 0; x = 0 or 2. We divide the real number line into intervals with 0 and 2
as endpoints and draw up the chart
14
y
Points of inflexion
x
−1 (0, 0) 1 2 3 4 5
(2, −16)
−27
(3, −27)
Definition 6. Let f be a function defined on some interval (a, ∞) then limx→∞ f (x) = L
implies that the values of f (x) can be made arbitrarily close to L by taking x sufficiently
large.
Definition 7. Let f be a function defined on some interval (−∞, a) then limx→∞ f (x) =
L means that the values of f (x) can be made arbitrarily close to L by taking x sufficiently
large, negatively f (x) never really gets to L but approaches L, just as x never really gets
to infinity but is very large and also approaches infinity.
x2 − 1
f (x) = .
x2 + 1
15
The table below give values of f (x) (six decimal places)
X 0 ±1 ±2 ±3 ±4 ±5
f (x) −1 0 0.60000 0.80000 0.882353 0.923077
y=1
1
x
−5 −4 −3 −2 −1 0 1 2 3 4 5
x2 −1
−1 y= x2 +1
x2 −1
Figure 11: Graph of y = x2 +1
positive and in the negative directions, f (x) gets closer and closer to 1. We express this
as:
lim f (x) = 1
x−→∞
i.e
x2 − 1
lim =1
x−→∞ x2 + 1
Also
x2 − 1
lim =1
x−→−∞ x2 + 1
x2 −1
We say that the function f (x) = x2 +1
has a horizontal asymptote at 1.
16