Obtain the extremum of f(x,y,z)

  • Thread starter s3a
  • Start date
  • Tags
    Extremum
In summary, the conversation discussed finding the extremum and determining the nature of the function f(x,y,z) = 2x^2 + y^2 + 2z^2 + 2xy + 2xz + 2y + x - 3z - 5 using partial differentiation and systems of equations. The solution included finding the partial derivatives and forming the Hessian matrix to determine the nature of the extremum. The conversation also mentioned a simpler method for determining the nature of the point.
  • #1
s3a
818
8

Homework Statement


Obtain the extremum of f(x,y,z) = 2x^2 + y^2 + 2z^2 + 2xy + 2xz + 2y + x - 3z - 5 and determine its nature.


Homework Equations


Partial differentiation and systems of equations.


The Attempt at a Solution


My attempt is attached. In addition to confirming if what I did so far is correct, I would appreciate it if someone could also tell me how to "find the nature" of the point. I believe that means to state if it's a minimum, maximum or saddle point. For a function of two variables, I would know what to do but for a function of three variables, I do not. I remember hearing that we are not responsible for figuring out the nature of points higher than two variables using the method I would use which is the [f_(xy)]^2 - f_(xx) * f_(yy) test but that we should be able to do such a problem using a different easier method. I'm in a Calculus 3 course.

Any help would be greatly appreciated!
Thanks in advance!
 

Attachments

  • MyWork.jpg
    MyWork.jpg
    60.1 KB · Views: 518
Physics news on Phys.org
  • #2
You have [itex]f(x,y,z)= 2x^2+ y^2+ 2z^2+ 2xy+ 2xz+ 2yz+ x- 3z- 5[/itex]
and assert that [itex]f_x= 4x+ 2y+ 2z+ 2y+ 1[/itex]
Where did that second "2y" come from?

The other two derivatives are correct.

As for determining what kind of extremum, there are two things you can do. The most basic is to look at values around the (x,y,z) point you get. Since there is only the one extremum, if other values of (x,y,z) give smaller values for f, you have a maximum, if higher, a minimum. Of course, there is the possibility of a saddle point but since the problem asks for an "extremum" that shouldn't happen.

More sophisticated is to form the matrix of second derivatives:
[tex]\begin{bmatrix}f_{xx} & f_{xy} & f_{xz} \\ f_{yx} & f_{yy} & f_{yz} \\ f_{zx} & f_{zy} & f_{zz}\end{bmatrix}[/tex]
evaluated at the critical point.

Because of the equality of the "mixed" derivatives, [itex]f_{xy}= f_{yx}[/itex], etc., that is a symmetric matrix and so has all real eigenvalues. If all eigenvalues are positive the extremum is a minimum, if all eigenvalues are negative, it is a maximum, and if there are both positive and negative eigenvalues, there is no "exteremum" but a saddle point.
 
  • #3
Thank you for the informative reply.

By visual inspection, I don't think I did anything wrong but I get f_(xy) != f_(yx).

Before I proceed, could you please just check if I did something wrong and explain why I get f_(xy) != f_(yx) whether my work is correct or not?
 

Attachments

  • MyWork.jpg
    MyWork.jpg
    23.8 KB · Views: 575
  • #4
I just realized that I did f_(xx) != f_(yy).

Sorry.
 
  • #5
Let's call that matrix you gave me H for Hessian.

Is my latest attachment 100% correct?
 

Attachments

  • MyWork.jpg
    MyWork.jpg
    74 KB · Views: 494

What does it mean to obtain the extremum of a function?

Obtaining the extremum of a function means finding the maximum or minimum value of that function.

Why is it important to obtain the extremum of a function?

Obtaining the extremum of a function can provide important information about the behavior and properties of that function, and can be used to solve optimization problems.

What are the different types of extrema?

The two types of extrema are the maximum (or maximum value) and the minimum (or minimum value) of a function.

How can I find the extremum of a function?

To find the extremum of a function, you can use various mathematical techniques, such as taking derivatives, setting the derivative equal to zero, and solving for the critical points.

What is the difference between a local and global extremum?

A local extremum is the maximum or minimum value of a function within a specific interval, while a global extremum is the maximum or minimum value of a function over its entire domain.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
454
  • Calculus and Beyond Homework Help
Replies
9
Views
581
  • Calculus and Beyond Homework Help
Replies
5
Views
531
  • Calculus and Beyond Homework Help
Replies
19
Views
905
  • Calculus and Beyond Homework Help
Replies
13
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
495
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
745
  • Calculus and Beyond Homework Help
Replies
7
Views
674
Back
Top