on the set
Can someone tell me if this is right?
Setting the partials equal to zero, we can find that
and we can see that x is either 0, 2, or -2. So the inflection points are (0,1), (2,0), (-2,0). So is the greatest value we can get.
Checking the boundary conditions, we see that things only get worse if we make x or y larger.
Forming the Hessian at this point,
This is a symmetric matrix, so the diagonal values are the eigenvalues. Both eigenvalues being negative means that the matrix is negative definite and (0,1) is a max of this function. Put another way, the leading principle minors alternate in sign so the matrix must be negative definite.
Can someone confirm that my calculations are right and make a note if I could have done something more efficiently? Thanks.