Calculus III · Multivariable Calculus
Constrained Extrema and Lagrange Multipliers
Explanation
The Problem: Constrained Optimization
We want to find the maximum/minimum of subject to the constraint .
Example: What is the closest point to the origin on the ellipse ?
The Method of Lagrange Multipliers
Theorem: If has a constrained local extremum at (where ), then there exists a scalar such that:
Explicitly for two variables:
is called the Lagrange multiplier.
Geometric Interpretation
At the extremum, the gradients of and are parallel: the level curves of are tangent to the constraint curve .
If is not parallel to , we can move along the constraint curve to improve the value of .
Algorithm
1. Set up the system of equations:
2. Solve the system (usually by eliminating from the first two equations).
3. Find additional candidates (Edge case): Check if there are points on the constraint where .
4. Evaluate at all candidate points. **When the constraint is compact (closed and bounded) and is continuous**, the largest value is the global maximum and the smallest is the global minimum. Without compactness, also verify behavior at infinity and confirm that an extremum exists (e.g., on the constraint yields candidate but no global extremum).
Extension to Three Variables
Maximum/minimum of subject to :
Note
Lagrange's method finds candidates for extrema (including saddle points along the constraint). To classify them, simply compare the evaluated values.
Interactive Visualization
Loading visualization
Worked Examples
Practice
Exercise 1 of 6
1
What is the geometric interpretation of at a constrained extremum?
★Quiz
Test your knowledge from this lesson
A mix of questions from the lesson — each attempt varies slightly
Answer at least 4 out of 5 questions correctly to pass (70%)