lesson 18: maximum and minimum vaues

83
. . . . . . Section 4.1 Maximum and Minimum Values V63.0121, Calculus I March 24, 2009 Announcements I Homework due Thursday I Quiz April 2, on Sections 2.5–3.5 I Final Exam Friday, May 8, 2:00–3:50pm . . Image: Flickr user Karen with a K

Upload: matthew-leingang

Post on 18-May-2015

805 views

Category:

Education


0 download

DESCRIPTION

We define what it means for a function to have a maximum or minimum value, and explain the Extreme Value Theorem, which indicates these maxima and minima must be there under certain conditions. Fermat's Theorem says that at differentiable extreme points, the derivative should be zero, and thus we arrive at a technique for finding extrema: look among the endpoints of the domain of definition and the critical points of the function. There's also a little digression on Fermat's Last theorem, which is not related to calculus but is a big deal in recent mathematical history.

TRANSCRIPT

Page 1: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Section 4.1Maximum and Minimum Values

V63.0121, Calculus I

March 24, 2009

Announcements

I Homework due ThursdayI Quiz April 2, on Sections 2.5–3.5I Final Exam Friday, May 8, 2:00–3:50pm

..Image: Flickr user Karen with a K

Page 2: Lesson 18: Maximum and Minimum Vaues

. . . . . .

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

Page 3: Lesson 18: Maximum and Minimum Vaues

Optimize

. . . . . .

Page 4: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Why go to the extremes?

I Rationally speaking, it isadvantageous to find theextreme values of afunction (maximize profit,minimize costs, etc.)

I Many laws of science arederived from minimizingprinciples.

I Maupertuis’ principle:“Action is minimizedthrough the wisdom ofGod.”

Pierre-Louis Maupertuis(1698–1759)

Page 5: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Design

..Image credit: Jason Tromm

Page 6: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Why go to the extremes?

I Rationally speaking, it isadvantageous to find theextreme values of afunction (maximize profit,minimize costs, etc.)

I Many laws of science arederived from minimizingprinciples.

I Maupertuis’ principle:“Action is minimizedthrough the wisdom ofGod.”

Pierre-Louis Maupertuis(1698–1759)

Page 7: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Optics

.

.Image credit: jacreative

Page 8: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Why go to the extremes?

I Rationally speaking, it isadvantageous to find theextreme values of afunction (maximize profit,minimize costs, etc.)

I Many laws of science arederived from minimizingprinciples.

I Maupertuis’ principle:“Action is minimizedthrough the wisdom ofGod.”

Pierre-Louis Maupertuis(1698–1759)

Page 9: Lesson 18: Maximum and Minimum Vaues

. . . . . .

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

Page 10: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Extreme points and values

DefinitionLet f have domain D.

I The function f has an absolutemaximum (or global maximum)(respectively, absolute minimum)at c if f(c) ≥ f(x) (respectively,f(c) ≤ f(x)) for all x in D

I The number f(c) is called themaximum value (respectively,minimum value) of f on D.

I An extremum is either a maximumor a minimum. An extreme value iseither a maximum value or minimumvalue.

.

.Image credit: Patrick Q

Page 11: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Extreme points and values

DefinitionLet f have domain D.

I The function f has an absolutemaximum (or global maximum)(respectively, absolute minimum)at c if f(c) ≥ f(x) (respectively,f(c) ≤ f(x)) for all x in D

I The number f(c) is called themaximum value (respectively,minimum value) of f on D.

I An extremum is either a maximumor a minimum. An extreme value iseither a maximum value or minimumvalue.

.

.Image credit: Patrick Q

Page 12: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Extreme points and values

DefinitionLet f have domain D.

I The function f has an absolutemaximum (or global maximum)(respectively, absolute minimum)at c if f(c) ≥ f(x) (respectively,f(c) ≤ f(x)) for all x in D

I The number f(c) is called themaximum value (respectively,minimum value) of f on D.

I An extremum is either a maximumor a minimum. An extreme value iseither a maximum value or minimumvalue.

.

.Image credit: Patrick Q

Page 13: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Theorem (The Extreme Value Theorem)Let f be a function which is continuous on the closed interval [a, b]. Then fattains an absolute maximum value f(c) and an absolute minimum valuef(d) at numbers c and d in [a, b].

.

Page 14: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Theorem (The Extreme Value Theorem)Let f be a function which is continuous on the closed interval [a, b]. Then fattains an absolute maximum value f(c) and an absolute minimum valuef(d) at numbers c and d in [a, b].

