Help understanding the gradient

  • Thread starter Thread starter 4570562
  • Start date Start date
  • Tags Tags
    Gradient
Click For Summary

Homework Help Overview

The discussion revolves around understanding the gradient of a function, specifically in the context of partial derivatives and their implications for the direction of maximum increase of the function f(x,y).

Discussion Character

  • Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to understand why the gradient vector, which includes a negative component, indicates a direction of maximum increase. They express confusion about the relationship between the signs of the partial derivatives and the direction of movement in relation to the gradient.

Discussion Status

Participants have engaged in clarifying the relationship between the gradient and directional movement. Some have pointed out that moving in the negative x direction can still lead to an increase in the function value, which has helped to address the original poster's confusion.

Contextual Notes

The discussion includes references to the limit definition of the derivative and how directionality affects interpretation, highlighting the complexity of understanding rates of change in different dimensions.

4570562
Messages
11
Reaction score
0

Homework Statement


The evaluated partial derivative of f(x,y) with respect to x is -16 and 6 with respect to y at some point (x0,y0). What is the vector specifying the direction of maximum increase of f?


Homework Equations


The direction of maximum increase of f is given by \nablaf(x,y). The maximum value of D_{u}f(x,y) is ||grad f(x,y)||.


The Attempt at a Solution


I know the answer is -16i + 6j. But I just don't know why. I understand the geometric argument based on the dot product given in my textbook for why the gradient gives the direction of maximum increase. That's fine. But is there a more intuitive way to look at it in terms of partial derivatives so that the result can be easily extended to higher dimensions?

The main part that's confusing me is that the rate of change of f wrt x is negative (-16) and yet we want to move partly in the x direction. It seems like we would only want to move in the y direction since the rate of change of f wrt y is positive.

Any help would be much appreciated.
 
Last edited:
Physics news on Phys.org
If the gradient is -16i+6j and you move in the NEGATIVE x direction then the function is increasing. A negative times a negative is positive.
 
Thank you very much. I knew it was something easy like that.

I didn't see it because I kept going back to the limit definition of the derivative where it doesn't matter if you are interpreting the slope formula from the positive or negative direction.

It seems that direction doesn't matter until the calculation is done and then it becomes extremely important. Thus

dy/dx = 5 when x=2

is interpreted to mean that the rate of change of y as x varies in the positive direction from 2 is 5.
 
Exactly. And if you are moving in the negative direction, it's -5. The gradient part and the direction part are separate.
 
Last edited:

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
9
Views
2K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
26
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K