Lagrange multipliers · Hubbard 3.7

f(x,y) =
g(x,y) = = 0
along g = 0
display
x ∈ [, ]   y ∈ [, ]
slide the point along the constraint g = 0. f is extremal there exactly when its level set is tangent to the constraint, i.e. ∇f ∥ ∇g: ∇f = λ∇g.
drag orbit · right-drag pan · wheel zoom