Interactive · 2 questions
Here's some graphical intuition:
The top of a hill is always flat.
What does it mean for a function to be "flat" at a point?
Good, "flat" at that point implies that the slope of the curve is 0 at that point.
The first derivative test tells us that at local extrema of a continuous function , the derivative of is 0. The first derivative of a function is the slope of the graph at that point, and the slope at a maximum or minimum is 0 (as the graphic above demonstrates).
So to find local extrema given a function, you:
-
Derive the function
-
Set the derivative equal to zero and solve. The resulting x-values are the x-values of the extrema!
And to figure out whether the extremum you found is a minimum or a maximum:
-
Set up a number line, with the extremum/extrema as points on the line
-
Plug in values that are greater than and less than the extremum into the first derivative of the function
-
If values less than that extremum yield a positive first derivative and values greater than that extremum yield a negative first derivative, that extremum is a maximum. If we think about this intuitively, this makes sense! The slope of a graph leading up to a maximum is positive (there's an incline) and the slope of the graph after a maximum is negative (the graph declines)
-
The same is true for the opposite - so if values less than that extremum yield a negative first derivative and values greater than that extremum yield a positive first derivative, that extremum is a minimum. This also makes sense - the slope of a graph leading up to a minimum is negative (there's a decline) and the slope of the graph after a minimum is positive (the graph is at an incline)
Practice: What value produces the maximum value of ?
Good! so the (only) local extremum occurs at .


