From the second equation we have x = 2y, so from the first equation we have
x2 + 2y − 6 = 0 2x − 4y = 0.
4y2 + 2y − 6 = 0,or
2y2 + y − 3 = 0,or
(2y + 3)(y − 1) = 0.Thus y = 1 or y = −(3/2). Hence the equations have two solutions: (2, 1) and (−3, −3/2).
The Hessian of the function is
For x = 2 this matrix is indefinite; f "x(2, 1) > 0 and f "y(2, 1) < 0, so (2, 1) is a saddle point. For x = −3 the matrix is negative definite, so that (−3, −3/2) is a local maximizer.
2x 2 2 −4 .
The point (−3, −3/2) is not a global maximizer, because for y = 0 and x arbitrarily large, the value of the function is arbitrarily large.
These equations have two solutions, (0, 0) and (1, 1).
3y − 3x2 = 0 3x − 3y2 = 0.
The Hessian of the function is
At (1,1) this Hessian is negative definite, while at (0,0) it is indefinite.
−6x 3 3 −6y
Thus (1,1) is a local maximizer. It is not a global maximizer, because f (1, 1) = 1, while f (−1, −1) = 5 (for example).
Now find the values of the function at the endpoints of the interval: f (0) = 0 and f (1) = −1.
Thus the (global) maximizer of the function on the interval [0, 1] is x = 1/9 and the (global) minimizer is x = 1. (There are no other local maximizers or minimizers.)
The values of the function at the endpoints of the interval are f (0) = 0 and f (2) = 6.
Thus the (global) maximizer of the function on the interval [0, 2] is x = 2 and the (global) minimizer is x = 1.
The only other stationary point is x = 1/9. We have f "(x) = 18x − 10, so that f "(1/9) < 0. Thus x = 1/9 is a local maximizer.
There is a single stationary point, x = 4. Thus the function has a single global minimizer, x = 4.
We have f (−5) = 86 and f (5) = 6, so the global maximizer is x = −5.
These conditions have a unique solution, (x1, x2, x3) = (0, 0, 0). The Hessian matrix is
f 1'(x1, x2, x3) = 2x1 − 3x2 = 0 f 2'(x1, x2, x3) = −3x1 + 6x2 + 4x3 = 0 f 3'(x1, x2, x3) = 4x2 + 12x3 = 0
The leading principal minors are 2 > 0, 3 > 0, and (2)(72−16)−(−3)(−36) = 4 > 0, so that (x1, x2, x3) = (0,0,0) is a local minimizer. (The function is convex, so this minimum is in fact a global minimizer.)
2 −3 0 −3 6 4 0 4 12
The leading principal minors are −2 < 0, 4 > 0, and (−2)(4) = −8 < 0, so that (x1, x2, x3) = (0,0,0) is a local maximizer.
−2 0 0 0 −2 0 0 0 −2
These conditions have a unique solution, (x1, x2, x3) = (1/20, 11/20, −2/20). The Hessian matrix is
f 1'(x1, x2, x3) = 2x1 + x3 = 0 f 2'(x1, x2, x3) = 2x2 + x3 − 1 = 0 f 3'(x1, x2, x3) = x1 + x2 + 6x3 = 0
The leading principal minors are 2 > 0, 4 > 0, and (2)(11) + (1)(−2) = 20 > 0, so that (x1, x2, x3) = (1/20, 11/20, −2/20) is a local minimizer.
2 0 1 0 2 1 1 1 6