Find the min of z

Calculus Level 3

Find the minimal value of z z , z = x 2 + 2 x y + 3 y 2 + 2 x + 6 y + 4 z = x^2 + 2xy + 3y^2 + 2x + 6y + 4


The answer is 1.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

The given expression can be factored as z = ( x + y + 1 ) 2 + 2 ( y + 1 ) 2 + 1 z = (x + y + 1)^{2} + 2(y + 1)^{2} + 1 , which has a minimum of 1 \boxed{1} when both x + y + 1 = 0 x + y + 1 = 0 and y + 1 = 0 y + 1 = 0 , i.e., when y = 1 , x = 0 y = -1, x = 0 .

Tom Engelsman
Apr 10, 2020

If z = f ( x , y ) z = f(x,y) , then we can calculate g r a d ( f ) = 0 grad(f) = 0 . This yields the partial derivatives:

f x = 2 x + 2 y + 2 = 0 ; f_{x} = 2x + 2y + 2 = 0;

f y = 2 x + 6 y + 6 = 0 f_{y} = 2x + 6y + 6 = 0

or ( x , y ) = ( 0 , 1 ) (x,y) = (0,-1) as the critical point. The Hessian matrix F ( x , y ) F(x,y) at this critical point computes to:

F ( 0 , 1 ) = [ f x x f x y f y x f y y ] = [ 2 2 2 6 ] F(0,-1) = \begin{bmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{bmatrix} = \begin{bmatrix} 2 & 2 \\ 2 & 6 \end{bmatrix}

which is a positive-definite matrix for ALL points ( x , y ) (x,y) and yields a global minimum for ( 0 , 1 ) (0,-1) . Thus the minimum value is just z = f ( 0 , 1 ) = 1 . z = f(0,-1) = \boxed{1}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...