Local Minimum and Maximum- Extrema Analysis in Calculus

What Local Extrema Actually Are

Local minimum and maximum points are where a function hits a low point or high point in a specific region. Not the absolute lowest or highest point on the entire graph—just points where the function stops climbing and starts falling (or vice versa).

A local maximum is where a function reaches a peak compared to nearby points. A local minimum is where it hits a valley compared to nearby points. That's it. Nothing fancy.

Why Extrema Matter

Engineers use extrema to find optimal solutions. Economists use them to maximize profit and minimize cost. Physicists use them to identify equilibrium points. If you're taking calculus, this is one of those concepts that keeps showing up because it actually means something in the real world.

Critical Points: The Starting Line

Before you can find extrema, you need to find critical points. These are the only places where local extrema can exist.

The Definition

A critical point occurs where:

That's the whole definition. If either condition is met, you have a critical point. Note that critical points are candidates for extrema—not proof that an extremum exists there.

Why Derivatives Matter Here

The derivative tells you the slope of the function. When the derivative is zero, the slope is flat—meaning the function is neither increasing nor decreasing at that exact point. This is exactly where peaks and valleys can form.

The First Derivative Test

This test tells you whether a critical point is a max, min, or neither. Here's how it works:

The Process

What the Signs Tell You

If f' changes from positive to negative at a critical point, you have a local maximum. If it changes from negative to positive, you have a local minimum. If the sign doesn't change, you have neither.

Think of it this way: climbing up (positive slope) then going down (negative slope) means you hit a peak. Going down then up means you hit a valley.

The Second Derivative Test

The second derivative test is a shortcut—sometimes. It works when the math cooperates.

The Rule

At a critical point where f'(c) = 0:

When to Use Which Test

The second derivative test is faster when it works. But it has limitations:

When in doubt, the first derivative test never fails. Learn both.

How to Find Local Extrema: Step-by-Step

Here's the practical process for any problem:

  1. Find f'(x) — Take the derivative of your function
  2. Set f'(x) = 0 — Solve for x to find critical points
  3. Check where f'(x) is undefined — Add these to your list of critical points
  4. Apply the first or second derivative test — Classify each critical point
  5. Find the y-values — Plug x-values back into f(x) to get the actual points

Example

Find local extrema of f(x) = x³ - 3x² - 9x + 4

Step 1: f'(x) = 3x² - 6x - 9

Step 2: Set equal to zero: 3x² - 6x - 9 = 0

Divide by 3: x² - 2x - 3 = 0

Factor: (x - 3)(x + 1) = 0

Critical points: x = 3, x = -1

Step 3: f'(x) is a polynomial, so it's defined everywhere. No additional critical points.

Step 4: Use the first derivative test.

Step 5: Find the points.

Local maximum at (-1, 9). Local minimum at (3, -23).

First Derivative Test vs. Second Derivative Test

Here's how they compare:

Aspect First Derivative Test Second Derivative Test
Reliability Always works Fails when f''(c) = 0
Work required More—check signs on both sides Less—one calculation
Speed Slower Faster (when applicable)
Information provided Direction of function Concavity
Best for Any problem, especially when f'' is messy Simple functions where f'' is easy to compute

Common Mistakes

Endpoints and Boundaries

Critical points only tell you about extrema in the interior of an interval. If you're working with a closed interval, you also need to check the endpoints. The highest and lowest values at the endpoints might be larger or smaller than any local extremum inside.

For closed intervals [a, b], evaluate f(a) and f(b) in addition to any critical points. The absolute maximum and minimum will be among these values.

What Comes Next

Local extrema are just the beginning. Once you can find them, you'll use them to:

The skills here form the foundation for everything else in calculus. If you can't find extrema reliably, you'll struggle with what comes next. Practice until it's automatic.