Using the Second Derivative Test to Determine Extrema

Samuel Baker
7 min read
Listen to this study note
Study Guide Overview
This study guide covers the Second Derivative Test for finding local extrema (maxima and minima). It explains how to find critical points using the first derivative, , and then use the second derivative, , to classify these points. A positive at a critical point indicates a local minimum, while a negative indicates a local maximum. The guide includes practice examples and discusses cases where the Second Derivative Test is inconclusive. Finally, it touches upon the relationship between local and global extrema for continuous functions with a single critical point within a given interval.
#5.7 Using the Second Derivative Test to Determine Extrema
You’ve probably noticed by now that Unit 5 deals with analytical applications of differentiation; that means that a function’s derivatives can tell us something about its behaviors. We learned from 5.4 Using the First Derivative Test to Determine Relative (Local) Extrema that the first derivative of a function tells us information on where its relative extrema (aka local maximum and minimum) will be.
What does the second derivative tell us, then? Answer: Whether a critical point we found yields a local maximum or minimum (it can’t be both)! 🧠
#✏️ Warm-up: Finding Critical Points
Let’s do a quick recap of critical points from key topic 5.2! To refresh, a critical point is a point on a function where…
- the first derivative equals zero or
- fails to exist Analytically, the first bullet point is easier to wrap your head around. Let’s take a look at a quick example:
Computing the first derivative gives us:
To find where the first derivative equals zero, we can factor and then set f’(x) = 0:
Looks familiar, right? We proceed as if we’re finding the roots (x) in a regular equation. In this case, the two x values are our critical points!
Not bad, right? What do we do with these critical point values, then?
We learned two things from 5.6 Determining Concavity of Functions over Their Domains about what the second derivative of a function can tell us information of:
- 🌈 The function’s intervals of upward or downward concavity.
- is positive (or greater than zero, aka ) = concave up
- is negative (or less than zero, aka ) = concave down
- 🪝 The function graph’s inflection points (where concavity changes).
#🥈 Extending the Second Derivative Test
Now, let’s connect these ideas to the critical points we mentioned earlier: by knowing the concavities before and after the critical points, we can determine where our local minima and maxima are! 🗺️
#🪜 Second Derivative Test Steps
Here are some steps that we’ll go through:
- Find the critical points of using .
- Plug the critical points into to get a y-value.
- Determine whether you have a local min or max!
#📝 Second Derivative Test Walkthrough
To illustrate, let’s continue with our example while we walk through the steps pertaining to the Second Derivative Test.
#🥇 Step 1: Find f(x)’s critical points using f’(x)
Done! We found our critical points: and earlier.
#🥈 Step 2: Plug critical points into f’’(x) to get a y-value.
From above, we found to be:
Calculating the second derivative:
Then, we plug our critical points:
These numbers give us the y-values for our local extrema and thus the whole coordinates: and . We’re ready for our final step…
#🥉 Step 3: Determine whether you have a local min or max!
In our case, is a local maximum and is a local minimum. This is because of the work we did in step 2!
Conceptually, why does this make sense? Tap into your imagination… imagine a hill and a bowl!
- 🗻 If a point represents a maximum and is situated at the peak of a hill, the point appears to lie on the concave-down surface of said hill.
- 🥣 Conversely, if a point signifies a minimum and is located at the bottom of an upright bowl, it suggests that the point lies on the concave-up surface of the bowl. Therefore, when the function f is concave down at a critical point (we’ll call it “c”), it implies a maximum, whereas f being concave up at “c” indicates a minimum.
Feel more confident? Try the following examples on your own before looking at the solutions to see which areas you should do more practice on! 📣
#💭 Second Derivative Test: Let’s Practice!
For each of the following functions f(x), determine whether each of their critical points are local maxima or minima.
#Second Derivative Test: Example 1
Let’s find our first and second derivatives:
Setting to find critical points x:
Thinking back to the Unit Circle from trigonometry, at which angles will ? We’ll get our critical points:
Plugging these values into our second derivative:
Since , is a local maximum of . On the other hand, since , is a local minimum of f(x). We’re done! ⭐
#Second Derivative Test: Example 2
Calculating f’(x) and f’’(x) gives us:
Setting f’(x) = 0…
Wait a second. This doesn’t give us a solution. What do we do in this case, then? This brings up another element of the Second Derivative Test:
#💫 Closing
Great work! Now we applied the second derivative test to different functions to determine extrema. There’s one key point that we want to leave you with…
When dealing with a continuous function that has just one critical point across its entire domain and this particular point serves as a local extremum within a specific interval, it also stands as the global extremum for the function within that particular interval.
This is because there are no other critical points to challenge its extremum status within that specific interval. This is due to the function having only one peak or valley (extremum) within that interval. 🗻
Explore more resources

How are we doing?
Give us your feedback and let us know how we can improve