Why finding the peak of a function is more complex than it appears

Why finding the peak of a function is more complex than it appears
Image: Intellect (generated)

In short: In mathematics, finding the greatest or least value of a function is known as optimization. While simple for one-dimensional problems, the task becomes significantly more nuanced when dealing with multiple variables, where local peaks can deceive you and saddle points hide the true global maximum or minimum.

At its core, the maximum and minimum of a function—collectively called extrema—represent the greatest and least values a function achieves. These can be global, covering the entire domain, or local, defined within a specific neighborhood. Pierre de Fermat was among the first to formalize techniques for identifying these points, which remain central to mathematical optimization today.

For differentiable functions, Fermat's theorem dictates that local extrema in the interior of a domain occur at critical points where the derivative is zero. However, not every critical point is an extremum; they can also be saddle points. In one dimension, a single critical point that is a local minimum often guarantees a global minimum. Yet, this logic fails in higher dimensions, where a function may possess a local minimum that is far from being the global one.

The complexity increases when moving beyond standard functions to sets or functionals. In partially ordered sets, for instance, one must distinguish between a least element and a minimal element. While a totally ordered set can have at most one of each, infinite sets like the natural numbers may lack a maximum entirely. When the domain itself consists of functions, mathematicians turn to the calculus of variations to identify extrema.

Ultimately, finding global optima requires a systematic approach: checking all interior local extrema and evaluating the boundaries of the domain. Whether through the first derivative test or more advanced methods for multi-variable functions, the goal is to isolate the true peak or valley from the surrounding landscape of potential candidates.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/science-maximum-and-minimum.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…