Test of Second Partials - Proof

In summary, the conversation discusses the second derivatives test, which provides a way to determine whether a critical point is a local minimum, maximum, or neither. The test involves calculating the determinant of a 2x2 matrix made up of the second partial derivatives of the function at the critical point. Depending on the sign of the determinant, the function can be classified as having positive or negative curvatures, or a saddle point. The test can also be insufficient in certain cases and higher derivatives may need to be considered.
  • #1
circa415
20
0
Can anyone give me a proof or some kind of general explanation about why there is a local max at (a,b) if D>0 and fxx<0, a min if D>0 and fxx>0, etc. My textbook doesn't give any kind of explanation at all and I'm just a little curious as to why it works.
 
Physics news on Phys.org
  • #2
Second Derivatives Test:
Suppose the second partial derivatives of [itex]f[/itex] are continuous on a disk with center [itex](a,b)[/itex], and suppose that [itex]f_x(a,b)=0[/itex] and [itex]f_y(a,b)=0[/itex] [that is, [itex](a,b)[/itex] is a critical point of [itex]f[/itex]]. Let

[tex]D=D(a,b)=f_{xx}(a,b)f_{yy}(a,b)-[f_{xy}(a,b)]^2[/tex]

(a) If D>0 and [itex]f_{xx}(a,b)>0[/itex], then f(a,b) is a local minimum.
(b) If D>0 and [itex]f_{xx}(a,b)<0[/itex], then f(a,b) is a local maximum.
(c) If D<0 and [itex]f_{xx}(a,b)>0[/itex], then f(a,b) is not a local maximum or minimum.

Proof of part (a):

We compute the second-order directional derivative of f in the direction of [itex]\vec u = \langle h, k \rangle[/itex]. The first-order derivative is given by:
[tex]D_uf=f_xh+f_yk \quad \mbox{(from a different theorem)}[/tex]
Applying this theorem a second time, we have:
[tex]
\begin{eqnarray}
D^2_uf & = & D_u(D_uf)=\frac{\partial}{\partial x}(D_uf)h+\frac{\partial}{\partial y}(D_uf)k \nonumber \\
& = & (f_{xx}h+f_{yx}k)h+(f_{xy}h+f_{yy}k)k \nonumber\\
& = & f_{xx}h^2+2f_{xy}hk+f_{yy}k^2 \mbox{(by Clairaut's theorem)}\nonumber
\end{eqnarray}
[/tex]

If we complete the square in this expression, we obtain:
[tex]D_u^2f=f_{xx}\left(h+\frac{f_{xy}}{f_{xx}}k\right)^2+\frac{k^2}{f_{xx}}(f_{xx}f_{yy}-f^2_{xy}) \quad \mbox(<- Equation 1)[/tex]
We are given that [itex]f_{xx}(a,b)>0[/itex] and [itex]D(a,b)>0[/itex]. But [itex]f_{xx}[/itex] and [itex]D=f_{xx}f_{yy}-f^2_{xy}[/itex] are continuous functions, so there is a disk B with center (a,b) and radius [itex]\delta>0[/itex] such that [itex]f_{xx}>0[/itex] and [itex]D>0[/itex] whenever (x,y) is in B. Therefore, by looking at Equation 1, we see that [itex]D_u^2f(x,y)>0[/itex] whenever (x,y) is in B. This means that if C is the curve obtained by intersecting the graph of f with the vertical plane through P(a,b,f(a,b)) in the direction of [itex]\vec u[/itex], then C is concave upward on an interval of length [itex]2\delta[/itex]. This is true in the direction of every vector [itex]\vec u[/itex], so if we restrict (x,y) to lie in B, the graph lies above its horizontal tangent plane at P. Thus [itex]f(x,y)\geq f(a,b)[/itex] whenever (x,y) is in B. This shows that f(a,b) is a local minimum.


Parts (b) and (c) have similar proofs.
 
Last edited:
  • #3
Notice that what Galileo is really doing is expanding f(x,y) in a Taylor's series with two variables. The derivatives at a critical point are 0 so there are no first power terms. For x, y very close to the critical point, we can ignore higher powers so we have only the constant term (the value of f AT the critical point) and the quadratic terms. We can always change the coordinate system to eliminate any "xy" term and have left ax2+ by2 (with a, b, positive, negative, or 0). If both a and b are positive, that's a minimum, if negative, maximum. If either is 0, we need to look at higher powers.

What's REALLY happening is that, with a real valued function of of R2 to R, the second derivative is a linear function from R2 to R2 which can be represented as a 2 by 2 matrix (the entries are: first row fxx, fxy, second row fyx, fyy).

Since that is a symmetric matrix we can always change the coordinate system to make that a diagonal matrix resulting in the "ax2+ b2" above (a, b are the diagonal elements). Of course the determinant of such a matrix is ab so everything depends upon whether that determinant is positive or negative. But the determinant is independent of changing the coordinate system so we can just look at the determinant of the original matrix: D= (fxxfyy-fxy2).
 
  • #4
The second derivative test can seem rather tricky and abstract to begin with, but, as HallsofIvy said, what you really get out of it, is either:
1) Locally, your graph looks like a paraboloid expanding upwards (i.e, you've got positive curvatures and a minimum point)
2) Locally, your graph looks like a paraboloid expanding downwards (i.e, you've got negative curvatures and a maximum point)
3) Locally, your graph looks like a "saddle", neither maximum nor minimum.
4) Second derivatives test is insufficient in elucidating local behaviour (i.e, you must look on higher derivatives, (assuming those exist))
 

1. What is a test of second partials?

A test of second partials is a mathematical tool used in multivariable calculus to determine the nature of a critical point in a function. It involves taking the second derivative of the function and evaluating it at the critical point.

2. How is a test of second partials performed?

To perform a test of second partials, you first find the critical points of the function by setting the first partial derivatives equal to zero. Then, you take the second derivative of the function and evaluate it at each critical point. The sign of the second derivative at each critical point will determine the nature of that point.

3. What does a positive second derivative indicate?

A positive second derivative indicates that the function is concave up at that point, meaning the function is increasing and has a minimum value at that point. This is also known as a local minimum.

4. What does a negative second derivative indicate?

A negative second derivative indicates that the function is concave down at that point, meaning the function is decreasing and has a maximum value at that point. This is also known as a local maximum.

5. What does a zero second derivative indicate?

A zero second derivative indicates that the test is inconclusive and further analysis is needed to determine the nature of the critical point. This could involve using higher order derivatives or considering other factors such as the behavior of the function at the boundaries of the domain.

Similar threads

  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Introductory Physics Homework Help
Replies
25
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
3K
  • Calculus
Replies
29
Views
689
Replies
5
Views
361
  • Introductory Physics Homework Help
Replies
8
Views
882
  • Introductory Physics Homework Help
Replies
15
Views
279
  • General Math
Replies
11
Views
1K
  • Introductory Physics Homework Help
Replies
19
Views
785
  • Introductory Physics Homework Help
Replies
1
Views
554
Back
Top