Application: Maximums and Minimums -- Critical Points

Let's talk about some cool stuff: finding maximums (and minimums) of a function by using its derivative. [br][br]We've already done this; earlier we used the derivative to [url=https://www.geogebra.org/m/x39ys4d7#material/ybp9bfdt]estimate the maximum height of a missile[/url], and also to get a sense for the [url=https://www.geogebra.org/m/x39ys4d7#material/wxafdatb]longest and shortest days of the year[/url] at Northern Vermont University -- Johnson. In this section we'll crystalize our methods from these activities, and discuss a systematic process we can use to find maximums and minimums of functions with derivatives. [br][br]Before we move forward though, let's talk vocabulary: [br][br][list][*]Technically speaking, a [b]maximum (sometimes called a "local" maximum) [/b]of a function is an output of the function that's a little higher than all of its neighbors. For instance, when we estimated the [url=https://www.geogebra.org/m/x39ys4d7#material/ybp9bfdt]maximum height of the missile[/url] earlier, we knew we found the maximum height because the number we found was a little higher than all of the neighboring outputs of the function. [/*][*]Sometimes when we are looking at a graph it's handy to refer to maximums as [b]peaks[/b] instead, and we might even refer to the entire point (x- and y-coordinate) as a peak; context should make this very clear. [/*][*]A maximum is called an [b]absolute maximum[/b] if we can somehow be sure that the maximum is as large as the function can be for [i]any[/i] possible input. We talk about these later in this chapter.[br][/*][*]Similar definitions apply to the terms [b]minimum (AKA "local" minimum)[/b], [b]valley[/b] and [b]absolute minimum[/b].[/*][/list][br]As we saw earlier, the tricky part to locating maximums and minimums of a function with the derivative of the function is comprehending this key insight:[br][br][i][center]If a function f has a maximum (or a minimum) at a point A, then the function f must also have stopped growing (or decreasing) at A, and consequently, f' must be equal to 0 at A. [/center][/i][br]This insight is so important, I want you to have a mental image of it. This type of thinking is what professionals who use calculus actually do. In the applet below, move A towards the peak (and valley) of f. [br][b][br]Notice that at peaks (and valleys) of f, the slope of the tangent line, g, is 0, and so f' is equal to 0 as well[/b].
The x-coordinates of points where the derivative of a function is equal to 0 are so important that they have a special name: [code][/code][b]critical points[/b]. In the applet, the critical points of [code]f(x)[/code] are x=1 and x=3. The y-coordinates of the points where the derivative of a function is equal to 0 are called [b]critical values[/b]. In the applet, the critical values of f(x) are y=6 and y=2, and they correspond to x=1 and x=3, respectively. [br][br]It isn't too tough to find the critical points of a function f. There's two ways to find them generally:[br][list][*]Dust off your algebra skills to solve the equation formed by setting [code]f'(x)[/code] equal to 0. For example, if [code]f(x)=x^3-6*x^2+9*x+2[/code], and so [code]f'(x)=3*x^2-12*x+9+0 [/code](be sure you can use the Monkey Rules to calculate [code]f'[/code] on your own!), to find the critical points you'd need to solve [code]3*x^2-12*x+9+0=0[/code]. This is hardly an impossible algebra task, but it's also not how I want to spend my weekends either. [/*][*]Ask Geogebra to do it with code like we've been using: [code]intersect(f', y=0, LeftBound, RightBound)[/code] where you replace [code]LeftBound[/code] with the numerical value of the left extent of where you want Geogebra to hunt, and [code]RightBound[/code] with the right extent of where you want Geogebra to hunt. [/*][/list]Similarly, it isn't too hard to find critical values. Simply plug critical points back into f(x). [br][br]There's pros and cons to each method. Obviously, the first method might be more satisfying to puritans, and surely doesn't require you use a computer, but the downside becomes apparent the moment you encounter a derivative you can't solve for 0. For example, if [code]f(x)=x^99+sin(56x-100)[/code] or some other complex function that might rear it's ugly head in this midst of a mathematical modeling project, can you solve [code]99*x^98+56*cos(56x-100)=0[/code] algebraically? I can't. [br][br]The pro of the second method is obviously that it is considerably easier, but it's not without drawbacks. For instance, what if Geogebra doesn't return any intersections? [br][br]These concerns however are for experts to discuss. For us [url=https://en.wikipedia.org/wiki/Jedi#Padawan]padawans[/url], we'll just use the second method, and if any problems come up, we'll address them as the appear. [br][br]Now, you may have already noticed a little problem: if you can't see the graph it doesn't seem clear which critical points correspond to peaks of f and which corresponds to valleys. Indeed, it's not even clear if all critical points are necessarily one or the other. Move on to the next activity to see how to deal with this kerfuffle.

Information: Application: Maximums and Minimums -- Critical Points