Professional Documents
Culture Documents
Mathematical Sciences
TT 1
Reminder:
TT 2
Objectives:
• Find the critical points/numbers of a function
• Local maximum/minimum.
• Critical number.
• The first derivative test.
• Absolute maximum/minimum.
• The closed interval method.
TT 4
Local extrema
The word “extremum" (plural “extrema") simply means
“maximum or minimum." So this lecture is about
locating points that are extremal in one sense or another: the
largest or the smallest in some domain. First,
we consider so-called local extrema.
TT 5
Definition: A local maximum is a point (𝑐; 𝑓(𝑐) on
the graph of a function 𝑓(𝑥) such that 𝑓 𝑐 ≥ 𝑓 𝑥
for all 𝑥 is some interval around 𝑐.
TT 6
Critical Number:
Let 𝑓 be defined at a number 𝑐. If 𝑓′(𝑐) = 0 or if 𝑓’(𝑐) is not
differentiable (undefined) at 𝑐, then 𝑐 is a critical number of
𝑓.
(Fermat’s Theorem)
Note: all extrema occur at critical values, but not all critical
values are extrema.
TT 7
y
𝑓 ′ 𝑥0 = 0 global maximum
𝑓 ′ 𝑥3 = 0
𝑓 ′ 𝑥1 = 0 (local minimum)
𝑥0 𝑥1 𝑥2 𝑥3 x
𝑦 = 𝑓(𝑥)
x 1 0 x 1
Then the critical numbers are -1 and 1.
TT 9
Increasing and Decreasing Functions
TT 10
On what intervals is 𝒇(𝒙) increasing and
decreasing?
𝑓(𝑥)
𝑓(𝑥2 )
𝑓(𝑥1 )
TT 11
2) A function f is decreasing on an interval if, for any
value of 𝑥1 < 𝑥2 in the interval, 𝑓 𝑥1 > 𝑓 𝑥2 .
𝑓(𝑥)
𝑓(𝑥1 )
𝑓(𝑥2 )
TT 12
y
𝑓′ 𝑥 = 0
b
a
x
𝑓′ 𝑥 = 0
TT 13
Example 2: Upon what intervals is
𝑦 = 2𝑥 3 − 9𝑥 2 + 12𝑥 + 2 increasing/ decreasing.
Solution:
Step 1: find the critical numbers
dy
6 x 2 18 x 12 0
dx
x 2 3x 2 0 (divided by 6)
( x 1)( x 2) 0
x 1, x 2
TT 14
𝑑𝑦 𝑑𝑦 𝑑𝑦
= 12 = −1.5 = 12
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑥=0 𝑥 = 1.5 𝑥=3
+ 1 - 2 +
Thus,
Increasing on 𝑥 < 1, 𝑥 > 2 𝑑𝑦
= 6(0)2 − 18 0 + 12 = 12
𝑑𝑥
Decreasing on 1 < 𝑥 < 2
TT 15
First Derivative Test
f '( x) 0 f '( x) 0
TT 16
If f(x) is decreasing to the left of c and increasing to
the right of c, then at c there is a local/relative
minimum.
f '( x) 0 f '( x) 0
c
Note: local max or min occurs at stationary point
TT 17
Example 3: Find the relative maximum and
minimum of 𝑦 = 2𝑥 3 − 9𝑥 2 + 12𝑥 + 2.
Solution:
Apply first derivative test
From Example 2:
when
𝑥 = 1, 𝑦 = 2(1)3 −9(1)2 +12 1 + 2 = 7
This is a local/relative maximum at (1,7)
when
𝑥 = 2, 𝑦 = 2(2)3 −9 2 2 + 12 2 + 2 = 6
This is a local/relative minimum at (2,6)
TT 18
8
𝑓 𝑥 = 2𝑥 3 − 9𝑥 2 + 12𝑥 + 2 = 0
6
Local minimum (2,6)
TT 19
ACTIVITY
TT 20
Second Derivative Test
TT 21
Example 4: Find relative maximum and
minimum of 𝑓 𝑥 = 𝑥 3 − 6𝑥 2 + 9𝑥 − 2.
Solution:
Step 1: Find the critical numbers/points
f ( x) x 3 6 x 2 9 x 2
f '( x) 3x 2 12 x 9 0
x2 4 x 3 0
( x 1)( x 3) 0
critical numbers/points x 1, x 3.
TT 22
Step 2: Apply second derivative test
f ( x) x 3 6 x 2 9 x 2
f '( x) 3 x 2 12 x 9
f ''( x) 6 x 12
when x 1
f ''(1) 6(1) 12 6 0
Thus, (1, f (1)) (1, 2) is a maximum point
when x 3
f ''(3) 6(3) 12 4 0
Thus, (3, f (3)) (13 - 2) is a maximum point
TT 23
y
7.5
5
local maximum (1,2)
2.5
x
-2 -1 1 2 3 4 5
-2.5
local minimum (3,-2)
-5
-7.5
TT 24
Higher Derivatives and Concavity of functions
NOTE
Concave upward
A function is concave upward on
an interval if 𝑓′′(𝑥) > 0 for all x in
that interval.
TT 25
If 𝑓′′(𝑥) changes sign at some 𝑥 = 𝑐,
then at 𝑥 = 𝑐 we have a point of
inflection.
TT 26
Inflection Points
Inflection points are where the function changes concavity.
Since concave up corresponds to a positive second derivative
and concave down corresponds to a negative second
derivative, then when the function changes from concave up to
concave down (or vise versa) the second derivative must equal
zero at that point. So the second derivative must equal zero to
be an inflection point.
𝑓 ′′ 𝑥 = 0
f ( x) x3 6 x 2 9 x 2
TT 27
f ( x) x 3 6 x 2 9 x 2
f '( x) 3 x 2 12 x 9
f ''( x) 6 x 12
6 x 12 0
6 x 12 x 2
-7.5
TT 29
ACTIVITY
TT 30
Solution:
Step 1: find the critical numbers/points.
f ( x) 3x 5 5 x 3
f '( x) 15 x 4 15 x 2 0
15 x 2 x 2 1 0
15 x 2 ( x 1)( x 1) 0
critical numbers/points x 0, x 1, x 1.
TT 31
Step 2: Apply second derivative test
f ( x) 3x 5 5 x 3 , f '( x) 15 x 4 15 x 2 , f ''( x) 60 x 3 30 x
when x 0,
f ''(0) 60(0)3 30(0) 0 i.e f ''( x) 0
Thus, (0, f (0)) (0, 0) is a inflection point.
when x 1,
f ''(0) 60(1)3 30(1) 3 i.e f ''( x) 0
Thus, (1, f (1)) (1, 2) is a maximum point.
Inflection point
when x 1, Maximum point 5
5
Minimum point
TT 32
Applications in Physics
TT 33
h t
6000
5000
Example 9: 4000
3000
2000
1000
t
10 20 30 40 50
TT 34
OPTIMISATION
ABSOLUTE MAXIMUM AND MINIMUM VALUES
TT End points 35
Absolute maximum
• From the graph it is
(𝑐1 , 𝑓(𝑐1 ))
clear that 𝒄𝟏 , 𝒇 𝒄𝟏 is
the highest point on the
graph; we call this the
absolute maximum or
global maximum.
(𝑏, 𝑓(𝑏))
• It is clear that (𝒃, 𝒇 𝒃 )
Absolute minimum is the lowest point on
the graph; we call this
the absolute minimum
or global minimum.
TT 36
For 𝑦 = 𝑓(𝑥) restricted to values when 𝑎 ≤ 𝑥 ≤ 𝑏,
TT 37
Example 1:
𝑦 = 𝑓 𝑥 is restricted to values of 𝑥 when 𝑎 ≤ 𝑥 ≤ 𝑏.
Absolute maximum is 𝑓 𝑏 Absolute maximum is 𝑓 𝑐1
Absolute minimum is 𝑓(𝑐1 ) Absolute minimum is 𝑓(𝑐2 )
𝑎 𝑐1 𝑏 𝑎 𝑐1 𝑐2 𝑏
TT 39
Example 2: Find the absolute extrema of
𝑓 𝑥 = 2𝑥 3 − 3𝑥 2 − 12𝑥 + 5 on the interval [-2, 4].
Absolute maximum is 37 at 𝑥 = 4
Absolute minimum is -15 at 𝑥 = 2 𝑓 𝑥 = 2𝑥 3 − 3𝑥 2 − 12𝑥 + 5
TT 40
Example 3: Compute the absolute extrema of
f ( x) 2 x3 15 x 2 36 x on [1,5].
Absolute maximum is 55 at 𝑥 = 5
Absolute minimum is 23 at 𝑥 = 1
TT 41
Maxima and Minima Word Problems
Solution:
Let 𝑥 and 𝑦 be lengths of sides of the rectangle. Then
2𝑥 + 4𝑦 = 4000, 𝑥 = 2000 − 2𝑦
Area 𝐴 𝑦 = 𝑥𝑦 = 2000 − 2𝑦 𝑦 = 2000𝑦 − 2𝑦 2
𝐴′ 𝑦 = 0 ⇒ 2000 − 4𝑦 = 0 ⇒ 𝑦 = 500
Yields the critical point 𝑦 = 500.
Comparing values of 𝐴 𝑦 at 𝑦 = 0, 𝑦 = 500 and 𝑦 = 1000.
𝐴 0 = 0, 𝐴 500 = 500,000, 𝐴 1000 = 0.
The absolute maximum is 500000 at 𝑦 = 500.
TT 42
ACTIVITY