Constrained Extrema and Lagrange Multipliers

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
throneoo
Messages
125
Reaction score
2
Suppose I have a function f(x,y) I would like to optimize, subject to constraint g(x,y)=0.

Let H=f+λg,

The extrema occurs at (x,y) which satisfy
Hy=0
Hx=0
g(x,y)=0

Suppose the solutions are (a,b) and (c,d).

If f(a,b)=f(c,d) , how do I determine whether they are maxima or minima?
 
Physics news on Phys.org
One way is brute force. Evaluate the function slightly away from the test point.