Lagrange Multipliers
Move along the constraint circle and watch the geometry: constrained extrema occur exactly where the objective gradient and constraint gradient are parallel.
grad f = lambda grad g, g(x,y)=0
Constraint Circle And Gradients
grad f
grad g
tangent
f contours
g contours
Lagrange point
Surface And One-Variable Reduction
F(t)=f(4 cos t, 4 sin t)
drag rotate · wheel zoom