2nd Partial Derivative Test in two variables

Click For Summary

Discussion Overview

The discussion revolves around the second partial derivative test in two variables, specifically examining the conditions under which the determinant of the Hessian matrix is negative and the implications for the signs of the second derivatives. Participants explore theoretical aspects and examples related to this test.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants question the assertion that if one of the non-mixed second order derivatives is negative, the other must be positive, suggesting that both could be negative while still satisfying the inequality.
  • One participant proposes that diagonalization results might allow for the assumption that the mixed partial derivative can be set to zero, but later reflects that this assumption may not hold true.
  • Another participant provides an example function, f(x,y) = 2xy - (1/2)(x^2 + y^2), demonstrating that both f_{xx} and f_{yy} can be negative while the determinant of the Hessian remains negative, thus challenging the initial claim.
  • It is noted that there exist coordinates (principal coordinates) in which the mixed second derivatives are zero, leading to a clearer interpretation of the Hessian's determinant and the signs of the second derivatives.
  • Some participants acknowledge the connection between the discussion and concepts from linear algebra, particularly regarding changes of basis and diagonalization of the Hessian.

Areas of Agreement / Disagreement

Participants express differing views on the implications of the second derivative test, particularly regarding the signs of the second derivatives when the determinant is negative. The discussion remains unresolved with multiple competing interpretations of the mathematical principles involved.

Contextual Notes

Participants reference diagonalization and coordinate transformations without fully resolving the implications of these concepts on the second derivative test. There is an acknowledgment of the complexity involved in the relationships between the second derivatives and the determinant of the Hessian.

BackEMF
Messages
56
Reaction score
0
Hi.

I came across http://en.wikipedia.org/wiki/Second_partial_derivative_test" page on Wikipedia regarding the 2nd derivative test. It says that if the determinant of the 2x2 Hessian is negative, then

f_{xx} f_{yy} < f_{xy}^2

So far, so good...

But then it draws, seemingly from the above statement only, that if one of the non-mixed 2nd order derivatives is negative, the other must be positive. I don't see why this MUST be the case. Isn't it quite possible that they are both negative, but the resulting inequality is still valid (since the mixed partial is still bigger...).

Thanks...
 
Last edited by a moderator:
Physics news on Phys.org
BackEMF said:
But then it draws, seemingly from the above statement only, that if one of the non-mixed 2nd order derivatives is negative, the other must be positive. I don't see why this MUST be the case. Isn't it quite possible that they are both negative, but the resulting inequality is still valid (since the mixed partial is still bigger...).

At this point it seems that that could be possible, but I believe that it turns out that in the end it isn't. Do you know what diagonalization is? I didn't check this carefully yet, but I believe that by using some diagonalization results, it follows that without loss of generality you might as well assume that f_{xy}=0.
 
BackEMF said:
Hi.

I came across http://en.wikipedia.org/wiki/Second_partial_derivative_test"]this page on Wikipedia regarding the 2nd derivative test. It says that if the determinant of the 2x2 Hessian is negative, then

f_{xx} f_{yy} < f_{xy}^2

So far, so good...

But then it draws, seemingly from the above statement only, that if one of the non-mixed 2nd order derivatives is negative, the other must be positive. I don't see why this MUST be the case. Isn't it quite possible that they are both negative, but the resulting inequality is still valid (since the mixed partial is still bigger...).

Thanks...
Well, its very oddly stated! Yes, Wikipedia does say at first that
"If M < 0 then f_{xx}f_{yy}&lt; f_{xy}^2. If either f_{xx} or f_{yy} are negative, the other must be positive"

But then a few lines later it says
"This leaves the last case of M < 0 so f_{xx}f_{yy}&lt; f_{xy}^2. and fxx and fyy having the same sign." which contradicts the statement that if one is negative the other must be positive! They should NOT say, in the first statement, that the second derivitives MUST have the same sign but only that they are really just considering the case in which they have the different signs and the case in which the signs are the same, separately.

An example is f(x,y)= 2xy- (1/2)(x^2+ y^2) which has second derivatives f_{xx}= f_{yy}= -1 and f_{xy}= 2 so that the determinant of the Hessian is 1- 4= -3 and both f_{xx} and f_{yy} are negative.

What is true is that there always exist coordinates, x', y', not necessarily orthogonal (the "principal coordinates") in which the mixed second derivatives are 0 at the point so the Hessian matrix and the determinant is just the product of the two unmixed second derivatives. Since the determinant is invariant under such a change of coordinates, if it is negative in the x,y coordinates, it must be negative in the x', y' so the two second derivatives must have different signs. That is the "diagonalization" Jostpuur is talking about.

In the example, above, f(x,y)= 2xy- (1/2)(x^2+ y^2), if we let x'= x- y and y'= x+ y (the "principal directions"), then f(x&#039;,y&#039;)= (1/4)y&#039;^2- (3/4)x&#039;^2 which has second derivatives f_{y&#039;y&#039;}= 1/2, f_{x&#039;x&#039;}= -3/2, of different sign, and f_{x&#039;y&#039;}= 0.
 
Last edited by a moderator:
HallsofIvy said:
W
An example is f(x,y)= 2xy- (1/2)(x^2+ y^2) which has second derivatives f_{xx}= f_{yy}= -1 and f_{xy}= 2 so that the determinant of the Hessian is 1- 4= -3 and both f_{xx} and f_{yy} are negative.

hm hm... what I said about loss of generality seemingly is not true then.
 
Well, it depends on the "diagonalization results" you use!
 
Thanks lads. You've cleared that up for me very nicely.

I've been doing some reading on it and I finally see an application for quadratic forms I learned when doing linear algebra. I knew I'd come across a reason for learning it eventually! And I see how you can make a change of basis, diagonalising the Hessian, but leaving the determinant unchanged.

Cheers.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
5
Views
4K