knowlewj01
- 100
- 0
Homework Statement
The shape of a hill is described by the height function:
h(x,y) = \frac{1}{\sqrt{2+x^2+y^4}}
a) find the gradient \nabla h(x,y)
b) find the maximum slope of the hill at the point \bf{r_0 = i+j} [or (x,y) = (1,1)]
c) If you walk NorthEast (in the direction of the vector \bf{i+j}) from the point \bf{r_0}, 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 r_0 that remains at the same height
Homework Equations
in cartesian:
\nabla = \left( \bf{i}\frac{\partial}{\partial x} + \bf{j}\frac{\partial}{\partial y} + \bf{k}\frac{\partial}{\partial z}\right)
The Attempt at a Solution
a) \nabla h(x,y)
= \left( \bf{i}\frac{\partial}{\partial x} + \bf{j}\frac{\partial}{\partial y} + \bf{k}\frac{\partial}{\partial z}\right) \cdot \left(2+x^2+y^4\right)^{-\frac{1}{2}}
= -\bf{i}x\left(2+x^2+y^4\right)^{-\frac{3}{2}} -\bf{j}2y^3\left(2+x^2+y^4\right)^{-\frac{3}{2}}
so this is the direction in which the gradient of h increases the quickest.
b) at the point (1,1) the maximum slope of the hill will be given by substituting x=1 and y=1 into the answer from part (a).
\nabla h(1,1) = -\bf{i} \frac{1}{8} -\bf{j} \frac{1}{4}
so at the point (1,1) the maximum slope is in this direction. the magnitude of the slope is the magnitude of this vector.
\left|-\bf{i} \frac{1}{8} -\bf{j} \frac{1}{4}\right| = \sqrt{\frac{1}{64} + \frac{1}{16}}
= \frac{\sqrt{5}}{8}
I think I'm doing fine so far, part (c) confuses me.
Start at point (1,1) and walk in the direction \bf{i+j}.
I know the direction in which slope increases the quickest from this point, but to find the slope of the path i am taking I'm not sure what to do, would it have something to do with the angle between \nabla h(1,1) and the vector \bf{i+j}?
for part (d) I assume I need to find a solution to \nabla h such that it is equal to zero. I'm not quite sure how to do this either. Can anyone point me in the right direction?