Some vector calculus questions

Click For Summary

Homework Help Overview

The discussion revolves around a vector calculus problem involving the height function of a hill, defined as h(x,y) = (2 + x² + y⁴)^(-1/2). The participants are tasked with finding the gradient, determining the maximum slope at a specific point, analyzing the slope when moving in a particular direction, and identifying a vector that maintains a constant height.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the calculation of the gradient and express some confidence in their understanding of the first three parts of the problem. There are questions about the mathematical proof of the slope direction and uncertainty regarding the fourth part, particularly in finding a vector that keeps the height constant.

Discussion Status

Some participants have provided guidance on recalculating derivatives and have pointed out potential errors in calculations. There is an ongoing exploration of how to apply the concept of zero change in height to find the required vector, with some participants suggesting that a vector orthogonal to the gradient may be relevant.

Contextual Notes

Participants mention that they are adhering to forum rules that prevent them from providing direct solutions, which influences the nature of the guidance offered. There is a sense of frustration from one participant regarding the difficulty of the problem, despite their advanced background in calculus.

sa1988
Messages
221
Reaction score
23

Homework Statement



2. The shape of a hill is described by the height function h(x,y) = (2 + x2 + y4)-1/2

(a) Find the gradient ∇h(x,y)

(b) What is the maximum slope of the hill at the point r0 = i+j [or (x,y) = (1,1)]?

(c) If you walk north-east (in the direction of the vector i+j) from the point r0, what
is the slope of your path? Are you going uphill or downhill?

(d) Find a vector in the direction of a path through the point r0 that remains at the
same height.

Homework Equations

The Attempt at a Solution



For parts a), b) and c) I think I'm okay.

a) ∇h(x,y) = ([-x(2 + x2 + y4)-3/2], [-y3(2 + x2 + y4)-3/2])

b) At point (1,1) just plug x and y into ∇h(x,y) to get (-1/8 , -1/4)

c) Along path of vector (i+j) you will be going in a downhill direction since it is in a direction 'away' from the maximum slope found in the previous question. But is there a way I can mathematically prove this?

d) This is the part I'm unsure of. It's been a while since I did work with vectors. I'm guessing I need to find a vector such that infinitesimal change in the x-y direction gives no change in height. So that would mean d(h(x,y)) = 0...? Since this would signify no change in the value of h(x,y). Overall I'm a bit lost.

Thanks.
 
Physics news on Phys.org
sa1988 said:

Homework Statement



2. The shape of a hill is described by the height function h(x,y) = (2 + x2 + y4)-1/2

(a) Find the gradient ∇h(x,y)

(b) What is the maximum slope of the hill at the point r0 = i+j [or (x,y) = (1,1)]?

(c) If you walk north-east (in the direction of the vector i+j) from the point r0, what
is the slope of your path? Are you going uphill or downhill?

(d) Find a vector in the direction of a path through the point r0 that remains at the
same height.

Homework Equations

The Attempt at a Solution



For parts a), b) and c) I think I'm okay.

a) ∇h(x,y) = ([-x(2 + x2 + y4)-3/2], [-y3(2 + x2 + y4)-3/2])

You might want to recheck your calculation of ∂h / ∂y.
 
SteamKing said:
You might want to recheck your calculation of ∂h / ∂y.
Sorry, typo... should be -2y3 there.
 
sa1988 said:
Sorry, typo... should be -2y3 there.
Good. Recalculate your results from that point on.
 
SteamKing said:
Good. Recalculate your results from that point on.

No need. I'll get the same result. I've already done all of this on paper.The mistake you saw was purely a typing error.

The only bit I'm stumped on is part d)
 
sa1988 said:

Homework Statement



2. The shape of a hill is described by the height function h(x,y) = (2 + x2 + y4)-1/2

(a) Find the gradient ∇h(x,y)

(b) What is the maximum slope of the hill at the point r0 = i+j [or (x,y) = (1,1)]?

(c) If you walk north-east (in the direction of the vector i+j) from the point r0, what
is the slope of your path? Are you going uphill or downhill?

(d) Find a vector in the direction of a path through the point r0 that remains at the
same height.

Homework Equations

The Attempt at a Solution



For parts a), b) and c) I think I'm okay.

a) ∇h(x,y) = ([-x(2 + x2 + y4)-3/2], [-y3(2 + x2 + y4)-3/2])

b) At point (1,1) just plug x and y into ∇h(x,y) to get (-1/8 , -1/4)

c) Along path of vector (i+j) you will be going in a downhill direction since it is in a direction 'away' from the maximum slope found in the previous question. But is there a way I can mathematically prove this?

d) This is the part I'm unsure of. It's been a while since I did work with vectors. I'm guessing I need to find a vector such that infinitesimal change in the x-y direction gives no change in height. So that would mean d(h(x,y)) = 0...? Since this would signify no change in the value of h(x,y). Overall I'm a bit lost.

Thanks.