...a

..b

.

.

Page 15: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Theorem (The Extreme Value Theorem)Let f be a function which is continuous on the closed interval [a, b]. Then fattains an absolute maximum value f(c) and an absolute minimum valuef(d) at numbers c and d in [a, b].

...a

..b

.

.

.cmaximum

.maximum

value

.f(c)

.

.d

minimum

.minimum

value

.f(d)

Page 16: Lesson 18: Maximum and Minimum Vaues

. . . . . .

No proof of EVT forthcoming

I This theorem is very hard to prove without using technical factsabout continuous functions and closed intervals.

I But we can show the importance of each of the hypotheses.

Page 17: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Bad Example #1

ExampleConsider the function

f(x) =

{x 0 ≤ x < 1

x − 2 1 ≤ x ≤ 2.

. .|.1

.

.

.

.

Then although values of f(x) get arbitrarily close to 1 and neverbigger than 1, 1 is not the maximum value of f on [0, 1] because it isnever achieved.

Page 18: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Bad Example #1

ExampleConsider the function

f(x) =

{x 0 ≤ x < 1

x − 2 1 ≤ x ≤ 2.

. .|.1

.

.

.

.

Then although values of f(x) get arbitrarily close to 1 and neverbigger than 1, 1 is not the maximum value of f on [0, 1] because it isnever achieved.

Page 19: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Bad Example #1

ExampleConsider the function

f(x) =

{x 0 ≤ x < 1

x − 2 1 ≤ x ≤ 2.

. .|.1

.

.

.

.

Then although values of f(x) get arbitrarily close to 1 and neverbigger than 1, 1 is not the maximum value of f on [0, 1] because it isnever achieved.

Page 20: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Bad Example #2

ExampleThe function f(x) = x restricted to the interval [0, 1) still has nomaximum value.

. .|.1

.

.

Page 21: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Bad Example #2

ExampleThe function f(x) = x restricted to the interval [0, 1) still has nomaximum value.

. .|.1

.

.

Page 22: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Final Bad Example

Example

The function f(x) =1x

is continuous on the closed interval [1,∞) but

has no minimum value.

. ..1

.

Page 23: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Final Bad Example

Example

The function f(x) =1x

is continuous on the closed interval [1,∞) but

has no minimum value.

. ..1

.

Page 24: Lesson 18: Maximum and Minimum Vaues

. . . . . .

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

Page 25: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Local extremaDefinition

I A function f has a local maximum or relative maximumat 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.

I Similarly, f has a local minimum at c if f(c) ≤ f(x) when x isnear c.

..|.a

.|.b

.

.

.

.local

maximum

.

.local

minimum

Page 26: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Local extremaDefinition

I A function f has a local maximum or relative maximumat 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.

I Similarly, f has a local minimum at c if f(c) ≤ f(x) when x isnear c.

..|.a

.|.b

.

.

.

.local

maximum

.

.local

minimum

Page 27: Lesson 18: Maximum and Minimum Vaues

. . . . . .

I So a local extremum must be inside the domain of f (not on theend).

I A global extremum that is inside the domain is a local extremum.

..|.a

.|.b

.

.

.

.globalmax

.localmax

.

.local and global

min

Page 28: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Theorem (Fermat’s Theorem)Suppose f has a local extremum at c and f is differentiable at c. Thenf′(c) = 0.

..|.a

.|.b

.

.

.

.local

maximum

.

.local

minimum

Page 29: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c.

I If h is close enough to 0 but greater than 0, f(c + h) ≤ f(c). Thismeans

f(c + h) − f(c)h

≤ 0 =⇒ limh→0+

f(c + h) − f(c)h

≤ 0

I The same will be true on the other end: if h is close enough to 0but less than 0, f(c + h) ≤ f(c). This means

f(c + h) − f(c)h

≥ 0 =⇒ limh→0−

f(c + h) − f(c)h

≥ 0

I Since the limit f′(c) = limh→0

f(c + h) − f(c)h

exists, it must be 0.

Page 30: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c.I If h is close enough to 0 but greater than 0, f(c + h) ≤ f(c). This

means

f(c + h) − f(c)h

≤ 0

=⇒ limh→0+

f(c + h) − f(c)h

≤ 0

I The same will be true on the other end: if h is close enough to 0but less than 0, f(c + h) ≤ f(c). This means

f(c + h) − f(c)h

≥ 0 =⇒ limh→0−

f(c + h) − f(c)h

≥ 0

I Since the limit f′(c) = limh→0

f(c + h) − f(c)h

exists, it must be 0.

Page 31: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c.I If h is close enough to 0 but greater than 0, f(c + h) ≤ f(c). This

means

f(c + h) − f(c)h

≤ 0 =⇒ limh→0+

f(c + h) − f(c)h

≤ 0

I The same will be true on the other end: if h is close enough to 0but less than 0, f(c + h) ≤ f(c). This means

f(c + h) − f(c)h

≥ 0 =⇒ limh→0−

f(c + h) − f(c)h

≥ 0

I Since the limit f′(c) = limh→0

f(c + h) − f(c)h

exists, it must be 0.

Page 32: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c.I If h is close enough to 0 but greater than 0, f(c + h) ≤ f(c). This

means

f(c + h) − f(c)h

≤ 0 =⇒ limh→0+

f(c + h) − f(c)h

≤ 0

I The same will be true on the other end: if h is close enough to 0but less than 0, f(c + h) ≤ f(c). This means

f(c + h) − f(c)h

≥ 0

=⇒ limh→0−

f(c + h) − f(c)h

≥ 0

I Since the limit f′(c) = limh→0

f(c + h) − f(c)h

exists, it must be 0.

Page 33: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c.I If h is close enough to 0 but greater than 0, f(c + h) ≤ f(c). This

means

f(c + h) − f(c)h

≤ 0 =⇒ limh→0+

f(c + h) − f(c)h

≤ 0

I The same will be true on the other end: if h is close enough to 0but less than 0, f(c + h) ≤ f(c). This means

f(c + h) − f(c)h

≥ 0 =⇒ limh→0−

f(c + h) − f(c)h

≥ 0

I Since the limit f′(c) = limh→0

f(c + h) − f(c)h

exists, it must be 0.

Page 34: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c.I If h is close enough to 0 but greater than 0, f(c + h) ≤ f(c). This

means

f(c + h) − f(c)h

≤ 0 =⇒ limh→0+

f(c + h) − f(c)h

≤ 0

I The same will be true on the other end: if h is close enough to 0but less than 0, f(c + h) ≤ f(c). This means

f(c + h) − f(c)h

≥ 0 =⇒ limh→0−

f(c + h) − f(c)h

≥ 0

I Since the limit f′(c) = limh→0

f(c + h) − f(c)h

exists, it must be 0.

Page 35: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Meet the Mathematician: Pierre de Fermat

I 1601–1665I Lawyer and number

theoristI Proved many theorems,

didn’t quite prove his lastone

Page 36: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Tangent: Fermat’s Last Theorem

I Plenty of solutions tox2 + y2 = z2 amongpositive whole numbers(e.g., x = 3, y = 4, z = 5)

I No solutions tox3 + y3 = z3 amongpositive whole numbers

I Fermat claimed nosolutions to xn + yn = zn

but didn’t write down hisproof

I Not solved until 1998!(Taylor–Wiles)

Page 37: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Tangent: Fermat’s Last Theorem

I Plenty of solutions tox2 + y2 = z2 amongpositive whole numbers(e.g., x = 3, y = 4, z = 5)

I No solutions tox3 + y3 = z3 amongpositive whole numbers

I Fermat claimed nosolutions to xn + yn = zn

but didn’t write down hisproof

I Not solved until 1998!(Taylor–Wiles)

Page 38: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Tangent: Fermat’s Last Theorem

I Plenty of solutions tox2 + y2 = z2 amongpositive whole numbers(e.g., x = 3, y = 4, z = 5)

I No solutions tox3 + y3 = z3 amongpositive whole numbers

I Fermat claimed nosolutions to xn + yn = zn

but didn’t write down hisproof

I Not solved until 1998!(Taylor–Wiles)

Page 39: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Tangent: Fermat’s Last Theorem

I Plenty of solutions tox2 + y2 = z2 amongpositive whole numbers(e.g., x = 3, y = 4, z = 5)

I No solutions tox3 + y3 = z3 amongpositive whole numbers

I Fermat claimed nosolutions to xn + yn = zn

but didn’t write down hisproof

I Not solved until 1998!(Taylor–Wiles)

Page 40: Lesson 18: Maximum and Minimum Vaues

. . . . . .

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

Page 41: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and bI Points x where f′(x) = 0I Points x where f is not

differentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 42: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and bI Points x where f′(x) = 0I Points x where f is not

differentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 43: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and bI Points x where f′(x) = 0I Points x where f is not

differentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 44: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and bI Points x where f′(x) = 0I Points x where f is not

differentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 45: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and bI Points x where f′(x) = 0I Points x where f is not

differentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 46: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and bI Points x where f′(x) = 0I Points x where f is not

differentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 47: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and b

I Points x where f′(x) = 0I Points x where f is not

differentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 48: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and bI Points x where f′(x) = 0

I Points x where f is notdifferentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 49: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and bI Points x where f′(x) = 0I Points x where f is not

differentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 50: Lesson 18: Maximum and Minimum Vaues

. . . . . .

The Closed Interval Method

Let’s put this together logically. Let f be a continuous functiondefined on a closed interval [a, b]. We are in search of its globalmaximum, call it c. Then:

I Either the maximumoccurs at an endpoint ofthe interval, i.e., c = a orc = b,

I Or the maximum occursinside (a, b). In this case, cis also a local maximum.

I Either f is differentiableat c, in which casef′(c) = 0 by Fermat’sTheorem.

I Or f is notdifferentiable at c.

This means to find themaximum value of f on [a, b],we need to check:

I a and bI Points x where f′(x) = 0I Points x where f is not

differentiable.

The latter two are both calledcritical points of f. Thistechnique is called the ClosedInterval Method.

Page 51: Lesson 18: Maximum and Minimum Vaues

. . . . . .

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

Page 52: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = 2x − 5 on [−1, 2].

SolutionSince f′(x) = 2, which is never zero, we have no critical points and weneed only investigate the endpoints:

I f(−1) = 2(−1) − 5 = −7I f(2) = 2(2) − 5 = −1

SoI The absolute minimum (point) is at −1; the minimum value is −7.I The absolute maximum (point) is at 2; the maximum value is −1.

Page 53: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = 2x − 5 on [−1, 2].

SolutionSince f′(x) = 2, which is never zero, we have no critical points and weneed only investigate the endpoints:

I f(−1) = 2(−1) − 5 = −7I f(2) = 2(2) − 5 = −1

SoI The absolute minimum (point) is at −1; the minimum value is −7.I The absolute maximum (point) is at 2; the maximum value is −1.

Page 54: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2 − 1 on [−1, 2].

SolutionWe have f′(x) = 2x, which is zero when x = 0.

So our points to checkare:

I f(−1) =

I f(0) =

I f(2) =

Page 55: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2 − 1 on [−1, 2].

SolutionWe have f′(x) = 2x, which is zero when x = 0.

So our points to checkare:

I f(−1) =

I f(0) =

I f(2) =

Page 56: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2 − 1 on [−1, 2].

SolutionWe have f′(x) = 2x, which is zero when x = 0. So our points to checkare:

I f(−1) =

I f(0) =

I f(2) =

Page 57: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2 − 1 on [−1, 2].

SolutionWe have f′(x) = 2x, which is zero when x = 0. So our points to checkare:

I f(−1) = 0I f(0) =

I f(2) =

Page 58: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2 − 1 on [−1, 2].

SolutionWe have f′(x) = 2x, which is zero when x = 0. So our points to checkare:

I f(−1) = 0I f(0) = − 1I f(2) =

Page 59: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2 − 1 on [−1, 2].

SolutionWe have f′(x) = 2x, which is zero when x = 0. So our points to checkare:

I f(−1) = 0I f(0) = − 1I f(2) = 3

Page 60: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2 − 1 on [−1, 2].

SolutionWe have f′(x) = 2x, which is zero when x = 0. So our points to checkare:

I f(−1) = 0I f(0) = − 1 (absolute min)I f(2) = 3

Page 61: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2 − 1 on [−1, 2].

SolutionWe have f′(x) = 2x, which is zero when x = 0. So our points to checkare:

I f(−1) = 0I f(0) = − 1 (absolute min)I f(2) = 3 (absolute max)

Page 62: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0.

So our points to checkare:

I f(−1) =

I f(−4/5) =

I f(0) =

I f(2) =

Page 63: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0.

So our points to checkare:

I f(−1) =

I f(−4/5) =

I f(0) =

I f(2) =

Page 64: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0. So our points to checkare:

I f(−1) =

I f(−4/5) =

I f(0) =

I f(2) =

Page 65: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0. So our points to checkare:

I f(−1) = 1I f(−4/5) =

I f(0) =

I f(2) =

Page 66: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0. So our points to checkare:

I f(−1) = 1I f(−4/5) = 1.0341I f(0) =

I f(2) =

Page 67: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0. So our points to checkare:

I f(−1) = 1I f(−4/5) = 1.0341I f(0) = 0I f(2) =

Page 68: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0. So our points to checkare:

I f(−1) = 1I f(−4/5) = 1.0341I f(0) = 0I f(2) = 6.3496

Page 69: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0. So our points to checkare:

I f(−1) = 1I f(−4/5) = 1.0341I f(0) = 0 (absolute min)I f(2) = 6.3496

Page 70: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0. So our points to checkare:

I f(−1) = 1I f(−4/5) = 1.0341I f(0) = 0 (absolute min)I f(2) = 6.3496 (absolute max)

Page 71: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) = x2/3(x + 2) on [−1, 2].

SolutionWrite f(x) = x5/3 + 2x2/3, then

f′(x) =53

x2/3 +43

x−1/3 =13

x−1/3(5x + 4)

Thus f′(−4/5) = 0 and f is not differentiable at 0. So our points to checkare:

I f(−1) = 1I f(−4/5) = 1.0341 (relative max)I f(0) = 0 (absolute min)I f(2) = 6.3496 (absolute max)

Page 72: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) =

√4 − x2 on [−2, 1].

SolutionWe have f′(x) = − x√

4 − x2, which is zero when x = 0. (f is not

differentiable at ±2 as well.)

So our points to check are:I f(−2) =

I f(0) =

I f(1) =

Page 73: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) =

