Find the extreme value (s) of z = 2x1^2 - x1x2 + 4x2^2 + x1x3 + x3^2 + 2 and using the Hessian matrix check whether the extreme value (s) is / are maximum or minimum.

조회 수: 11 (최근 30일)
Kindly help with answer to the above question at an early date. Thanks.
  댓글 수: 4
Bjorn Gustavsson
Bjorn Gustavsson 2018년 8월 22일
Is perhaps x1, x2 and x3 three independent variables? If so you have a 3-D calculus problem. Which is nothing more than a generalization of the 1-D calculus...
...in that case it would be long-term useless to provide you with answers or solutions since this surely is an introductory problem for you to learn from?
Torsten
Torsten 2018년 8월 22일
This problem can be solved using MATLAB, but my guess is that it is meant to be solved with pencil and paper.

댓글을 달려면 로그인하십시오.

답변 (1개)

Carlos Guerrero García
Carlos Guerrero García 2022년 11월 7일
편집: Carlos Guerrero García 2022년 11월 7일
The gradient of the function z(x1,x2,x3) is (4*x1-x2+x3,-x1+8*x2,x1+2*x3) and so, the function z has the origin as its unique critical point. Also, the hessian matrix (by rows) is [4 -1 1;-1 8 0;1 0 2] and the characteristical poly is
p(L)=-L^3+14L^2-54L+54
and the alternating sign of its coefficients (-1 14 -54 54) allow us to confirm that the origin is a local minimum.
You can also confirm that the local minimum is a global minimum observing that z function can be written as
z=2+((x1-8*x2)^2+(2*x1+4*x3)^2+(3*sqrt(3)*x1)^2)/16

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by