lesson18 -maximum_and_minimum_values_slides

93
Section 4.1 Maximum and Minimum Values V63.0121.002.2010Su, Calculus I New York University June 8, 2010 Announcements I Exams not graded yet I Assignment 4 is on the website I Quiz 3 on Thursday covering 3.3, 3.4, 3.5, 3.7

Upload: mel-anthony-pepito

Post on 11-May-2015

113 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Lesson18 -maximum_and_minimum_values_slides

Section 4.1Maximum and Minimum Values

V63.0121.002.2010Su, Calculus I

New York University

June 8, 2010

Announcements

I Exams not graded yet

I Assignment 4 is on the website

I Quiz 3 on Thursday covering 3.3, 3.4, 3.5, 3.7

Page 2: Lesson18 -maximum_and_minimum_values_slides

Announcements

I Exams not graded yet

I Assignment 4 is on thewebsite

I Quiz 3 on Thursday covering3.3, 3.4, 3.5, 3.7

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 2 / 32

Page 3: Lesson18 -maximum_and_minimum_values_slides

Objectives

I Understand and be able toexplain the statement of theExtreme Value Theorem.

I Understand and be able toexplain the statement ofFermat’s Theorem.

I Use the Closed IntervalMethod to find the extremevalues of a function definedon a closed interval.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 3 / 32

Page 4: Lesson18 -maximum_and_minimum_values_slides

Outline

Introduction

The Extreme Value Theorem

Fermat’s Theorem (not the last one)Tangent: Fermat’s Last Theorem

The Closed Interval Method

Examples

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 4 / 32

Page 5: Lesson18 -maximum_and_minimum_values_slides

Optimize

Page 6: Lesson18 -maximum_and_minimum_values_slides

Why go to the extremes?

I Rationally speaking, it isadvantageous to find theextreme values of a function(maximize profit, minimizecosts, etc.)

I Many laws of science arederived from minimizingprinciples.

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

Pierre-Louis Maupertuis(1698–1759)V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 5 / 32

Page 7: Lesson18 -maximum_and_minimum_values_slides

Design

Image credit: Jason TrommV63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 6 / 32

Page 8: Lesson18 -maximum_and_minimum_values_slides

Why go to the extremes?

I Rationally speaking, it isadvantageous to find theextreme values of a function(maximize profit, minimizecosts, etc.)

I Many laws of science arederived from minimizingprinciples.

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

Pierre-Louis Maupertuis(1698–1759)V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 7 / 32

Page 9: Lesson18 -maximum_and_minimum_values_slides

Optics

Image credit: jacreativeV63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 8 / 32

Page 10: Lesson18 -maximum_and_minimum_values_slides

Why go to the extremes?

I Rationally speaking, it isadvantageous to find theextreme values of a function(maximize profit, minimizecosts, etc.)

I Many laws of science arederived from minimizingprinciples.

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

Pierre-Louis Maupertuis(1698–1759)V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 9 / 32

Page 11: Lesson18 -maximum_and_minimum_values_slides

Outline

Introduction

The Extreme Value Theorem

Fermat’s Theorem (not the last one)Tangent: Fermat’s Last Theorem

The Closed Interval Method

Examples

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 10 / 32

Page 12: Lesson18 -maximum_and_minimum_values_slides

Extreme points and values

Definition

Let f have domain D.

I 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

I The number f (c) is called the maximumvalue (respectively, minimum value) of fon D.

I An extremum is either a maximum or aminimum. An extreme value is either amaximum value or minimum value.

Image credit: Patrick QV63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 11 / 32

Page 13: Lesson18 -maximum_and_minimum_values_slides

Extreme points and values

Definition

Let f have domain D.

I 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

I The number f (c) is called the maximumvalue (respectively, minimum value) of fon D.

I An extremum is either a maximum or aminimum. An extreme value is either amaximum value or minimum value.

Image credit: Patrick QV63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 11 / 32

Page 14: Lesson18 -maximum_and_minimum_values_slides

Extreme points and values

Definition

Let f have domain D.

I 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

I The number f (c) is called the maximumvalue (respectively, minimum value) of fon D.

I An extremum is either a maximum or aminimum. An extreme value is either amaximum value or minimum value.

Image credit: Patrick QV63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 11 / 32

Page 15: Lesson18 -maximum_and_minimum_values_slides

Extreme points and values

Definition

Let f have domain D.

I 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

I The number f (c) is called the maximumvalue (respectively, minimum value) of fon D.

