r/calculus • u/Responsible_Store592 • 4d ago
Multivariable Calculus Help with problem: max rate of change (gradient, directional derivatives)
Hello, I am having trouble understanding part B of example 3 (in what direction does f have a maximum rate of change at (2,0)?). I have watched videos such as the one below and also asked gemini and looked on quora for help but I still don't get it.
I understand that DuF = gradient dot unit vector = |gradient| * |unit vector| *costheta = |gradient| costheta, which is max when theta = 0 -> cos = 1. That makes sense to me. However, I don't understand how putting in the point gives you the max of DuF. Why would the gradient (which I understand to be a vector of the partial derivatives) give the max of DuF? That goes against my understanding of derivatives from calc bc, don't you need to set it equal to zero or something? Also, is |gradient| a constant or something, the video / some AI told me it was, I don't remember or understand that part.
-> could you please explain why gradient of (a,b) gives the max slope at (a,b).
Thank you for your help.
•
u/AutoModerator 4d ago
As a reminder...
Posts asking for help on homework questions require:
Commenters responding to homework help posts should not do OP’s homework for them.
Please see this page for the further details regarding homework help posts.
We have a Discord server!
If you are asking for general advice about your current calculus class, please be advised that simply referring your class as “Calc n“ is not entirely useful, as “Calc n” may differ between different colleges and universities. In this case, please refer to your class syllabus or college or university’s course catalogue for a listing of topics covered in your class, and include that information in your post rather than assuming everybody knows what will be covered in your class.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
8
u/TwoOneTwos 3d ago
I’m not able to assist you with this but I like that drawing you made :D
4
u/flyin-higher-2019 3d ago
Yep, the gradient is maximized in the direction orthogonal to the contour. (You showed this when you said the dot product is zero.)
Along the contour, the gradient is zero, because the elevation of the contour is constant. Then, as we rotate the gradient vector the value of the gradient increases, reaches a max, then decreases until it is zero again when it points along the contour, albeit in the opposite direction.
Hope this helps!
3
u/ingannilo 3d ago edited 3d ago
weThe gradient vector is not just pointing in the domain at the direction in which f grows the fastest. It's length also varies.
Specifically (and intuitively-- look at the def of the gradient) the gradient gets larger as the partial derivatives get larger. Similarly, the gradient gets smaller as the partial derivatives get smaller.
Indeed, the theorem you mention has presicely the information you need. You just have to digest it more fully. it'd be helpful to look at some surface plots z=f(x, y) where you can drag an input (x, y) around and simultaneously see the gradient of f at that point drawn in the x, y-plane.
Edit: found a decent toy like was describing on geogebra here https://www.geogebra.org/m/sWsGNs86
Grab a few surfaces from your homework on directional derivatives and the gradient and type them in for f(x, y), then move the x_0 and y_0 sliders around to change the input and explore the surface while looking at the gradient vector.
1
u/KingMagnaRool 3d ago
So you're actually almost there with the cos theta explanation. The gradient is defined as a vector
grad f = (f_x, f_y)
We know that a vector is uniquely determined by its magnitude and direction, which in this case is a unit vector u, so
grad f = |grad f| u = (f_x, f_y)
If this u is in the direction of maximal increase of f at (x, y), then (f_x, f_y) must also point in the direction of maximal increase. Fortunately, we know from your argument that if we pick any arbitrary directional vector v, Duf = |grad f| u * v is maximized when v is the same direction as u, where u is determined by grad f. Therefore, grad f = (f_x, f_y) must point in the direction of maximal increase at (x, y).
1
u/Significant-Deer1147 15h ago
How did you find a hamster with given question? Candidate for a Novel prize