5. Analytical Applications of Differentiation

Using The Second Derivative Test To Determine Extrema

Using the Second Derivative Test to Determine Extrema

students, imagine you are designing a skateboard ramp, a phone charging curve, or the shape of a bridge cable. In all of these situations, you want to know where the graph reaches a high point or a low point. In calculus, those high and low points are called extrema. One of the fastest ways to classify certain extrema is the second derivative test. 🚀

In this lesson, you will learn how to use the second derivative test to determine whether a critical point is a local maximum, a local minimum, or something the test cannot decide. By the end, you should be able to:

  • Explain what the second derivative test tells you and when it works
  • Use the test to classify critical points for a function $f$
  • Connect the test to concavity and the graph of $f$
  • Understand how this fits into AP Calculus BC graph analysis and optimization

The big idea is simple: the first derivative tells you whether a function is increasing or decreasing, and the second derivative tells you how the graph is bending. When those two ideas work together, they can reveal a local max or min quickly.

What a Critical Point Means

A critical point is a number $c$ in the domain of $f$ where either $f'(c)=0$ or $f'(c)$ does not exist. Critical points matter because local extrema can only happen at critical points or endpoints of an interval.

For example, if a function has a “flat spot” at $x=c$, meaning $f'(c)=0$, that point might be a hilltop, a valley, or neither. The first derivative alone does not always tell the whole story.

This is where the second derivative becomes useful. The second derivative $f''(x)$ measures how the slope is changing. If $f''(x)>0$, the graph is concave up, like a cup 😊. If $f''(x)<0$, the graph is concave down, like a frown 😊. That bending pattern helps identify the type of critical point.

Suppose $f'(c)=0$. Then $c$ is a critical point. To test it, look at $f''(c)$:

  • If $f''(c)>0$, then $f$ has a local minimum at $x=c$
  • If $f''(c)<0$, then $f$ has a local maximum at $x=c$
  • If $f''(c)=0$, the test is inconclusive

That last case is important. It means you need another method, such as the first derivative test or a graph analysis.

Why the Second Derivative Test Works

The second derivative test is based on concavity. Near a point where $f'(c)=0$, the graph is flat at $x=c$. If the curve bends upward there, the flat point sits at the bottom of a valley, so it is a local minimum. If the curve bends downward there, the flat point sits at the top of a hill, so it is a local maximum.

Think about a bowl or a dome. At the bottom of a bowl, the slope is zero and the graph curves upward. At the top of a dome, the slope is zero and the graph curves downward. The second derivative captures that bending.

This test is local, not global. A local minimum means the function is smaller than nearby values, not necessarily the smallest value everywhere. A local maximum means the function is larger than nearby values, not necessarily the largest value everywhere.

Also remember that the test only applies when $f''(c)$ exists and $f'(c)=0$. If the derivative does not equal zero, the test does not apply.

Step-by-Step Procedure

To use the second derivative test, follow these steps:

  1. Find the first derivative $f'(x)$
  2. Solve $f'(x)=0$ to find critical points where the derivative is zero
  3. Compute the second derivative $f''(x)$
  4. Substitute each critical point into $f''(x)$
  5. Interpret the sign of $f''(c)$

Here is a simple example.

Let $f(x)=x^3-3x^2+2$.

First find the first derivative:

$$f'(x)=3x^2-6x=3x(x-2)$$

Set $f'(x)=0$:

$$3x(x-2)=0$$

So the critical points are $x=0$ and $x=2$.

Now find the second derivative:

$$f''(x)=6x-6$$

Test the critical points:

  • At $x=0$, $f''(0)=-6<0$, so $f$ has a local maximum at $x=0$
  • At $x=2$, $f''(2)=6>0$, so $f$ has a local minimum at $x=2$

If you want the actual $y$-values, evaluate the function:

$$f(0)=2$$

$$f(2)=8-12+2=-2$$

So the local maximum is at $(0,2)$ and the local minimum is at $(2,-2)$.

When the Test Is Inconclusive

The second derivative test does not always decide the answer. If $f''(c)=0$, you cannot conclude max or min from this test alone.

For example, consider $f(x)=x^4$.

First derivative:

$$f'(x)=4x^3$$

So $f'(0)=0$, making $x=0$ a critical point.

Second derivative:

$$f''(x)=12x^2$$

Then

$$f''(0)=0$$

The test is inconclusive. But if you look at the graph or use the first derivative test, you see that $f(x)=x^4$ has a local minimum at $x=0$ because the function values are positive on both sides of $0$ and equal $0$ at $0$.

