Theorem8.12.Theorem II (The Second Derivative Test).
Suppose that \(f(x,y)\) and its first and second partial derivatives are continuous throughout a disk centered at \((a,b)\) and that \(f_x(a,b) = f_y(a,b) = 0\text{.}\) Then
The test is inconclusive at \((a,b)\) if \(f_{xx}f_{yy} - f_{xy}^2 = 0\) at \((a,b)\text{.}\) In this case, we must find some other way to determine the behavior of \(f\) at \((a,b)\text{.}\)
Note that the expression \(f_{xx}f_{yy} - f_{xy}^2\) is called the discriminant or the Hessian of the function \(f(x,y)\) and can be easily remembered when written in the following form:
Therefore, the two partials are zero at the points \((-1,-1)\text{,}\)\((1,1)\text{,}\) and \((0,0)\text{,}\) as shown in FigureΒ 8.15. Next we compute the Hessian and apply the second derivative test. We have \(f_{xx} = 12x^2\text{,}\)\(f_{yy} = 12y^2\text{,}\) and \(f_{xy} = f_{yx} = -4\text{,}\) so that
Figure8.15.The critical points of \(f(x,y) = x^4 + y^4 - 4xy\) are the intersections of the curves \(y = x^3\) and \(x = y^3\text{:}\) a saddle point at \((0,0)\) and local minima at \((1,1)\) and \((-1,-1)\text{.}\)
Then we use the fact that the points \((x,y,z)\) are on the plane, \(z = 4 - x - 2y\text{,}\) to express the distance as a function of \(x\) and \(y\) only:
\begin{equation}
d = \sqrt{(x-1)^2 + y^2 + (6 - x - 2y)^2}.\tag{8.10}
\end{equation}
We subtract the first equation from the second one:
\begin{equation}
6y = 10 \Rightarrow y = \frac{5}{3} \Rightarrow x = \frac{11}{6}
\Rightarrow \text{The only critical point is } \left(\frac{11}{6}, \frac{5}{3}\right).\tag{8.12}
\end{equation}
Since \(H \gt 0\) and \(f_{xx} = 4 \gt 0\text{,}\) the point \(\left(\frac{11}{6}, \frac{5}{3}\right)\) is a local minimum. However, we know that there is a point on the plane that has the shortest distance to \((1,0,-2)\text{,}\) which means \(\left(\frac{11}{6}, \frac{5}{3}\right)\) is in fact where the absolute minimum of the distance occurs. To find the shortest distance we plug the point \(\left(\frac{11}{6}, \frac{5}{3}\right)\) into the distance formula, which gives