If you go along the surface ##z = h(x,y)## a short distance from a point with ##x\,y## coordinates ##(x_0,y_0)## to a neighboring point with ##x\,y## coordinates ##(x_0+ \Delta x , y_0 + \Delta y)##, the change in "height" ##z## is given as
\Delta z = h_x(x_0,y_0) \Delta x + h_y(x_0,y_0) \Delta y
to first order in the small step sizes ##\Delta x, \Delta y##. Here, ##h_x = \partial h/\partial x## and ##h_y = \partial h/ \partial y##. The equation above is standard Calculus II material.
 
Ray Vickson said:
If you go along the surface ##z = h(x,y)## a short distance from a point with ##x\,y## coordinates ##(x_0,y_0)## to a neighboring point with ##x\,y## coordinates ##(x_0+ \Delta x , y_0 + \Delta y)##, the change in "height" ##z## is given as
\Delta z = h_x(x_0,y_0) \Delta x + h_y(x_0,y_0) \Delta y
to first order in the small step sizes ##\Delta x, \Delta y##. Here, ##h_x = \partial h/\partial x## and ##h_y = \partial h/ \partial y##. The equation above is standard Calculus II material.

Sure, I get that, but how does it apply to part d) of the question?

Thanks.
 
sa1988 said:
Sure, I get that, but how does it apply to part d) of the question?

Thanks.

PF Rules forbid us from telling you that.
 
Ray Vickson said:
PF Rules forbid us from telling you that.

:oldeek: If it's not possible to get even a single nudge in the right direction, then it must mean that single nudge would give the whole answer, so I assume the whole thing must be far easier than I've been anticipating!

For what it's worth, I've actually gone beyond even Calc IV at this point. I'm just rusty with vectors as I took a year out of university.

I'll mull things over and try to see the glaringly obvious thing that I've missed.

Thanks! :oldsmile:
 
  • #10
sa1988 said:
:oldeek: If it's not possible to get even a single nudge in the right direction, then it must mean that single nudge would give the whole answer, so I assume the whole thing must be far easier than I've been anticipating!

For what it's worth, I've actually gone beyond even Calc IV at this point. I'm just rusty with vectors as I took a year out of university.

I'll mull things over and try to see the glaringly obvious thing that I've missed.

Thanks! :oldsmile:

Hint: what is ##\Delta z## when you stay at the same level?
 
  • #11
Ray Vickson said:
Hint: what is ##\Delta z## when you stay at the same level?

Well it's 0, however I have no idea how that relates to finding a vector pointing in a direction such that its change in the z-direction is 0

Intuitively it seems to be that a vector that is orthogonal to ∇h(x,y) will be at that point moving in a direction such that it has no change in z-position.

... which in the case of my given answer would be (1/4 i - 1/8 j ) ...?

However I've done no calculus to get to that, which seems to go against the advice you're giving regarding ##\Delta z## etc. However I did work out ∇h(x,y) and the direction of steepest slope in the previous parts of the question, if that's what you were referring to.
 
  • #12
sa1988 said:
Well it's 0, however I have no idea how that relates to finding a vector pointing in a direction such that its change in the z-direction is 0

Intuitively it seems to be that a vector that is orthogonal to ∇h(x,y) will be at that point moving in a direction such that it has no change in z-position.

... which in the case of my given answer would be (1/4 i - 1/8 j ) ...?

However I've done no calculus to get to that, which seems to go against the advice you're giving regarding ##\Delta z## etc. However I did work out ∇h(x,y) and the direction of steepest slope in the previous parts of the question, if that's what you were referring to.

I don't get why you are having a problem. Saying that ##\Delta z = 0## is saying that ##z## (the height) does not change. And, since we already have a formula for ##\Delta z## in terms of ##\Delta x, \Delta y## and the partial derivatives of ##h(x,y)##, we have everything we need. Of course, that only determines the direction (the ratio of ##\Delta y## to ##\Delta x##) and not the absolute magnitudes of ##\Delta x, \Delta y##, so we are free to "scale" the results however we like.
 
  • #13
Ray Vickson said:
. Of course, that only determines the direction (the ratio of ##\Delta y## to ##\Delta x##) and not the absolute magnitudes of ##\Delta x, \Delta y##, so we are free to "scale" the results however we like.

Sure but does ∇h(x,y) not determine the direction of x and y such that the resultant vector is pointing in the direction of the steepest slope at that point of the function? Whereas my challenge is to find the vector which has no steepness at that point. Hence me intuitively suggesting it must be orthogonal to the gradient vector. Was I wrong?

Thanks
 
  • #14
sa1988 said:
Sure but does ∇h(x,y) not determine the direction of x and y such that the resultant vector is pointing in the direction of the steepest slope at that point of the function? Whereas my challenge is to find the vector which has no steepness at that point. Hence me intuitively suggesting it must be orthogonal to the gradient vector. Was I wrong?

Thanks

Why are you arguing with me? I said exactly the same as what you have said, except that I gave reasons instead of just writing down a prescription without explanation.
 
  • #15
Ray Vickson said:
Why are you arguing with me? I said exactly the same as what you have said, except that I gave reasons instead of just writing down a prescription without explanation.

Oh wow no I wasn't arguing, sorry if it came across that way. It was just the first line of your previous post seemed to infer that I was still wrong overall, so I remained confused.

If all is good then that's fine, thanks.
 
  • #16
simple calculate here and answer it.
Read more
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
Replies
20
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
12
Views
2K