1. Section 4.1
Maximum and Minimum Values
V63.0121.006/016, Calculus I
March 23, 2010
Announcements
Welcome back from Spring Break!
Quiz 3: April 2, Sections 2.6–3.5
. . . . . .
2. Announcements
Welcome back from Spring Break!
Quiz 3: April 2, Sections 2.6–3.5
. . . . . .
3. Computation of Midterm Letter Grades
Q
. uizzes
. W
. ebAssign
.
1
. 5%
1
. 0%
. . W
H
M
. idterm . 1
. 0%
2
. 5% .
4
. 0%
.
F
. inal
. . . . . .
4. Computation of Midterm Letter Grades
Q
. uizzes
. W
. ebAssign
.
1
. 5%
1
. 0%
. . W
H
M
. idterm . 1
. 0%
2
. 5% .
4
. 0%
.
F
. inal (to be determined)
. . . . . .
7. What can I do to improve my grade?
Q
. uizzes
. W
. ebAssign
.
1
. 5%
1
. 0%
. . W
H
M
. idterm . 1
. 0%
2
. 5% .
4
. 0%
.
F
. inal
. . . . . .
8. What can I do to improve my grade?
f
.uture Quizzes p
. ast Quizzes
. . f
.uture WA
. p
. ast WA
6
.% .
9
.% 5
.%
5
.% f
.uture HW
.
5
.%
M
. idterm . p
. ast HW
.
2
. 5% 5
.%
.
4
. 0%
.
F
. inal
. . . . . .
9. What can I do to improve my grade?
M
. idterm
.
p
. ast Quizzes
.
2
. 5% 6
.% p
. ast WA
f
.uture HW .
.
5
.% 5
.%
p
. ast HW
f
.uture WA . .
5
.% 5
.%
.
. .%
9
f
.uture Quizzes 4
. 0%
.
F
. inal
59% of your grade is still in play!
. . . . . .
10. Help!
Free resources:
recitation
TAs’ office hours
my office hours
Math Tutoring Center
(CIWW 524)
College Learning Center
. . . . . .
11. Outline
Introduction
The Extreme Value Theorem
Fermat’s Theorem (not the last one)
Tangent: Fermat’s Last Theorem
The Closed Interval Method
Examples
Challenge: Cubic functions
. . . . . .
13. Why go to the extremes?
Rationally speaking, it is
advantageous to find the
extreme values of a
function (maximize
profit, minimize costs,
etc.)
Pierre-Louis Maupertuis
(1698–1759)
. . . . . .
15. Why go to the extremes?
Rationally speaking, it is
advantageous to find the
extreme values of a
function (maximize
profit, minimize costs,
etc.)
Many laws of science
are derived from
minimizing principles.
Pierre-Louis Maupertuis
(1698–1759)
. . . . . .
17. Why go to the extremes?
Rationally speaking, it is
advantageous to find the
extreme values of a
function (maximize
profit, minimize costs,
etc.)
Many laws of science
are derived from
minimizing principles.
Maupertuis’ principle:
“Action is minimized
through the wisdom of
God.” Pierre-Louis Maupertuis
(1698–1759)
. . . . . .
18. Outline
Introduction
The Extreme Value Theorem
Fermat’s Theorem (not the last one)
Tangent: Fermat’s Last Theorem
The Closed Interval Method
Examples
Challenge: Cubic functions
. . . . . .
20. Extreme points and values
Definition
Let f have domain D.
The function f has an absolute
maximum (or global maximum)
(respectively, absolute minimum) at c
if f(c) ≥ f(x) (respectively, f(c) ≤ f(x))
for all x in D
.
.
Image credit: Patrick Q
. . . . . .
21. Extreme points and values
Definition
Let f have domain D.
The function f has an absolute
maximum (or global maximum)
(respectively, absolute minimum) at c
if f(c) ≥ f(x) (respectively, f(c) ≤ f(x))
for all x in D
The number f(c) is called the
maximum value (respectively,
minimum value) of f on D.
.
.
Image credit: Patrick Q
. . . . . .
22. Extreme points and values
Definition
Let f have domain D.
The function f has an absolute
maximum (or global maximum)
(respectively, absolute minimum) at c
if f(c) ≥ f(x) (respectively, f(c) ≤ f(x))
for all x in D
The number f(c) is called the
maximum value (respectively,
minimum value) of f on D.
An extremum is either a maximum or
a minimum. An extreme value is .
either a maximum value or minimum
value.
.
Image credit: Patrick Q
. . . . . .
25. Theorem (The Extreme Value Theorem)
Let f be a function which is continuous on the closed interval
[a, b]. Then f attains an absolute maximum value f(c) and an
absolute minimum value f(d) at numbers c and d in [a, b].
.
maximum .(c)
f
.
value
. .
minimum .(d)
f
.
value
. . ..
a
. d c
b
.
minimum maximum
. . . . . .
26. No proof of EVT forthcoming
This theorem is very hard to prove without using technical
facts about continuous functions and closed intervals.
But we can show the importance of each of the hypotheses.
. . . . . .
27. Bad Example #1
Example
Consider the function
{
x 0≤x<1
f(x ) =
x − 2 1 ≤ x ≤ 2.
. . . . . .
28. Bad Example #1
Example
Consider the function .
{
x 0≤x<1
f(x ) = . .
| .
x − 2 1 ≤ x ≤ 2. 1
.
.
. . . . . .
29. Bad Example #1
Example
Consider the function .
{
x 0≤x<1
f(x ) = . .
| .
x − 2 1 ≤ x ≤ 2. 1
.
.
Then although values of f(x) get arbitrarily close to 1 and never
bigger than 1, 1 is not the maximum value of f on [0, 1] because
it is never achieved.
. . . . . .
30. Bad Example #1
Example
Consider the function .
{
x 0≤x<1
f(x ) = . .
| .
x − 2 1 ≤ x ≤ 2. 1
.
.
Then although values of f(x) get arbitrarily close to 1 and never
bigger than 1, 1 is not the maximum value of f on [0, 1] because
it is never achieved. This does not violate EVT because f is not
continuous.
. . . . . .
31. Bad Example #2
Example
Consider the function f(x) = x restricted to the interval [0, 1).
. . . . . .
32. Bad Example #2
Example
Consider the function f(x) = x restricted to the interval [0, 1).
.
. .
|
1
.
. . . . . .
33. Bad Example #2
Example
Consider the function f(x) = x restricted to the interval [0, 1).
.
. .
|
1
.
There is still no maximum value (values get arbitrarily close to 1
but do not achieve it).
. . . . . .
34. Bad Example #2
Example
Consider the function f(x) = x restricted to the interval [0, 1).
.
. .
|
1
.
There is still no maximum value (values get arbitrarily close to 1
but do not achieve it). This does not violate EVT because the
domain is not closed.
. . . . . .
35. Final Bad Example
Example
1
Consider the function f(x) = is continuous on the closed
x
interval [1, ∞).
. . . . . .
36. Final Bad Example
Example
1
Consider the function f(x) = is continuous on the closed
x
interval [1, ∞).
.
. .
1
.
. . . . . .
37. Final Bad Example
Example
1
Consider the function f(x) = is continuous on the closed
x
interval [1, ∞).
.
. .
1
.
There is no minimum value (values get arbitrarily close to 0 but
do not achieve it).
. . . . . .
38. Final Bad Example
Example
1
Consider the function f(x) = is continuous on the closed
x
interval [1, ∞).
.
. .
1
.
There is no minimum value (values get arbitrarily close to 0 but
do not achieve it). This does not violate EVT because the domain
is not bounded.
. . . . . .
39. Outline
Introduction
The Extreme Value Theorem
Fermat’s Theorem (not the last one)
Tangent: Fermat’s Last Theorem
The Closed Interval Method
Examples
Challenge: Cubic functions
. . . . . .
40. Local extrema
Definition
A function f has a local maximum or relative maximum at c
if f(c) ≥ f(x) when x is near c. This means that f(c) ≥ f(x) for
all x in some open interval containing c.
Similarly, f has a local minimum at c if f(c) ≤ f(x) when x is
near c.
. . . . . .
41. Local extrema
Definition
A function f has a local maximum or relative maximum at c
if f(c) ≥ f(x) when x is near c. This means that f(c) ≥ f(x) for
all x in some open interval containing c.
Similarly, f has a local minimum at c if f(c) ≤ f(x) when x is
near c.
.
.
.
.
....
|
a local . .
|
local b
.
maximum minimum
. . . . . .
42. Local extrema
So a local extremum must be inside the domain of f (not on
the end).
A global extremum that is inside the domain is a local
extremum.
.
.
.
.
.... .
a local . local and global . .
| |
b global
maximum min max
. . . . . .
46. Sketch of proof of Fermat’s Theorem
Suppose that f has a local maximum at c.
If x is slightly greater than c, f(x) ≤ f(c). This means
f(x) − f(c)
≤0
x−c
. . . . . .
47. Sketch of proof of Fermat’s Theorem
Suppose that f has a local maximum at c.
If x is slightly greater than c, f(x) ≤ f(c). This means
f(x) − f(c) f(x) − f(c)
≤ 0 =⇒ lim ≤0
x−c x →c + x−c
. . . . . .
48. Sketch of proof of Fermat’s Theorem
Suppose that f has a local maximum at c.
If x is slightly greater than c, f(x) ≤ f(c). This means
f(x) − f(c) f(x) − f(c)
≤ 0 =⇒ lim ≤0
x−c x →c + x−c
The same will be true on the other end: if x is slightly less
than c, f(x) ≤ f(c). This means
f(x) − f(c)
≥0
x−c
. . . . . .
49. Sketch of proof of Fermat’s Theorem
Suppose that f has a local maximum at c.
If x is slightly greater than c, f(x) ≤ f(c). This means
f(x) − f(c) f(x) − f(c)
≤ 0 =⇒ lim ≤0
x−c x →c + x−c
The same will be true on the other end: if x is slightly less
than c, f(x) ≤ f(c). This means
f(x) − f(c) f(x) − f(c)
≥ 0 =⇒ lim ≥0
x−c x →c − x−c
. . . . . .
50. Sketch of proof of Fermat’s Theorem
Suppose that f has a local maximum at c.
If x is slightly greater than c, f(x) ≤ f(c). This means
f(x) − f(c) f(x) − f(c)
≤ 0 =⇒ lim ≤0
x−c x →c + x−c
The same will be true on the other end: if x is slightly less
than c, f(x) ≤ f(c). This means
f(x) − f(c) f(x) − f(c)
≥ 0 =⇒ lim ≥0
x−c x →c − x−c
f(x) − f(c)
Since the limit f′ (c) = lim exists, it must be 0.
x →c x−c
. . . . . .
52. Tangent: Fermat’s Last Theorem
Plenty of solutions to
x2 + y2 = z2 among
positive whole numbers
(e.g., x = 3, y = 4,
z = 5)
. . . . . .
53. Tangent: Fermat’s Last Theorem
Plenty of solutions to
x2 + y2 = z2 among
positive whole numbers
(e.g., x = 3, y = 4,
z = 5)
No solutions to
x3 + y3 = z3 among
positive whole numbers
. . . . . .
54. Tangent: Fermat’s Last Theorem
Plenty of solutions to
x2 + y2 = z2 among
positive whole numbers
(e.g., x = 3, y = 4,
z = 5)
No solutions to
x3 + y3 = z3 among
positive whole numbers
Fermat claimed no
solutions to xn + yn = zn
but didn’t write down
his proof
. . . . . .
55. Tangent: Fermat’s Last Theorem
Plenty of solutions to
x2 + y2 = z2 among
positive whole numbers
(e.g., x = 3, y = 4,
z = 5)
No solutions to
x3 + y3 = z3 among
positive whole numbers
Fermat claimed no
solutions to xn + yn = zn
but didn’t write down
his proof
Not solved until 1998!
(Taylor–Wiles)
. . . . . .
56. Outline
Introduction
The Extreme Value Theorem
Fermat’s Theorem (not the last one)
Tangent: Fermat’s Last Theorem
The Closed Interval Method
Examples
Challenge: Cubic functions
. . . . . .
57. Flowchart for placing extrema
Thanks to Fermat
Suppose f is a continuous function on the closed, bounded
interval [a, b], and c is a global maximum point.
.
. . c is a
start
local max
. . .
Is c an Is f diff’ble f is not
n
.o n
.o
endpoint? at c? diff at c
y
. es y
. es
. c = a or .
f′ (c) = 0
c = b
. . . . . .
58. The Closed Interval Method
This means to find the maximum value of f on [a, b], we need to:
Evaluate f at the endpoints a and b
Evaluate f at the critical points or critical numbers x where
either f′ (x) = 0 or f is not differentiable at x.
The points with the largest function value are the global
maximum points
The points with the smallest or most negative function value
are the global minimum points.
. . . . . .
59. Outline
Introduction
The Extreme Value Theorem
Fermat’s Theorem (not the last one)
Tangent: Fermat’s Last Theorem
The Closed Interval Method
Examples
Challenge: Cubic functions
. . . . . .
61. Example
Find the extreme values of f(x) = 2x − 5 on [−1, 2].
Solution
Since f′ (x) = 2, which is never zero, we have no critical points
and we need only investigate the endpoints:
f(−1) = 2(−1) − 5 = −7
f(2) = 2(2) − 5 = −1
. . . . . .
62. Example
Find the extreme values of f(x) = 2x − 5 on [−1, 2].
Solution
Since f′ (x) = 2, which is never zero, we have no critical points
and we need only investigate the endpoints:
f(−1) = 2(−1) − 5 = −7
f(2) = 2(2) − 5 = −1
So
The absolute minimum (point) is at −1; the minimum value
is −7.
The absolute maximum (point) is at 2; the maximum value is
−1.
. . . . . .
65. Example
Find the extreme values of f(x) = x2 − 1 on [−1, 2].
Solution
We have f′ (x) = 2x, which is zero when x = 0. So our points to
check are:
f(−1) =
f(0) =
f(2) =
. . . . . .
66. Example
Find the extreme values of f(x) = x2 − 1 on [−1, 2].
Solution
We have f′ (x) = 2x, which is zero when x = 0. So our points to
check are:
f(−1) = 0
f(0) =
f(2) =
. . . . . .
67. Example
Find the extreme values of f(x) = x2 − 1 on [−1, 2].
Solution
We have f′ (x) = 2x, which is zero when x = 0. So our points to
check are:
f(−1) = 0
f(0) = − 1
f(2) =
. . . . . .
68. Example
Find the extreme values of f(x) = x2 − 1 on [−1, 2].
Solution
We have f′ (x) = 2x, which is zero when x = 0. So our points to
check are:
f(−1) = 0
f(0) = − 1
f(2) = 3
. . . . . .
69. Example
Find the extreme values of f(x) = x2 − 1 on [−1, 2].
Solution
We have f′ (x) = 2x, which is zero when x = 0. So our points to
check are:
f(−1) = 0
f(0) = − 1 (absolute min)
f(2) = 3
. . . . . .
70. Example
Find the extreme values of f(x) = x2 − 1 on [−1, 2].
Solution
We have f′ (x) = 2x, which is zero when x = 0. So our points to
check are:
f(−1) = 0
f(0) = − 1 (absolute min)
f(2) = 3 (absolute max)
. . . . . .
72. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1.
. . . . . .
73. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1. The values to check are
f(−1) =
f(0) =
f(1) =
f(2) =
. . . . . .
74. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1. The values to check are
f(−1) = − 4
f(0) =
f(1) =
f(2) =
. . . . . .
75. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1. The values to check are
f(−1) = − 4
f(0) = 1
f(1) =
f(2) =
. . . . . .
76. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1. The values to check are
f(−1) = − 4
f(0) = 1
f(1) = 0
f(2) =
. . . . . .
77. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1. The values to check are
f(−1) = − 4
f(0) = 1
f(1) = 0
f(2) = 5
. . . . . .
78. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1. The values to check are
f(−1) = − 4 (global min)
f(0) = 1
f(1) = 0
f(2) = 5
. . . . . .
79. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1. The values to check are
f(−1) = − 4 (global min)
f(0) = 1
f(1) = 0
f(2) = 5 (global max)
. . . . . .
80. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1. The values to check are
f(−1) = − 4 (global min)
f(0) = 1 (local max)
f(1) = 0
f(2) = 5 (global max)
. . . . . .
81. Example
Find the extreme values of f(x) = 2x3 − 3x2 + 1 on [−1, 2].
Solution
Since f′ (x) = 6x2 − 6x = 6x(x − 1), we have critical points at
x = 0 and x = 1. The values to check are
f(−1) = − 4 (global min)
f(0) = 1 (local max)
f(1) = 0 (local min)
f(2) = 5 (global max)
. . . . . .
83. Example
Find the extreme values of f(x) = x2/3 (x + 2) on [−1, 2].
Solution
Write f(x) = x5/3 + 2x2/3 , then
5 2/3 4 −1/3 1 −1/3
f′ (x) = x + x = x (5x + 4)
3 3 3
Thus f′ (−4/5) = 0 and f is not differentiable at 0.
. . . . . .
84. Example
Find the extreme values of f(x) = x2/3 (x + 2) on [−1, 2].
Solution
Write f(x) = x5/3 + 2x2/3 , then
5 2/3 4 −1/3 1 −1/3
f′ (x) = x + x = x (5x + 4)
3 3 3
Thus f′ (−4/5) = 0 and f is not differentiable at 0. So our points to
check are:
f(−1) =
f(−4/5) =
f(0) =
f(2) =
. . . . . .
85. Example
Find the extreme values of f(x) = x2/3 (x + 2) on [−1, 2].
Solution
Write f(x) = x5/3 + 2x2/3 , then
5 2/3 4 −1/3 1 −1/3
f′ (x) = x + x = x (5x + 4)
3 3 3
Thus f′ (−4/5) = 0 and f is not differentiable at 0. So our points to
check are:
f(−1) = 1
f(−4/5) =
f(0) =
f(2) =
. . . . . .
86. Example
Find the extreme values of f(x) = x2/3 (x + 2) on [−1, 2].
Solution
Write f(x) = x5/3 + 2x2/3 , then
5 2/3 4 −1/3 1 −1/3
f′ (x) = x + x = x (5x + 4)
3 3 3
Thus f′ (−4/5) = 0 and f is not differentiable at 0. So our points to
check are:
f(−1) = 1
f(−4/5) = 1.0341
f(0) =
f(2) =
. . . . . .
87. Example
Find the extreme values of f(x) = x2/3 (x + 2) on [−1, 2].
Solution
Write f(x) = x5/3 + 2x2/3 , then
5 2/3 4 −1/3 1 −1/3
f′ (x) = x + x = x (5x + 4)
3 3 3
Thus f′ (−4/5) = 0 and f is not differentiable at 0. So our points to
check are:
f(−1) = 1
f(−4/5) = 1.0341
f(0) = 0
f(2) =
. . . . . .
88. Example
Find the extreme values of f(x) = x2/3 (x + 2) on [−1, 2].
Solution
Write f(x) = x5/3 + 2x2/3 , then
5 2/3 4 −1/3 1 −1/3
f′ (x) = x + x = x (5x + 4)
3 3 3
Thus f′ (−4/5) = 0 and f is not differentiable at 0. So our points to
check are:
f(−1) = 1
f(−4/5) = 1.0341
f(0) = 0
f(2) = 6.3496
. . . . . .
89. Example
Find the extreme values of f(x) = x2/3 (x + 2) on [−1, 2].
Solution
Write f(x) = x5/3 + 2x2/3 , then
5 2/3 4 −1/3 1 −1/3
f′ (x) = x + x = x (5x + 4)
3 3 3
Thus f′ (−4/5) = 0 and f is not differentiable at 0. So our points to
check are:
f(−1) = 1
f(−4/5) = 1.0341
f(0) = 0 (absolute min)
f(2) = 6.3496
. . . . . .
90. Example
Find the extreme values of f(x) = x2/3 (x + 2) on [−1, 2].
Solution
Write f(x) = x5/3 + 2x2/3 , then
5 2/3 4 −1/3 1 −1/3
f′ (x) = x + x = x (5x + 4)
3 3 3
Thus f′ (−4/5) = 0 and f is not differentiable at 0. So our points to
check are:
f(−1) = 1
f(−4/5) = 1.0341
f(0) = 0 (absolute min)
f(2) = 6.3496 (absolute max)
. . . . . .
91. Example
Find the extreme values of f(x) = x2/3 (x + 2) on [−1, 2].
Solution
Write f(x) = x5/3 + 2x2/3 , then
5 2/3 4 −1/3 1 −1/3
f′ (x) = x + x = x (5x + 4)
3 3 3
Thus f′ (−4/5) = 0 and f is not differentiable at 0. So our points to
check are:
f(−1) = 1
f(−4/5) = 1.0341 (relative max)
f(0) = 0 (absolute min)
f(2) = 6.3496 (absolute max)
. . . . . .
92. Example √
Find the extreme values of f(x) = 4 − x2 on [−2, 1].
. . . . . .
93. Example √
Find the extreme values of f(x) = 4 − x2 on [−2, 1].
Solution
x
We have f′ (x) = − √ , which is zero when x = 0. (f is not
4 − x2
differentiable at ±2 as well.)
. . . . . .
94. Example √
Find the extreme values of f(x) = 4 − x2 on [−2, 1].
Solution
x
We have f′ (x) = − √ , which is zero when x = 0. (f is not
4 − x2
differentiable at ±2 as well.) So our points to check are:
f(−2) =
f(0) =
f(1) =
. . . . . .
95. Example √
Find the extreme values of f(x) = 4 − x2 on [−2, 1].
Solution
x
We have f′ (x) = − √ , which is zero when x = 0. (f is not
4 − x2
differentiable at ±2 as well.) So our points to check are:
f(−2) = 0
f(0) =
f(1) =
. . . . . .
96. Example √
Find the extreme values of f(x) = 4 − x2 on [−2, 1].
Solution
x
We have f′ (x) = − √ , which is zero when x = 0. (f is not
4 − x2
differentiable at ±2 as well.) So our points to check are:
f(−2) = 0
f(0) = 2
f(1) =
. . . . . .
97. Example √
Find the extreme values of f(x) = 4 − x2 on [−2, 1].
Solution
x
We have f′ (x) = − √ , which is zero when x = 0. (f is not
4 − x2
differentiable at ±2 as well.) So our points to check are:
f(−2) = 0
f(0) = 2
√
f(1) = 3
. . . . . .
98. Example √
Find the extreme values of f(x) = 4 − x2 on [−2, 1].
Solution
x
We have f′ (x) = − √ , which is zero when x = 0. (f is not
4 − x2
differentiable at ±2 as well.) So our points to check are:
f(−2) = 0 (absolute min)
f(0) = 2
√
f(1) = 3
. . . . . .
99. Example √
Find the extreme values of f(x) = 4 − x2 on [−2, 1].
Solution
x
We have f′ (x) = − √ , which is zero when x = 0. (f is not
4 − x2
differentiable at ±2 as well.) So our points to check are:
f(−2) = 0 (absolute min)
f(0) = 2 (absolute max)
√
f(1) = 3
. . . . . .
100. Outline
Introduction
The Extreme Value Theorem
Fermat’s Theorem (not the last one)
Tangent: Fermat’s Last Theorem
The Closed Interval Method
Examples
Challenge: Cubic functions
. . . . . .
101. Challenge: Cubic functions
Example
How many critical points can a cubic function
f(x) = ax3 + bx2 + cx + d
have?
. . . . . .
102. Solution
If f′ (x) = 0, we have
3ax2 + 2bx + c = 0,
and so
√ √
−2b ± 4b2 − 12ac −b ± b2 − 3ac
x= = ,
6a 3a
and so we have three possibilities:
. . . . . .
103. Solution
If f′ (x) = 0, we have
3ax2 + 2bx + c = 0,
and so
√ √
−2b ± 4b2 − 12ac −b ± b2 − 3ac
x= = ,
6a 3a
and so we have three possibilities:
b2 − 3ac > 0, in which case there are two distinct critical
points. An example would be f(x) = x3 + x2 , where a = 1,
b = 1, and c = 0.
. . . . . .
104. Solution
If f′ (x) = 0, we have
3ax2 + 2bx + c = 0,
and so
√ √
−2b ± 4b2 − 12ac −b ± b2 − 3ac
x= = ,
6a 3a
and so we have three possibilities:
b2 − 3ac > 0, in which case there are two distinct critical
points. An example would be f(x) = x3 + x2 , where a = 1,
b = 1, and c = 0.
b2 − 3ac < 0, in which case there are no real roots to the
quadratic, hence no critical points. An example would be
f(x) = x3 + x2 + x, where a = b = c = 1.
. . . . . .
105. Solution
If f′ (x) = 0, we have
3ax2 + 2bx + c = 0,
and so
√ √
−2b ± 4b2 − 12ac −b ± b2 − 3ac
x= = ,
6a 3a
and so we have three possibilities:
b2 − 3ac > 0, in which case there are two distinct critical
points. An example would be f(x) = x3 + x2 , where a = 1,
b = 1, and c = 0.
b2 − 3ac < 0, in which case there are no real roots to the
quadratic, hence no critical points. An example would be
f(x) = x3 + x2 + x, where a = b = c = 1.
b2 − 3ac = 0, in which case there is a single critical point.
Example: x3 , where a = 1 and b = c = 0.
. . . . . .
106. What have we learned today?
The Extreme Value Theorem: a continuous function on a
closed interval must achieve its max and min
Fermat’s Theorem: local extrema are critical points
The Closed Interval Method: an algorithm for finding global
extrema
Show your work unless you want to end up like Fermat!
. . . . . .