Blog · Calculus guides · 10 November 2026 · 4 min read
By the Asymptote team. Every answer on this page is checked by the same machine that grades the game.
Local Maximum and Minimum: 3 Examples & Practice Problems

A local maximum is a point higher than everything near it, and a local minimum is lower than everything near it. To find them, solve to get the critical points, then classify each one. With the first derivative test, changing from to means a maximum and from to a minimum. With the second derivative test, means a maximum and a minimum.
Before you scroll
Try one now
Type the answer. Any correct form counts, and it is checked instantly. Stuck? The answer is underneath.
Problem 1
EasyFind the local maximum value of
Stuck? Show the answer
Answer
How to start
. Use to see which critical point is the maximum, then evaluate there.
The formula
A frown at the top, a smile at the bottom. If the test just shrugs, and you go back to the first derivative test.
When to use it
Use these tests whenever you are asked for turning points, relative extrema, peaks and troughs, or "where does change from increasing to decreasing". They are also the engine inside every optimization problem: find the critical points, then decide which one wins. Local means local. A local maximum need not be the highest point of the whole graph, only of its own neighbourhood, the way the top of a small hill is a local maximum even with a mountain behind it. For the highest or lowest value on an interval, you also compare the endpoints.
How to do it, step by step
- Differentiate and solve . Factor fully; each factor gives critical points. Also note anywhere is undefined.
- Try the second derivative test. Evaluate at each critical point. Negative means a local max, positive a local min. Zero means no verdict, so go to step 3.
- Or use the first derivative test. Check the sign of just left and just right of the point. to is a max, to is a min, and no change is neither.
- Give the points. Report each one as if the question asks for points rather than values.
Worked examples
Example 1: A cubic with one of each
EasyFind and classify the local extrema of
Critical points at and . The second derivative is .
, so is a local maximum, with . , so is a local minimum, with .
Answer
Example 2: Three critical points
MediumFind and classify the local extrema of
Three critical points: , and . The second derivative is .
, so there is a local max at . , so there are local minima at and .
Two valleys with a hill between them: the W shape that any quartic with a positive term and three critical points has.
Answer
Example 3: When the second derivative test fails
HarderFind and classify the critical points of
Critical points at and . The second derivative is .
, so is a local minimum, with .
, and the second derivative test has nothing to say. Switch to the first derivative test. is never negative, so the sign of is the sign of , which is negative just left of 0 and negative just right of it too.
The function is decreasing straight through , so it is neither a max nor a min. The graph pauses for breath, flat for an instant, and carries on downhill.
Answer
Local maxima and minima practice problems
The easy one was at the top. Here are the harder ones. Type an answer and it is checked instantly by the same checker that grades the game; any correct form counts. Stuck? The answer and the first step are under each one.
Problem 2
MediumFind the local minimum value of
Stuck? Show the answer
Answer
How to start
. Then is negative at one critical point and positive at the other.
Problem 3
HarderFind the local maximum value of
Stuck? Show the answer
Answer
How to start
By the product rule, . goes from to at one of its zeros: that is the maximum.
Want more? Asymptote has 800 related problems, free, with no account.
Common mistakes
- Treating every critical point as an extremum. means flat, not top or bottom. at 0 is flat and is neither.
- Reading as "neither". It only means the second derivative test has no opinion. has and a perfectly good minimum at 0. Use the first derivative test instead.
- Mixing up the signs. is a maximum. It feels backwards until you picture it: concave down is a hill, and the top of a hill is a maximum. Concavity has the picture.
- Confusing local and absolute. On a closed interval the absolute maximum can sit at an endpoint, where need not be zero at all. Check the ends separately.
Practice it now
Five minutes, no account
The game does not ask you to classify maxima and minima. Sprint's opening problems do drill the two moves you need: evaluating at a point, which is the first derivative test in miniature, and second derivatives of polynomials.
FAQ
- What is the difference between a local and an absolute maximum?
- A local maximum is the highest point near it. The absolute maximum is the highest point of the whole function on the interval. An absolute maximum inside the interval is also a local one, but not the other way round.
- Which test should I use, first or second derivative?
- The second derivative test is quicker when is easy to work out. The first derivative test always works, including when or does not exist.
- Is a critical point always a maximum or minimum?
- No, it is only a candidate. A flat point that is neither, like at 0, is called a stationary point of inflection.
- What are relative extrema?
- Another name for local maxima and minima. Extrema is the plural of extremum, which covers both.
- Where can I find local maxima and minima practice problems?
- Right on this page: the practice problems section has three local maxima and minima problems, easy, medium and harder, with the answer and the first step under each one, and a box that checks what you type with the same checker that grades Asymptote. The game has 800 related problems after that, free and with no account: try a five-minute Sprint.
Keep going
Concavity and Inflection Points: Examples & Practice Problems
Concave up where f'' > 0, down where f'' < 0; an inflection point is where f'' changes sign. The x⁴ trap, worked examples and practice problems with answers.
Optimization Problems: 3 Examples & Practice Problems
Optimization problems: write one function of one variable, set f'(x) = 0, check the endpoints. The box, the fence and more: 3 examples and practice problems.
Power Rule: d/dx xⁿ = nxⁿ⁻¹, 3 Examples & Practice Problems
The power rule: d/dx xⁿ = nxⁿ⁻¹. Roots, fractions and negative powers, 3 step-by-step examples and practice problems with answers, checked instantly.