Docsity

Solution to Practice Problems - Multivariable Calculus | MATH 2500, Exams of Calculus

Toggle sidebar
bg1
Solutions to the Practice Problems
Math 2500
Mar. 24, 2008
1. Consider the function f(x, y) = x3y−y x2+ 3xy.
(a) Write down the equation of the tangent plane to the graph of fat (0,1).
Note f(0,1) = 0. Also,
∂f
∂x = 3x2y−2xy + 3y, ∂ f
∂x (0,1) = 3,∂f
∂y =x3−x2+ 3x, ∂f
∂y (0,1) = 0.
The tangent plane at (0,1) is given by
0=(x−0, y −1, z −0) ·(−∂f
∂x (0,1),−∂f
∂y (0,1),1) = −3x+z,
which we can rearrange to read z= 3x.
(b) At which points (x, y) is the tangent plane horizontal?
We want to find points where the normal vector (−∂f /∂x, −∂f /∂y, 1) is vertical, so we want ∂f /∂x =
0 = ∂f /∂y . Let’s look at ∂f /∂y first:
0 = ∂f
∂y =x3−x2+ 3x=x(x2−x+ 3) ⇔x= 0.
Next we plug x= 0 into ∂f/∂ x to see
0 = ∂f
∂x (0, y) = 3y⇔y= 0.
Thus the only point with a horizontal tangent plane is (0,0).
2. Consider
f(x, y) = Zy
x
et2dt.
(a) Compute ∂f
∂x and ∂f
∂y .
We use the Fundamental Theorem of Calculus:
∂f
∂x =∂
∂x Zy
x
et2dt =−ex2
and ∂f
∂y =∂
∂y Zy
x
et2dt =ey2.
(b) Does fhave any critical points? Explain your answer.
Critical points satisfy ∂f /∂x =0=∂ f /∂y. However, both partial derivatives are exponentials, which are
never zero. So there are no critical points.
3. Let some of the level sets of the function fbe given by the figure below.
(a) Estimate ∂f
∂x (2,0)
Notice that (2,0) is on the f= 3 level set, while (3,0) is on the f= 6 level set. So
∂f
∂x (2,0) ≈6−3
3−2= 3.
(b) Estimate ∂f
∂y (3,4)
Notice that (3,4) is on the f= 7 level set, while (3,5) is on the f= 11 level set. So
∂f
∂y (3,4) ≈11 −7
5−4= 4.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Solution to Practice Problems - Multivariable Calculus | MATH 2500 and more Exams Calculus in PDF only on Docsity!

Solutions to the Practice Problems

Math 2500 Mar. 24, 2008

  1. Consider the function f (x, y) = x^3 y − yx^2 + 3xy.

(a) Write down the equation of the tangent plane to the graph of f at (0, 1). Note f (0, 1) = 0. Also, ∂f ∂x = 3x^2 y − 2 xy + 3y, ∂f ∂x (0, 1) = 3, ∂f ∂y = x^3 − x^2 + 3x, ∂f ∂y

The tangent plane at (0, 1) is given by

0 = (x − 0 , y − 1 , z − 0) · (− ∂f ∂x (0, 1), − ∂f ∂y (0, 1), 1) = − 3 x + z,

which we can rearrange to read z = 3x. (b) At which points (x, y) is the tangent plane horizontal? We want to find points where the normal vector (−∂f /∂x, −∂f /∂y, 1) is vertical, so we want ∂f /∂x = 0 = ∂f /∂y. Let’s look at ∂f /∂y first:

0 = ∂f ∂y = x^3 − x^2 + 3x = x(x^2 − x + 3) ⇔ x = 0.

Next we plug x = 0 into ∂f /∂x to see

0 = ∂f ∂x (0, y) = 3y ⇔ y = 0.

Thus the only point with a horizontal tangent plane is (0, 0).

  1. Consider f (x, y) =

∫ (^) y

x

et 2 dt.

(a) Compute ∂f∂x and ∂f∂y. We use the Fundamental Theorem of Calculus: ∂f ∂x

∂x

∫ (^) y

x