I An extremum is either a maximum or aminimum. An extreme value is either amaximum value or minimum value.

Image credit: Patrick QV63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 11 / 32

Page 16: Lesson18 -maximum_and_minimum_values_slides

The Extreme Value Theorem

Theorem (The Extreme Value Theorem)

Let f be a function which is continuous on the closed interval [a, b]. Thenf attains an absolute maximum value f (c) and an absolute minimumvalue f (d) at numbers c and d in [a, b].

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 12 / 32

Page 17: Lesson18 -maximum_and_minimum_values_slides

The Extreme Value Theorem

Theorem (The Extreme Value Theorem)

Let f be a function which is continuous on the closed interval [a, b]. Thenf attains an absolute maximum value f (c) and an absolute minimumvalue f (d) at numbers c and d in [a, b].

a b

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 12 / 32

Page 18: Lesson18 -maximum_and_minimum_values_slides

The Extreme Value Theorem

Theorem (The Extreme Value Theorem)

Let f be a function which is continuous on the closed interval [a, b]. Thenf attains an absolute maximum value f (c) and an absolute minimumvalue f (d) at numbers c and d in [a, b].

a bcmaximum

maximumvalue

f (c)

dminimum

minimumvalue

f (d)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 12 / 32

Page 19: Lesson18 -maximum_and_minimum_values_slides

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.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 13 / 32

Page 20: Lesson18 -maximum_and_minimum_values_slides

Bad Example #1

Example

Consider 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 never biggerthan 1, 1 is not the maximum value of f on [0, 1] because it is neverachieved. This does not violate EVT because f is not continuous.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 14 / 32

Page 21: Lesson18 -maximum_and_minimum_values_slides

Bad Example #1

Example

Consider 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 never biggerthan 1, 1 is not the maximum value of f on [0, 1] because it is neverachieved. This does not violate EVT because f is not continuous.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 14 / 32

Page 22: Lesson18 -maximum_and_minimum_values_slides

Bad Example #1

Example

Consider 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 never biggerthan 1, 1 is not the maximum value of f on [0, 1] because it is neverachieved.

This does not violate EVT because f is not continuous.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 14 / 32

Page 23: Lesson18 -maximum_and_minimum_values_slides

Bad Example #1

Example

Consider 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 never biggerthan 1, 1 is not the maximum value of f on [0, 1] because it is neverachieved. This does not violate EVT because f is not continuous.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 14 / 32

Page 24: Lesson18 -maximum_and_minimum_values_slides

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 notachieve it). This does not violate EVT because the domain is not closed.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 15 / 32

Page 25: Lesson18 -maximum_and_minimum_values_slides

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 notachieve it). This does not violate EVT because the domain is not closed.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 15 / 32

Page 26: Lesson18 -maximum_and_minimum_values_slides

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 notachieve it).

This does not violate EVT because the domain is not closed.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 15 / 32

Page 27: Lesson18 -maximum_and_minimum_values_slides

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 notachieve it). This does not violate EVT because the domain is not closed.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 15 / 32

Page 28: Lesson18 -maximum_and_minimum_values_slides

Final Bad Example

Example

Consider the function f (x) =1

xis continuous on the closed interval [1,∞).

1

There is no minimum value (values get arbitrarily close to 0 but do notachieve it). This does not violate EVT because the domain is not bounded.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 16 / 32

Page 29: Lesson18 -maximum_and_minimum_values_slides

Final Bad Example

Example

Consider the function f (x) =1

xis continuous on the closed interval [1,∞).

1

There is no minimum value (values get arbitrarily close to 0 but do notachieve it). This does not violate EVT because the domain is not bounded.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 16 / 32

Page 30: Lesson18 -maximum_and_minimum_values_slides

Final Bad Example

Example

Consider the function f (x) =1

xis continuous on the closed interval [1,∞).

1

There is no minimum value (values get arbitrarily close to 0 but do notachieve it).

This does not violate EVT because the domain is not bounded.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 16 / 32

Page 31: Lesson18 -maximum_and_minimum_values_slides

Final Bad Example

Example

Consider the function f (x) =1

xis continuous on the closed interval [1,∞).

1

There is no minimum value (values get arbitrarily close to 0 but do notachieve it). This does not violate EVT because the domain is not bounded.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 16 / 32

Page 32: Lesson18 -maximum_and_minimum_values_slides

Outline

Introduction

The Extreme Value Theorem

Fermat’s Theorem (not the last one)Tangent: Fermat’s Last Theorem

The Closed Interval Method

