Gradient Vectors: Solving A(x,y)=300e^-(x^2 +y^2)/100 Homework

A(x,y) at (8,6) in the direction of u= -cos(pi/4)i +sin(pi/4)j, since Northwest would be 135 degrees."Yes, I agree with your interpretation of the problem. However, your classmate's answer (-1,1) may be correct as well. It is possible that there are multiple ways to interpret the direction of "precisely northwest" and both answers could be correct.
  • #1
knowLittle
312
3

Homework Statement


An artificial hill has altitude given by the function A(x,y)=300e^-(x^2 +y^2)/100 where the positive y-axis points north and the positive x-axis points east.

a.)What would be the instantaneous rate of change of her altitude if she walks precisely northwest, starting from the point (8,6)?

b.) Which way should she start walking to go downhill most rapidly from the point (8,6) and what would the rate of change of her altitude be if she walked in that direction?

c.) Which ways could she start walking to stay at a constant altitude, starting from (8,6)?
(Note that of course she is in a location with 3 coordinates, so I'm specifying only her x and y coordinates in this problem.)

Could you review all my answers?

Homework Equations


Directional derivatives.

The Attempt at a Solution


Problem 3a., the "instantaneous rate of change of her altitude if she walks precisely northwest, starting from the point (8,6)?" can be interpreted as find the directional derivative of A(x,y) at (8,6) in the direction of u= -cos(pi/4)i +sin(pi/4)j, since Northwest would be 135 degrees.

Ax (8,6)=-6xe^(-x^2 -y^2)/100 =-48e^-1
Ay(8,6)=-6ye^(-x^2 -y^2)/100=-36e^-1

D_u A(x,y)=(-48e^-1)(-cos(pi/4)i)+(-36e^-1)(sint(pi/4)j ), D as in directional derivative.

I found that D= 3.121560451

Problem 3b.)
Which way should she start walking to go downhill most rapidly from the point (8,6)?
Downhill most rapidly from (8,6) means the -|gradA|
gradA(x,y)=Ax(x,y)i+Ay(x,y)j
gradA(x,y)=-48e^(-1)i -36e^(-1)j, she should start walking in this direction to go uphill most rapidly and -gradA(x,y) to go downhill most rapidly.
Namely,
48e^(-1)i +36e^(-1)j

what would the rate of change of her altitude be if she walked in that direction?
Rate of change of her altitude would be |gradA(x,y)|=22.07276647

Problem c.)
Which ways could she start walking to stay at a constant altitude, starting from (8,6)?
(Note that of course she is in a location with 3 coordinates, so I'm specifying only her x and y coordinates in this problem.)
Domain of x and y are all reals, but z=A(x,y) can only be [0,300]
So there are only upwards<110.363824, 300]
and downwards from <110.36824, 0] ways.


Thank you
 
Physics news on Phys.org
  • #2
knowLittle said:
Problem c.)
Which ways could she start walking to stay at a constant altitude, starting from (8,6)?

I think you're fine with parts A and B. For part C, you want to find a vector [itex]\vec{r}[/itex] such that [itex]\vec{\nabla}A(x,y)\cdot\vec{r}=0[/itex]. When you find that you have one equation with two unknowns, recall that you only need the direction, so [itex]\vec{r}\cdot\vec{r}=1[/itex]. Now you have two equations with two unknowns. You should expect to find one direction and its opposite to satisfy these relations.
 
  • #3
## \nabla A\left( 8,6\right) = < \left( -48e^{-1}\right) ,\left( -36e^{-1}\right) > ##

I looked up the dot product of the same vector and there are some problems with it. So, since I only need the direction r.r=1 ? I don't understand, how can you disregard the vectors magnitudes?
 
  • #4
Now that you have [itex]\vec{\nabla}A(8,6)[/itex], dot it with [itex]\vec{r}=\{r_x,r_y\}[/itex]. In solving for [itex]r_x[/itex] and [itex]r_y[/itex], you can use [itex]r_x^2+r_y^2=1[/itex].
 
  • #5
Why do you say that the dot product is 1?
 
  • #6
The length of [itex]\vec{r}[/itex] is of no concern, only its direction matters. In fact, here's what you really need to solve: [itex]\vec{\nabla}A(8,6)\cdot\hat{r}=0[/itex]. Is this less ambiguous?
 
  • #7
See if this contour plot of [itex]A(x,y)[/itex] helps. The blue vector represents the unit vector pointed in the direction of [itex]\vec{\nabla}A(x,y)[/itex]. The black vectors represent unit vectors in the direction of no ascent - they correspond to each [itex]\hat{r}[/itex] you need to find.

attachment.php?attachmentid=45510&stc=1&d=1332721994.png
 

Attachments

  • contours.png
    contours.png
    6 KB · Views: 465
  • #8
alfredska said:
Is this less ambiguous?
Yes. It is less ambiguous, but still I am confused.

So you want:
## < -48e^{-1},-36e^{-1}>\dfrac {.\overline {r}} {||\overline {r}\parallel }= ## 0

