The Unapologetic Mathematician

Mathematics for the interested outsider

Distinguishing Maxima and Minima

From Heine-Borel we know that a continuous function f on a closed interval \left[a,b\right] takes a global maximum and a minimum. From Fermat we know that any local (and in particular any global) extremum occurs at a critical points — a point where f'(x)=0, or f has no derivative at all. But once we find these critical points how can we tell maxima from minima?

The biggest value of f at a critical point is clearly the global maximum, and the smallest is just as clearly the minimum. But what about all the ones in between? Here’s where those consequences of the mean value theorem come in handy. For simplicity, let’s assume that the critical points are isolated. That is, each one has a neighborhood in which it’s the only critical point. Further, let’s assume that f'(x) is continuous wherever it exists.

Now, to the left of any critical point we’ll have a stretch where f is differentiable (or else there would be another critical point there) and f'(x) is nonzero (ditto). Since the derivative is continuous, it must either be always positive or always negative on this stretch, because if it was sometimes positive and sometimes negative the intermediate value theorem would give us a point where it’s zero. If the derivative is positive, our corollaries of the mean value theorem tell us that f increases as we move in towards the point, while if the derivative is negative it decreases into the critical point. Similarly, on the right we’ll have another such stretch telling us that f either increases or decreases as we move away from the critical point.

So what’s a local maximum? It’s a critical point where the function increases moving into the critical point and decreases moving away! That is, if near the critical point the derivative is positive on the left and negative on the right, we’ve got ourselves a local maximum. If the derivative is positive on the right and negative on the left, it’s a local minimum. And if we find the same sign on either side, it’s neither! Notice that this is exactly what happens with the function f(x)=x^3 at its critical point. Also, we don’t have to worry about where to test the sight of the derivative, because we know that it can only change signs at a critical point.

In fact, if we add a bit more to our assumptions we can get an even nicer test. Let’s assume that the function is “twice-differentiable” — that f'(x) is itself a differentiable function — on our interval. Then all the critical points happen where f'(x)=0. Even better now, if it changes signs as we pass through the critical point (indicating a local extremum) it’s either increasing or decreasing, and this will be reflected in its derivative f''(x) at the critical point. If f''(x)>0 then our sign changes from negative to positive and we must be looking at a local minimum. On the other hand, if f''(x)<0 then we’ve got a local maximum. Unfortunately, if f''(x)=0 we don’t really get any information from this test and we have to fall back on the previous one.

About these ads

January 25, 2008 - Posted by | Analysis, Calculus

2 Comments »

  1. [...] along all of these lines we have a local minimum at the origin by the second derivative test. And along the -axis, we have , which has the origin as a local [...]

    Pingback by Local Extrema in Multiple Variables « The Unapologetic Mathematician | November 23, 2009 | Reply

  2. [...] function . That is, a point where the differential vanishes. We want something like the second derivative test that might tell us more about the behavior of the function near that point, and to identify (some) [...]

    Pingback by Classifying Critical Points « The Unapologetic Mathematician | November 24, 2009 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 366 other followers

%d bloggers like this: