What are the global and local extrema of #f(x)=x^3-x^2-x+1# ?
Local extrema, also called maxima & minima, or sometimes critical points, are just what they sound like: when the function's reached a brief maximum or a brief minimum. They're called local because when you're looking for critical points, you usually only care about what the maximum means in the immediate neighborhood of the point.
Finding local critical points are pretty simple. Find when the function is unchanging, and the function is unchanging when - you guessed it - the derivative equals zero.
A simple application of the power rule gives us
We're concerned when this expression equals zero:
Now we've found ourselves looking at a quadratic equation in
There are indeed two real-valued solutions to this quadratic, given by the quadratic formula or your method of choice, and they are
So we've determined that there are two local extrema, as well as their locations. Classifying whether each point is a maximum or minimum is a different story and I won't go into that here, but I can direct you here if that's something you'd like to read up on.
Now, on to the global extrema. A global extremum is defined as being the single maximum or single minimum point of a function on a whole interval. Usually, the interval is given, such as "find the global extrema of such-and-such on the interval
With global extrema, there's more you need to take into account than just the derivative. You would have to determine if there are any critical points on this interval, because if so, one might (but not necessarily) be the global extrema as well. With these types of situations, having a calculator plot is the most helpful, but a little analysis reveals the critical points. (I can direct you to this page for more info and a few examples)
In this case, the function continues getting really, really huge as