Step 1:
\The function is
.
Apply partial derivative on each side with respect to
.


.
The function is
.
Apply partial derivative on each side with respect to
.


.
Find critical points, solve
and
.

.

.
The critical point
.
.
Completing the squares.
\
The function
has a relative minimum at
if
.
.
The function has relative minimum at
.
Step 2:
\
Apply partial derivative on each side with respect to
. \ \



\ \
\\ \
\\ \
\\
\
\
\
\
\
\
\
\