How would you normally go about minimising/maximising a two-variable function?
The temperature in the steam room of the Star Ship Enterprise is given by the following function:
Captain Kirk likes the hottest temperature while Mr Spock prefers the coolest area of the steam room.
Where should each of them sit? Why?
First, you need to find all the first and second partial derivatives.
Set the first partial derivatives equal to and solve for . Then substitute this value into the second partial derivatives (in the Hessian Matrix). If your Hessian is postive definite, you have a minimum. If it's negative definite, you have a maximum.
And like Danny said, you also need to check the boundaries.