Critical Points and the Second Derivative Test for a Multivariable Function

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
sheepcountme
Messages
80
Reaction score
1

Homework Statement



Find the critical points and use the second derivative test to decide if your critical points are local maxima, local minima, or saddle points.

f(x,y)=x4+y4+4xy


The Attempt at a Solution



so I took the gradient to get: <4x3+4y, 4y3+4x>

I know I need to set this equal to <0,0>..so,


4x3+4y=0 and 4y3+4x=0

but I'm stuck...I tried solving for y in the first one to get

y=-x3 and then plugging this into the next equation to get -x9+x=0

If I solve for x, I believe I get x=0 or x=1 and then plugging these into the first I get the points (0,0) and (1,-1)

Have I done this correctly?

And when we're talking about the second derivative test, is this the Hessian? And if so, I've gotten 144x2y2-12x2[tex]\lambda[/tex]-12y2[tex]\lambda[/tex]+[tex]\lambda[/tex]2-16=0

which seems awfully messy to be able to determine if the point is a maxima, etc.
 
Physics news on Phys.org
That seems pretty ok, but what's wrong with (-1,1) as a critical point? I don't think you found all of the roots. And what are those lambdas doing the Hessian? Isn't it just the determinant of the matrix of second derivatives?
 
sheepcountme said:

Homework Statement



Find the critical points and use the second derivative test to decide if your critical points are local maxima, local minima, or saddle points.

f(x,y)=x4+y4+4xy


The Attempt at a Solution



so I took the gradient to get: <4x3+4y, 4y3+4x>

I know I need to set this equal to <0,0>..so,


4x3+4y=0 and 4y3+4x=0

but I'm stuck...I tried solving for y in the first one to get

y=-x3 and then plugging this into the next equation to get -x9+x=0

If I solve for x, I believe I get x=0 or x=1 and then plugging these into the first I get the points (0,0) and (1,-1)
[itex]x^9- x= x(x^8- 1)= 0[/itex]
Yes, x= 0 is a root. But [itex]x^8- 1= 0[/itex] has two real roots.

Have I done this correctly?

And when we're talking about the second derivative test, is this the Hessian? And if so, I've gotten 144x2y2-12x2[tex]\lambda[/tex]-12y2[tex]\lambda[/tex]+[tex]\lambda[/tex]2-16=0

which seems awfully messy to be able to determine if the point is a maxima, etc.
Look at
[tex]\left|\begin{array}{cc}f_{xx} & f_{xy} \\ f_{xy} & f_{yy}\end{array}\right|= \left|\begin{array}{cc}12x^3 & 4 \\ 4 & 12 y^3\end{array}\right|[/tex]
Put in the values of x and y before evaluating the determinant and it is not at all complicated!
 
Ah! I missed (-1,1), thank you!

And I got eigenvalues unnecessarily mixed up in all this (where the lamdas came from), thanks!