Optimizing Quadratic Functions with the Second Derivative Test

Click For Summary

Homework Help Overview

The discussion revolves around the conditions under which the second derivative test can confirm local maxima or minima for the function g(x,y,z)=ax^2+2axz+by^2-2byz+z^2 at the point (0,0,0). The original poster expresses difficulty in computing the Hessian matrix and its eigenvalues, leading to a search for clarification on the appropriate method.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the use of the Hessian matrix and eigenvalues to determine the nature of critical points. There is a suggestion to consider the positive-definiteness of the Hessian and the implications of eigenvalues being greater than zero. Some participants question the original poster's approach and the necessity of using Lagrange multipliers in this context.

Discussion Status

The discussion is active with participants providing insights into the use of the Hessian matrix and its properties. There is a focus on clarifying the conditions for local maxima and minima, with some guidance offered regarding the Cholesky decomposition as a method for testing positive-definiteness.

Contextual Notes

Participants note the complexity of the computations involved and the original poster's reliance on software tools like Mathematica. There is an emphasis on the need to understand the theoretical underpinnings of the second derivative test rather than solely relying on computational results.

Zyuke
Messages
2
Reaction score
0
Under what conditions on the constants a and b does the second derivative test guarantee that the function

g(x,y,z)=ax^2+2axz+by^2-2byz+z^2

has a local maximum at (0,0,0)? a local minimum at (0,0,0)?

well, i used the Hessian matrix to compute the eigenvalues to set them above zero. but the computation is so complicated that i used Mathematica to solve them and it turned out to be some messy stuff. i was convinced that this is not the way to do it. but then how?
 
Physics news on Phys.org
[STRIKE]Just looking at the problem makes me want to try Lagrange multipliers.[/STRIKE]
 
Last edited:
Jufro said:
[STRIKE]Just looking at the problem makes me want to try Lagrange multipliers.[/STRIKE]

Won't work here.

They ask about the second derivative test, so you'll need to calculate the Hessian. It's what they ask for.
 
Zyuke said:
Under what conditions on the constants a and b does the second derivative test guarantee that the function

g(x,y,z)=ax^2+2axz+by^2-2byz+z^2

has a local maximum at (0,0,0)? a local minimum at (0,0,0)?

well, i used the Hessian matrix to compute the eigenvalues to set them above zero. but the computation is so complicated that i used Mathematica to solve them and it turned out to be some messy stuff. i was convinced that this is not the way to do it. but then how?

Why would you try to set the eigenvalues to zero? The Hessian is positive-definite if all the eigenvalues are > 0 (so the origin is a global minimum---not just local!)

The Hessian cannot be negative-definite, so the origin cannot be a local maximum. (Note: a matrix A is negative-definite if and only if its negative B = -A is positive-definite, and since B(3,3) = -2 < 0, B cannot be positive-definite---no fancy tests needed here!)

To test for positive-definiteness of the Hessian H, just perform Cholesky decomposition; see, eg., http://en.wikipedia.org/wiki/Cholesky_decomposition . The Cholesky algorithm is easy to carry out in this case.
 
thanks a lot.
 

Similar threads

Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
29K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K