Docsity

Assignment 3 Solution for Vector Calculus | MATH 20E, Assignments of Calculus

Toggle sidebar
bg1
1
Homework 3 Solution
M 20E
C T
2 Chapter 2
2.3 Section 3, Problems 5, 13(ab), 16
Problem 2.3.5. Find the equation of the plane tangent to the surface z=x2+y3at (3,1,10).
Solution. Note that once the gradient vector is introduced, the equation of the tangent plane looks
almost exactly like the equation of the tangent line to a one-variable function fat x0:
y=f(x0)+f0(x0)(x−x0)
The 2-dimensional analog, the equation of the tangent plane is simply the above with x=(x,y),
x0=(x0,y0) replacing xand x0,∇freplacing f0and the dot product replacing ordinary multiplication:
z=f(x0)+∇f(x0)·(x−x0)
This is a good way to remember it (also it works in 3, 4, 5,. ..dimensions). Anyway to solve the
problem: we have ∇f(x,y)=(2x,3y2) so that ∇f(3,1) =(6,3). f(3,1) =10 from the fact the given
point was (3,1,10) which is (x0,y0,z0)=(x0,y0,f(x0,y0)). Therefore we have
z=10 +(6,3) ·(x−3,y−1) =10 +6(x−3) +3(y−1) =6x+3y−11
Problem 2.3.13.
1. (To be filled in later)
2.
Problem 2.3.16. Calculate ∇h(1,1,1) if h(x,y,z)=(x+z)ex−y
Solution. Gradients extend to any number of variables as you want—∇in 3 dimensions is exactly
what you think it is: (∂/∂x, ∂/∂y, ∂/∂z). So we have the x-component
∂
∂x(x+z)ex−y=(x+z)ex−y+ex−y=(x+z+1)ex−y,
using the tried and true product rule (recall yand zstay constant. Refer to Joke 2.2.1 if necessary).
Next, ∂
∂y(x+z)ex−y=−(x+z)ex−y,
no product rule required this time as the outside multiplier does not involve y, and finally
∂
∂z(x+z)ex−y=ex−y,
as xex−y(when distributing out the multiplication) is constant in this case (again recall Joke 2.2.1).
Therefore
∇h(x,y,z)=(x+z+1)ex−y,−(x+z)ex−y,ex−y,
which, evaluated at (1,1,1) gives (3,−2,1).
pf3
pf4
pf5

Partial preview of the text

Download Assignment 3 Solution for Vector Calculus | MATH 20E and more Assignments Calculus in PDF only on Docsity!

Homework 3 Solution

M 20E

C T

2 Chapter 2

2.3 Section 3, Problems 5, 13(ab), 16

Problem 2.3.5. Find the equation of the plane tangent to the surface z = x

2

  • y

3

at (3, 1 , 10).

Solution. Note that once the gradient vector is introduced, the equation of the tangent plane looks

almost exactly like the equation of the tangent line to a one-variable function f at x 0

y = f ( x 0

) + f

′

