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
SUMMARY

The discussion focuses on finding the directional derivative of the function z = 32 - x² - 4y² at the point (3,2) in the direction of the vector (i + j). The user initially miscalculated the gradient and misunderstood the concept of directional derivatives. The correct approach involves calculating the unit vector in the direction of (i + j) and then using it to compute the directional derivative as \(\mathbf{\hat u} \cdot \nabla f\). The user successfully resolves their confusion by normalizing the vector (i + j).

PREREQUISITES
  • Understanding of gradient vectors and their significance in multivariable calculus
  • Knowledge of directional derivatives and how to compute them
  • Familiarity with unit vectors and vector normalization
  • Basic proficiency in calculus, specifically with functions of two variables
NEXT STEPS
  • Learn how to compute gradients for multivariable functions
  • Study the concept of directional derivatives in depth
  • Practice normalizing vectors to create unit vectors
  • Explore applications of gradients and directional derivatives in optimization problems
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are studying multivariable calculus and need to understand gradients and directional derivatives for optimization and analysis of functions.

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
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K