0.1 The Second Partials Test
Recall that for single variable functions, we used the second derivative to determine whether a critical point is a maximum, minimum, or an infection point. For multivariable, we can do a similar test to determine them.
Theorem 0.1.1: The Second Partials Test
Let \(f\) be a function of two variables whose second-order partials are continuous on an open disk around its critical point \((x_0, y_0)\). Define \(D\) as the following. \[ D = f_{xx} (x_0, y_0) \cdot f_{yy} (x_0, y_0) - f_{xy}^2 (x_0, y_0) \]
- If \(D > 0\) and \(f_{xx} (x_0, y_0) > 0\), then \((x_0, y_0)\) is a local minimum.
- If \(D > 0\) and \(f_{xx} (x_0, y_0) < 0\), then \((x_0, y_0)\) is a local maximum.
- If \(D < 0\), then \((x_0, y_0)\) is a saddle point.
- If \(D = 0\), then further analysis is required.
The proof for this theorem requires more advanced knowledge, so let’s take the theorem as is for now. Let’s take a look at an example.
Exercise 0.1.2
Consider the function \(f(x, y) = x^3 + 2xy^2 + 3\). Determine whether \(f\) has a local minimum, local maximum, or a saddle point at \((0, 0)\).
Solution.
First, let’s see if \((0, 0)\) is a critical point. To do that, we can see \(\nabla f(0, 0) = \langle 0, 0 \rangle \). Therefore, it is a critical point.
Now finding \(D\), we can see that \(f_{xx} = 3\), \(f_{yy} = 4x\) and \(f_{xy} = 4y\). Therefore, \(D = 3 \cdot 0 - 0^2 = 0\) and \((0, 0)\) is a saddle point of \(f\).
Here is another problem that involves boundaries.
Exercise 0.1.3
Consider the function \(f(x, y) = x^2 + 2xy + y\) that is bounded in the triangular point by \((0, 0)\), \((3, 0)\), and \((0, 4)\). Find any extrema or a saddle point of \(f\).
Solution.
First, let’s find any interior critical points. Notice that \(\nabla f = \langle 2x + 2y, 2x + 1 \rangle \). Therefore, a potential critical point is \((-\frac {1}{2}, \frac {1}{2})\). But this point is not in the triangular region! Thus, maximum and minimum should occur in the boundary.
We have three boundaries that can be represented as \(x = 0\), \(y = 0\), and \(y = -\frac {4}{3} x + 4\). Starting with the first one, \(x = 0\) gives the potential maximum value of \(4\) and potential minimum of \(0\). Similarly, substituting \(y = 0\) gives potential max of \(9\) and min of \(0\). Lastly, substituting \(y = -\frac {4}{3} x + 4\) gives us \(f(x, y) = x^2 - \frac {8}{3}x^2 + 8x - \frac {4}{3}x + 4 = -\frac {5}{3}x^2 + \frac {20}{3}x + 4\). Therefore, potential max occurs at \(x = 2\) with the value \(\frac {32}{3}\). Therefore, the absolute minimum is at \((0, 0)\) with value \(0\) and the absolute maximum is at \((2, \frac {4}{3})\) with the value \(\frac {32}{3}\).
This is it for this section! I think this was the shortest section in LibreNotebook but this is pretty much it for second partials test. In the next and final section for multivariable differential calculus, we are going to discuss another method that helps to find extrema of a function.