Cal_midterm1_092_Taichung_sol
Cal_midterm1_092_Taichung_sol
F 1. If lim f (a + t cos θ, b + t sin θ) exists for all θ P R, then lim f (x, y) exists.
tÑ0 (x,y)Ñ(a,b)
F 7. If the directional derivative of f at (a, b) exists in all directions, then f is continuous at (a, b).
F 9. If fx and fy are continuous on R, then the level curve f (x, y) = f (a, b) has a tangent line at
(a, b).
2. (5%) Define the directional derivative of f at (a, b) in direction u, where u = (cos θ, sin θ) is a
unit vector.
Therefore,
f (x, y) ´ f (´1, 1) + 6(x + 1) + 4(y ´ 1)
lim a =0
(x,y)Ñ(´1,1) (x + 1)2 + (y ´ 1)2
which implies that
ˇ ˇ
ˇf (x, y) ´ f (´1, 1) + 6(x + 1) + 4(y ´ 1)ˇ
lim a = 0.
(x,y)Ñ(´1,1) (x + 1)2 + (y ´ 1)2
Therefore,
ˇ ˇ
ˇf (x, y) ´ f (´1, 1) + 6(x + 1) + 4(y ´ 1)ˇ ˇˇ
0= lim a ˇ
(x,y)Ñ(´1,1)
y=1
(x + 1)2 + (y ´ 1)2
ˇ f (x, 1) ´ f (´1, 1) + 6(x + 1) ˇ ˇ f (x, 1) ´ f (´1, 1) ˇ
= lim ˇ ˇ = lim ˇ + 6ˇ ;
ˇ ˇ ˇ ˇ
xÑ´1 x+1 xÑ´1 x ´ (´1)
thus
f (x, 1) ´ f (´1, 1)
fx (´1, 1) = lim = ´6 .
xÑ´1 x ´ (´1)
Similarly, fy (´1, 1) = ´4.
Find the directional derivative of f at (0, 0) in the direction along which the value of the function f
at (0, 0) decreases most rapidly.
Solution. Let u be the direction along which the value of the function f at (0, 0) decreases most
rapidly. Then
␣ ˇ (
(Du f )(0, 0) = min (Dv f )(0, 0) ˇ }v} = 1 .
If cos θ = 0, then (Dv f )(0, 0) = 0. If cos θ ‰ 0, then (Dv f )(0, 0) = cos θ + sin θ. Therefore,
if cos θ = 0 ,
"
0
(Dv f )(0, 0) =
cos θ + sin θ if cos θ ‰ 0 .
␣ ˇ ( ? ( 3π ) ?
Since min cos θ + sin θ ˇ θ P [0, 2π) = ´ 2 attained at θ = ; thus (Du f )(0, 0) = ´ 2. ˝
4
y+1
Problem 5. (15%) Find the second Taylor polynomial of the function f (x, y) = arctan at
x+1
(0, 0).
π
Solution. First, f (0, 0) = arctan 1 = . By the chain rule, for x ‰ ´1,
4
B y+1 y+1
B x x+1
´ (x+1)2 y+1
fx (x, y) = y+1 2 = y+1 2 =´ ,
1 + ( x+1 ) 1 + ( x+1 ) (x + 1)2 + (y + 1)2
B y+1 1
B y x+1 x+1 x+1
fy (x, y) = y+1 2 = y+1 2 = ,
1 + ( x+1 ) 1 + ( x+1 ) (x + 1)2 + (y + 1)2
and
2(x + 1)(y + 1) ´2(x + 1)(y + 1)
fxx (x, y) = [ ]2 ,
fyy (x, y) = [ ]2
(x + 1)2 + (y + 1)2 (x + 1)2 + (y + 1)2
(x + 1)2 + (y + 1)2 ´ 2(y + 1)2 (y + 1)2 ´ (x + 1)2
fxy (x, y) = ´ [ ]2 =[ ]2 .
(x + 1)2 + (y + 1)2 (x + 1)2 + (y + 1)2
Therefore, critical points of f are (0, 0), (1, 0) and (´1, 0).
1. Since fxx (0, 0) = fyy (0, 0) = 2, fxy (0, 0) = 0, we find that fxx (0, 0)fyy (0, 0) ´ fxy (0, 0)2 = 4 ą 0;
thus the fact that fxx (0, 0) ą 0 implies that f (0, 0) is a relative minimum of f .
2. Since fxx (1, 0) = ´4e´1 , fyy (1, 0) = 4e´1 and fxy (1, 0) = 0, we find that fxx (0, 0)fyy (0, 0) ´
fxy (0, 0)2 = ´16e´2 ă 0; thus (1, 0) is a saddle point of f .
3. Since fxx (´1, 0) = ´4e´1 , fyy (´1, 0) = 4e´1 and fxy (´1, 0) = 0, we find that fxx (0, 0)fyy (0, 0)´
fxy (0, 0)2 = ´16e´2 ă 0; thus (´1, 0) is a saddle point of f . ˝
Problem 7. (20%) Let R be the solid in the space given by
␣ ˇ a (
(x, y, z) ˇ 1 ď z ď 4 ´ x2 ´ y 2 .
If (∇f )(x, y, z) = 0, then xy = yz = zx = 0 which implies that at least two of x, y, z are zero. In
this case, f (x, y, z) = 0.
Now we consider the extreme value of f on the boundary of R. Suppose that the extreme value
of f occurs at (x0 , y0 , z0 ). Note that the boundary of R consists of three pieces: g = 0, h = 0 and
g = h = 0.
1. g(x0 , y0 , z0 ) = 0: Since (∇g)(x0 , y0 , z0 ) ‰ 0, Lagrange Multiplier Theorem implies that there
exists λ P R such that
(y0 z0 , x0 z0 , x0 y0 ) = λ(2x0 , 2y0 , 2z0 ) .
Therefore, (x0 , y0 , z0 , λ) satisfies
y0 z0 = 2λx0 , (0.1a)
x0 z0 = 2λy0 , (0.1b)
x0 y0 = 2λz0 , (0.1c)
x20 + y02 + z02 = 4 . (0.1d)
If one of x0 , y0 , z0 is zero, then f (x0 , y0 , z0 ) = 0; thus we assume that x0 y0 z0 ‰ 0. Then λ ‰ 0
and the product of (??a,b,c) shows that x0 y0 z0 = 8λ3 . Therefore,
y0 z0 = 2λx0 , (0.2a)
x0 z0 = 2λy0 , (0.2b)
x0 y0 = 2λz0 + µ , (0.2c)
x20 + y02 + z02 = 4 , (0.2d)
z0 = 1 . (0.2e)
Comparing the values of all possible extreme points (x0 , y0 , z0 ), we find that the maximum of f on
8 8
R is ? , and the minimum of f on R is ´ ? . ˝
3 3 3 3