Тёмный

Physics students learn this better than math students!! 

Michael Penn
Подписаться 304 тыс.
Просмотров 47 тыс.
50% 1

🌟🌟To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/.... The first 200 of you will get 20% off Brilliant's annual premium subscription.🌟🌟
🌟Support the channel🌟
Patreon: / michaelpennmath
Channel Membership: / @michaelpennmath
Merch: teespring.com/...
My amazon shop: www.amazon.com...
🟢 Discord: / discord
🌟my other channels🌟
mathmajor: / @mathmajor
pennpav podcast: / @thepennpavpodcast7878
🌟My Links🌟
Personal Website: www.michael-pen...
Instagram: / melp2718
Twitter: / michaelpennmath
Randolph College Math: www.randolphcol...
Research Gate profile: www.researchga...
Google Scholar profile: scholar.google...
🌟How I make Thumbnails🌟
Canva: partner.canva....
Color Pallet: coolors.co/?re...
🌟Suggest a problem🌟
forms.gle/ea7P...

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 160   
@MichaelPennMath
@MichaelPennMath 11 месяцев назад
🌟🌟To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/michaelpenn. The first 200 of you will get 20% off Brilliant's annual premium subscription.🌟🌟
@byronwatkins2565
@byronwatkins2565 10 месяцев назад
At 20:30, your integral has omitted alpha(t). It is the fact that alpha(t) is an arbitrary (though small) function that forces the quantity in parentheses to be zero at all t.
@Ruktiet
@Ruktiet 10 месяцев назад
Well noticed, I wanted to mention it too. Now, alpha doesn’t have to be “small”; it can be simply any function on the function space, because the perturbation is parametrized by the number epsilon, of which the limit to zero will be taken. So any non-asymptotic function alpha will suffice as any value in alpha will when multiplied with epsilon, in the limit, go to zero. But an asymptote in alpha between a and b would exclude this pseudo alpha because it’s domain is not compatible with the definition of the function space. Thus, ANY alpha in the function space can be considered.
@nucreation4484
@nucreation4484 10 месяцев назад
Ah! thank you so much. That clears up my question with later at 22:31 he said that if y minimizes the condition then the euler lagrange equation must be satisfied. That didn't make sense to me at first with what was said just before that because I was thinking that euler lagrange equation being true implies the integral is zero not necessarily the other way around. but with what you just said, it's clear now that the only way that the integral is zero is if the euler lagrange equation is true. Thank you for taking the time to comment and point that out.
@LorenzoClemente
@LorenzoClemente 10 месяцев назад
yeah this video has some logical problem
@deinauge7894
@deinauge7894 10 месяцев назад
it's a running gag, that every michael penn video has to have crucial mistakes but end with a good result 😂
@yark1311
@yark1311 10 месяцев назад
Correct. This is a crucial point in the whole derivation of the EL equation.
@seedmole
@seedmole 10 месяцев назад
I always did very well in math classes, but none of it really felt like it clicked in comparison to how well things clicked when I finally got to a physics class.
@koenth2359
@koenth2359 10 месяцев назад
That is actually a paradox, because which of these comes closer to the concept of clicking: Physicist: "It does not matter what your intuition tells you, the only thing that matters is the outcome of reproducible experiments." Mathematician: "Give me a set of consistent axioms, and using my own logic I will build a set of theorems from it."
@Om-mw5lb
@Om-mw5lb 10 месяцев назад
It's not just because of our familiarity with the laws if physics but also because the laws of physics are the fundamental laws of nature.
@srki22
@srki22 10 месяцев назад
@@koenth2359 I can say that mathematicians sometimes get lost in their proofs. For example, if we have some equations (integrals, derivatives etc.) mathematician would sometimes unneccessarily take extra steps, for example they would prove that the solution exists, then they would prove that the solution is unique etc. On the other hand a physisit would see that some equations represent the output of a physical system in nature, so he knows that the output must exist (because the world exists) and that there is only one output.
@martind2520
@martind2520 10 месяцев назад
@@srki22 Except that those aren't unnecessary steps, you're just working in a different system.
@Alan-zf2tt
@Alan-zf2tt 10 месяцев назад
I kinda view it a bit like this: The physicist usually works with observations that are (usually) continuous over time and if not the discontinuities can be treated separately as indeed they should as events govern the observed information The mathematician usually works in an abstract space and is equally content with what happens in regions of continuity and additionally of discontinuities also exploring theoretical dangers or events that are inherent within such a constructed structure. Identify anomalies, groups of anomalies, classes of solutions and establishing a framework in which physicists can calculate error bounds confidently based on explorations of theoretical nature of math being used. In short?: physics happens in real world of natural observables whereas math happens in abstract world of thought and conceptual variables? Examples: Euclidean geometries, projective geometries, injective geometries, classification of these and patterns and/or relationships that arise from such attempted classifications.
@thomasmay6277
@thomasmay6277 10 месяцев назад
Calculus of variations is my favorite subfield of math. Glad to see you covering it!
@78anurag
@78anurag 10 месяцев назад
Same!!!
@kenhomeyau4476
@kenhomeyau4476 10 месяцев назад
Yes! It is really a good subject!
@tcoren1
@tcoren1 10 месяцев назад
Fun fact, if we only require the path to be continuous, there are paths shorter than a straight line. e.g., the cantor function is continuous and has a derivative almost everywhere (and thus the lebesgue integral of the path is well defined), but goes from (0,0) to (1,1) with a path of length 1, smaller than the straight line sqrt(2). By rotating our axes we can make the path arbitrarily small
@joelklein3501
@joelklein3501 10 месяцев назад
Great video! Towards the end, where you got the Euler Lagrange equation, you forgot the α(t) dependence of the integral. It's actually escencial for the conclusion of the proof. For a particular α(t), the integral might so happen to be zero even if Euler Lagrange equation isn't satisfied. But since α(t) is arbitrary, we can theoretically choose α(t) in such way that if Euler Lagrange equation isn't satisfied, then the integral must be greater than 0 in contradiction
@alexandreocadiz9967
@alexandreocadiz9967 10 месяцев назад
Thank you, when he got to this part, i got really confused as to why he said the inside of the integral was 0 and not a constant!
@nucreation4484
@nucreation4484 10 месяцев назад
Ah! thank you so much. That clears up my question with later at 22:31 he said that if y minimizes the condition then the euler lagrange equation must be satisfied. That didn't make sense to me at first with what was said just before that because I was thinking that euler lagrange equation being true implies the integral is zero not necessarily the other way around. but with what you just said, it's clear now that the only way that the integral is zero is if the euler lagrange equation is true. Thank you for taking the time to comment and point that out.
@MarcoMate87
@MarcoMate87 10 месяцев назад
Completely agree. If the Euler-Lagrange equation isn't satisfied then I think it is sufficient to choose α(t) equal to the other function factor inside the integral so that we have the integral of a function squared and not identically 0. This integral must be strictly positive, thus giving a contradiction.
@joelklein3501
@joelklein3501 10 месяцев назад
@@MarcoMate87 The only subtlety is that α(t) must satisfy α(a) = α(b) = 0 But the main idea is like you constructed it. Another approach is to take a non negative bump function as our α(t), with a compact support in which the rest of the integrand is strictly possitive / strictly negative. This will indeed ensure us a non zero integral
@joelklein3501
@joelklein3501 10 месяцев назад
And on a side note, the reason why Physicists learn it (quite early on) is because apparemtly any problem in physics can be expressed in terms of such an extremum function problen. Instead of working with clumsy vector analysis, this approach is much more elegant and allows to solve much more difficult problems. It also has a great theoretical value
@euanthomas3423
@euanthomas3423 10 месяцев назад
You should have done the brachistochrone problem posed by Bernoulli as a challenge to Newton - a little bit harder than the shortest distance problem.
9 месяцев назад
Perhaps in another video. I don't think Bernoulli posed it just to Newton?
@tiziocaio5112
@tiziocaio5112 10 месяцев назад
Isn' the eq. at 20:30 missing a α(t) multipling everything in the integral? So you can then say that given α is arbitrary the part in (...) must be 0 and get Euler Lagrange.
@chasebender7473
@chasebender7473 10 месяцев назад
The expression involving alpha(t) was obtained after using the chain rule. He took the conclusion for the d/dt terms and went back to d/dx terms, but it wasnt explicitly stated
@andyrundquist7672
@andyrundquist7672 10 месяцев назад
Yes, I that alpha part is critical in helping students understand that this approach works for all possible alphas. In other words, each alpha is a differently shaped deviation from the critical curve and by setting the other part of the integrand to zero you show that you've found the critical curve for all deviations. I get frustrated with a few Classical Mechanics texts that only show it for very simple deviations rather than indicating that the part he left off at 20:30 is the key to having it work for all deviations.
@Keithfert490
@Keithfert490 10 месяцев назад
Yepp, he forgot it and skipped an important step. Rest is good though
@adfriedman
@adfriedman 10 месяцев назад
Yes it requires the fundamental lemma of calculus of variations if he had correctly included alpha, which is a pretty big step to skip tbh
@MrYourcraft1
@MrYourcraft1 10 месяцев назад
Definitely one of my favorite videos of yours so far, keep up the great work. I especially really enjoyed your definition of the variation delta x (which in my physics classes was just handwaved away)
@user-et9ub3dc3j
@user-et9ub3dc3j 10 месяцев назад
As a physicist, it is such a pleasure for me to see the derivation of the Euler-Lagrange equation in this transparent way. Thank you!-Arthur Ogawa
@brnomichael
@brnomichael 10 месяцев назад
Formula at 27:30 is missing alpha. The logic is a bit different. The integral has to be zero for all alpha.
@MrFtriana
@MrFtriana 10 месяцев назад
I don't think that the title be so accurate, but it's true that the physicist have to master the variational calculus if we wish to master classical mechanics, some chapters of quantum mechanics and all of the quantum field theory and general relativity. Also, this also links with the Lie algebras and groups thanks to the Noether theorem that links symmetries and conserved quantities;
@djttv
@djttv 10 месяцев назад
Some questions: 1) I was told that taking the variation of a product of functions follows the same rule as the derivative of a product. What does it mean to take the variation of a function or of a product of functions? 2) Is there some circular reasoning in the example given: the distance formula used is based on the pythagorean theorem, which gives the distance between two points along a straight line between them, implying already that the shortest dist is a straight line. Does the pythagorean theorem already show this result?
@Ruktiet
@Ruktiet 10 месяцев назад
Great video. Recaps a more technical concept in the short timeframe of about half an hour. A suggestion: could you maybe do a video about optimal control theory (Hamilton-Jacobi-Bellman equation)? That would ne really interesting. Thanks for all your extremely educational videos!
@tcoren1
@tcoren1 10 месяцев назад
20:30 your expression is missing an alpha(t). It is quite important: since the equation must be true for any smooth curve alpha, we can argue that the integrant must be 0, otherwise there exists a choice of alpha such that the integral is not 0 (from the smoothness of all functions). This shows that integrant=0 is not just a local minimum, but a global one, as no other path has 0 derivative for every alpha
@ronwittmann8400
@ronwittmann8400 10 месяцев назад
You have shown that it is sufficient for f to be a solution of the Euler-Lagrange equation. You could have stated more directly that necessity follows from the fact that the function alpha is arbitrary?
@tcmxiyw
@tcmxiyw 10 месяцев назад
My dad was a physicist. I inherited his college notebooks and have enjoyed reading how he solved problems like this.
@NathanSimonGottemer
@NathanSimonGottemer 10 месяцев назад
I’d never actually seen a concrete proof that the shortest distance between two points is a straight line. Who knew it was so complicated lol
@prag9582
@prag9582 10 месяцев назад
YOUR EXPLANATION IS AMAZING! I'VE READ THIS MANY TIMES AND IT'S NEVER SOUNDED AS CLEAR AS IN YOUR VIDEO! THANKS!
@jamesscotti9210
@jamesscotti9210 10 месяцев назад
Bro fking started from integrals, went through derivatives and partial derivatives and it took him 30 minutes just to demonstrate that the shortest path from a point to another is a straight line... Jk its a spectacular video, id love to see it with non euclidian geometry too :P
@Zaxx70
@Zaxx70 10 месяцев назад
And today... flies were killed by a cannon shot. 🤣
@snake4eva
@snake4eva 10 месяцев назад
@MichaelPennMath I have two questions (1) with regards to the arctan formula at 23:46 can you say how was that arrived at? Is there a proof you could point to since it seemed to have popped out of thin air. (2) you eliminated d/dy arctan since you said they are independent variables. However d/dx (y'/sqrt(1+y'^2) you said if it equals to zero then the expression being differentiated is equal to a constant. However, wouldnt the same assertion from before apply? That is, y' is an independent of x. So the entire expression would by zero. My question is, why was it okay to use the independence of y and y' to eliminate the first term on the L.H.S but not okay to use the independence of x and y' to eliminate the term on the R.H.S?
@marvinbergmann704
@marvinbergmann704 8 месяцев назад
Maybe someone can help me out here at 24:38: Why can we just "consider" y' and y as independent variables? When for example y = x^2, then y' = 2x. Now, lets consider for simplicity the expression dy'/dy = d2x/dx^2. What is dx^2? Well we can take the derivative of y which gives us dx^2/dx=2x and thus dx^2 = 2x * dx. So we have dy'/dy = d2x/(2x * dx) = 1/2x * d2x/dx = 1/2x * 2 = 1/x. So, no: in general dy'/dy is NOT 0! What am i doing wrong here? And also i don't understand why he can omit alpha in the Euler-Lagrange equation, so if anyone can explain that in detail, i would also be greatful xD
@marvinbergmann704
@marvinbergmann704 8 месяцев назад
Okay, i got the alpha part now. For anyone having trouble understanding that too: If we factor out alpha in the integral and keep it when we set the condition, that the integrand should equal 0, we get a formula of the form 0 = (df/dx + d/t * df/dx')*alpha. But now we want that to be 0, regardless of which pertubation alpha we choose. So for any alpha this should be 0, meaning, the left-hand-side should be 0. From this we get the Euler-Lagrange-Equation. I would still be happy for an explanation of the first question though.
@fjiturralde
@fjiturralde 10 месяцев назад
I appreciate this so much! I didn't really understand this when I took my classical mechanics course.
@Stobber1981
@Stobber1981 10 месяцев назад
I've tried to study variational calculus at least 3 times, even going back to a canonical text from the 1950s. Your video is such a clear and concise construction of it that I feel like I understand it much better now. Thank you!
@cmilkau
@cmilkau 10 месяцев назад
15:50 the third argument of f was originally called y exactly to avoid this kind of confusion x)
@michalbotor
@michalbotor 10 месяцев назад
this is the best introduction to the topic i have ever seen. so neat and understandable. outstanding job!
@PetraKann
@PetraKann 10 месяцев назад
The principle of least Action is an important principle in Physics. e.g Minimising the "action" by setting the derivative of the function to zero. (or maximum) The functional derivative of the action is written dS/d(path) and set to zero. At every point along the path the particle or object obeys Newton's Law of Motion. S= Action = the integral of (kinetic energy - potential energy)
@raphaelmordant7199
@raphaelmordant7199 10 месяцев назад
Great video ! It feels great to take a look at some math we don't usually see very much (on YT I mean). But there's something I didn't get : when does the alpha function disappears ? it was on board at 20:17 and next board it's gone. May someone explain please ?
@sqohapoe
@sqohapoe 10 месяцев назад
I think it was because if the integral of the (product of alpha and stuff) is always zero, since alpha is arbitrary, it means that the stuff is zero.
@dodgsonlluis
@dodgsonlluis 10 месяцев назад
He missed a crucial step, the one described by @sqohapoe (if the integral is zero for every alpha(t) it's because alpha is multiplied by zero). As he said it, the statement is false.
@jamesfortune243
@jamesfortune243 10 месяцев назад
The Calculus of Variations has lots more real world applications than Number Theory. Another such topic is Envelope Theory.
@AmitBentabou
@AmitBentabou 10 месяцев назад
Actually, the formula for curve length comes from the assumption (or should I call it definition?) of distance to be the length of the straight line connecting two points. I mean, we call this the distance because that is the shortest path, so it's kind of circular reasoning...
@ethandavis7310
@ethandavis7310 10 месяцев назад
It's not a straight line because it's the shortest distance between two points, it's a straight line because that's what the curve looks like between two close points in the limit as a consequence of the concept of differentiation. The curve length formula doesn't rely on the assumption that the shortest distance between two points is a line. It only assumes differentiability
@byronwatkins2565
@byronwatkins2565 10 месяцев назад
Not true. ds^2=dx^2+dy^2 results from Pythagoras' theorem applied to a plane. ALL smooth curves approach a straight line for sufficiently small dx. This is the basis for Taylor's theorem.
@ethandavis7310
@ethandavis7310 10 месяцев назад
@@byronwatkins2565 and Pythagoras can be applied because the curve must be differentiable. Differentiability necessitates a curve being a straight line in the limit. No assumptions about minimizing distance here
@ValidatingUsername
@ValidatingUsername 10 месяцев назад
Important to discern d(nth dimension) /d(d) vs /d(t)
@TypoKnig
@TypoKnig 10 месяцев назад
You taught me a lot of cool number theory that I never needed for physics. It’s fun and nostalgic for me to see some physics related math, like calculus of variations.
@TheEternalVortex42
@TheEternalVortex42 10 месяцев назад
Love the calculus of variations videos
@sniperwolf50
@sniperwolf50 10 месяцев назад
Isn't the final example circular reasoning? The definition of distance *IS* the shortest path between two points
@arantheo8607
@arantheo8607 10 месяцев назад
one might say that a functional is a kind of function, where the independent variable is itself a function (or curve). Among all closed curves of a given length I, find the curve enclosing the greatest area. The required curve turns out to be a circle!
@sven3490
@sven3490 10 месяцев назад
How would the idea of a minimal curve hold in general coordinates? Would you be interested to expand this example to tensor calculus (i.e. Christoffel symbols, co/contravariant baseis [sic!])?
@Alan-zf2tt
@Alan-zf2tt 10 месяцев назад
Absolutely fascinating! Thank you for providing wonderful videos like these.
@joshuajacobs8061
@joshuajacobs8061 10 месяцев назад
21:10 you are missing the alpha(t). The alpha(t) forces the rest of the integrand to be zero, since the entire thing must be zero for any arbitrary alpha(t). If it wasn't zero, one could easily construct an alpha(t) where the integral wasn't zero.
@mehdimarashi1736
@mehdimarashi1736 10 месяцев назад
Exactly. And the easiest way to make such an alpha is alpha(t) = f(t, x,(t) x'(t)) itself, then the integrand becomes f^2 which is always positive and never integrates to zero (except when it is always zero, the boring case).
@ComputerNerd98234616
@ComputerNerd98234616 10 месяцев назад
Definitely dropped the ball when you forgot the alpha(t) at 20:28 and thus forgot to use to fundamental theorem of the calculus of variations. Are your editors math majors? This seems like it should have been caught in the editing process if the editors knew some mathematics.
@idjles
@idjles 10 месяцев назад
How to teach physics without ever mentioning physics! In my third year of theoretical physics we had lots of math classes - the poor pure math kids were so frustrated that they had to learn abstract stuff like we see in this video and had no idea what it meant, whereas we physics students lapped it up knowing exactly what it was for. Those pure maths guys were so jealous of us having insight.
@jakobr_
@jakobr_ 10 месяцев назад
At 21:00, how do we know we’re not missing out on the true minimum by throwing out the cases where the integrand isn’t zero but the integral is?
@YahyaKhashaba
@YahyaKhashaba 17 часов назад
From what I understand, we are not trying to find all functions X that minimise distance (if more than one of them even exist). You just need to prove that at least one exists. And the integrand being 0 is a solution you can have which proves that. And by definition, if more functions exist, they will all evaluate to that same minimum distance. It can't be greater since they are all assumed to be *the* minimum, and they can't be smaller because nothing is below the minimum of tat first "trivial" function. The scope of the video is not interested in finding all functions themselves but rather *a* function that finds the minimum distance, so I guees that's why we didn't care to find them all.
@goodplacetostop2973
@goodplacetostop2973 10 месяцев назад
26:50
@ConceptInternals
@ConceptInternals 10 месяцев назад
I never really understood why x and x’ are treated independently in the derivative chain. I mean, x’ depends on x, so there should be a “line” in dependence graph between x and x’. Can someone clear this doubt?
@boristerbeek319
@boristerbeek319 10 месяцев назад
For the chain rule, we need to list all functions involved and only the variables these functions depend on. While x'(t) is obviously related to x(t), we effectively only need the information that it depends on t in order to properly apply the chain rule. Put otherwise: it only takes t as its input, and not x or another variable. So that is why we (are allowed to and therefore) list it separately. Hope this helps!
@ConceptInternals
@ConceptInternals 10 месяцев назад
@@boristerbeek319 can we prove something like dx'/dx (I am not sure how to define this but I saw that we can differentiate a vector with another vector) is equal to 0 to prove this assumption?
@johannesmoerland5438
@johannesmoerland5438 10 месяцев назад
f depends on three inputs, and the partial derivatives just indicate with respect to which input we differentiate
@psolien
@psolien 10 месяцев назад
Missed the alpha there Michael at 20:30 ! No big deal, only the reason for being able to take the integrant equal to zero😂
@user-sv5vb1mj1q
@user-sv5vb1mj1q 10 месяцев назад
Hold a minute 20:40 why you are considering all values in integral (summation elements) to be higher than zero? Because otherwise your stament is wrong.
@kilianklaiber6367
@kilianklaiber6367 10 месяцев назад
Deriving the Euler lagrange equations, nice
@Ron_DeForest
@Ron_DeForest 10 месяцев назад
Ok I’m convinced. There really isn’t any math you aren’t perfectly comfortable with is there? It all makes sense to you. Must be amazing to have an intimate knowledge of everything that is math.
@panagiotissismanis7387
@panagiotissismanis7387 10 месяцев назад
Once again Mike, you have found the means to simplify the theoretical background with respect to minimization immensely. You gave us the potential to realize the brachistochrone problem (i.e., a similar problem) from a more fundamental point of view!...
@annaairahala9462
@annaairahala9462 10 месяцев назад
Cool to see this as a physicist!
@nightowl9512
@nightowl9512 10 месяцев назад
Is it un-problematic to assume x and x' to be independent of each other? I mean, there's only the differential operator separating them, x' = (d/dt) x. Are there cases where x and x' cannot be viewed as independent from each other in this context?
@APaleDot
@APaleDot 10 месяцев назад
My understanding is that the function inside the integral is really just a function of three variables: f(t, u, v). That's what makes them independent as far as the function is concerned. We can plug in whatever we want for those parameters, but to get the right answer we choose x, y(x) and y'(x). What makes it confusing is when the partials are written like df/dy. This is an abuse of notation and it should really be something like df/du (rate of change with respect to the second parameter, nothing to do with y(x)). Then it becomes much more obvious that something like d(uv)/du = v and d(uv)/dv = u, whereas d(yy')/dy' is not so clear.
@pratikdash10
@pratikdash10 10 месяцев назад
Millions of hapless physics undergrads have traversed this earth without ever understanding as to how the hell are x and x' independent variables.
@baronvonbeandip
@baronvonbeandip 10 месяцев назад
Commenting for the algorithm Also, I'm taking Fourier analysis and this seems really close to the method of characteristics for solving a PDE.
@jplikesmaths
@jplikesmaths 10 месяцев назад
Would this change if our geometry changes, like how on a sphere the shortest path isn’t a linear line
@MrFtriana
@MrFtriana 10 месяцев назад
Yes. In the case of a spherical surface you can check that the minimal length lines are arcs of circumference.a
@umut1269
@umut1269 10 месяцев назад
Hey everyone, my major is not physics or math but im in love with them and try to learn them by reading multiple textbooks and documentries or speeches from soffisticated scientists or and usually from popular science channels on youtube. So if my question will sound dumb, sorry already.The goal is to find the curve that minimizes between the points (0,0) and (a,b). Is this something to do with Langragian mechanics ?
@ronanodonnell7145
@ronanodonnell7145 10 месяцев назад
YESSS I WAS WAITING FOR THIS
@SpoonPhysics
@SpoonPhysics 10 месяцев назад
Learning the Schrodinger derivation using calc of variations the way it was done first by Schrodinger was the highlight of all my math courses. Quick derivations of Euler-Lagrange equations are also a favorite.
@frankwhite2072
@frankwhite2072 10 месяцев назад
It's wild watching all this math I don't understand, finishing with the equations for lines. It's like "Johnson! What do we need!" "A line sir."
@SuperSilver316
@SuperSilver316 10 месяцев назад
Euler Lagrange baby
@noahtaul
@noahtaul 10 месяцев назад
I’ve seen this derivation a couple times, and it’s easy to apply in practice - given a functional, you can easily pick out the y and y’ pieces, which is all a physicist needs to do - but as a mathematician, it feels a bit uneasy. When we’re doing the chain rule, we’re assuming that the pieces are independent, but I don’t know how we can say that y(t) and y’(t) are “independent”. Like why can’t we imagine the functional includes a differential operator, which would mix y and y’?
@Cazolim
@Cazolim 10 месяцев назад
You don't really need to pick out the pieces. What you need to have started with is a functional which really includes y and y', and thus is defined on any differentiable function y which is defined in the suitable domain. If you get a closed form of an integral which looks correct, with y and y', and the form defines it for all suitable y-s, this is going to work. If you're starting from something that is not an integral, or something more complicated, then you may have multiple forms like that, but that's OK. As long as it is possible to write down the partial of f wrt y and partial of f wrt y', this will work. If you have a product yy', treat this as completely independent variables and just write down the partials like the other variable is a constant amd this works.
@coreyyanofsky
@coreyyanofsky 10 месяцев назад
i feel a similar unease i deal with it by thinking of the kernel as taking three independent arguments h(x, f(x), g(x)), doing all the fancy calculus first, and _then_ saying to myself "only _now_ shall i impose the constraint g(x) = f'(x) and see what are the consequences of that" because all of the calculus up to the Euler-Lagrange equations works whether g(x) = f'(x) or not
@jiripesek6556
@jiripesek6556 10 месяцев назад
One way how to look into it is to think of the integral in the Riemann sense. In every partial Riemann sum, integrand is always evaluated in a discrete set of points (in this case for discrete set of values of t). When the value of t is already given, function value y(t) and its derivative y'(t) can be chosen independently, as they influence only an infinitesimal surrounding of a given t and we can always make sure that size of that surrounding is always smaller than a given partition. In other words, for a given set of unique discrete points one can always find a smooth function which have both values and their derivatives prescribed over the given set.
@deinauge7894
@deinauge7894 10 месяцев назад
the derivation started with the assumption that f is a FUNCTION, not a functional... nothing to wory about ;)
@APaleDot
@APaleDot 10 месяцев назад
@@Cazolim The function inside the integral is really just a function of three variables: f(t, u, v). That's what makes them independent as far as the function is concerned. We can plug in whatever we want for those parameters, but to get the right answer we choose x, y(x) and y'(x). What makes it confusing is when the partials are written like df/dy. This is an abuse of notation and it should really be something like df/du (rate of change with respect to the second parameter, nothing to do with y(x)).
@juniorcyans2988
@juniorcyans2988 10 месяцев назад
This is really fun! I’m a physics student enjoying math as a fun game, more fun than whatever games people actually play as a game.
@trueriver1950
@trueriver1950 10 месяцев назад
That's exactly how the Physics Nobel laureate Richard Feynman saw his mathematical physics. And if you've read his biography you'll know he also knew how to have fun in other ways (art, lock picking, bongo drums among other things) so he was far from being boring outside the lab.
@juniorcyans2988
@juniorcyans2988 10 месяцев назад
@@trueriver1950 oh I didn’t know his. But my professors and some PhD students play piano, drums, guitar and so on pretty well, and they played like a real band sometimes when we had a party together. I’m a junior right now. I’m learning piano, and oil painting is my major hobby. The universe is so fantastic. So many things to learn, no time to be bored.
@trustnoone81
@trustnoone81 10 месяцев назад
Hey Economists learn this as well! I'm reading Alpha Chiang's Elements of Dynamic Optimization right now.
@jimiwills
@jimiwills 10 месяцев назад
That's very cool! So presumably the point of it is that it works in other geometries?
@johannesmoerland5438
@johannesmoerland5438 10 месяцев назад
It does - but generally, you do not have \epsilon as a parameter as the curves x need not map to a linear space. Either you endow the target space (preferrably a smooth manifold) with a metric (finsler), or you consider sections of vector bundles, equipped with some bundle metric.
@Happy_Abe
@Happy_Abe 10 месяцев назад
We showed that this line is a critical point but didn’t show it actually minimizes?
@MathFromAlphaToOmega
@MathFromAlphaToOmega 10 месяцев назад
Here's something that math students do better than physics students: Writing dt at the end of the integral instead of the beginning. Don't get me started on that...
@trueriver1950
@trueriver1950 10 месяцев назад
Physicist: Did you know that multiplication is commutative? That means that you can write the items in the integral in any order you like.
@Happy_Abe
@Happy_Abe 10 месяцев назад
@15:25 why isn’t it with respect to x_epsilon? Not sure i understood this explanation
@nucreation4484
@nucreation4484 10 месяцев назад
Does it have to do with how he later evaluated it at epsilon =0 maybe? at time 17:18. or.. shoot, I think I need to go back and review my multivariable calc stuff on the multivariable chain rule. or perhaps things will become more clear if we go back and instead of writing it x_epsilon = x(t) + epsilon*alpha(t) if we call the function x_epsilon something else like u which is itself a function dependent upon x, epsilon, and alpha (with x and alpha each depending on t).
@Happy_Abe
@Happy_Abe 10 месяцев назад
@@nucreation4484 evaluating at 0 later might clarify it but at the time didn’t look right to me, I thought the bottom term and the top ones of the next “fraction” were supposed to be the same, so both x_epsilon but not sure. Been a while since I took multivariable calc. Doing more abstract stuff in grad school now and this is more applied lol
@divisix024
@divisix024 10 месяцев назад
I think it’s because f is a function that depends on t, x, and x’ as it originally appeared. It’s just that in that part we have substituted x_ε for x, like we’re evaluating at x_ε.
@nucreation4484
@nucreation4484 10 месяцев назад
@@divisix024 ahh. Thank you
@walcant8023
@walcant8023 8 месяцев назад
¿CUÁL ES EL CAMINO MÁS CORTO ENTRE PARTÍCULAS ENTRELAZADAS? CREE UN LENGUAJE MATEMÁTICO QUE DESCRIBA Y SOLUCIONE EL PROBLEMA.
@kylesendgikoski4231
@kylesendgikoski4231 10 месяцев назад
would have been even cooler if he did a minumum time example (physicist laughing internally)
@DrR0BERT
@DrR0BERT 10 месяцев назад
I'm still waiting on how physics student learn this better.
@RisetotheEquation
@RisetotheEquation 10 месяцев назад
Who else was hoping he was going to do the fastest path from (0,0) to (a,b) ??
@YassFuentes
@YassFuentes 10 месяцев назад
Really good explain!
@xl000
@xl000 10 месяцев назад
Any book recommandation to study this?
@euanthomas3423
@euanthomas3423 10 месяцев назад
ps; As a mathematician, technically you should also have proven that the integral being zero necessitates the integrand being zero. Of course, engineers (like me) would take this as intuitively obvious.
@michaelpieters1844
@michaelpieters1844 10 месяцев назад
People identifying with the tag 'engineer', 'physicist' or 'mathematician' are very childish.
@trueriver1950
@trueriver1950 10 месяцев назад
​@@michaelpieters1844not so, in my opinion. It's an expression of where your motivation comes from in doing the maths. A mathematician from this perspective does it simply because it's fun in and of itself. A physicist does it because they really want to understand how the world works. The engineer does it in order to create new stuff in that world. The interplay among those three motivations is important, and all of us have a bit of all three of them; but most of us veer more to one of them than the other two. For me, as a physicist, it's understanding that Einstein's General Relativity says something about the real universe was my main motivation for learning it, and for later teaching it in my career. What IS childish is to think that any of us is better than those motivated by the other three corners of this triangle of motivations.
@danv8718
@danv8718 10 месяцев назад
Absolute masterclass.
@tulpjeeen
@tulpjeeen 10 месяцев назад
This is beautiful mathematics!
@pappaflammyboi5799
@pappaflammyboi5799 10 месяцев назад
Very pretty analysis. 🙂
@TymexComputing
@TymexComputing 10 месяцев назад
some sum :) - Lagrangians are great - Hamiltionians alas :)
@TomatoBreadOrgasm
@TomatoBreadOrgasm 10 месяцев назад
Does alpha' have the same boundary conditions as alpha, and if so, is that assumed or an implication I'm just not seeing?
@johannesmoerland5438
@johannesmoerland5438 10 месяцев назад
We need not put any restrictions on \alpha‘ (except for smoothness, bit that follows from smoothness of alpha). Note that, e.g., for \alpha(t)=(a-t)(b-t), we have \alpha(a)=\alpha(b)=0, whereas both \alpha‘(a) and \alpha‘(b) are non-zero.
@TomatoBreadOrgasm
@TomatoBreadOrgasm 10 месяцев назад
@johannesmoerland5438 That was helpful, thank you.
@ilovezsig
@ilovezsig 10 месяцев назад
Use Dijkstra's algorithm
@CraigNull
@CraigNull 10 месяцев назад
Starting the video with "...and in doing so we're going to..." is a bold choice. Editing oopsie?
@TaladrisKpop
@TaladrisKpop 10 месяцев назад
I really dislike those videos and other materials that only solve for the zero of the derivative. I think it is a disservice to students. How do you know it is a minimum? Not a maximum? Or nothing? And how do you know it is a global, not local, extreme value?
@trueriver1950
@trueriver1950 10 месяцев назад
Thanks for that comment: it shows insight in a surprising way. In physics there are cases where the extreme value you want is a maximum, so it doesn't always matter which it is As for the local/global thing, actually often it doesn't matter if it's only a local extreme value. So we don't want to close the door on your future learning by limiting ourselves to just global mimina. Example 1: Look into the corner of a rectangular fish tank and you'll sometimes see the same fish twice, once through each glass panel. The rays of light from the fish to your eye travel by locally minimised time delays. You get two images because the universe does not censor the longer path through the other pane of glass, it only censors the partners that are locally suboptimal. Example 2: you are with a friend next to a mirror. You can see your friend's face in the mirror and in real life. Again, the universe allows the rays of light to get to you via the mirror, which must take longer than the direct path, even though the optimisation is one of minimum time delay Example 3: in short wave radio, you can sometimes hear a transmitter with an echo: there are two paths round the planet for the radio signal: the most direct possible path and the so called "long path" all the way around the planet Example 4: when we see a far off galaxy twice due to gravitational lensing by a black hole that's almost on the direct line of sight, then just like the fish in the tank, it's because there are two different paths of local minimum times between the source and ourselves. Examples 1 and 2 show the exceptions to the straight line rule when reflections or refractions are involved. Both effects can be shown to be consistent with the calculus of variations. Unlike the way Maths works, physicists discovered the rules for reflections and refractions long before we knew them to be results from the deeper truth found by calculus of variations. Example 3 is interesting because the fact that there are only two paths show that great circles take the place of straight lines on the surface of a sphere (in this case a spherical shell between planet and ionosphere) and again can be shown by calculus of variations Example 4 is special here: we could figure out what's going on in the first three because cases simply be assuming that might travels in straight lines (plus Snell's law for the aquarium or the great circles rule for radio). These empirical rules turn out to be handy short cuts to doing the full 😢analysis each time. And being easier to write down they got discovered first, before physicists understood why straight lines were important to light, and why light apparently breaks that rule when crossing from one medium to another. But in the general relativity (GR) case we have to use similar maths to this, but with the GR tensors, in order to figure out the mass of that black hole. The kind of maths shown in this video is not used by cosmologists to derive straight line rules, but to actually find out something about how that black hole is distorting the spacetime continuum, and from that they can tell us how many times more massive than the sun that black hole is. In those multiple images we can often see that the images are out of sync ( like if they contain the flashing lights that cosmologists call pulsars). So clearly only one of those paths is globally optimized. So physicists are great fans of locally extreme values. 🎉🎉🎉🎈
@TaladrisKpop
@TaladrisKpop 10 месяцев назад
@@trueriver1950 Wow, that's a long answer. Thanks "In physics there are cases where the extreme value you want is a maximum, so it doesn't always matter which it is" I don't get it: if you want a maximum and the method gives you a minimum, you will be disappointed. So it does matter. As it stands, from the arguments of the video, you cannot if it is an (incomplete) answer to the question "Find the shortest path" or to the question "Find the longest path". The second one is stupid, since there is no longest path, but we know it only because of additional mathematical or physical arguments. "As for the local/global thing, actually often it doesn't matter if it's only a local extreme value." Sure, in real-life problems, it is not easy to find the absolute extreme values (if any) and we are often satisfied with local extreme values obtained by numerical methods. But the goal of the video is to find a global minimum, so their argument should provide that. I don't understand what your examples are bringing to the table. The purpose of the video is to find the shortest path between two points (see the title and the introduction): it should bring all elements necessary and sufficient for that goal. Or at least mention when some part is omitted. Finding situations where the global maximum and the global minimum are of interest (and it does not remove the burden of proving that they are actually global maximum and minimum) does not change this.
@trueriver1950
@trueriver1950 10 месяцев назад
@@TaladrisKpop and thank you too for your long response. Yes, I take your point that for the specific purpose of the task to find the shortest distance between two points, a proper solution would need you to prove that the result is both a minimum and a global minimum. I was answering from the standpoint of being a retired Physics lecturer. I would be likely to present the students with this example as an introduction to calculus of variations (though not as gracefully as Michael does). Thinking ahead to what my students would be doing with the subject in the next few years (those who stick with physics) I would not want to mislead them into thinking that all minima are global, nor that we always know whether we want a max or a min. Back when Snell's law was first explained we didn't know if light travelled faster or slower in water. If light were a wave, we could drive Snell's law from the assumption that the refractive index was the ratio of the speed in the medium to the sled in free space. Ditto is light was a particle. Interestingly, the ratios were the opposite ways up depending whether light turned out to be a wave or a particle. (Waves turn towards the slower medium because of the effect on the wave front, but particles turn towards the faster one of you assume the particle accelerates only in the direction normal to the boundary) So the same analysis could be used to prove Snell's law whether light was a classical wave or a classical particle, leaving it for future determination whether the turning point we could was a max or a min. Neat eh? So then, we now know that light is sometimes one and sometimes another, as is anything else. Why did the wave-theory win out in this case? Well light is actually neither a classical wave now a classical particle: it's a quantum wave like anything else. Those quantum waves coincide with the waves predicted by non-quantum electrodynamics, but we didn't know that till within my lifetime... Feynman (you'll maybe spot that I'm a big Richard Feynman fan) showed how this "coincidence" between the quantum waves and the EM waves is not actually a coincidence after all. That's called QED, quantum electro dynamics. So to sum up: whether you do the job as would be required in an assignment on this question depends whether the teacher is aiming to just teach the example as literally presented, or is instead creating a stepping stone to future topics that may be in the same course; or may be for future study that some of the group will never take. From a teaching perspective it's always difficult to know how much to plan ahead in physics: it annoys me that high schools teach as facts things from Newtonian mechanics that are contrary to either relativity or to quantum, or both. But equally, to give your weaker students a fair chance to pass high school physics exams you need to stick within the Newtonian model or you leave some students floundering.
@lordeji655
@lordeji655 10 месяцев назад
why do you call it a "functional" is it not a linear form ?
@hybmnzz2658
@hybmnzz2658 10 месяцев назад
Functional, linear form, distribution, etc
@lordeji655
@lordeji655 10 месяцев назад
@@hybmnzz2658 yeah I'm stupid. I've looked up on the internet and it has many names x)
@ummwho8279
@ummwho8279 10 месяцев назад
Michael, great video today, I sent you an email with solution to Gelfand and Fomin problem 1 of chapter 1 explaining how to do this with method of finite differences, so that you don't even need to use the Euler-Lagrange equation. Let me know if you liked the email! ~Jared
@przemekmajewski1
@przemekmajewski1 10 месяцев назад
wow, such a nice video, yet you've made a real error in reasoning when proving the E-L eqs. You need the integral to vanish for all alpha(t), hence the only way is for the parenthesis to be zero. The whole 20 mins of the video was the purpose of introducing alpha to make that deduction, yet then you've forgotten about it... sad.
@supergamer8030
@supergamer8030 10 месяцев назад
@pnachtwey
@pnachtwey 10 месяцев назад
This guy is a math nerd that likes to hear himself talk. What is he trying to accomplish? The obvious? How about minimizing a cost function. What if going from point a to point b goes over real terrain with rivers, hills and mud? Then the shortest distance is still a straight line but the cost in terms of effort is not.
Далее
This task is usually a chore -- not anymore!
23:25
Просмотров 27 тыс.
Cosine of 1 degree from the ground up.
22:51
Просмотров 56 тыс.
A 90-year-old Unsolved Telephone Question
28:45
Просмотров 62 тыс.
How to find the 2319th digit of 1000!
24:31
Просмотров 60 тыс.
have you seen this approach to means??
19:03
Просмотров 18 тыс.
Mathematicians vs. Physics Classes be like...
7:55
Просмотров 2,9 млн
How Feynman did quantum mechanics (and you should too)
26:29
which method do you prefer??
20:34
Просмотров 11 тыс.