x + y - Rice Math Department

Section 3.2.
1. f (x, y) = (x + y)2 , where x0 = y0 = 0.
∂f
= 2(x + y),
∂x
∂f
= 2(x + y),
∂y
∂f
(0, 0) = 0,
∂x
∂f
(0, 0) = 0.
∂y
Hessian matrix for f (x, y) at (0, 0) is
∂2f
∂x∂y
∂2f
∂y 2
∂2f
∂x2
∂2f
∂y∂x
!
=
2 2
2 2
,
so the second order Taylor formula is
1
2h21 + 4h1 h2 + 2h22
2
2
= h1 + 2h1 h2 + h22 + R2 ((0, 0), (h1 , h2 )) .
f (h1 , h2 ) = f (0, 0) +
2. f (x, y) = ex+y , where x0 = y0 = 0.
∂f
∂f
∂f
∂f
= ex+y ,
(0, 0) = 1,
= ex+y ,
(0, 0) = 1,
∂x
∂x
∂y
∂y
∂2f
∂2f
∂2f
∂2f
x+y
x+y
x+y
=
e
,
=
e
,
=
e
,
= ex+y .
∂x2
∂x∂y
∂y∂x
∂y 2
Hessian matrix for f (x, y) at (0, 0) is
∂2f
∂x∂y
∂2f
∂y 2
∂2f
∂x2
∂2f
∂y∂x
!
=
1 1
1 1
,
so the second order Taylor formula is
1 2
h1 + 2h1 h2 + h22
2
1
1 2
= 1 + h1 + h2 + h1 + h1 h2 + h22 .
2
2
f (h1 , h2 ) = f (0, 0) + h1 + h2 +
Section 3.3.
5. f (x, y) = e1+x
2 −y 2
(
.
∂f
∂x
∂f
∂y
2
2
= e1+x −y · 2x
=0
2
2
= e1+x −y · (−2y) = 0
1
⇒
x =0
y =0
Therefore, (0, 0) is the only critical point.
∂ 2 f 1+x2 −y 2
2 1+x2 −y 2 = 2e
+ 4x e
= 2e,
∂x2 (0,0)
(0,0)
∂ 2 f 1+x2 −y 2 = −4xye
= 0,
∂x∂y (0,0)
(0,0)
∂ 2 f 1+x2 −y 2
2 1+x2 −y 2 = −2e
+ 4y e
= −2e.
∂y 2 (0,0)
(0,0)
Thus D = 2e · (−2e) = −4e2 < 0, which implies that (0, 0) is a saddle point.
17. Find the local maximum and minimum for
z = (x2 + 3y 2 )e1−x
(
Since e1−x
⇒
∂z
∂x
∂z
∂y
2 −y 2
2
2 −y 2
2
2
.
2
= 2xe1−x −y + (x2 + 3y 2 )e1−x −y · (−2x) = 0
2
2
2
2
= 6ye1−x −y + (x2 + 3y 2 )e1−x −y · (−2y) = 0
is always greater than 0, we have that
2x(1 − x2 − 3y 2 ) = 0
2y(3 − x2 − 3y 2 ) = 0
x =0
,
y =0
x =0
,
y =1
x =0
,
y = −1
x =1
,
y =0
x = −1
.
y =0
There are 5 critical points described as above.
∂2z
2
2
2
2
2
2
2
2
= 2e1−x −y − 8e1−x −y x2 − 2e1−x −y x2 + 3y 2 + 4e1−x −y x2 x2 + 3y 2 ,
2
∂x
∂2z
∂2z
2
2
2
2
=
= −16e1−x −y xy + 4e1−x −y xy x2 + 3y 2 ,
∂x∂y
∂x∂y
2
∂ z
1−x2 −y 2
1−x2 −y 2 2
1−x2 −y 2
2
2
1−x2 −y 2 2
2
2
=
6e
−
24e
y
−
2e
x
+
3y
+
4e
y
x
+
3y
.
∂y 2
I For (x, y) = (0, 0), the Hessian matrix is
2e 0
, 2e > 0, D > 0,
0 6e
so (0, 0) is a local min.
I For (x, y) = (0, 1), the Hessian matrix is
−4
0
, −4 < 0, D > 0,
0 −12
so (0, 1) is a local max.
2
I For (x, y) = (0, −1), the Hessian matrix is
−4
0
, −4 < 0, D > 0,
0 −12
so (0, 0) is a local max.
I For (x, y) = (1, 0), the Hessian matrix is
−4 0
,
0 4
so (1, 0) is a saddle point.
I For (x, y) = (−1, 0), the Hessian matrix is
−4 0
,
0 4
so (−1, 0) is a saddle point.
34. Find the absolute maximum and minimum values for the function f (x, y) = xy
on the rectangle R = {(x, y) : −1 ≤ x ≤ 1, −1 ≤ y ≤ 1}.
(
∂f
x =0
∂x = y = 0
.
⇒
∂f
y =0
=
x
=
0
∂y
Thus (0, 0) is the only critical point.
Consider the function f on the ∂R,
(1) On the line {(x, y) : −1 ≤ x ≤ 1, y = −1},
f (x, y)y=−1 = −x.
Min value on this line is −1 at point (1, −1) and max value is 1 at
(−1, −1).
(2) On the line {(x, y) : −1 ≤ x ≤ 1, y = 1},
f (x, y)y=1 = x.
Min value on this line is −1 at point (−1, 1) and max value is 1 at (1, 1).
(3) On the line {(x, y) : −1 ≤ y ≤ 1, x = −1},
f (x, y)y=1 = −y.
Min value on this line is −1 at point (−1, 1) and max value is 1 at
(−1, −1).
(4) On the line {(x, y) : −1 ≤ y ≤ 1, x = 1},
f (x, y)y=1 = y.
Min value on this line is −1 at point (1, −1) and max value is 1 at (1, 1).
For the critical point (0, 0), f (0, 0) = 0. Therefore, the absolute maximum
value is 1 and the absolute minimum value is −1. 3