How to Calculate Unit Vector for Mountain Contourlines?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 11K views
hexa
Messages
32
Reaction score
0
I'll be greatful for any hint.

Imagine you walk over the contourlines of the map of a mountain (really! that's the question) with a gradient of h(x,y)=2xy, x^2). You are at point (1,3) and you want to walk downslope at an angle of 45 degrees. calculate the unit vector in order to find out in which direction to walk.

Hexa
 
Physics news on Phys.org
What's this doing in precalculus? This is a partial derivative problem. If the gradient is (2xy, x2), then the derivative in the direction of unit vector (a, b) is just the dot product, 2xya+ x2b. If you are walking downslope at an angle of 45 degrees, then the slope must be tan(45)= 1. You want 2xya+ x2b= 1 and, of course, a2+ b2= 1. Solve for a and b in terms of x and y.
 
Thanks a lot for your help. I'll work on with this.

Calculus: not a term used in this country, so I'm not quiet sure where the border is between precalculus and calculus.