A How to Find Critical Points of function f(x,y,z)

  • A
  • Thread starter Thread starter Gh. Soleimani
  • Start date Start date
Gh. Soleimani
Messages
47
Reaction score
1
TL;DR Summary
undefined critical points for first partial derivatives
Hi everybody

If we have not any answers for critical points after first partial derivatives equal to zero, how can we continue to find local MAX, local MIN and Saddle point?. For example: Suppose we have below equations for first partial derivatives:


∂ƒ/∂x = y + 5 , ∂ƒ/∂y = 2z , ∂ƒ/∂z = y
As you can see, for ∇ƒ= 0 , there are not any answers (undefined)
 
Physics news on Phys.org
The three first partials are zero at (x, -5, 0) and (x, 0, 0), with x being arbitrary.
 
Gh. Soleimani said:
∂ƒ/∂x = y + 5 , ∂ƒ/∂y = 2z , ∂ƒ/∂z = y
As you can see, for ∇ƒ= 0 , there are not any answers (undefined)

There is a fundamental problem here: \nabla \times (y + 5, 2z, y) = (-1,0,-1) is not zero, so (y + 5, 2z, y) cannot be the gradient of a function.

Mark44 said:
The three first partials are zero at (x, -5, 0) and (x, 0, 0), with x being arbitrary.

y + 5 and y do not vanish simultaneously.
 
  • Like
Likes FactChecker
pasmith said:
y + 5 and y do not vanish simultaneously.
Yes, I understand that.
 
Sorry. I think that I took a mistake to introduce the function. First of all, let me write true function as follows:


ƒ(x, y, z) = x +yz - xy


∇ƒ = (1-y) i +(z-x) j + y k

where:

∂ƒ/∂x = 1 - y =0

∂ƒ/∂y = z - x =0

∂ƒ/∂z = y =0

As you can see, there are not any answer for critical point because we have: 1- y =0 , also y =0

My question is: Can we make below H - matrix and evaluate eigenvalues?



H matrix.webp
 

Attachments

  • H matrix.webp
    H matrix.webp
    2.2 KB · Views: 17
I agree with your values for the first partials; namely, ##f_x = 1 - y, f_y = z - x; f_z = y##, but I disagree that there are no critical points.

The three first partials are zero at on the sets of points {(x, 0, x)} and {(x, 1, x)}, where x is arbitrary. The first set is a line in the x-z plane and the second set is a line in the plane y = 1.

Setting the first partials to zero results in the following matrix equation, but I'm not sure that doing this is helpful or why you need to find eigenvalues.

##\begin{bmatrix} 0&1&0 \\1&0&-1 \\0 & 1& 0\end{bmatrix} \begin{bmatrix} x\\y \\ z\end{bmatrix} = \begin{bmatrix} 1\\ 0 \\ 0\end{bmatrix}##
 
Last edited:
  • Like
Likes Gh. Soleimani
Mark44 said:
I agree with your values for the first partials; namely, ##f_x = 1 - y, f_y = z - x; f_z = y##, but I disagree that there are no critical points.

The three first partials are zero at on the sets of points {(x, 0, x)} and {(x, 1, x)}, where x is arbitrary. The first set is a line in the x-z plane and the second set is a line in the plane y = 1.

Setting the first partials to zero results in the following matrix equation, but I'm not sure that doing this is helpful or why you need to find eigenvalues.

##\begin{bmatrix} 0&1&0 \\1&0&-1 \\0 & 1& 0\end{bmatrix} \begin{bmatrix} x\\y \\ z\end{bmatrix} = \begin{bmatrix} 1\\ 0 \\ 0\end{bmatrix}##
Thank you so much for your answer.

Finally, I need to obtain local minimum, local maximum and saddle points. As you know, we have to use Hessian matrix which will be made by second derivative. In fact, to examine eigenvalues of H - matrix in critical point says to us where is local minimum and local maximum.

2.webp
 
##|H| = \begin{vmatrix} 0&1&0 \\1&0&-1 \\0 & 1& 0\end{vmatrix}## does not depend on the values of x, y, or z. What do you get for |H|?

According to this wiki article, https://en.wikipedia.org/wiki/Hessian_matrix, if det(H) = 0 at a critical point, the critical point is degenerate. If det(H) is not 0, the critical point is non-degenerate.
 
  • Like
Likes Gh. Soleimani

Similar threads

Replies
8
Views
239
Replies
6
Views
2K
Replies
17
Views
2K
Replies
32
Views
4K
Replies
1
Views
2K
Replies
1
Views
2K
Back
Top