Solutions to review exam 2

MA1132 (Advanced Calculus) - Sample Exam 2
[Tuesday, April 2, 2013]
Note: Students who turn in complete solutions to the problems below by the due date will be
able to drop a low score from one of their tutorials.
1. Let
f (x, y, z) =
x2 ex y + 4xey z
.
x + 2y − z
(a) Find the direction of largest increase for f at (1, 1/2, 0).
Solution: The direction of the largest increase is given by the gradient
∂f ∂f ∂f
∇f (x, y, z) =
,
,
(x, y, z)
∂x ∂y ∂z
(2xex y + x2 ex y + 4ey z)(x + 2y − z) − (x2 ex y + 4xey z)
∂f
=
∂x
(x + 2y − z)2
∂f
(x2 ex + 4xey z)(x + 2y − z) − 2(x2 ex y + 4xey z)
=
∂y
(x + 2y − z)2
∂f
4xey (x + 2y − z) − (−1)(x2 ex y + 4xey z)
=
∂z
(x + 2y − z)2
Hence,
∇f (1, 1/2, 0) = (
√
5e e e
, , + 2 e).
8 4 8
(b) Find the equation of the tangent plane to the surface f (x, y, z) = 2 at (1, 0, −1).
Solution: Using the formula for the gradient derived in the first part, we find
e
∇f (1, 0, −1) = (−1, , 1).
2
Since the gradient vector is normal to the tangent plane, the equation of the tangent
plane at the given point is given by
e
(−1)(x − 1) + y + (z + 1) = 0,
2
or x − ye/2 − z − 2 = 0
2. Use the implicit function theorem to determine if y can be written as a function of x near
∂y
the point (3, 0) when x and y satisfy 9e2y = xy + x2 . If yes, find
at x = 3 and y = 0.
∂x
Similarly, determine if x can be written as a function of y near the same point; if yes, find
∂x
at (3,0).
∂y
Solution: Let f (x, y) = 9e2y −xy−x2 . Since this is a continuous function with continuous
partial derivatives, we are left to check that fy (3, 0) 6= 0. We have that
fx (x, y) = −y − 2x,
fy (x, y) = 18e2y − x
hence fy (3, 0) = 18 − 3 = 15 6= 0. The derivative
∂y
can be computed use the formula
∂x
6
fx
2
∂y
|x=3 = − |(3,0) =
= .
∂x
fy
15
5
Similarly, we check that fx (3, 0) = −6, hence x can also be written as a function of y. We
compute
fy
5
∂x
|y=0 = − |(3,0) = .
∂y
fx
2
3. Sketch the region of integration and evaluate the integral
Z 2 Z √2x−x2 p
x2 + y 2 dydx
0
0
Solution: The region of integration is described by 0 ≤ x ≤ 2 and 0 ≤ y ≤
hence it describes the upper half of the disk
p
x2 + y 2 ,
y 2 + (x − 1)2 ≤ 1,
which is centered at x = 1 and y = 0 with radius 1. Note that since the circle is contained
in the strip 0 ≤ x ≤ 2, the entire circle is contained in the region of integration.
The domain and the form of the function prompts us to use polar coordinates. Note that
for a given point on the circle y 2 + (x − 1)2 = 1, if its polar angle is θ, then the polar radius
r (a.k.a. the distance from the origin) is given by 2R cos θ with R = 1, i.e. by r = 2 cos θ.
By changing the integral to polar coordinates we obtain
Z
Z
Z π/2 Z 2 cos θ
Z π/2 3
8 π/2
8 π/2
r r=2 cos θ
3
2
|r=0
dθ =
(cos θ) dθ =
cos θ(1−sin2 θ)dθ.
r drdθ =
3
3 0
3 0
0
0
0
The last integral is the sum of the two integrals; for the integrand cos θ sin2 θ we use the
change of variable u = sin θ, so our initial integral is equal to
Z 1
8
8
1
16
π/2
(sin θ|0 −
u2 du) = (1 − ) = .
3
3
3
9
0
2
4. Express the volume of the part of the ellipsoid
x2 y 2
z2
+
+
≤1
4
16 25
where y ≥ 0 and z ≥ 4, as an iterated triple integral.
Solution: We start by noticing that the ellipsoid is between the planes z = −5 to z = 5 (the
minimum and maximum values that z can have when satisfying the given inequality). The range
of z allowed though will be 4 ≤ z ≤ 5. With z fixed we find the range of values for y given by
r
z2
0≤y ≤4 1− .
25
Finally, the bounds for x in terms of y and z (corresponding to the integral in x inside) are
r
r
y 2 4z 2
y 2 4z 2
− 4−
−
≤x≤ 4−
−
.
4
25
4
25
Therefore the volume can be expressed as
Z
4
5
Z
0
q
2
4 1− z25
Z
q
2
2
4− y4 − 4z
25
q
2
2
− 4− y4 − 4z
25
1 dxdydz.
Petronela Radu
3