et 2 dt = −ex 2

and ∂f ∂y

∂y

∫ (^) y

x

et 2 dt = ey 2 .

(b) Does f have any critical points? Explain your answer. Critical points satisfy ∂f /∂x = 0 = ∂f /∂y. However, both partial derivatives are exponentials, which are never zero. So there are no critical points.

  1. Let some of the level sets of the function f be given by the figure below.

(a) Estimate ∂f∂x (2, 0) Notice that (2, 0) is on the f = 3 level set, while (3, 0) is on the f = 6 level set. So ∂f ∂x

(b) Estimate ∂f∂y (3, 4) Notice that (3, 4) is on the f = 7 level set, while (3, 5) is on the f = 11 level set. So ∂f ∂y

(3, 4) ≈ 11 −^7

(−2,1)

f=10 f=

f=

f=

f=

f=

f=

f=

(3,4)

(2,0)

(3,5)

(3,6)

(3,0)

(c) In which direction does ∇f (− 2 , 1) point? Notice that (− 2 , 1) is on the f = 8 level set, and this curve is vertical at (− 2 , 1). Also, the f = 10 level set is to the left and the f = 6 and f = 7 level sets are to the right. Thus, because ∇f is perpendicular to level sets and points in the direction f increases, we know ∇f (− 2 , 1) points directly to the left (in the (− 1 , 0) direction). (d) Suppose you know (1, 0) is a critical point. Would you guess it’s a local maximum, a local minimum, or neither? Explain your answer. You would guess that (1, 0) is a local minimum because the function values of f are increasing as you move away from (1, 0).

  1. Consider f (x, y) = xex (^2) +y 2 and let (x 0 , y 0 ) = (1, 1). (a) Compute ∇f (1, 1). First note that

∇f = ( ∂f ∂x ,

∂f ∂y ) = (e

x^2 +y^2 + 2x (^2) ex^2 +y^2 , 2 xyex^2 +y^2 ) = ex^2 +y^2 (1 + 2x (^2) , 2 xy).

