Equality constraints and Lagrange multipliers
An equality constraint restricts allowable directions. At a regular constrained optimum, the objective gradient is a combination of the constraint gradients.
What you will learn
- Form the Lagrangian and feasibility constraint
- Solve stationarity and feasibility
- Prove global minimality
Work through one complete example
- Minimize x²+y²+z² subject to x+y+z=6.
- Set L=x²+y²+z²−λ(x+y+z−6). The stationary equations are 2x=λ, 2y=λ, 2z=λ, and x+y+z=6.
- Thus x=y=z=2 and the minimum value is 12.
- The feasible plane is (2,2,2)+s(1,−1,0)+t(1,0,−1); the added squared norm is 2s²+2t²+2st≥0, confirming a global minimum.
Objective 1: Form the Lagrangian and feasibility constraint
- Write L for the main example.
- L=x²+y²+z²−λ(x+y+z−6); retain the constraint equation.
Objective 2: Solve stationarity and feasibility
- Solve 2x=2y=2z=λ and x+y+z=6.
- x=y=z=2, λ=4 and objective 12.
Objective 3: Prove global minimality
- Write a feasible point as (2+a,2+b,2+c), a+b+c=0.
- Squared norm is 12+a²+b²+c²≥12, with equality only at zero displacement.
A common mistake
State the assumptions before using the formula.
Review first
Continue learning
Equality constraints and Lagrange multipliers
Interactive diagnosis and practice load in the learning app. You can read these lesson notes without JavaScript.