Examples

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 17 / 32

Page 33: Lesson18 -maximum_and_minimum_values_slides

Local extrema

Definition

I 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 intervalcontaining c .

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

|a

|blocal

maximumlocal

minimum

globalmax

local and globalmin

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 18 / 32

Page 34: Lesson18 -maximum_and_minimum_values_slides

Local extrema

Definition

I 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 intervalcontaining c .

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

|a

|blocal

maximumlocal

minimum

globalmax

local and globalmin

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 18 / 32

Page 35: Lesson18 -maximum_and_minimum_values_slides

Local extrema

I So a local extremum must be inside the domain of f (not on the end).I A global extremum that is inside the domain is a local extremum.

|a

|blocal

maximum

localminimum

globalmax

local and globalmin

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 18 / 32

Page 36: Lesson18 -maximum_and_minimum_values_slides

Fermat’s Theorem

Theorem (Fermat’s Theorem)

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

|a

|blocal

maximumlocal

minimum

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 19 / 32

Page 37: Lesson18 -maximum_and_minimum_values_slides

Fermat’s Theorem

Theorem (Fermat’s Theorem)

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

|a

|blocal

maximumlocal

minimum

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 19 / 32

Page 38: Lesson18 -maximum_and_minimum_values_slides

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c .

I If x is slightly greater than c , f (x) ≤ f (c). This means

f (x)− f (c)

x − c≤ 0 =⇒ lim

x→c+

f (x)− f (c)

x − c≤ 0

I 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)

x − c≥ 0 =⇒ lim

x→c−

f (x)− f (c)

x − c≥ 0

I Since the limit f ′(c) = limx→c

f (x)− f (c)

x − cexists, it must be 0.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 20 / 32

Page 39: Lesson18 -maximum_and_minimum_values_slides

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c .

I If x is slightly greater than c , f (x) ≤ f (c). This means

f (x)− f (c)

x − c≤ 0

=⇒ limx→c+

f (x)− f (c)

x − c≤ 0

I 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)

x − c≥ 0 =⇒ lim

x→c−

f (x)− f (c)

x − c≥ 0

I Since the limit f ′(c) = limx→c

f (x)− f (c)

x − cexists, it must be 0.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 20 / 32

Page 40: Lesson18 -maximum_and_minimum_values_slides

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c .

I If x is slightly greater than c , f (x) ≤ f (c). This means

f (x)− f (c)

x − c≤ 0 =⇒ lim

x→c+

f (x)− f (c)

x − c≤ 0

I 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)

x − c≥ 0 =⇒ lim

x→c−

f (x)− f (c)

x − c≥ 0

I Since the limit f ′(c) = limx→c

f (x)− f (c)

x − cexists, it must be 0.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 20 / 32

Page 41: Lesson18 -maximum_and_minimum_values_slides

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c .

I If x is slightly greater than c , f (x) ≤ f (c). This means

f (x)− f (c)

x − c≤ 0 =⇒ lim

x→c+

f (x)− f (c)

x − c≤ 0

I 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)

x − c≥ 0

=⇒ limx→c−

f (x)− f (c)

x − c≥ 0

I Since the limit f ′(c) = limx→c

f (x)− f (c)

x − cexists, it must be 0.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 20 / 32

Page 42: Lesson18 -maximum_and_minimum_values_slides

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c .

I If x is slightly greater than c , f (x) ≤ f (c). This means

f (x)− f (c)

x − c≤ 0 =⇒ lim

x→c+

f (x)− f (c)

x − c≤ 0

I 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)

x − c≥ 0 =⇒ lim

x→c−

f (x)− f (c)

x − c≥ 0

I Since the limit f ′(c) = limx→c

f (x)− f (c)

x − cexists, it must be 0.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 20 / 32

Page 43: Lesson18 -maximum_and_minimum_values_slides

Sketch of proof of Fermat’s Theorem

Suppose that f has a local maximum at c .

I If x is slightly greater than c , f (x) ≤ f (c). This means

f (x)− f (c)

x − c≤ 0 =⇒ lim

x→c+

f (x)− f (c)

x − c≤ 0

I 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)

x − c≥ 0 =⇒ lim

x→c−

f (x)− f (c)

x − c≥ 0

I Since the limit f ′(c) = limx→c

f (x)− f (c)

x − cexists, it must be 0.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 20 / 32

Page 44: Lesson18 -maximum_and_minimum_values_slides

Meet the Mathematician: Pierre de Fermat

I 1601–1665