Evaluating this at (1, 1), we get ∇f (1, 1) = (3e^2 , 2 e^2 ). (b) Find the directional derivative ∇f · ~u(1, 1), where ~u = (1/ 2 ,

∇f · ~u(1, 1) = (∇f (1, 1)) · ~u = (3e^2 , 2 e^2 ) · (1/ 2 ,

3 /2) = e^2 (3/2 +

(c) What is the direction of steepest increase for f , starting at (1, 1). (Be sure to write down a unit vector!) The direction of steepest increase is always ∇f /|∇f | (think about directional derivatives), which is this case is (1/

(d) Notice f (1, 1) = e^2. What is the equation of the tangent line to the level set {f = e^2 }, at the point (1, 1)? Recall that ∇f is always perpendicular to level curves. Since the lines parallel to ∇f (1, 1) have slope 2/3, this means the tangent to the level curve has slope − 3 /2. Thus the tangent line has the equation

y − 1 = −

(x − 1) ⇔ y = −

x +

  1. Consider f (x, y) = cos x cos y. (a) Classify all the critical points of f. First we find the gradient and second partial derivatives of f :

∇f = (− sin x cos y, − cos x sin y), ∂

(^2) f ∂x^2 = − cos x cos y = ∂

(^2) f ∂y^2

(^2) f ∂x∂y = sin x sin y.

The critical points occur when ∇f = (0, 0), so we must have sin x cos y = 0 = cos x sin y. There are two possibilities: either sin x = 0, which forces sin y = 0, or cos y = 0, which forces cos x = 0. In the first case, we must have (x, y) = (xn, ym) = (nπ, mπ) for some integers n and m. In the second case we must have

(x, y) = (ˆxn, ˆym) = ( (2n^ + 1)π 2 , (2m^ + 1)π 2

(b) Evaluate

x^2 +y^2 ≤ 1 [e x^2 +y^2 ]dxdy. (Hint: try polar coordiantes.) In polar coordinates, this integral is ∫ (^2) π

0

0

rer 2 drdθ = π

0

eudu = π(e − 1).

(c) Evaluate

D [xy−x

(^2) y (^2) ]dxdy, where D is the ice-cream cone shaped region bounded by y = x−1, y = −x−1, and x^2 + y^2 = 1. (It might help to draw a picture of D). The region D looks like an ice cream cone. Notice that D is symmetric about the y–axis while xy is anti-symmetric, which means (^) ∫ ∫

D

xydA = 0.

Let D+^ be the part of D with x ≥ 0. Then (because x^2 y^2 = (−x)^2 y^2 ), we have ∫ ∫

D

xy − x^2 y^2 dA = − 2

D+

x^2 y^2 dA

0

∫ √ 1 −x 2

x− 1

x^2 y^2 dydx = − 2 3

0

x^2 y^3

∣∣y=√ 1 −x 2 y=x− 1 dx

= −

0

x^2 (1 − x^2 )^3 /^2 − x^2 (x − 1)^3 dx.

We first evaluate

0 x (^2) (x − 1) (^3) dx: ∫ (^1)

0

x^2 (x − 1)^3 dx =

0

x^5 − 3 x^4 + 3x^3 − x^2 dx =

Next we evaluate

0 x (^2) (1−x (^2) ) 3 / (^2) dx. We will first integrate by parts (with u = x and dv = x(1−x (^2) ) 3 / (^2) dx) and then do a trigonometric substitution (with x = sin θ). ∫ (^1)

0

x^2 (1 − x^2 )^3 /^2 dx = − x 5 (1 − x^2 )^3 /^2

1 0

+^1

0

(1 − x^2 )^5 /^2 dx =^1 5

0

(1 − x^2 )^5 /^2 dx

π/ 2

(1 − sin^2 θ)^5 /^2 (cos θ)dθ =

∫ (^) π/ 2

0

cos^6 θdθ =

∫ (^) π/ 2

0

((1/2)(1 + cos(2θ)))^3 dθ

∫ (^) π/ 2

0

1 + 3 cos(2θ) + 3 cos^2 (2θ) + 3 cos^3 (2θ)dθ

π 80

sin(2θ)|π/ 0 2 +

∫ (^) π/ 2

0

(1/2)(1 + cos(4θ))dθ +

∫ (^) π/ 2

0

cos(2θ)(1 − sin^2 (2θ))dθ

π 80

3 π 160

0

(1 − u^2 )du = π 80

3 π 160

5 π + 4 160

Putting this all together, we have ∫ ∫

D

xy − x^2 y^2 dA = −

5 π + 4 160

4 − 5 π 240

4 − 15 π 720

  1. Find the minimum of f = y^3 − 3 yx^2 on the ellipse x^2 + 4y^2 ≤ 1. We first find interior critical points: (0, 0) = ∇f = (− 6 xy, 3 y^2 − 3 x^2 ) ⇔ (x, y) = (0, 0). However, one can see that (0, 0) is neither a local max nor a local min. (The easiest way to see this is to look at the zero set. This divides the plane into six wedges all meeting at (0, 0), and the sign of f alternates as one travels from wedge to wedge.) So we look for critical points on the boundary using Lagrange multipliers. The boundary is given by g(x, y) = x^2 + 4y^2 = 1, so we set ∇f = λ∇g, g = 1, which is the system of equations − 6 xy = 2λx, 3 y^2 − 3 x^2 = 8λy, x^2 + 4y^2 = 1.

If x 6 = 0, the first equation gives λ = − 3 y. Plugging this into the second equation, we get 3y^2 − 3 x^2 = − 24 y^2 , which we rearrange as −x^2 + 9y^2 = 0. Combine this with the last equation, we get 13y^2 = 1, or y = ± 1 /

which also gives us x = ± 3 /

  1. Finally, if x = 0 we must have y = ± 1 /2. This gives us 6 points to check:

f (0, 1 /2) = 1 / 8 , f (0, − 1 /2) = − 1 / 8 , f (3/

169 , f (3/

f (− 3

169 , f (− 3

So we see that the minimum value is − 26 /

169, which occurs at (3/

  1. and (− 3 /
  1. Consider the function f (x, y) =

∫ (^) x

2 −y

1 + t^2 dt.

(a) (5 points) Compute the partial derivatives ∂f∂x and ∂f∂y. Use the fundamental theorem of calculus for functions of one variable: ∂f ∂x =^

∂x

∫ (^) x

2 −y

1 + t^2 dt =

1 + x^2

and ∂f ∂y

∂y

∫ (^) x

2 −y

1 + t^2 dt = −

1 + (2 − y)^2 (−1) =

1 + (2 − y)^2

(b) (5 points) Does f have any critical points? Be sure to explain your answer. No. Both partial derivative are always positive, so there can never be a point (x 0 , y 0 ) with ∇f (x 0 , y 0 ) = (0, 0).

  1. Consider the following sketch of level curves of the function f (x, y).

(2,3.5)

(−3,4) (−2,4) (−1,4)

f=

f=− f=−

f=

(5,−1)

(2,−2)

f= f=

f=

f= f=−

f=−

f=−

(−5,0)

(2,4)

(a) (3 points) Estimate ∂f∂y (2, 3 .5).

∂f ∂y (2,^3 .5)^ ≈^

f (2, 4) − f (2, 3 .5) 4 − 3. 5 = 2 (b) (4 points) In which direction does ∇f (− 5 , 0) point? Be sure to explain your answer. First observe that (− 5 , 0) lies on the f = −3 level curve, so ∇f (− 5 , 0) must be perpendicular to that curve. At (− 5 , 0), this level curve is vertical, so ∇f points either in the (1, 0) direction or in the (− 1 , 0) direction (to the right or the left). Also, f increases if you move to the right, while it decreases if you move to the left. Thus ∇f (− 5 , 0) points in the (1, 0) direction (to the right).

(b) (5 points) Set up, but do not evaluate, the integral

D

1 + x^2 + y^2 dA, where D is the domain bounded by the curves y = x + 1 and x = −y^2. We’ll integrate first with respect to x (taking horizontal slices), because it’s much easier. It helps to draw the domain. It’s a region bounded on the left by a slanted line and on the right by a parabola opening to the left. One can find the intersection points of these two curves by setting

−y^2 = x = y − 1 ⇔ 0 = y^2 + y − 1 ⇔ y =

This gives the upper and lower limits of the y-integration. For a given y, the lower limit in the x-integral is the left-most point, which is x = y − 1, and the upper is the right-most point, which is x = −y^2. Thus we have (^) ∫ −1+√ 5 2 − 1 − 2 √ 5

∫ (^) −y^2

y− 1

1 + x^2 + y^2 dxdy.

  1. Consider the function

f (x, y) =

∫ (^) x^2

1 −y

dt 1 + t^2

(a) (4 points) Compute the partial derivatives ∂f /∂x and ∂f /∂y. Use the fundamental theorem of calculus and the chain rule. ∂f ∂x

∂x

∫ (^) x^2

1 −y

dt 1 + t^2

1 + (x^2 )^2 · 2 x = 2 x 1 + x^4

∂f ∂y

∂y

∫ (^) x 2

1 −y

dt 1 + t^2

1 + (1 − y)^2

1 + (1 − y)^2 (b) (4 points) Does f have any critical points? Be sure to explain your answer. No, ∂f /∂y is never zero.

  1. Consider the function f (x, y) = x^2 + y^3 − 6 xy. (a) (3 points) Verify that the only critical points of f are (0, 0) and (18, 6). First we compute the gradient:

∇f = ( ∂f ∂x

∂f ∂y ) = (2x − 6 y, 3 y^2 − 6 x).

Critical points occur when ∇f = (0, 0). Setting ∂f /∂x = 0, we get x = 3y. Now plug this into ∂f /∂y = 0:

0 = ∂f ∂y = 3y^2 − 6 x = 3y^2 − 18 y ⇔ y = 0, 6.

If y = 0 the x = 0, giving us the critical point (0, 0). If y = 6 then x = 18, giving us the critical point (18, 6). (b) (2 points) Classify each of these two critical points as local minima, local maxima, or saddle points. First find the second partial derivatives: ∂^2 f ∂x^2

(^2) f ∂x∂y

(^2) f ∂y^2 = 6y.

In the case of (0, 0), the discriminant is −36, so (0, 0) is a saddle point. In the case of (18, 6), the discriminant is 36 and ∂^2 f /∂x^2 = 2, so (18, 6) is a local minimum. (c) (3 points) Observe that f (1, 1) = −4. Find the equation of the tangent line to the level set {f = − 4 } at the point (1, 1). Recall that the gradient is perpendiculat to level sets. We have ∇f (1, 1) = (2x − 6 y, 3 y^2 − 6 x)

(0,0) = (−^4 ,^ −3),

so the line in the perpendicular direction has slope − 4 /3. Thus the equation of the tangent line is

(y − 1) = − 4 3 (x − 1) ⇔ y = − 4 3 x +^7 3

(d) (2 points) Compute D~uf (1, 1), where ~u = (

D~uf (1, 1) = ∇f (1, 1) · ~u = (− 4 , −3) · (

  1. Let F = F (u, v), while u = u(t) and v = v(t). Call the resulting composition f (t) = F (u(t), v(t)).

(a) (2 points) If u(0) = 1, u′(0) = 2, v(0) = −1, v′(0) = 3 and ∇F (1, −1) = (8, −1), then what is f ′(0)?

f ′(0) =

∂F

∂u

(u(0),v(0))

u′(0) +

∂F

∂v

(u(0),v(0))

v′(0) = 8 · 2 + (−1) · 3 = 13.

(b) (3 points) If u′(1) = 0 and v′(1) = 0 then is it always true that f ′(1) = 0? Be sure to explain your answer. Yes. By the chain rule, f ′(1) = ∇F · (u′(1), v′(1)) = ∇F · (0, 0) = 0 + 0 = 0. (c) (3 points) If f ′(−1) = 0, is it always true that u′(−1) = 0 = v′(−1)? Be sure to explain your answer. No. It is possible that ∇F (u(−1), v(−1)) = (0, 0), which would mean that f ′(−1) = 0. Or you could get cancellation: a positive term and a negative term adding up to give you zero.

  1. (8 points) Find the maximum and minimum of f (x, y) = xy subject to the constraint x^4 + y^4 = 1.

Use Lagrange multipliers: ∇f = λ∇g for some nonzero constant λ: y = 4λx^3 , x = 4λy^3 , x^4 + y^4 = 1. Notice that if x = 0 then y = 0 (and vice versa), which does not satisfy the constraint x^4 + y^4 = 1. Solve for λ in the first two equations: y 4 x^3 = λ = x 4 y^3 ⇔ x^4 = y^4 ⇔ x = ±y.

Plug this into the constraint: 1 = x^4 + y^4 = 2x^4 ⇔ x = ± 2 −^1 /^4 , y = ± 2 −^1 /^4 , which gives four points (all possible sign combinations). Plugging these points in to f , we see that (2−^1 /^4 , 2 −^1 /^4 ) and (− 2 −^1 /^4 , − 2 −^1 /^4 ) are a maximum points (f = 2−^1 /^2 ) while (2−^1 /^4 , − 2 −^1 /^4 ) and (− 2 −^1 /^4 , 2 −^1 /^4 ) are mini- mum points (f = − 2 −^1 /^2 ).

  1. (a) (4 points) Evaluate

D [x (^2) y]dA where D = [1, 2] × [2, 3].

D

x^2 ydA =

1

2

x^2 ydydx =

1

x^2 y^2

y=

y=

1

x^2 dx =

x^3

(b) (4 points) Set up, but do not evaluate

D e 1 −x^2 −y^2 dA, where D is bounded by x = y (^2) − y and y = x/2. (Hint: it might help to draw a picture.) The curve x = y^2 − y is a parabola openning to the right, passing through the y–axis at y = 0 and y = 1. The curve y = x/2 is a line through the origin with slope 1/2. The two intersect at 2 y = y^2 − y ⇔ 0 = y^2 − 3 y = y(y − 3) ⇔ y = 0, 3. Notice that the line lies to the right of the parabola in the area we’re interested in (0 ≤ y ≤ 3).

We choose horizontal slices for this integral, because for vertical slices we’d have to write down two integrals: (^) ∫ ∫

D

e^1 −x (^2) −y 2 dA =

0

∫ (^2) y

y^2 −y

e^1 −x (^2) −y 2 dxdy.

{r = 4 sin θ} is (0, 2). The two circles intersect where

  1. Consider the function

f (x, y) =

∫ (^) ey

x^2

ln(1 + t)dt.

(a) (2 points) If u(0) = 1, u′(0) = 2, v(0) = −1, v′(0) = 3 and ∇F (1, −1) = (8, −1), then what is f ′(0)?

f ′(0) =

∂F

∂u u′(0) +

∂F

∂v v′(0) = 8 · 2 + (−1) · (3) = 13.

(b) (3 points) If u′(1) = 0 and v′(1) = 0 then is it always true that f ′(1) = 0? Be sure to explain your answer. Yes: f ′(1) =

∂F

∂u u

′(1) + ∂F

∂y y

′(1) = ∂F

∂u ·^ (0) +^

∂F

∂v ·^ (0) = 0. (c) (3 points) If f ′(−1) = 0, is it always true that u′(−1) = 0 = v′(−1)? Be sure to explain your answer. No. You could have, for instance, ∂F∂u u′^ = 1, and ∂F∂v v′^ = −1, then by the chain rul the derivative f ′^ = 1 − 1 = 0.

  1. (8 points) Find the maximum and minimum of f (x, y) = x^3 + 3xy^2 subject to the constraint x^2 /4 + y^2 = 1.

There are two ways to do this problem. Method 1: Lagrange multipliers. Let g(x, y) = x^2 /4 + y^2 , then use (3x^2 + 3y^2 , 6 xy) = ∇f = λ∇g = λ(x/ 2 , 2 y).

The seond equation gives us 6xy = 2λy. One possibility is y = 0, but if y 6 = 0 then λ = 3x. Plug λ = 3x into the first equation to get 3 x^2 + 3y^2 =^3 2 x^2 ⇔ 0 =^3 2 x^2 + 3y^2.

The only solution to this equation is x = 0, y = 0, which doesn’t satisfy the constraint, and so the max/min must occur when y = 0, which means x = ±2. Plugging (± 2 , 0) into f , we have f (2, 0) = 8 and f (− 2 , 0) = −8, and so the mazimal value is 8, achieved at (2, 0) while the minimal value is −8, achieved at (− 2 , 0). Method 2: plug in y^2 = 1 − x^2 /4 into the original function f , so we have f = x^3 + 3x(1 − x^2 /4) = x^3 /4 + 3x. The derivative of this restricted f is f ′^ = (3/4)x^2 + 3 > 0, which means the restricted function is increasing in x. This tells us the function is largest when x is largest, at x = 2, y = 0 and the function is least when x is least, at x = − 2 , y = 0. The maximum is f = 8 and the minimum is f = −8.

  1. (a) (4 points) Evaluate

D [x (^2) + 3xy]dA where D = [1, 2] × [0, 1].

D

[x^2 + 3xy]dA =

1

0

[x^2 + 3xy]dydx =

1

[x^2 + (3/2)x]dx = (x^3 /3)

1 + (3x

2 /4)∣∣^2

(b) (4 points) Set up, but do not evaluate

D e 1 −x^2 −y^2 dA, where D is bounded by y = x (^2) − x and x = 2y. (Hint: it might help to draw a picture.) The parabola y = x^2 − x opens up, and passes through the x–axis at x = 0, 1. The line and parabola intesect at x 2 = x^2 − x ⇔ 0 = x^2 −

x ⇔ x = 0,

Also notice that the line lies above the parabola for 0 ≤ x ≤ 3 /2. We choose vertical slices, so that we can write the integral as (^) ∫ ∫

D

e^1 −x (^2) −y 2 dA =

0

∫ (^) x/ 2

x^2 −x

e^1 −x (^2) −y 2 dydx.