Question about the gradient of a function

  • Thread starter pamparana
  • Start date
  • #1
128
0
Hello everyone,

This might be a bit of a silly question. Just looking at the definition of a gradient of a scalar field in wikipedia:

http://en.wikipedia.org/wiki/Gradient" [Broken]

So, the gradient points in the direction of the greatest increase in scalar field.

From the definition with the partial derivatives, it is not clear to me why that vector should point in the direction of greatest increase though. I understand how one computes the gradient but from that definition how can one conclude that this will point in the direction of greatest change?

Many thanks for any help you can give me.

Cheers,
Luc
 
Last edited by a moderator:

Answers and Replies

  • #2
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,559
770
Think about the directional derivative of f at a point P in the direction of a unit vector u:

[tex]D_{\hat u}f(P) = \nabla f (P)\cdot \hat u = |\nabla f(P)| |\hat u|\cos(\theta)= |\nabla f(P)| \cos(\theta)[/tex]

where [itex]\theta[/itex] is the angle between u and the gradient. Notice that the only variable in this equation is the direction of u. The directional derivative will be max when [itex]\cos\theta[/itex] = 1, which is when [itex]\theta= 0[/itex] which says u is pointed in the direction of the gradient. So the gradient must point in the direction of max rate of change at P.
 
  • #3
128
0
Ah! That makes sense. Many thanks for the explanation. Much appreciated.

Luc
 

Related Threads on Question about the gradient of a function

  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
3
Views
877
  • Last Post
Replies
1
Views
5K
  • Poll
  • Last Post
2
Replies
31
Views
6K
Replies
9
Views
747
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
3
Views
2K
Replies
1
Views
663
Replies
1
Views
1K
Top