√4 − x2 on [−2, 1].

SolutionWe have f′(x) = − x√

4 − x2, which is zero when x = 0. (f is not

differentiable at ±2 as well.)

So our points to check are:I f(−2) =

I f(0) =

I f(1) =

Page 74: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) =

√4 − x2 on [−2, 1].

SolutionWe have f′(x) = − x√

4 − x2, which is zero when x = 0. (f is not

differentiable at ±2 as well.) So our points to check are:I f(−2) =

I f(0) =

I f(1) =

Page 75: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) =

√4 − x2 on [−2, 1].

SolutionWe have f′(x) = − x√

4 − x2, which is zero when x = 0. (f is not

differentiable at ±2 as well.) So our points to check are:I f(−2) = 0I f(0) =

I f(1) =

Page 76: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) =

√4 − x2 on [−2, 1].

SolutionWe have f′(x) = − x√

4 − x2, which is zero when x = 0. (f is not

differentiable at ±2 as well.) So our points to check are:I f(−2) = 0I f(0) = 2I f(1) =

Page 77: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) =

√4 − x2 on [−2, 1].

SolutionWe have f′(x) = − x√

4 − x2, which is zero when x = 0. (f is not

differentiable at ±2 as well.) So our points to check are:I f(−2) = 0I f(0) = 2I f(1) =