Then,
## -48e^{-1}r_{1}=36e^{-1}r_{2} ##

I don't know, how to proceed.
 
  • #9
knowLittle said:
## -48e^{-1}r_{1}=36e^{-1}r_{2} ##

I don't know, how to proceed.

So that's one equation in two unknowns. Now use that [itex]\hat{r}[/itex] is a unit vector: [itex]r_x^2+r_y^2=1[/itex]. Then you have two equations and two unknowns.
 
  • #10
How do you derive rx^2+ry^2 =1 from the unit vector?
 
  • #11
knowLittle said:
How do you derive rx^2+ry^2 =1 from the unit vector?

Your vector's length is [itex]|\hat{r}|=\sqrt{r_x^2+r_y^2}=1[/itex]. Square both sides and [itex]1^2=1[/itex].
 
  • #12
Ok, I agree that the unit vector's length is 1.
Solving both equations yield:
r1=(-3/4) SQRT(4/3)
r2=SQRT(4/3)
The directions are:
r=r1+r2, and it's oppposite
-r=-r1+-r2
?
 
  • #13
knowLittle said:
Ok, I agree that the unit vector's length is 1.
Solving both equations yield:
r1=(-3/4) SQRT(4/3)
r2=SQRT(4/3)
The directions are:
r=r1+r2, and it's oppposite
-r=-r1+-r2
?

Check your math.
 
  • #14
Sorry about that,
r1=(-3/4)SQRT(16/7)
r2=SQRT(16/7)

r=r1+r2 and opposite
-r=-r1-r2
 
  • #15
Check your math.
 
  • #16
Do you just suggest me to simplify the expression?
## r_{1}=\dfrac {36e^{-1}r_{2}} {-48e^{-1}}=\dfrac {-3} {4}r_{2} ##
## r_{1}^{2}+r_{2}^{2}=1,\left( -\dfrac {3} {4}r_{2}\right) ^{2}+r_{2}^{2}=1 ##
## r_{2}=\left( \sqrt {\dfrac {1} {7}}\right) 4 ##
and r1=-3SQRT(1/7)
 
  • #17
No, I suggest that your answer is wrong. So far, I agree with [itex]r_1=-(3/4)r_2[/itex], but you somehow go awry when plugging this into [itex]r_1^2+r_2^2=1[/itex].
 
  • #18
Wow, I'm sorry.
r2=4/5, r1=-3/5

r=r1+r2 and opposite direction
-r=-r1-r2
 
  • #19
Great, so you can either state these in vector format: [itex]\hat{r}=-(3/5)\hat{x}+(4/5)\hat{y}[/itex] (and similarly for [itex]-\hat{r}[/itex]), or in angular format as measured from the positive x-axis.
 
  • #20
Thank you. According, to a classmate part A from this problem can be answered as having the vector direction (-1,1). He gets a different result than mine.

Do you agree with my result?
 
  • #21
knowLittle said:
Thank you. According, to a classmate part A from this problem can be answered as having the vector direction (-1,1). He gets a different result than mine.

Do you agree with my result?

The vector corresponding to NW is [itex]\hat{r}=\{-1/\sqrt{2},1/\sqrt{2}\}[/itex]. Then the instantaneous rate of change in that direction, starting from point (8,6) is: [itex]\vec{\nabla}A(8,6)\cdot \hat{r} = ?[/itex]
 
Last edited:
  • #22
D_u A(x,y)=(-48e^-1)(-cos(pi/4)i)+(-36e^-1)(sint(pi/4)j ), D as in directional derivative.
 

1. What is a gradient vector?

A gradient vector is a mathematical concept used in vector calculus to represent the direction and magnitude of the steepest slope or rate of change of a function at a specific point. It is usually denoted by the symbol ∇ and is also referred to as the del operator.

2. How do you solve for a gradient vector?

To solve for a gradient vector, you need to first find the partial derivatives of the function with respect to each variable. Then, you can combine these partial derivatives into a vector by taking the partial derivative of each variable and arranging them in a specific order.

3. What is the purpose of solving for a gradient vector?

The purpose of solving for a gradient vector is to determine the direction and magnitude of the steepest slope or rate of change of a function at a specific point. This can be useful in various applications such as optimization problems, physics, and engineering.

4. What is the formula for a gradient vector?

The formula for a gradient vector is ∇f(x,y) = (∂f/∂x, ∂f/∂y), where ∂f/∂x and ∂f/∂y are the partial derivatives of the function with respect to x and y, respectively.

5. Can the gradient vector be used to find the maximum or minimum value of a function?

Yes, the gradient vector can be used to find the maximum or minimum value of a function. The direction of the gradient vector points towards the direction of the steepest increase, while the magnitude represents the rate of change. Therefore, the maximum or minimum value of a function can be found by setting the gradient vector equal to zero and solving for the variables.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
470
  • Calculus and Beyond Homework Help
Replies
3
Views
960
  • Calculus and Beyond Homework Help
Replies
4
Views
845
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
11
Views
4K
  • Calculus and Beyond Homework Help
Replies
1
Views
7K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top