( x 0

)( x − x 0

The 2-dimensional analog, the equation of the tangent plane is simply the above with x = ( x , y ),

x 0

= ( x 0

, y 0

) replacing x and x 0

, ∇ f replacing f

′

and the dot product replacing ordinary multiplication:

z = f ( x 0

) + ∇ f ( x 0

) · ( x − x 0

This is a good way to remember it (also it works in 3, 4, 5,... dimensions). Anyway to solve the

problem: we have ∇ f ( x , y ) = (2 x , 3 y

2

) so that ∇ f (3, 1) = (6, 3). f (3, 1) = 10 from the fact the given

point was (3, 1 , 10) which is ( x 0

, y 0

, z 0

) = ( x 0

, y 0

, f ( x 0

, y 0

)). Therefore we have

z = 10 + (6, 3) · ( x − 3 , y − 1) = 10 + 6( x − 3) + 3( y − 1) = 6 x + 3 y − 11

Problem 2.3.13.

  1. (To be filled in later)

Problem 2.3.16. Calculate ∇ h (1, 1 , 1) if h ( x , y , z ) = ( x + z ) e

x − y

Solution. Gradients extend to any number of variables as you want—∇ in 3 dimensions is exactly

what you think it is: (∂/∂ x , ∂/∂ y , ∂/∂ z ). So we have the x -component

∂ x

( x + z ) e

x − y

= ( x + z ) e

x − y

  • e

x − y

= ( x + z + 1) e

x − y

using the tried and true product rule (recall y and z stay constant. Refer to Joke 2.2.1 if necessary).

Next,

∂ y

( x + z ) e

x − y

= −( x + z ) e

x − y

,

no product rule required this time as the outside multiplier does not involve y , and finally

∂ z

( x + z ) e

x − y

= e

x − y

as xe

x − y

(when distributing out the multiplication) is constant in this case (again recall Joke 2.2.1).

Therefore

∇ h ( x , y , z ) =

( x + z + 1) e

x − y

, −( x + z ) e

x − y

, e

x − y

which, evaluated at (1, 1 , 1) gives (3, − 2 , 1). 

2 2 CHAPTER 2

2.4 Section 4, Problems 5, 7, 9, 12

Note that in this section, the terms “tangent vector” and “velocity vector” mean the same thing: the

first derivative of the vector-valued function. “Velocity vector” strictly speaking isn’t a correct term in

all situations—it refers specifically to the physical interpretation of a particle tracing out the parame-

terized path with time. Nevertheless it is quite a useful way of thinking of it.

Problem 2.4.5. Find the velocity vector of the path 6 t i + 3 t

2

j + t

3

k.

Solution. The velocity vector is, via straightforward componentwise differentiation, (6, 6 t , 3 t

2

). 

Problem 2.4.7. The same as above for r ( t ) = (cos

2 ( t ), 3 t − t

3 , t ). The vector is r

′ ( t ) = (−2 cos t sin t , 3 −

3 t

2

, 1) or (− sin(2 t ), 3 − 3 t

2

, 1) if you’re into trigonometric identities.

Problem 2.4.9. c ( t ) = ( e

t

, cos( t )). Same deal.

Solution. c

′

( t ) = ( e

t

, − sin( t )) 

Problem 2.4.13. c

′

( t ) for c ( t ) = ( t

2

, e

2

). Notice how that second term is a constant? c

′

( t ) = (2 t , 0).

2.5 Section 5, Problems 4, 5(b), 8, 13

Problem 2.5.4. Verify the chain rule for ∂ h /∂ x where h ( x , y ) = f ( u ( x , y ), v ( x , y )) and

f ( u , v ) =

u

2

  • v

2

u

2 − v

2

, u ( x , y ) = e

− x − y

, v ( x , y ) = e

xy

Solution. You have got to be kidding me. Special request for Ken: don’t grade this problem. The

chain rule says:

∂ h

∂ x

∂ h

∂ u

∂ u

∂ x

∂ h

∂ v

∂ v

∂ x

There are a number of reasons why I think this notation is evil. First of all, it obscures what functions

are given and what they’re varying with respect to. Is h a function of x and y or u and v? Which

one is it? Well this is a relic from the days that functions were treated as second-class citizens and

variables were the #1. The modern viewpoint is that the name of the variable doesn’t mean anything

except as a label to distinguish different slots—it is a placeholder. It is more useful to think of h as

a genuine function from R

2

→ R (ok, ok, really from R

2

r (∆ ∪ −∆)) → R where ∆ is the diagonal

line and −∆ is the other diagonal sloping the other way, but that’s being nitpicky), acting on two guys

( u , v ) by taking it to the awful quotient above. Worse, there is another conveniently hidden function

without a name—it’s time to recognize it as a real citizen of the world with all the rights guaranteed

to functions: let’s call it F. We actually have

F ( x , y ) = ( e

− x − y

, e

xy

)

We conceptualize h as only being able to do what it says it does, so actually h ( x , y ) =

x

2

  • y

2

x

2 − y

2

and not all

that e to the junk business. To get h to do what the book claims it’s doing, we actually have to look at

the function h ◦ F. Indeed, h ◦ F ( x , y ) = h ( e

− x − y

, e

xy

) which is exactly what we seek. But in old times

it was permissible to omit the F and so h “varying with respect to x and y ” was understood to mean

that F was being applied. The Commission on Functional Rights has lobbied for a number of years

to end this senseless discrimination against “implicit transformations.” This confused me so much for

4 2 CHAPTER 2

Solution. First, via straight substitution, ( f ◦ c )( t ) = e

3 t

2 t

3

= e

3 t

5

. Therefore ( f ◦ c )

′

( t ) = 3 · 5 t

4

e

3 t

5

15 t

4

e

t

5

. Much more manageable than the last. Using the chain rule,

d ( f ◦ c )

dt

∂ f

∂ x

dx

dt

∂ f

∂ y

dy

dt

which is, after substituting

ye

xy

6 t + xe

xy

3 t

2

= t

3

e

3 t

5

6 t + 3 t

2

e

3 t

5

3 t

2

= 6 t

4

e

3 t

5

  • 9 t

4

e

3 t

5

= 15 t

4

e

3 t

5

agreeing with the previous. 

Problem 2.5.8. Let f : R

3

→ R be differentiable. Making the substitution

x

y

z

ρ sin ϕ sin θ

ρ sin ϕ sin θ

ρ cos ϕ

(the spherical coordinate transformation) into f ( x , y , z ) compute the partial derivatives of the com-

posed function with respect to ρ, ϕ, and θ in terms of the partial derivatives of f.

Solution. Aaargh! They do it again, writing ∂ f /∂θ instead of a more civilized ∂( f ◦ F )/∂θ, where F

is the official transformation map:

F

ρ

ϕ

θ

ρ sin ϕ sin θ

ρ sin ϕ sin θ

ρ cos ϕ

We use the chain rule to compute D ( f ◦ F ):

D ( f ◦ F ) = [ D f ][ DF ] =

[

∂ f

∂ x

∂ f

∂ y

∂ f

∂ z

]

∂ x

∂ρ

∂ x

∂ϕ

∂ x

∂θ

∂ y

∂ρ

∂ y

∂ϕ

∂ y

∂θ

∂ z

∂ρ

∂ z

∂ϕ

∂ z

∂θ

[

∂( f ◦ F )

∂ρ

∂( f ◦ F )

∂ϕ

∂( f ◦ F )

∂θ

]

Plugging in DF we get

sin ϕ cos θ ρ cos ϕ cos θ −ρ sin ϕ sin θ

sin ϕ sin θ ρ cos ϕ sin θ ρ sin ϕ cos θ

cos ϕ −ρ sin ϕ 0

so

∂( f ◦ F )

∂ρ

∂ f

∂ x

sin ϕ cos θ +

∂ f

∂ y

sin ϕ sin θ +

∂ f

∂ z

cos ϕ,

∂( f ◦ F )

∂ϕ

∂ f

∂ x

ρ cos ϕ cos θ +

∂ f

∂ y

ρ cos ϕ sin θ −

∂ f

∂ z

ρ sin ϕ, and

∂( f ◦ F )

∂θ

∂ f

∂ x

ρ sin ϕ sin θ +

∂ f

∂ y

ρ sin ϕ cos θ

Problem 2.5.13. A duck is swimming... (to be filled in later).

2.6 Section 6: Problem 1, 2b, 3a, 4ac, 6, 15 5

2.6 Section 6: Problem 1, 2b, 3a, 4ac, 6, 15

Ahh, the Gradient Vector. Good ol’ ∇ (called the del or nabla operator ( nabla comes from the word

for a particular stringed instrument which is in the shape of ∇)). This operator is one of the stars of

this course. It is best conceptualized as stacks of level-surface—the closer together level surfaces are,

the faster the function is changing, so the greater the magnitude of the gradient. The direction of the

gradient is perpendicular to these surfaces, because it points in the direction of increase of f , while,

moving along the level surface doesn’t change the value (hence the name level ).

Directional derivatives come into play when something such as a tangent vector is threading across

these surfaces—it gives a measure of how many surfaces you’re intersecting at a particular time, i.e. a

rate of change in surfaces traversed (increase in f ). In fact this property leads many a mathematician

to call the gradient vector a cotangent vector (well you hear the term tangent employed, why not

cotangent?) or sometimes tangent covector. Geeky, I know. Cotangent vectors are very important in

mathematics; however, a full description of it would take us on a (co)tangent and unduly lengthen this

solution.

Problem 2.6.1. Show the directional derivative of f ( x , y , z ) = z

2

x + y

3

at (1, 1 , 2) in the direction

u = (1/

5 , 0) is 2

Solution. This is just definition-pushing: compute ∇ f · u. ∇ f = ( z

2

, 3 y

2

, 2 zx ) so at (1, 1 , 2) we get

∇ f = (4, 3 , 4). This dotted with (1/

5 , 0) gives 4/

5 as

promised. 

Problem 2.6.2. Compute the direction deriv. of f ( x , y ) = log

x

2

  • y

2

at (1, 0) in the direction

Solution. f x

( x , y ) =

1

2

∂

∂ x

(log( x

2

  • y

2

)) =

1

2

(2 x /( x

2

  • y

2

)) = x /( x

2

  • y

2

). The observant reader may

have noted that we have used the same trick as something on homework solution 2 namely taking out

a fraction of 1/2 in the log to assist us. By the symmetry of x and y , which the observant reader may

have noted which helped us again in the very same problem, leads us to find f y ( x , y ) = y /( x

2

  • y

2

). The

unobservant reader need not worry, for yours truly has not been the best of readers at times. Therefore

we have

∇ f ( x , y ) =

x

x

2

  • y

2

y

x

2

  • y

2

evaluating at (1, 0) we get (1, 0) (a lot of effort for not changing the result!). This dotted with the di-

rection vector gives the first component, and so the result is 2/

2

5

5 (if you’re into rationalizing

denominators. I’m not. Hint: unless it’s really obviously going to save you something, I won’t care if

you leave an unrationalized denominator on an answer to a test question =) 

Problem 2.6.3. Compute the dir. deriv along unit vectors parallel to the given: f ( x , y ) = x

y

at ( e , e )

with d = (5, 12).

Solution. Note that 5

2

  • 12

2

= 13

2

(another Pythagorean triple worth remembering [I remember 3, 4,

5; 5, 12, 13; and 7, 24, 25]) so that one vector you want to dot with is u = (5/ 13 , 12 /13). But there’s

another unit vector parallel to it, namely − u which will give exactly minus the answer (derivative is a

linear operation, remember) so it suffices to check the first case out.

The partial derivatives of x

y

are an interesting story in itself, because it tells the story of the raising

to powers operation. For operations in the base, namely taking (∂/∂ x )( x

y

) we hold y constant —cf.

Joke 2.2.1 so this is nothing but the venerable power rule yx

y − 1

. On the other hand operation in the

c. ∂ f /∂ x = (− 1 /( x

2

  • y

2

  • z

2

)

2

)2 x = − 2 x /( x

2

  • y

2

  • z

2

)

2

. So

∇ f ( x , y , z ) =

2 x

( x

2

  • y

2

  • z

2 )

2

2 y

( x

2

  • y

2

  • z

2 )

2

2 z

( x

2

  • y

2

  • z

2 )

2

Problem 2.6.15. Let r = x i + y j + z k and r = ‖ r ‖. Then

r

r

r

3

Solution. Note that r =

x

2

  • y

2

  • z

2

. So 1/ r = 1 /

x

2

  • y

2

  • z

2

. Do you get a feeling of d´ej`a vu?

You see number 6a? We’ve done this already, namely

r

x

( x

2

  • y

2

  • z

2 )

3 / 2

y

( x

2

  • y

2

  • z

2 )

3 / 2

z

( x

2

  • y

2

  • z

2 )

3 / 2

Notice all the denominators are the same: ( x

2

  • y

2

  • z

2

)

3 / 2

=

x

2

  • y

2

  • z

23 = r

3

. So

r

r

3

(− x , − y , − z ) =

− r

r

3

as promised. 

3 Chapter 3

3.2 Section 2, Problems 2, 5

Problem 3.2.1. Determine the second-order Taylor Formula for f ( x , y ) = 1 /( x

2

  • y

2

    1. at ( x 0

, y 0

Solution. We write the solution in the form

P

2 ( x , y ) = f ( x 0 , y 0 ) + ∇ f ( x 0 , y 0 )( x − x 0 , y − y 0

( x − x 0 , y − y 0 )[ H f ]

x − x 0

y − y 0

where [ H f ] =

f xx f xy

f xy

f yy

which can be shown to be exactly the same as that horrid looking double sum

with the h i

h j

’s. f (0, 0) = 1, ∇ f ( x , y ) =

− 2 x /( x

2

  • y

2

2

, − 2 y /( x

2

  • y

2

2

The result should be

that only the diagonal terms are nonzero, and give the value of −2 for each. Those will cancel with

the 1/2. Therefore the 2nd order poly is P 2

( x , y ) = 1 − x

2

− y

2

. More details forthcoming. 

More to come