You need to find the relative extrema.

Then,

We require that,

Thus,

To check what this is we use the second partials test.

And, because of continuity,

Thus,

Thus, the test works.

Now we check the sign of either or . Which are positive. Thus the point is a relative minima.

(Not necessarily a global minima).