I was very confused when people said the gradient was "normal" to the curve. I thought they meant the function itself, not the "level curve". Now it makes complete sense! Thanks!
@@sumittete2804 rate of change of the function is minimum in the direction of the tangent vector i.e. in you move perpendicular to the gradient vector
@@Suyogya77 But if i move opposite to gradient vector i.e 180° I'm getting rate of change of function as negative which is less than 0. Moving along tangent vector the rate of change of function is zero. So how ??
I am a civil engineer , now a days I am pursuing master's in structural engineering ,in structural engineering we use these concepts to find maximum stresses/strains , Before this video I tried a lot but couldn't get into the depth of concept but after watching this video ,I got the concept of it ,animations are very helpful .thankyou and keep up the good work.
Thank you so much. I read my textbook and understood about half of this material and watched this video a couple of times and now understand the gradient vector much better. You really helped me.
Man if my college calculus profs. were as articulate as Dr. Bazett..I would have gotten better grades in those classes. I'm now a retired software "geek" and really love watching these presentations. Very few folks who understand advanced math (and EE-Comp Sci) are good at teaching it to "undergrads". Of course I love the animations also.
Couldn't agree more, lot of lectures I have i can barely understand what they are trying to present. It's pretty funny that a you tuber can present ideas in a much more clear and straight forward matter.
I usually don't comment on videos but that's the best explanation i've ever watched to understand... i had this confusing for a long time and this lecture cleared that up! you deserve more subs!
It is a wonderful thing to see your passion about mathematics, I'm assure you it is contagious and I love you because of it. I wish best for you with my all heart. Please do continue to make videos like that.
I found myself really “down the rabbit hole” with this concept because it just doesn’t mean anything until you visualise it. Your videos really helped me, thank you 🙏
Of course I enjoyed it. For better understanding of the Gradient, I searched this subject, fortunately, I saw you and I just clicked! Thank you so much
My new favourite video of yours, the mountain example was great :) You taught me calc1 at Uvic last year and now you are teaching me calc 3. A true godsend, thanks Trefor!
@@sumittete2804 The direction of the gradient tells you the direction of steepest ascent, and the magnitude tells you the slope of that ascent. Opposite the gradient vector, is the direction of steepest descent. The rate of change of the function is minimized, if the input point travels perpendicular to the gradient vector. The contour lines are perpendicular to the gradient vector. The principle behind Lagrange multipliers comes from this idea. Given that the point in question follows a constrained path, the candidates for the local extreme value of the function's output will occur when the path and the contour line, share a common direction.
great videos, Trefor, I have been looking for the explanations with geometrical insights vs just algebra on the board. This really helps to "see" the math. thanks!
This video is spot on! Very nice. You just clarified gradient, level curves and the directional derivative in an intuitive way. I know understand the meaning behind the math. Thank you so much!
Thank you for this video. You are a very clear example of the fact that you don't need 3Blue1Brown levels of visual editing in order to explain something intuitively and clearly.
I like to think of the normal vector to the contour plot as the shortest distance between two points is a straight line. And when the distance between them next contour is infinitesimal. It is a parallel line. And anything other than normal is going to be more than just going normal.
This is awesome. You're uploading right as I'm learning this material in class, and it's super helpful. I'm a math and education major too - this is such a great conceptual explanation. Thank you!
i have been looking for a video to help me understand directional derivatives and the gradient for a week and this one was the most helpful!! the visual examples are amazing :)) thank you
Also really important how you pointed out grad f as in the x-y plane as that also can be very confusing initially thinking about it as the gradient itself but of course that’s why we need 😊
13:30 is important. Del f is into the mountain which is still normal to the curve and it is logical as del f components are in i and j directions. We move in x and y and the result is change in z which the magnitude of the gradient tells us.
I've read conflicting definitions of the gradient vector. Sometimes it's a normal vector perpendicular to the tangent plane at point P on a surface. In other definitions the gradient is a vector pointing "downhill" and lies *within* the tangent plane.
The issue is whether we are talking about the gradient of f, where z=f(x,y), or the gradient of F where F(x,y,z)=f(x,y)-z. The former gives a 2D vector in the x,y-plane (note: not the tangent plane), while the latter gives the normal to the surface
@@DrTrefor @Dr. Trefor Bazett Thank you, this is a helpful clarification! The method of Lagrange multipliers matches the grad f directions for two functions, correct? And I think statistical or machine learning methods that use gradient descent to find solutions for data modeling also utilize grad f, not grad F.
I think that the direction you have shown for Gradient Vector is the path that a climber would have to take while the actual direction of Gradient at any point would be paralel to XY plane.
Hii Im from India, and I really love how you explain such difficult concepts in such a simple and brilliant way, I never could have understood these concepts had I been dependent only on my college professor’s class, as he himself does’nt clearly know these concepts like you! However, I could still not connect with the idea of the directional derivative as a dot product of the gradient and the vector component, intuitively. Can you explain how is it actually helping in finding the slope of the function in any particular direction?
i think that it relates to what he said about cos(theta). If the dot product is equal to 0, the two components are orthogonal. And in this case you have gradient of f going up and the tangent going across (when you look at the mountain) this means that there is a 90° angle between them and cos(90°) = 0.
@Trefor Bazett - another great video! And another question from me regarding the gradient pointing perpendicular to level curves/surfaces. I can't see 'intuitively' why the gradient should be perpendicular to a level surface. To use your mountain analogy. Let's say that I am standing at a point on a contour on a mountain, and I'm 'designing' the mountain, can't I just pick a direction that's not perpendicular to the contour as the direction of steepest ascent? And second question, is there a way of 'intuitively' seeing why the grad vector points in the direction of the maximum rate of change? To me it is quite a surprising fact - I can't actually see intuitively why this should be the case without going through the algebra. Am I meant to be surprised by this or is there a way that makes this intuitively obvious?
hey I think you can but this is where you have to use lagrange multiplier to find the max. which you can determine in witch you go is the steepest. I mean I maybe wrong, but this is what I think.
My professor rambled on for 2 hours and I didn't understand anything. Here you are explaining it perfectly in 15 minutes. THANK YOU SO MUCH
I was very confused when people said the gradient was "normal" to the curve. I thought they meant the function itself, not the "level curve". Now it makes complete sense! Thanks!
Same!
Is rate of change of function minimum in the direction of tangent vector or in the direction opposite to gradient vector ?
@@sumittete2804 rate of change of the function is minimum in the direction of the tangent vector i.e. in you move perpendicular to the gradient vector
@@Suyogya77 But if i move opposite to gradient vector i.e 180° I'm getting rate of change of function as negative which is less than 0. Moving along tangent vector the rate of change of function is zero. So how ??
@@sumittete2804 do you use telegram or something?
dude I love ya. that cleared everything about gradients in my mind. Thanks a lot bud.
Glad it helped!
I am a civil engineer , now a days I am pursuing master's in structural engineering ,in structural engineering we use these concepts to find maximum stresses/strains , Before this video I tried a lot but couldn't get into the depth of concept but after watching this video ,I got the concept of it ,animations are very helpful .thankyou and keep up the good work.
Man, you really teach what's important to understand the concepts, and you explain yourself perfectly! Amazing! You've gained a new subscriber 😁
Thank you so much. I read my textbook and understood about half of this material and watched this video a couple of times and now understand the gradient vector much better. You really helped me.
Glad it was helpful!
Man if my college calculus profs. were as articulate as Dr. Bazett..I would have gotten better grades in those classes. I'm now a retired software "geek" and really love watching these presentations. Very few folks who understand advanced math (and EE-Comp Sci) are good at teaching it to "undergrads". Of course I love the animations also.
Couldn't agree more, lot of lectures I have i can barely understand what they are trying to present. It's pretty funny that a you tuber can present ideas in a much more clear and straight forward matter.
@@codstary1015 LOL, Its pretty naive of you to assume that Dr.Trefor is just another youtuber!
Beautifully presented! It's such a cool topic, and using mountains as an analogy makes everything so intuitive.
I have never seen such a beautiful explanation ever of Gradients love you
Great derivation and application! The derivation of the gradient-vector formula and its justification were both quite easy to follow!
I usually don't comment on videos but that's the best explanation i've ever watched to understand... i had this confusing for a long time and this lecture cleared that up! you deserve more subs!
Best math channel on RUclips!
The great combination of theory and a real example of a mountain in Vancouver. I enjoy the lesson series of Calculus so much.
Thank God I found this channel 🙌
had seen the videos pop up in the search results and never found the time to have a look. Now just did : I'm a fan! Thanks Prof. Bazett! :)
It is a wonderful thing to see your passion about mathematics, I'm assure you it is contagious and I love you because of it. I wish best for you with my all heart. Please do continue to make videos like that.
I found myself really “down the rabbit hole” with this concept because it just doesn’t mean anything until you visualise it. Your videos really helped me, thank you 🙏
Of course I enjoyed it.
For better understanding of the Gradient, I searched this subject, fortunately, I saw you and I just clicked!
Thank you so much
my favorite math teacher on youtube
Thank you!
after visualizing these concepts it became easier for me to perform the mathematical formulas thank you so much sir for the valuable information
this video is one of the greatest one's that you can find on this topic
my mind is blown, finally I understand how the tangent unit vector gives a direction along which f(x,y) is constant, Thx alot Dr.
glad it helped!
My new favourite video of yours, the mountain example was great :) You taught me calc1 at Uvic last year and now you are teaching me calc 3. A true godsend, thanks Trefor!
Thanks Conor, really appreciate that. Good luck with math 200!
Sir, you taught the topic deeply and with real life application...I think now I become your fan❤
Thank you sir.
Amazing lecture!
It essentially proves the notion that the gradient is orthogonal to the level set.
Thanks a lot Sir Trefor.
You are welcome!
Is rate of change of function minimum in the direction of tangent vector or in the direction opposite to gradient vector ?
@@sumittete2804 The direction of the gradient tells you the direction of steepest ascent, and the magnitude tells you the slope of that ascent. Opposite the gradient vector, is the direction of steepest descent.
The rate of change of the function is minimized, if the input point travels perpendicular to the gradient vector. The contour lines are perpendicular to the gradient vector.
The principle behind Lagrange multipliers comes from this idea. Given that the point in question follows a constrained path, the candidates for the local extreme value of the function's output will occur when the path and the contour line, share a common direction.
great videos, Trefor, I have been looking for the explanations with geometrical insights vs just algebra on the board. This really helps to "see" the math. thanks!
you'll make us love calculus and maths!!
thanks for including practical example of Vancouver island
haha I had fun with that part!
Your demonstration is just amazing Sir....the best explanation of gradient vector on RUclips....
Thanks a ton!
The example at the end really helped a lot in getting the concept , such a great explanation , I can't thank u enough.
This channel is truly underrated
Ahhh, finally I fully got it, thx man:) The map help a lot. I knew what gradient is, but i strugled to get the geometric meaning
Glad it helped!
This video is spot on! Very nice. You just clarified gradient, level curves and the directional derivative in an intuitive way. I know understand the meaning behind the math. Thank you so much!
Excellent explanation
I am doing all possible steps to take this channel to a bigger audience
i talked about him to an audience of about 150 people!!
Thank you for this video. You are a very clear example of the fact that you don't need 3Blue1Brown levels of visual editing in order to explain something intuitively and clearly.
Amazing explanation!!!! thank you so much, you make great influence in the world..
I like to think of the normal vector to the contour plot as the shortest distance between two points is a straight line. And when the distance between them next contour is infinitesimal. It is a parallel line. And anything other than normal is going to be more than just going normal.
Example of a mountain was superb to explain gradient..thanks bro
Fantastic explanation. Now I understand the gradient for our purposes lies in the xy plane and that it points into the mountain.
This video is amazing. First time I'm seeing these concepts clearly since I started taking this course.
understood the beauty of multivariable calculus and gradient operator. Thanks a lot sir :)))
Happy to help!
I wish there was the option of giving more than one like. Superb explanation!
Think you sir,,,,,,,Respect from Bangladesh 🇧🇩🇧🇩🇧🇩🇧🇩🇧🇩
This is awesome. You're uploading right as I'm learning this material in class, and it's super helpful. I'm a math and education major too - this is such a great conceptual explanation. Thank you!
i have been looking for a video to help me understand directional derivatives and the gradient for a week and this one was the most helpful!! the visual examples are amazing :)) thank you
great example, thank you for your video
Fantastic way of teaching!!! I recommend the classes here in Brazil!
The Geometric element is fascinating. But the algebraic dot product provide a solid conclusion.
Perfectly explained. Thank you sir
A legend is living among us!!!!!!!!!
This video is really helpful. Thank you so much,👏
amazing and so interesting! keep it up
Love your teaching sir...""LOVE""
Also really important how you pointed out grad f as in the x-y plane as that also can be very confusing initially thinking about it as the gradient itself but of course that’s why we need 😊
Absolute trivial explanation.
Great video that gives a brilliant straight explanation for the gradient vector. Hope to have your class in UVic.
Best math channel. Massive respect. Thank you sir..❤️
your bio says you try to do "evidence based pedagogical practices". This is just beautiful man. Hope you come up with more intuitive calculus videos
Absolutely fantastic explainer! Way to go!
excellent video as always, nice example :)
13:30 is important.
Del f is into the mountain which is still normal to the curve and it is logical as del f components are in i and j directions.
We move in x and y and the result is change in z which the magnitude of the gradient tells us.
Man, you are Richard Feynman of our time
That is high praise!
@@DrTrefor more than him!
Literally the truth🫡☺️
Not high praise , the amount of hard work you have done to develop these is phenomenal ❤
@@Abdullahezzat1893of course not. What a stupid reply🤦🏽♂️
Such a brilliant video, it truly heps
I cannot thank you enough kind sir.
Such a clarity in your explanation....thank you so much sir, you cleared my hardest doubt...😊😊❤❤😊❤❤❤
You’re literally perfect
Great illustration, thank you!
Great video, made it easy to understand. Thanks, professor Trefor!
thank you so much for clearing the doubt. The video was very helpful.
I've read conflicting definitions of the gradient vector. Sometimes it's a normal vector perpendicular to the tangent plane at point P on a surface. In other definitions the gradient is a vector pointing "downhill" and lies *within* the tangent plane.
The issue is whether we are talking about the gradient of f, where z=f(x,y), or the gradient of F where F(x,y,z)=f(x,y)-z. The former gives a 2D vector in the x,y-plane (note: not the tangent plane), while the latter gives the normal to the surface
@@DrTrefor @Dr. Trefor Bazett Thank you, this is a helpful clarification!
The method of Lagrange multipliers matches the grad f directions for two functions, correct? And I think statistical or machine learning methods that use gradient descent to find solutions for data modeling also utilize grad f, not grad F.
rewatched it several times, started losing hope but then it clicked and I was like 'wait that makes sense!'
Brilliant explanation again :). It would be very good if you linked the previous explanations, i.e., the tension vector.
Thank you sir ❤! You are clearing my such deep buried doubts .
So clever haha, loved the explanation
Great explanation! Thanks alot
Super thanks Dr.
May you be blessed
Very well-explained.
Glad you think so!
Great video!!! Is this one part of a series? How do we know the order in which to watch these great videos?
Yup, check out the links in teh description, have a whole multivariable playlist:)
Hey Professor which software you use for the video?
I think that the direction you have shown for Gradient Vector is the path that a climber would have to take while the actual direction of Gradient at any point would be paralel to XY plane.
At 8:39, shouldn’t you say 0 slope instead of minimum slope? I think you get the minimum slope when theta is -π
Yess....Rate of change of function is minimum in the direction opposite to gradient vector that is at angle of 180°
Wow LTT has an educational channel
thankyou so much! this one's great!!🌟
Oh god it helped me so much thanks sensai
amazingly clear. thank you
As a rock climber I like when he uses analogies involving climbing and mathematical concepts. The light bulb goes on in my head!
Wonderful video
Thanks a lot sir 🔥🔥🔥
Thanks so much it helped me understand the gradient concept.
Awesome video!
Hii Im from India, and I really love how you explain such difficult concepts in such a simple and brilliant way, I never could have understood these concepts had I been dependent only on my college professor’s class, as he himself does’nt clearly know these concepts like you!
However, I could still not connect with the idea of the directional derivative as a dot product of the gradient and the vector component, intuitively. Can you explain how is it actually helping in finding the slope of the function in any particular direction?
i think that it relates to what he said about cos(theta). If the dot product is equal to 0, the two components are orthogonal. And in this case you have gradient of f going up and the tangent going across (when you look at the mountain) this means that there is a 90° angle between them and cos(90°) = 0.
I love so much u are a genius teacher
awesome stuff! i love this subject
very informative
In starting, too many concepts to grasp. But the example in end was very interesting.
Amazing explanation! Thank you so much!!
Glad you enjoyed it!
Simply Brilliant
Thank you!
Sir ,please recommend me a mathematics book for engineering, and for gate and IIT jam exams.
GREAT video, solid explanation. but i have a question. was the gradient defined originally in terms of the directional derivative?
@Trefor Bazett - another great video! And another question from me regarding the gradient pointing perpendicular to level curves/surfaces. I can't see 'intuitively' why the gradient should be perpendicular to a level surface. To use your mountain analogy. Let's say that I am standing at a point on a contour on a mountain, and I'm 'designing' the mountain, can't I just pick a direction that's not perpendicular to the contour as the direction of steepest ascent?
And second question, is there a way of 'intuitively' seeing why the grad vector points in the direction of the maximum rate of change? To me it is quite a surprising fact - I can't actually see intuitively why this should be the case without going through the algebra. Am I meant to be surprised by this or is there a way that makes this intuitively obvious?
hey I think you can but this is where you have to use lagrange multiplier to find the max. which you can determine in witch you go is the steepest. I mean I maybe wrong, but this is what I think.