I Lawyer and number theorist

I Proved many theorems,didn’t quite prove his lastone

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 21 / 32

Page 45: Lesson18 -maximum_and_minimum_values_slides

Tangent: Fermat’s Last Theorem

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

I No solutions tox3 + y3 = z3 among positivewhole numbers

I Fermat claimed no solutionsto xn + yn = zn but didn’twrite down his proof

I Not solved until 1998!(Taylor–Wiles)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 22 / 32

Page 46: Lesson18 -maximum_and_minimum_values_slides

Tangent: Fermat’s Last Theorem

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

I No solutions tox3 + y3 = z3 among positivewhole numbers

I Fermat claimed no solutionsto xn + yn = zn but didn’twrite down his proof

I Not solved until 1998!(Taylor–Wiles)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 22 / 32

Page 47: Lesson18 -maximum_and_minimum_values_slides

Tangent: Fermat’s Last Theorem

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

I No solutions tox3 + y3 = z3 among positivewhole numbers

I Fermat claimed no solutionsto xn + yn = zn but didn’twrite down his proof

I Not solved until 1998!(Taylor–Wiles)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 22 / 32

Page 48: Lesson18 -maximum_and_minimum_values_slides

Tangent: Fermat’s Last Theorem

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

I No solutions tox3 + y3 = z3 among positivewhole numbers

I Fermat claimed no solutionsto xn + yn = zn but didn’twrite down his proof

I Not solved until 1998!(Taylor–Wiles)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 22 / 32

Page 49: Lesson18 -maximum_and_minimum_values_slides

Outline

Introduction

The Extreme Value Theorem

Fermat’s Theorem (not the last one)Tangent: Fermat’s Last Theorem

The Closed Interval Method

Examples

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 23 / 32

Page 50: Lesson18 -maximum_and_minimum_values_slides

Flowchart for placing extremaThanks to Fermat

Suppose f is a continuous function on the closed, bounded interval [a, b],and c is a global maximum point.

start

Is c anendpoint?

c = a orc = b

c is alocal max

Is fdiff’ble at

c?

f is notdiff at c

f ′(c) = 0

no

yes

no

yes

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 24 / 32

Page 51: Lesson18 -maximum_and_minimum_values_slides

The Closed Interval Method

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

I Evaluate f at the endpoints a and b

I Evaluate f at the critical points or critical numbers x where eitherf ′(x) = 0 or f is not differentiable at x .

I The points with the largest function value are the global maximumpoints

I The points with the smallest or most negative function value are theglobal minimum points.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 25 / 32

Page 52: Lesson18 -maximum_and_minimum_values_slides

Outline

Introduction

The Extreme Value Theorem

Fermat’s Theorem (not the last one)Tangent: Fermat’s Last Theorem

The Closed Interval Method

Examples

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 26 / 32

Page 53: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a linear function

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 weneed only investigate the endpoints:

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

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

So

I 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.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 27 / 32

Page 54: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a linear function

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 weneed only investigate the endpoints:

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

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

So

I 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.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 27 / 32

Page 55: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a linear function

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 weneed only investigate the endpoints:

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

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

So

I 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.

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 27 / 32

Page 56: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a quadratic function

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 checkare:

I f (−1) =

I f (0) =

I f (2) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 28 / 32

Page 57: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a quadratic function

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 checkare:

I f (−1) =

I f (0) =

I f (2) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 28 / 32

Page 58: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a quadratic function

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 checkare:

I f (−1) =

I f (0) =

I f (2) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 28 / 32

Page 59: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a quadratic function

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 checkare:

I f (−1) = 0

I f (0) =

I f (2) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 28 / 32

Page 60: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a quadratic function

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 checkare:

I f (−1) = 0

I f (0) = − 1

I f (2) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 28 / 32

Page 61: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a quadratic function

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 checkare:

I f (−1) = 0

I f (0) = − 1

I f (2) = 3

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 28 / 32

Page 62: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a quadratic function

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 checkare:

I f (−1) = 0

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

I f (2) = 3

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 28 / 32

Page 63: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a quadratic function

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 checkare:

I f (−1) = 0

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

I f (2) = 3 (absolute max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 28 / 32

Page 64: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) =

− 4 (global min)

I f (0) =

1 (local max)

I f (1) =

0 (local min)

I f (2) =

