Follow your curiosity

What discovery has been shared with you?

FACTREE gives you something interesting to discover every day — and something worth talking about together.

Start with one fact. Explore it, go deeper, then follow whichever branch catches your imagination.

Choose subjects for a surprise

Exploring any topic

Begin your discovery

Your next discovery is one click away.

Choose one or more subjects above, or leave Any Topic selected and let curiosity decide.

Mathematics

Using Lagrange Multipliers to Optimize Across Constraints

Quick fact

The method of Lagrange multipliers was introduced by Joseph-Louis Lagrange in the 18th century and is based on the insight that at an optimal point under a single equality constraint, the gradients of the objective function and the constraint are parallel. This fundamental principle generalizes to multiple constraints and has become a cornerstone of multivariable optimization.

Why this is interesting

Imagine you're a farmer with a fixed length of fence and you want to enclose the largest possible rectangular field. How do you find the best dimensions? This puzzle is a taste of constrained optimization, and Lagrange multipliers is the magic tool that solves it elegantly.