2nd Partial Derivative Test in two variables

Click For Summary
The discussion centers on the second partial derivative test for functions of two variables, specifically the implications of the Hessian determinant being negative. Participants question the assertion that if one of the unmixed second derivatives is negative, the other must be positive, arguing that both could be negative while still satisfying the inequality. An example function is provided, demonstrating that both unmixed second derivatives can indeed be negative while the Hessian determinant remains negative. The conversation highlights the importance of diagonalization in analyzing the Hessian, allowing for a change of coordinates that clarifies the signs of the second derivatives. Ultimately, the discussion reinforces the complexity of the second derivative test and the necessity of careful interpretation of mathematical statements.
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 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
5K
Replies
1
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
5
Views
4K
Replies
1
Views
7K
Replies
4
Views
2K