The Gradient Operator in Vector Calculus: Directions of Fastest Change & the Directional Derivative

  Рет қаралды 86,618

Steve Brunton

Steve Brunton

Күн бұрын

This video introduces the gradient operator from vector calculus, which takes a scalar field (like the temperature distribution in a room) and returns a vector field with the direction of fastest change in the temperature at every point. The gradient is a fundamental building block in vector calculus and it is also used more broadly in optimization and machine learning algorithms, for example in gradient descent and stochastic gradient descent. We also discuss the directional derivative.
@eigensteve on Twitter
eigensteve.com
databookuw.com
This video was produced at the University of Washington
%%% CHAPTERS %%%
0:00 Introduction & Overview
5:02 Example: Temperature Gradient
7:30 The Directional Derivative
10:09 Example: Gravitational Potential Field

Пікірлер: 75
@Bruh-vp6qf
@Bruh-vp6qf Жыл бұрын
Best series I found for catching up on uni maths I forgot. Goes into enough detail whilst being short enough to fit in at work
@xenofurmi
@xenofurmi 15 күн бұрын
This is what is good about the internet for education. A good succinct lecture really gets the information across. If you want to learn we are in a golden age. I am very excited for it all.
@pablocb3529
@pablocb3529 2 жыл бұрын
Another nice graphic application of Grad is that it provides the normal direction of the surface T(x,y)=constant. This idea can be very useful for the geometrical understanding of our math problems. For any surface I can write as f(x,y)=constant, I can obtain the normal of this surface at any surface point just obtaining the Grad vector (whatever the complexity of this surface is). This directly applies to plasticity theory with respect to the yield surface and the normality rule.
@death_parade
@death_parade Жыл бұрын
Thank you for this comment.
@TheGamshid
@TheGamshid 2 жыл бұрын
Sir, You are the Best, truly intuitive. Much appreciation!
@mariovrpereira
@mariovrpereira Жыл бұрын
so glad to be seeing your lecture. thank you
@manoj_610
@manoj_610 2 жыл бұрын
Thank you, Sir I am eagerly waiting for the coming lectures.
@shubhamkamble
@shubhamkamble 2 жыл бұрын
Always wonderful to learn from you, i tried the example of gravitational potential, quite a neat example. Thanks for the video :)
@brucewayne6257
@brucewayne6257 Жыл бұрын
Hey man!Are u indian?Just wondering if this helped you in your university maths?
@sarasabag
@sarasabag 2 жыл бұрын
Really great lecture. Thank you very much!
@Kashif_Javaid
@Kashif_Javaid 2 жыл бұрын
Keep it up. Awesome series
@SirZinloos
@SirZinloos Жыл бұрын
Great explanation!
@yousefmostafa4645
@yousefmostafa4645 2 жыл бұрын
Thank you sir its a great explaining
@alegian7934
@alegian7934 2 жыл бұрын
love this series
@elizabethlin3813
@elizabethlin3813 2 жыл бұрын
Coming to learn new knowledge!
@matrub2097
@matrub2097 2 жыл бұрын
Correct me if i'm wrong, but i think the radius vector is pointed from the center of the Earth to the mass. This way the minus sign in the equation of force make sense.
@Drdragonesk22
@Drdragonesk22 2 жыл бұрын
You are absolutely correct. The minus sign gains its significance when you define a inertial system (physics term) with unit-vectors with origin at the center of the earth. One equivalent statement comes from linear algebra and the algebra of vectors. The physical “inertial system” is the mathematical equivalence to a set of basis vectors that roughly speaking spans a vector space, with a origin that is constant. So if we would say that the earth rotates around the moon, i.e. we define an inertial system at the center of the moon, then the force would change sign depending on how we choose the basis vectors, or respectively in what way we define the inertial system. (This is crucial in my opinion to understand Steve’s video about Coordinates and Autoencoders (…)) I recommend Princetons book Jeremy Kasdin and Dereks “Engineering Dynamics - A comprehensive Introduction” for a more low level, yet richer, vector formalism used in dynamics. But a high level introduction as this series is worth a lot. Then perhaps you will see that the probability for needing to ask for correction about a fact about vectors and physics might decrease!
@vikraal6974
@vikraal6974 Жыл бұрын
Yes absolutely. Negative sign indicates F is opposite to the unit vector of r.
@m.carmencasascastillo3901
@m.carmencasascastillo3901 2 ай бұрын
You're right!
@curtpiazza1688
@curtpiazza1688 Жыл бұрын
Great video! Thanx! 😊
@draganostojic6297
@draganostojic6297 2 жыл бұрын
Thank you Steve. Enjoy your sabatical 💗
@SUMON041
@SUMON041 7 ай бұрын
Think you sir,,,,,,love from Bangladesh 🇧🇩🇧🇩
@anoshiravan6809
@anoshiravan6809 7 ай бұрын
thanks for your great explaination
@Eigensteve
@Eigensteve 7 ай бұрын
Glad you liked it!
@semihcanakca1762
@semihcanakca1762 2 жыл бұрын
many thanks!!
@giro808
@giro808 11 ай бұрын
Thank you!
@KamrulHasan-dp8jk
@KamrulHasan-dp8jk 2 жыл бұрын
Please make a video on double curl of a vector field on a cartesian point.
@Tyokok
@Tyokok Жыл бұрын
Hi Steve, do you have a video for "Field"? like what is field and what is scalar or vector field? Thank you very much!
@studybuddy1015
@studybuddy1015 Ай бұрын
thank you sir
@suttikoonkoonkor5719
@suttikoonkoonkor5719 2 жыл бұрын
At 12:05, shouldn't vector r point outwards from the centre of the Earth? So the gravitational force has the direction towards the centre given the minus sign in the equation.
@edemkumah5248
@edemkumah5248 2 жыл бұрын
Thank you
@nemes1s_aoe
@nemes1s_aoe 2 ай бұрын
Great!
@yahiabousseloub9217
@yahiabousseloub9217 2 жыл бұрын
Sir, please can u explain augmented Lagrangian (penalty function)
@krelly90277
@krelly90277 2 жыл бұрын
Can I use the gradient to model the gradient of sand density on Arrakis?
@twist777hz
@twist777hz 2 жыл бұрын
Dear Professor Brunton, I heard mathematicians treat the output of the gradient operator as a *row* vector (for reasons supposedly to do with differential geometry), while engineers and statisticians typically treat it as a *column* vector. I'm curious if there is a preference for either convention in the optimization / machine learning literature, as well as your own preference.
@wp4297
@wp4297 2 жыл бұрын
Row vectors and column vectors DO NOT exist. A vector is a vector, an abstract object, independent on the reference frame or the coordinates you use. Then, you can sort the coordinates (reminding which base vectors are associated with) as you wish: if you're free to choose your convention, choose the one you're more comfortable with, if you're using some libraries check out the documentation to find the convention they're using
@andrewferguson6901
@andrewferguson6901 2 жыл бұрын
@@wp4297 i like to project my vectors onto a cylinder so i don't have to look at all of the columns at the same time
@wp4297
@wp4297 2 жыл бұрын
@@andrewferguson6901 I have not enough imagination for cylinders in high-dimensional spaces :)
@mar-a-lagofbibug8833
@mar-a-lagofbibug8833 2 жыл бұрын
Its the small details added that fill in the missing knowledge gaps for beginners. Why are the vector symbol over the grad removed? I needed to know that!!! Thanks teacher.
@jackwhitestripe7342
@jackwhitestripe7342 2 жыл бұрын
Gradient alone is not a vector, it is a function. When we apply specific values to a gradient function we obtain the gradient vector in a specific point in a coordinate system. The result represents a vector, then we use vector symbol over that.
@sampritimukherjee93
@sampritimukherjee93 10 ай бұрын
Great explanations for easy intuitive understanding of PDEs. I however was wondering whether we can add time in these equations, and how?
@zishangwu1916
@zishangwu1916 10 ай бұрын
You can randomly take a vector, with known unit length and started from a known initial point, on a surface and calculate its maximum increasing/decreasing speed using the time as unit length increment in both x and y direction. You will use it when you are calculating the directional derivative but eventually you will not see "t" cuz what you get will be a number determined by the magnitude of the delta, unit vector, and the angle between these two vectors.
@martinperu6207
@martinperu6207 2 жыл бұрын
Thanks.. Some books for it?
@xxyz1000
@xxyz1000 2 жыл бұрын
New epsode at MathFlix! 😀
@PingSharp
@PingSharp 3 ай бұрын
I have an exam on this on monday. ≈50% of students fail the course, where I study. Thank you for the great explanations
@filu005
@filu005 2 жыл бұрын
I have a question about calculating a gradient of gravitational potetnital: V = -(GmM)/r I can decompose r into a form where I keep each axis separate using pythagorean theorem: r = (x^2 + y^2 + z^2)^(1/2) now V equals: V = -(GmM)*(x^2 + y^2 + z^2)^(-1/2) Now I can calculate a derivative in each direction (x, y, z): dV/dx = -(GmM)*(-1/2)*(x^2 + y^2 + z^2)^(-3/2)*2x = x(GmM)*(x^2 + y^2 + z^2)^(-3/2) = x(GmM)/(r^3) y and z can be calculated correspondingly. Now, what's the next step? How do I go from this vector: ∇V=[dV/dx, dV/dy, dV/dz] to: F = -r(mMG)/(r^3)
@philipbarthelma1903
@philipbarthelma1903 2 жыл бұрын
Well you basically already did it. You calculate dV/dx , dV/dy, dV/dz which will give you: x(GmM)/(r^3) y(GmM)/(r^3) z(GmM)/(r^3) respectively. you then substitude this into your vector ∇V=[dV/dx, dV/dy, dV/dz]. You will get (and here i factored out the (GmM)/(r^3) from each component): (GmM)/(r^3) * [x , y , z]. But [x , y , z] is just your position Vector. In other Terms: its r. So you get your desired Equation: ∇V = (mMG)/(r^3) * r (where the last r in the equation is a vector). Since F = - ∇V we have to add a minus sign and then we are done: F = -(mMG)/(r^3) * r as shown in the video.
@filu005
@filu005 2 жыл бұрын
@@philipbarthelma1903 Ahh I see! I got stuck on calculating partial derivatives (dV/dx,...) 🙄 the rest is clear. Thanks for the explanations!
@muralikrishnay2734
@muralikrishnay2734 Жыл бұрын
Is the concept of grad similar to maxima and minima?
@dojjy5798
@dojjy5798 2 жыл бұрын
YES.
@baki4457
@baki4457 2 ай бұрын
I didn’t understand how the gravitational force is equal to mMG/r^3 , Isn’t suppoed to be 1/r^2
@gyorgyo7597
@gyorgyo7597 Жыл бұрын
Hi. So F is minus the directional derivative of V ? Excellent video.
@hagopbulbulian6642
@hagopbulbulian6642 Жыл бұрын
May I ask where is the I,j,k in nebla (delta ) why you don't put them in the column vector like [d/dx i, d/dy j, d/dz k]
@Syndicalism
@Syndicalism 9 ай бұрын
In matrix notation, as seen in this video, each row will always imply a different basis direction. It is when writing a vector in component form that i-hat, j-hat, and k-hat are written explicitly to make it clear to the reader/writer that a linear combination of the scaled Cartesian (rectangular) basis is used. To reiterate, in matrix notation, you should already know not to add the individual components of the vector together as they are on separate rows and thus imply a different 'direction'. In component form, the only reason you know not to add the individual components of the vector together is because the basis vectors (i-hat, j-hat, k-hat) are written explicitly.
@Syndicalism
@Syndicalism 9 ай бұрын
Apologies if that's confusing. It felt weird to simply say that i-hat, j-hat, and k-hat are already implied in matrix form as each row represents its own basis vector, scaled by some factor.
@douglasstrother6584
@douglasstrother6584 5 ай бұрын
UC Santa Cruz - Physics 1987
@imQuark
@imQuark Жыл бұрын
How are you so good at writting backwards?
@rajjolal23
@rajjolal23 18 күн бұрын
the video is mirrored.
@yadt
@yadt 2 жыл бұрын
(Some) ants certainly can fly, to my eternal horror.
@slickmorty9845
@slickmorty9845 2 жыл бұрын
♥♥♥♥♥♥
@GustavoRocha1
@GustavoRocha1 5 ай бұрын
Is he writingevery thing mirrored???
@PingSharp
@PingSharp 3 ай бұрын
I would assume that he mirrors the video itself
@michaelolatunde1585
@michaelolatunde1585 Жыл бұрын
Some ants actually do fly Steve 🙂 6:18
@someonestolemyname
@someonestolemyname 2 жыл бұрын
Now when I need to write gravity I can turn it into del mass instead.
@godfreypigott
@godfreypigott 2 жыл бұрын
But *WHY* is the directional derivative given by that dot product?
@EdwardAlexanderSmall
@EdwardAlexanderSmall 2 жыл бұрын
The (1/||v||)*v normalises the v vector (call this value v'). We normalise it because we do not care about its magnitude, we only care about it's direction, and as such the magnitude of v'=1. Now we have v'.(grad(f)). What we are doing with this dot product operation is projecting v' onto the gradient vector grad(f). This basically tells us how much of vector v' is pointed in the same direction as grad(f). If the vectors are at right angles to each other (orthogonal) then the answer will be 0 because no amount of v' points in the same direction as grad(f). If the answer is 1 then they point in the same direction, if it is -1 they point in the opposite direction.
@draganostojic6297
@draganostojic6297 2 жыл бұрын
It's a projection of the gradient onto the unit vector so it's the dot product.
@godfreypigott
@godfreypigott 2 жыл бұрын
@@EdwardAlexanderSmall I actually know how it works. My point was that he should be explaining this instead of just giving the result.
@EdwardAlexanderSmall
@EdwardAlexanderSmall 2 жыл бұрын
@@godfreypigott Okay. A fair criticism, even if giving it in the form of rhetoric comes across as a little rude (expecially since it is directed at someone who is giving a well produced, advanced lecture course for completely free). He's definitely been through the idea of projection before in other videos and lecture material, and I'd argue that linear algebra (a topic he has covered in some detail) is a prerequisite for vector calculus. If a viewer doesn't have a good intuition for how the dot product works, this lecture course is probably one step too advanced for the viewer (as they've clearly skipped a fundamental foundation of the topic). If he went through everything in the absolute finest detail all the time, these videos would become lengthy and unwieldy, which would defeat the point. One of the reasons that these lectures are so good and so easy to absorb is that they don't overwhelm the viewer with superfluous information. (Editted to make Godfrey happy)
@godfreypigott
@godfreypigott 2 жыл бұрын
@@EdwardAlexanderSmall I just told you I understand this. So I don't know why you you want to belittle me with the second half of your second paragraph.
@erickgomez7775
@erickgomez7775 Жыл бұрын
If there are two sources of heat and the bee is unlucky, it could just stay at a non optimal point
@bonsairobo
@bonsairobo Жыл бұрын
Small correction at 6:20. Some ants do fly.
@namedrop66
@namedrop66 2 жыл бұрын
Worst Earth ever.
@zrmsraggot
@zrmsraggot 6 ай бұрын
Some hints to write V = -mMG/r into cartesian coord (x,y,z) ? I have no clue where to start thx
The Divergence of a Vector Field: Sources and Sinks
20:57
Steve Brunton
Рет қаралды 63 М.
The Curl of a Vector Field: Measuring Rotation
26:49
Steve Brunton
Рет қаралды 61 М.
Who’s more flexible:💖 or 💚? @milanaroller
00:14
Diana Belitskay
Рет қаралды 19 МЛН
100❤️
00:20
Nonomen ノノメン
Рет қаралды 64 МЛН
A pack of chips with a surprise 🤣😍❤️ #demariki
00:14
Demariki
Рет қаралды 27 МЛН
Whyyyy? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 12 МЛН
Gauss's Divergence Theorem
26:53
Steve Brunton
Рет қаралды 122 М.
Geometric Meaning of the Gradient Vector
14:51
Dr. Trefor Bazett
Рет қаралды 173 М.
The ENTIRE Calculus 3!
8:04
KoothBrush
Рет қаралды 18 М.
Physics Students Need to Know These 5 Methods for Differential Equations
30:36
Physics with Elliot
Рет қаралды 998 М.
Gauss Divergence Theorem. Get the DEEPEST Intuition.
7:53
Physics by Alexander FufaeV
Рет қаралды 304 М.
ALL of calculus 3 in 8 minutes.
8:10
gregorian calendar
Рет қаралды 1,1 МЛН
What is Jacobian? | The right way of thinking derivatives and integrals
27:14
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 3,5 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 6 МЛН
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,8 МЛН