Calculus

Lagrange Multiplier

Students study two smooth curves touching at a marked point.

Lagrange Multiplier definition

A Lagrange multiplier is a scalar used to relate the gradients of an objective and an equality constraint at a candidate constrained optimum.

In Spanish
multiplicador de Lagrange
Topic
Optimization and constraints

Lagrange Multiplier in a picture

Lagrange Multiplier diagramOn x² + y² = 1, the maximum of f(x, y) = x occurs at (1, 0), where ∇f = (1, 0) and ∇g = (2, 0).Objective: f(x, y) = xIts gradient is (1, 0)Constraint: x² + y² = 1At (1, 0), its gradient is (2, 0)λ = 1/2 at (1, 0)The gradients satisfy ∇f = λ∇g
On x² + y² = 1, the maximum of f(x, y) = x occurs at (1, 0), where ∇f = (1, 0) and ∇g = (2, 0).

How it works

To optimize a differentiable f subject to g = c, solve ∇f = λ∇g and g = c at points where the gradient of g is nonzero. At a regular constrained extremum, the two gradients are parallel or the objective gradient is zero. The equation identifies candidates that must be evaluated.

Worked examples

Find the multiplier for f(x, y) = x on the unit circle at (−1, 0).

Here ∇g = (−2, 0), so λ = −1/2.

Why keep the constraint equation in the system?

The gradient equation alone can produce points outside the allowed set.

What should you do after finding candidate points?

Compare objective values and check separately any points where the constraint gradient vanishes.

Common mistake

Solving the multiplier equations gives candidates. Compare their objective values and verify the assumptions before classifying them.

Quick check

Which equation relates the gradients for one regular equality constraint?

Must candidate points also satisfy the original constraint?

Show answer

Yes.

Does a multiplier equation by itself prove a maximum?

Show answer

No. It identifies candidates under the stated assumptions.

Sources

Flashcard

Lagrange Multiplier

Reveal the definition

A Lagrange multiplier is a scalar used to relate the gradients of an objective and an equality constraint at a candidate constrained optimum.

Effortless Math. “Lagrange Multiplier.” Math Dictionary.