√3

Page 78: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) =

√4 − x2 on [−2, 1].

SolutionWe have f′(x) = − x√

4 − x2, which is zero when x = 0. (f is not

differentiable at ±2 as well.) So our points to check are:I f(−2) = 0 (absolute min)I f(0) = 2I f(1) =

√3

Page 79: Lesson 18: Maximum and Minimum Vaues

. . . . . .

ExampleFind the extreme values of f(x) =

√4 − x2 on [−2, 1].

SolutionWe have f′(x) = − x√

4 − x2, which is zero when x = 0. (f is not

differentiable at ±2 as well.) So our points to check are:I f(−2) = 0 (absolute min)I f(0) = 2 (absolute max)I f(1) =

√3

Page 80: Lesson 18: Maximum and Minimum Vaues

. . . . . .

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

Page 81: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Challenge: Cubic functions

ExampleHow many critical points can a cubic function

f(x) = ax3 + bx2 + cx + d

have?

Page 82: Lesson 18: Maximum and Minimum Vaues

. . . . . .

SolutionIf f′(x) = 0, we have

3ax2 + 2bx + c = 0,

and so

x =−2b ±

√4b2 − 12ac6a

=−b ±

√b2 − 3ac

3a,

and so we have three possibilities:I 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.I 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.

I b2 − 3ac = 0, in which case there is a single critical point. Example:x3, where a = 1 and b = c = 0.

Page 83: Lesson 18: Maximum and Minimum Vaues

. . . . . .

Review

I Concept: absolute (global) and relative (local) maxima/minimaI Fact: Fermat’s theorem: f′(x) = 0 at local extremaI Technique: the Closed Interval Method