Lagrange multipliers
· Hubbard 3.7
f(x,y) =
examples…
g(x,y) =
= 0
along g = 0
snap
∇f and ∇g
level sets of f
display
surface
contour lines on the surface
axes & lattice
x ∈ [
,
] y ∈ [
,
]
reset camera
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