5 (global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 65: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1.

The values to check are

I f (−1) =

− 4 (global min)

I f (0) =

1 (local max)

I f (1) =

0 (local min)

I f (2) =

5 (global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 66: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) =

− 4 (global min)

I f (0) =

1 (local max)

I f (1) =

0 (local min)

I f (2) =

5 (global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 67: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) = − 4

(global min)

I f (0) =

1 (local max)

I f (1) =

0 (local min)

I f (2) =

5 (global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 68: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) = − 4

(global min)

I f (0) = 1

(local max)

I f (1) =

0 (local min)

I f (2) =

5 (global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 69: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) = − 4

(global min)

I f (0) = 1

(local max)

I f (1) = 0

(local min)

I f (2) =

5 (global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 70: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) = − 4

(global min)

I f (0) = 1

(local max)

I f (1) = 0

(local min)

I f (2) = 5

(global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 71: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) = − 4 (global min)

I f (0) = 1

(local max)

I f (1) = 0

(local min)

I f (2) = 5

(global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 72: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) = − 4 (global min)

I f (0) = 1

(local max)

I f (1) = 0

(local min)

I f (2) = 5 (global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 73: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) = − 4 (global min)

I f (0) = 1 (local max)

I f (1) = 0

(local min)

I f (2) = 5 (global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 74: Lesson18 -maximum_and_minimum_values_slides

Extreme values of a cubic function

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 andx = 1. The values to check are

I f (−1) = − 4 (global min)

I f (0) = 1 (local max)

I f (1) = 0 (local min)

I f (2) = 5 (global max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 29 / 32

Page 75: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−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) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 76: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−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) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 77: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−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) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 78: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−1/3(5x + 4)

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

I f (−1) = 1

I f (−4/5) =

I f (0) =

I f (2) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 79: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−1/3(5x + 4)

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

I f (−1) = 1

I f (−4/5) = 1.0341

I f (0) =

I f (2) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 80: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−1/3(5x + 4)

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

I f (−1) = 1

I f (−4/5) = 1.0341

I f (0) = 0

I f (2) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 81: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−1/3(5x + 4)

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

I f (−1) = 1

I f (−4/5) = 1.0341

I f (0) = 0

I f (2) = 6.3496

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 82: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−1/3(5x + 4)

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

I f (−1) = 1

I f (−4/5) = 1.0341

I f (0) = 0 (absolute min)

I f (2) = 6.3496

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 83: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−1/3(5x + 4)

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

I f (−1) = 1

I f (−4/5) = 1.0341

I f (0) = 0 (absolute min)

I f (2) = 6.3496 (absolute max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 84: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

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

Solution

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

f ′(x) =5

3x2/3 +

4

3x−1/3 =

1

3x−1/3(5x + 4)

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

I f (−1) = 1

I f (−4/5) = 1.0341 (relative max)

I f (0) = 0 (absolute min)

I f (2) = 6.3496 (absolute max)

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 30 / 32

Page 85: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

Find the extreme values of f (x) =√

4− x2 on [−2, 1].

Solution

We 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) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 31 / 32

Page 86: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

Find the extreme values of f (x) =√

4− x2 on [−2, 1].

Solution

We 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) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 31 / 32

Page 87: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

Find the extreme values of f (x) =√

4− x2 on [−2, 1].

Solution

We 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) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 31 / 32

Page 88: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

Find the extreme values of f (x) =√

4− x2 on [−2, 1].

Solution

We 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

I f (0) =

I f (1) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 31 / 32

Page 89: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

Find the extreme values of f (x) =√

4− x2 on [−2, 1].

Solution

We 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

I f (0) = 2

I f (1) =

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 31 / 32

Page 90: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

Find the extreme values of f (x) =√

4− x2 on [−2, 1].

Solution

We 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

I f (0) = 2

I f (1) =√

3

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 31 / 32

Page 91: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

Find the extreme values of f (x) =√

4− x2 on [−2, 1].

Solution

We 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

I f (1) =√

3

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 31 / 32

Page 92: Lesson18 -maximum_and_minimum_values_slides

Extreme values of an algebraic function

Example

Find the extreme values of f (x) =√

4− x2 on [−2, 1].

Solution

We 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

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 31 / 32

Page 93: Lesson18 -maximum_and_minimum_values_slides

Summary

I The Extreme Value Theorem: a continuous function on a closedinterval must achieve its max and min

I Fermat’s Theorem: local extrema are critical points

I The Closed Interval Method: an algorithm for finding global extrema

I Show your work unless you want to end up like Fermat!

V63.0121.002.2010Su, Calculus I (NYU) Section 4.1 Maximum and Minimum Values June 8, 2010 32 / 32