Docsity

Maxima and Minima, Slides of Calculus

Toggle sidebar
bg1
LECTURE 20
Maxima and Minima
Consider a function fwith the following graph
Just looking at the graph we see that function attains a maximum value of about 12 around x= 4 and a
minimum value of about 9 when x=−4. Today we’ll try to answer two questions simultaneously:
•Can we find a more accurate way of determining the maxima and minima of a function (that is,
something better than just “eyeballing” the graph of f)?
•Can we find a way of determining the maxima and minima of a function without having to graph it
first?
Well, the answer to both these questions is sort of obvious once you figure out a suitable graphical character-
ization maxima and minima. Look at the the shape of the graphs near the maxima and minimas. Maxima
are shaped like little hill tops, and minima are shaped like little valleys. We shall refine this characterization
in just a moment. But before doing so we’ll induce a little mathematical terminology.
88
pf3
pf4

Partial preview of the text

Download Maxima and Minima and more Slides Calculus in PDF only on Docsity!

LECTURE 20

Maxima and Minima

Consider a function f with the following graph

Just looking at the graph we see that function attains a maximum value of about 12 around x = 4 and a minimum value of about 9 when x = −4. Today we’ll try to answer two questions simultaneously:

  • Can we find a more accurate way of determining the maxima and minima of a function (that is, something better than just “eyeballing” the graph of f )?
  • Can we find a way of determining the maxima and minima of a function without having to graph it first?

Well, the answer to both these questions is sort of obvious once you figure out a suitable graphical character- ization maxima and minima. Look at the the shape of the graphs near the maxima and minimas. Maxima are shaped like little hill tops, and minima are shaped like little valleys. We shall refine this characterization in just a moment. But before doing so we’ll induce a little mathematical terminology.

88

Definition 20.1. By a neighborhood of a point a ∈ R, we mean a open interval containing a. i.e. some open interval of the form

I = {a − δ < x < a + δ}

Definition 20.2. A function f has a local maximum at x = a if

f (x) ≤ f (a) for all x in a neighborhood of a

and a function f a local minimum at x = a if

f (x) ≥ f (a) for all x in a neighborhood of a

We say that x = a is a local extrema if it is either a local maxima or a local minima.

A function f has a maximum at x = a if

f (x) ≤ f (a) for all x in the domain of f

and a minimum at x = a if

f (x) ≥ f (a) for all x in the domain of f

In the figure above, f has two local maxima and two local minima but just a single maximum and a single minimum.

Next we’ll try to quantify our “hilltop or valley” characterization of local extrema.

So what makes a “hilltop” in the graph.

Well, to the left of the hilltop, the graph is going uphill, at the very top of the hill the graph is flat, and to the right of the hilltop the graph is going downhill. This behavior we can also characterize in terms of the derivative of f. For a function is going uphill if its slope (actually, the slope of its tangent line) is positive:

m =

∆y ∆x

positive number positive number = some positive number

But this then means

f′^ (x) > 0 for all x just to the left of a

because the derivative f′^ (x) is just the slope of the tangent line to graph of f at (x, f (x)).

At a local maximum, i.e., at the top of a hill, the graph looks essentially flat. This means the slope of the tangent line should be zero, or

f ′^ (a) = 0

Finally, to the right of x = a, the graph should be going downhill, and this means that the slope of the tangent lines immediately to the right of x = a should be negative; hence

f′^ (x) < 0 for all x just to the right of a

Here’s how we fix matters up. Recall that whenever we can always approximate a differentiable function f by a linear function

L (x) = f (a) + f ′^ (a) (x − a)

and, moreover, the closer we are to x = a the better the approximation. So let’s find a linear approximation to f ′^ (x) = d dxf. This would be

f ′^ (a) + f′′^ (a) (x − a)

(because the derivative of f′^ (x) is f′′^ (x) = (^) dxddf dx , the double derivative of f ).

Now suppose f (a) = 0, and f′′^ (a) > 0. Then to the left of x = a

f′^ (x) ≈ f ′^ (a) + f′′^ (a) (x − a) = 0 + (positive number) (negative number) < 0

and to the right of x = a, we have

f ′^ (x) ≈ f′^ (a) + f′′^ (a) (x − a) = 0 + (positive number) (postive number) > 0

and so we’d have f ′^ (x) < 0 for all x immediately to the left of a f′^ (a) = 0 f′^ (x) > 0 for all x immediately to the right of a

=⇒ f has a local minimum at x = a

On the other hand, if f ′^ (a) = 0, and f′′^ (a) < 0. Then to the left of x = a

f′^ (x) ≈ f ′^ (a) + f′′^ (a) (x − a) = 0 + (negative number) (negative number) > 0

and to the right of x = a, we have

f′^ (x) ≈ f ′^ (a) + f′′^ (a) (x − a) = 0 + (negative number) (positive number) < 0

and so we’d have

f ′^ (x) > 0 for all x immediately to the left of a f′^ (a) = 0 f ′^ (x) < 0 for all x immediately to the right of a

=⇒ f has a local maximum at x = a

We thus have

Theorem 20.3 (Second Derivative Test). Suppose f ′^ (a) = 0. Then

f ′′^ (a) < 0 =⇒ x = a is a local maximum of f f ′′^ (a) > 0 =⇒ x = a is a local minimum of f