Find Answer for Gradient Question Starting at (3,2)

  • Context: Undergrad 
  • Thread starter Thread starter bryanosaurus
  • Start date Start date
  • Tags Tags
    Gradient
Click For Summary

Discussion Overview

The discussion revolves around calculating the gradient and directional derivative of the function z = 32 - x² - 4y² at the point (3,2) to determine the direction and rate of change in the i + j direction. The focus is on understanding the correct application of gradient and directional derivatives in this context.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests that the gradient indicates whether one is going up or down the hill and that its magnitude provides the rate of change.
  • Another participant clarifies that the magnitude of the gradient reflects the greatest increase/decrease of the function, not the rate of change in a specific direction.
  • A participant points out that the direction specified as (i + j) is misleading since it is not a unit vector.
  • There is a discussion about the correct calculation of the directional derivative using a unit vector.
  • One participant computes the gradient as -2xi - 8yj and questions which unit vector to use for the directional derivative.
  • Another participant explains how to construct a unit vector by dividing by its length.
  • A later reply indicates realization of the correct approach to use the unit vector and claims to obtain the correct answer.

Areas of Agreement / Disagreement

Participants express differing views on the interpretation of the gradient and the correct method for calculating the directional derivative. There is no consensus on the initial approach, but some participants agree on the need for a unit vector in the calculation.

Contextual Notes

Participants have not fully resolved the implications of using the gradient versus the directional derivative, and there are unresolved questions about the correct interpretation of the direction specified.

bryanosaurus
Messages
15
Reaction score
0
I am given z = 32 - x^{2} - 4y^{2}
Starting at the point (3,2) in i + j direction,
find if you are going up or down the hill and how fast.

The way I thought to proceed was that the gradient would tell me if I was going down or up hill and that \left|\nabla z \right| would give me "how fast". My answer of \sqrt{292} isn't correct however, so I'm obviously doing something wrong. Can anyone point me in the right direction of how to proceed?
 
Physics news on Phys.org
bryanosaurus said:
I am given z = 32 - x^{2} - 4y^{2}
Starting at the point (3,2) in i + j direction,
find if you are going up or down the hill and how fast.

The way I thought to proceed was that the gradient would tell me if I was going down or up hill and that \left|\nabla z \right| would give me "how fast". My answer of \sqrt{292} isn't correct however, so I'm obviously doing something wrong. Can anyone point me in the right direction of how to proceed?
The magnitude of the gradient effectively gives you the magnitude of the greatest increase/decrease of the function, rather than the rate of change of the function in a given direction, which is what you were asked. Instead of simply calculating the gradient of the function, you need to evaluate the directional derivative of the function at the given point, in the given direction.
 
What gradient did you compute?

A few notes:

1. "The (i + j) direction" is misleading, because (i + j) is not a unit vector!

2. The directional derivative in the direction of a unit vector \mathbf{\hat u} is given by:

\mathbf{\hat u} \cdot \nabla f
 
Ben Niehoff said:
What gradient did you compute?

A few notes:

1. "The (i + j) direction" is misleading, because (i + j) is not a unit vector!

2. The directional derivative in the direction of a unit vector \mathbf{\hat u} is given by:

\mathbf{\hat u} \cdot \nabla f


The gradient I computed was:
-2xi - 8yj

If I am supposed to calculate \mathbf{\hat u} \cdot \nabla f, what unit vector am I supposed to use? As you said, i + j isn't a unit vector...
 
Do you not know how to construct a unit vector in the direction of, say, vector u? Just divide by its length.
 
HallsofIvy said:
Do you not know how to construct a unit vector in the direction of, say, vector u? Just divide by its length.

I just realized that was what I was over looking. Thanks, if I use

i + j / |i + j|

i get the correct answer.
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K