Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 71

The Second Derivative Test

Recommended resources

Hello! Welcome to the next lesson in our journey through differential calculus.

In our last few lessons, we've focused on using the first derivative, , to find a function's stationary points (where the gradient is zero) and the second derivative, , to determine its concavity (whether it is convex or concave down). Today, we will combine these two ideas into a powerful and often very efficient tool: the Second Derivative Test.

The goal of this lesson is to use the Second Derivative Test to classify stationary points as local maxima or local minima. This provides an alternative to the First Derivative Test you learned previously, and in many cases, it can be much faster.

1. The Intuition: Concavity at a Stationary Point

Let's start with the core idea, which builds directly on what you learned about concavity. Imagine you've found a stationary point on a graph. You know the tangent line at this point is horizontal. Now, consider the shape of the curve at that exact spot:

  • If the function is convex (concave up) at the stationary point, the curve looks like a 'U'. A horizontal tangent on a 'U' shape can only happen at the very bottom. Therefore, the point must be a local minimum.
  • If the function is concave down at the stationary point, the curve looks like an inverted 'U'. A horizontal tangent on this shape can only occur at the very top. Therefore, the point must be a local maximum.

This simple connection between the curve's shape and the type of stationary point is the foundation of the Second Derivative Test.

The following video from Khan Academy provides an excellent visual explanation of this intuition.

Second derivative test | Using derivatives to analyze functions | AP Calculus AB | Khan Academy

Watch this short segment to see how the concavity of a function at a point where the slope is zero tells you whether it's a local maximum or minimum.

Watch from the beginning to 02:46.

This relationship is summarised perfectly in the image below.

Second Derivative Test Summary
A visual summary of the Second Derivative Test. A positive second derivative implies a convex (concave up) shape and a local minimum. A negative second derivative implies a concave down shape and a local maximum.

2. The Formal Second Derivative Test

Now, let's translate this intuition into a formal mathematical procedure. As you know from the previous lesson, the sign of the second derivative, , tells us the concavity. We can use this to create a formal test.

Second Derivative Test: Examples & Rules

This resource from StudySmarter provides a clear and concise definition of the Second Derivative Test and its rules. Please read the introductory section.

Read the first two parts of the article: 'Meaning of The Second Derivative Test' and the three bullet points that follow. This will formalise the rules we've just discussed.

To summarise the rules for a function at a stationary point (where ):

  1. If , the function is convex at , so has a local minimum at .
  2. If , the function is concave down at , so has a local maximum at .
  3. If , the test is inconclusive. It tells us nothing, and we must use a different method.

3. Applying the Test: A Worked Example

Let's see the test in action. The process involves finding the stationary points first, then using the second derivative to classify them.

  1. Find the first derivative, .
  2. Solve to find the x-coordinates of the stationary points.
  3. Find the second derivative, .
  4. For each stationary point , calculate the value of .
  5. Apply the rules of the Second Derivative Test to classify each point.

The following video demonstrates this process clearly. The presenter has already found the stationary points in a previous part of the video; here, we focus on how he uses the second derivative to classify them.

Edexcel AS Level Maths: 12.9 Stationary Points (Maximum and Minimum Points) - Differentiation

In this clip, Zeeshan Zamurred applies the second derivative test to classify two stationary points ('turning points'). Note his use of terminology, which aligns with your background.

Watch the segment from 05:33 to 07:25. The stationary points were previously found to be at x=2 and x=-1/3. Observe how he evaluates the second derivative at these x-values and interprets the sign of the result.

Test your understanding!

Use the Second Derivative Test to find and classify the stationary points of the function .

Show answer
  1. Find the first derivative:

  2. Find stationary points (solve ):

    The stationary points are at and .

  3. Find the second derivative:

  4. Test each point:

    • For :
      . Since , the point is a local maximum.
      The y-coordinate is .
      So, there is a local maximum at (0, 5).

    • For :
      . Since , the point is a local minimum.
      The y-coordinate is .
      So, there is a local minimum at (4, -27).


4. The Inconclusive Case: When

The third rule of the test is very important: if the second derivative is zero at a stationary point, the test fails. It doesn't mean there isn't a maximum or minimum, only that this specific test cannot determine it. The point could be a local maximum, a local minimum, or a point of inflection.

Second Derivative Test: Examples & Rules

To understand why f''(c)=0 is inconclusive, please read this section from the StudySmarter article. It presents two different functions, both of which have f''(c)=0 at their stationary point. However, one has a local maximum, and the other has neither a maximum nor a minimum.

Read the section titled 'It is worth noting that The Second Derivative Test only tells us what happens if the second derivative is NOT equal to zero.' Focus on the two examples for g(x) and h(x) and look at their graphs to see the different outcomes.

So, what do you do when the test is inconclusive?

You must revert to the First Derivative Test. That is, you test the sign of the first derivative, , on either side of the stationary point to see if the gradient changes from positive to negative (local max), negative to positive (local min), or stays the same (point of inflection).

Let's walk through an example of this from the resource The Second Derivative Test - Differential Calculus. Consider the function .

  1. First Derivative:
  2. Stationary Points: , so .
  3. Second Derivative:

Now, let's test the points:

  • Local Maximum at .
  • Local Minimum at .
  • Test is Inconclusive.

We must use the First Derivative Test for . We need to check the sign of in the neighbourhood of .

  • To the left of 0 (e.g., at ): .
  • To the right of 0 (e.g., at ): .

Since the gradient is negative on both sides of , the function is decreasing, flattens out, and then continues decreasing. Therefore, the point at is neither a maximum nor a minimum; it is a stationary point of inflection.


Conclusion

You've now learned a valuable shortcut for classifying stationary points. While the First Derivative Test always works, the Second Derivative Test is often quicker when the second derivative is easy to compute and non-zero.

Key Takeaways:

  • The Second Derivative Test classifies a stationary point based on the sign of .
  • Local Minimum: If and (convex/concave up).
  • Local Maximum: If and (concave down).
  • Inconclusive: If and . In this case, you must use the First Derivative Test to classify the point.

In our next lesson, we will begin applying these powerful tools—finding and classifying extrema—to solve practical optimisation (optimization) problems, where the goal is to find the maximum or minimum value of something, like profit, cost, or area.