The Lagrangian is
with partial derivatives (all set equal to 0)
for , and
Substituting each into the second sum gives
Then we get two critical points,
or
At these points we get a value of , i.e. a maximum value of and a minimum value of .
5.8m questions
7.5m answers