Another example is $f(x)=x^3$. Here:

$$f'(x)=3x^2$$

and

$$f''(x)=6x$$

At $x=0$, $f'(0)=0$ and $f''(0)=0$, but $x=0$ is not a max or min. It is a point of inflection. This is a great reminder that $f''(c)=0$ does not prove anything by itself.

Connecting the Test to Concavity and Graph Analysis

The second derivative test fits into a larger graph-analysis toolkit. In AP Calculus BC, you often combine ideas about $f'$, $f''$, and the graph itself.

  • If $f'(x)>0$, then $f$ is increasing
  • If $f'(x)<0$, then $f$ is decreasing
  • If $f''(x)>0$, then $f$ is concave up
  • If $f''(x)<0$, then $f$ is concave down

A local maximum usually occurs where the graph changes from increasing to decreasing. A local minimum usually occurs where the graph changes from decreasing to increasing. The second derivative test helps confirm that behavior when the function is flat at the critical point.

For example, if $f'(c)=0$ and $f''(c)<0$, the graph is concave down near $c$. That means the slope is decreasing through $0$, so the function goes from increasing to decreasing. That creates a local maximum.

Similarly, if $f'(c)=0$ and $f''(c)>0$, the graph is concave up near $c$. That means the slope is increasing through $0$, so the function goes from decreasing to increasing. That creates a local minimum.

This connection is useful on the AP exam because problems may ask you to justify your answer using derivatives, not just by naming the result.

Example with a Real-World Interpretation

Suppose $h(t)=-t^2+4t+1$ represents the height, in meters, of a ball after $t$ seconds.

First derivative:

$$h'(t)=-2t+4$$

Set $h'(t)=0$:

$$-2t+4=0$$

So $t=2$.

Second derivative:

$$h''(t)=-2$$

Since

$$h''(2)=-2<0$$

the function has a local maximum at $t=2$.

This matches the real-world meaning: the ball rises, reaches its highest point, and then falls. The second derivative test confirms that the top of the path is a maximum.

If we evaluate the height at $t=2$:

$$h(2)=-(2)^2+4(2)+1=5$$

So the maximum height is $5$ meters.

How It Fits into Optimization

Optimization problems often ask you to maximize or minimize a quantity like area, cost, profit, or distance. The usual process is:

  1. Write the quantity as a function $f$ of one variable
  2. Find critical points by solving $f'(x)=0$
  3. Use the second derivative test when possible
  4. Check endpoints if the domain is closed
  5. Choose the best answer for the situation

The second derivative test can save time because it classifies critical points quickly. However, for absolute extrema on a closed interval, you still must compare all critical points and endpoints.

For example, if a company’s profit function is $P(x)$, a local maximum from the second derivative test might represent the best nearby production level. But if the question asks for the greatest profit on an interval, endpoints matter too.

Conclusion

students, the second derivative test is a powerful shortcut for deciding whether a critical point is a local maximum or local minimum. It works because $f''$ tells you how the graph bends near a point where $f'(c)=0$. If $f''(c)>0$, you get a local minimum. If $f''(c)<0$, you get a local maximum. If $f''(c)=0$, the test does not give an answer, so you need another method.

This idea is an important part of analytical applications of differentiation because it connects derivatives, concavity, graph behavior, and optimization. On AP Calculus BC, you should be ready to find critical points, compute $f''(x)$, interpret the sign of the second derivative, and explain your reasoning clearly.

Study Notes

  • A critical point occurs where $f'(c)=0$ or where $f'(c)$ does not exist.
  • The second derivative test is used only at points where $f'(c)=0$.
  • If $f''(c)>0$, then $f$ has a local minimum at $x=c$.
  • If $f''(c)<0$, then $f$ has a local maximum at $x=c$.
  • If $f''(c)=0$, the test is inconclusive.
  • The test works because concavity describes the way the graph bends near a flat point.
  • Concave up means the graph bends like a cup and supports a local minimum.
  • Concave down means the graph bends like a frown and supports a local maximum.
  • The second derivative test gives local extrema, not always absolute extrema.
  • For absolute extrema on a closed interval, always check critical points and endpoints.
  • If the second derivative test fails, use the first derivative test, graph analysis, or another method.
  • This topic is part of AP Calculus BC analytical applications of differentiation and is often connected to graphing and optimization.

Practice Quiz

5 questions to test your understanding