The Lagrangian is
It has critical points where the first order derivatives vanish:
From the first two equations we get
Then
At these critical points, we have
(maximum)
(minimum)
4.5m questions
5.7m answers