Homeglossary

Local Minimum

A local minimum is a point on a graph or a value of a function that is less than or equal to all sufficiently nearby values. It is a relative low point, so it need not be the lowest value across the entire function. In optimization, a local minimum can be a useful solution but may differ from the best possible, or global, solution.

What Is a Local Minimum?

A local minimum is a point on a graph where a function’s value is less than or equal to values at nearby points. It is also called a relative minimum because it is low compared with its immediate surroundings, not necessarily the entire graph.

For f(x), the input location is often x = c and the output is f(c). The graph point is (c, f(c)): c shows where the low point occurs, while f(c) is its value. A minimum looks like a valley and may be flat or have a sharp corner.

A function may have several local minima, and one may also be the overall lowest point. This distinction matters in calculus and optimization and appears in a broader glossary of technical concepts.

The Neighborhood Rule and Formal Definition

Local means only a small area around a point matters. This area is called a neighborhood. Ground can rise nearby even when a deeper valley exists farther away.

Formally, c is a local minimum of f if an interval around c exists such that f(c) ≤ f(x) for every allowed x in that interval. The symbol ≤ means “less than or equal to.” Equal values matter because a minimum can be flat over an interval.

The definition depends on the function’s domain, or allowed inputs. A point that looks low may not qualify if nearby inputs are outside the domain.

Local Minimum vs. Global Minimum vs. Local Maximum

These terms describe high and low behavior. Local minima and maxima are collectively called local extrema.

ConceptArea comparedGraph shapeHow many can occur?Useful test
Local minimumOnly a nearby neighborhoodA valley or flat low areaOne, many, or noneValues nearby are no smaller
Global or absolute minimumThe entire allowed domainThe lowest value anywhereOne value or several locations sharing itCompare all candidates and relevant boundaries
Local maximumOnly a nearby neighborhoodA hill or flat high areaOne, many, or noneValues nearby are no larger

A local minimum can be higher than a point elsewhere. A global minimum is the smallest value over the full domain. Graphs that rise and fall repeatedly can have many local minima and maxima.

How to Find a Local Minimum with Calculus

For a differentiable function, calculus finds likely low points and then tests them.

  1. Define the function and its domain, including restrictions.
  2. Calculate the first derivative, f'(x), which shows whether the function rises or falls.
  3. Find critical points where f'(x) = 0 or where f'(x) does not exist but the original function does.
  4. Test each candidate using nearby values, derivative signs, or the second derivative when appropriate.
  5. Check endpoints when seeking an absolute minimum on a closed interval such as [a, b].
  6. State the location, x = c, and value, f(c), and identify whether it is local or global.

Endpoints need care. They can be absolute minima on a closed interval, but standard local-minimum definitions often require an open neighborhood. The domain and question determine the conclusion.

First and Second Derivative Tests

Derivative tests classify critical points without checking every input, but both have limits.

TestWhat to inspectLocal-minimum signalImportant limitation
First derivative testThe sign of f'(x) just left and right of cf'(x) changes from negative to positive, meaning the function falls then risesRequires examining behavior on both sides of the point
Second derivative testThe value of f''(c), after f'(c) = 0f''(c) > 0, meaning the graph is concave up nearbyIf f''(c) = 0, the test gives no conclusion

The first derivative test works well for unusual shapes because it checks decreasing then increasing behavior. The second derivative test is faster when it applies, but does not replace domain or constraint checks.

Examples, Flat Valleys, and Edge Cases

For f(x) = x², x = 0 is both a local and global minimum because f(0) = 0 and all other values are larger. For f(x) = x⁴, x = 0 is also a minimum, but the graph is flatter near zero.

A zero derivative alone does not prove a minimum. For f(x) = x³, f'(0) = 0, but the function increases through zero. A local minimum can also occur where the derivative does not exist: f(x) = |x| has a sharp corner at x = 0 and reaches its local and global minimum there.

If f(x) = 2 throughout an interval, every interior point satisfies the non-strict local-minimum definition because nearby values are equal. On an open domain, an excluded boundary cannot be a minimum.

Why Local Minima Matter in Optimization

Optimization chooses inputs that make an objective function as small as possible. The objective may represent cost, prediction error, energy use, travel time, waste, or financial risk. A local minimum cannot be improved by a small nearby change.

With many variables, an optimization landscape can have ridges, bowls, plateaus, and valleys. An algorithm may settle in a nearby valley rather than the deepest one. This matters in software work, including app design and development, where speed, cost, usability, and reliability involve constrained optimization trade-offs.

Common Uses of Local Minima

Local-minimum analysis supports decisions whenever improvement means lowering a quantity.

  • Engineering design reduces weight, fuel use, vibration, or manufacturing cost while meeting safety requirements.
  • Machine learning uses loss functions to measure prediction error during training.
  • Operations research reduces staffing cost, inventory, delivery time, or resource waste.
  • Physics studies low-energy states in stable or metastable systems.
  • Economics models cost-efficient production and risk-aware decisions.
  • Route and scheduling problems seek shorter paths or lower-delay timetables under constraints.

Whether a local solution is acceptable depends on the objective, constraints, and cost of searching for a better result.

Benefits of Identifying Local Minima

Finding local minima provides a structured way to improve a system when a complete global search is unrealistic.

  • It narrows many possible choices to promising candidates.
  • It can identify stable operating points where small disturbances do not improve the objective.
  • It supports iterative improvement by showing where progress stops locally.
  • It helps diagnose shifts from decreasing to increasing cost or error.
  • It makes multi-variable problems more manageable through testable stages.

Practical Limits and Common Pitfalls

A local result is useful only in the right mathematical and practical context.

  • Do not confuse a local minimum with a global minimum without comparing the wider domain.
  • Do not ignore domain restrictions, constraints, or endpoints when seeking an absolute minimum.
  • Do not assume every critical point is a minimum. It may be a maximum, a flat non-minimum point, or neither.
  • Do not treat f''(c) = 0 as evidence of a minimum. The second derivative test is inconclusive.
  • Do not overlook flat regions where many points share a local minimum value.
  • Do not treat a numerical answer as proof without considering rounding, feasibility, and nearby alternatives.

A Practical Checklist for Verifying a Minimum

Use this checklist to report a conclusion precisely.

  • Define the objective function, allowed inputs, and constraints.
  • Identify candidates from derivatives, corners, boundaries, or numerical search results.
  • Inspect nearby values or derivative behavior to see whether the function falls then rises.
  • Use the second derivative test only when its assumptions apply and the result is conclusive.
  • Test relevant endpoints when the domain includes them and the goal is an absolute minimum.
  • Report both the location, such as x = c, and output value, f(c).
  • State whether the result is local, global, or both.
Start Building
on Emergent today
Start Building