Calculating the Gradient of f at (4,5)

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

Discussion Overview

The discussion revolves around calculating the gradient of a function f at the point (4,5) using directional derivatives. Participants explore the relationship between gradients and directional derivatives, focusing on the application of formulas and the derivation of equations based on given directional derivatives.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant presents the problem of finding the gradient of f at (4,5) given directional derivatives in two different directions.
  • Another participant asks about the formula that connects gradients and directional derivatives, prompting further exploration of the topic.
  • A participant proposes a formula relating the directional derivative to the gradient and the direction vector, expressing uncertainty about its application.
  • Another participant confirms the formula's validity under the condition that the direction vector is a unit vector and suggests writing out equations based on the given directional derivatives.
  • It is noted that two equations can be formed from the directional derivatives, which could help in solving for the components of the gradient.

Areas of Agreement / Disagreement

Participants generally agree on the relationship between gradients and directional derivatives, but the discussion remains unresolved regarding the specific calculations needed to find the gradient.

Contextual Notes

Participants express uncertainty about the application of the formulas and the need to ensure that direction vectors are unit vectors. The discussion does not resolve the mathematical steps required to find the gradient.

Juntao
Messages
45
Reaction score
0
Consider the function z=f(x,y). If you start at the point (4,5) and move toward the point (5,6), the direction derivative is sqrt(2). Starting at (4,5) and moving toward (6,6), the directional derivative is sqrt(5). Find gradient f at (4,5).

Okay, this is probably a simple problem, but I don't know how to start it. Help appreciated.
 
Physics news on Phys.org
Do you know a formula that relates gradients and directional derivatives?

What do you get when you plug what you know into that formula? (represent unknowns with variables)
 
Forumula...*scratches head*

Um, I think this is the one, hopefully:
The derivative of f at Po in the direction of u= gradient f dot with u = magnitude grad f * magnitude u * cos theta = magnitude grad f * cos theta.

Or like D_u f= grad f (dot) u = |grad f| |u| cos theta = |grad f| cos theta

Maybe that'll help me out?
 
D_u f= grad f (dot) u
Yes, that's true as long as u is a unit vector (has length 1).

Another way of saying this is that the directional derivative is
f_x u_x+ f_y u_y where f_x is the partial derivative and u_x is the x component of unit vector u.

Find unit vectors in both the given directions and write out
f_x u_x+ f_y u_y= √(2) and
f_x v_x+ f_y v_y= √(5).

That gives you two equations for f_x and f_y.
 
D_u f= grad f (dot) u

That's the one of which I was thinking.

You know two instances of D_u f and u. (don't forget that u is a unit vector!), so grad f is the unknown. You have two equations, so you should be able to solve for the two components of grad f.
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K