Lagrange Multipliers | Geometric Meaning & Full Example

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 476

  • @BloobleBonker
    @BloobleBonker 3 года назад +495

    At the age of 66 after trying to understand Lagrange multipliers since the age of 18, I think I've finally got it. Conturs and gradients. Excellent graphics!

  • @gamingmonts9737
    @gamingmonts9737 3 года назад +427

    by just seeing that graph, I immidiently understood something my professor talked about for 2 freakin hours 😂

    • @john.z3822
      @john.z3822 3 года назад +10

      now i understood something my teacher talked about for 1 mounths lol

    • @hubenbu
      @hubenbu 2 года назад +3

      Stop it man, if you're no longer hungry after eating 2 pizzas, remember to pay respect to the first one.

    • @grapplerart6331
      @grapplerart6331 2 года назад +7

      @@hubenbu If the first pizza was a 5" when I ordered a 13", I wouldn't pay respect to the first one

    • @raptor2245
      @raptor2245 Год назад

      😂lol

    • @themasstermwahahahah
      @themasstermwahahahah Год назад

      Bruh, ikr

  • @shemsnow3711
    @shemsnow3711 3 года назад +73

    I think you're the first person I've ever heard explain math without either focusing too much on precise definitions and proofs that no one cares about or just expecting us to memorize formulas. Nice step by step relevant instructions. Very nice.

    • @lorentzianmanifold718
      @lorentzianmanifold718 2 года назад

      Uhmm that describes pretty much all math channels on RUclips lol

    • @yousafe007
      @yousafe007 2 года назад +3

      @@lorentzianmanifold718 All good ones, that is....

    • @MUMM_XYZ
      @MUMM_XYZ Год назад +5

      Definitions and proofs are important, you will never understand math without them

    • @DadicekCz
      @DadicekCz Месяц назад

      Without proofs and definitions it's literally just trust me bro

  • @xiadanji
    @xiadanji 4 года назад +190

    Mr. Bazett, I think this version of explanation is the best one in whole RUclips, thank you very much!!!

  • @nathanborak2172
    @nathanborak2172 3 года назад +155

    This is not the way I have usually thought about it but it's equivalent. The way I've usually thought about it is that you imagine walking along the constraint and observing the gradient of f as you go. If the gradient of f has any component along the constraint, it means you can keep walking along the constraint and get higher (or lower) values of f, since the directional derivative is just the component of gradf(f) along the direction you're moving. Therefor you keep walking around the constraint until you reach a point where the gradient of f is normal to the constraint, since at this point f is instantaneously not changing. To me this is more intuitive than thinking the level curve of f should be tangent to the constraint, even though the gradient of f being normal to the constraint IS the level curve being tangent to it. Different strokes I guess.

  • @brucemurdock5358
    @brucemurdock5358 2 года назад +6

    The internet is a blessing, because of people like you

  • @Aruuuq
    @Aruuuq 5 лет назад +140

    Such a nice video. Very enthusiastic presentation. The graphics are some of the most explanatory one for Lagrangian Multipliers that I've ever seen.

    • @firsttnamee3883
      @firsttnamee3883 4 года назад

      @@DrTrefor 5:54 could you explain why the
      gradient is always normal to the level curve ? you have any video on that ?

    • @sashamuller9743
      @sashamuller9743 4 года назад +3

      @@firsttnamee3883 ya he has a video called gradient vector or something like that just search in his multivariable course

    • @firsttnamee3883
      @firsttnamee3883 4 года назад +1

      @@sashamuller9743 yes. Thank you. i got that

  • @abhinavsharma3188
    @abhinavsharma3188 3 года назад +5

    Every person who has ever taken an optimization course should see this short video! It gives you so much mathematical intuition to the concept of constraints and Lagrange multipliers!

  • @tedskins
    @tedskins 4 года назад +46

    Thank you very much. I find that geometric interpretations of math concepts often make it significantly easier for me to understand

    • @zahraazad8441
      @zahraazad8441 3 года назад

      me too

    • @THELORDVODKA
      @THELORDVODKA 3 года назад +2

      I think Geometric interpretation is the whole point of it. The "discoverer" of it probably thought of it in this way itself, it is as if spirit joins othervise empty shell. Even though mathematicians like to portray these stuff on less visual basis, more "universal" logical one, this is how visionaries think in my opinion.

    • @mastershooter64
      @mastershooter64 3 года назад +1

      @@THELORDVODKA complex analysis: *hello there*

    • @THELORDVODKA
      @THELORDVODKA 3 года назад

      @@mastershooter64 It really isn't hahaha

  • @ayushthada9544
    @ayushthada9544 3 года назад +16

    I feel whenever I need to brush up on my knowledge of calculus, I always end up on your channel. Your channel is a great learning resource. Thanks for posting these videos. Wish you were teaching Differential Geometry of Manifolds.

  • @xanderx8289
    @xanderx8289 7 месяцев назад +2

    man. you rock! finally, someone who actually TEACHES! not reads a precooked textbook rigid abracadabra.

  • @marflem12
    @marflem12 2 месяца назад +1

    Age 60 and never got this lambda business before. Great teacher.

  • @kasyapdharanikota8570
    @kasyapdharanikota8570 4 года назад +6

    best professor teaching maths ,great explanation , very thankful to you

  • @borannchanrathnak8256
    @borannchanrathnak8256 3 года назад +3

    Thanks for your explanation, Dr. Trefor Bazett. I was trying to imagine the stuffs in my head and it didn't work until I came here to see your graph visualization. Thumb up for your great work.

  • @matjul27
    @matjul27 2 месяца назад

    Taking multivariable calculus right now and I can’t stand when I have a lecture that is super long for absolutely no reason without even taking the time to explain some intuition. This video is great for the intuition thank you

  • @absolutedesi5899
    @absolutedesi5899 21 день назад

    I have a mathematics 1 exam in 12 hours and this 10 minute video saved me the multiple hours I'd have taken to try and understand this

  • @muhahaha153
    @muhahaha153 2 года назад +1

    i already passed my analysis 2 exam but i never understood what i was doing when using langrange multipliers, i just learnt how to use it. Now i finally understand what i have been doing all the time thx

  • @Festus2022
    @Festus2022 4 года назад +2

    This is the best explanation of the Lagrange multiplier I could find online. Thanks. Nice graphics!

    • @DrTrefor
      @DrTrefor  4 года назад +1

      Glad it helped!

  • @everelement1092
    @everelement1092 4 года назад +3

    Man, this video deserves more views and likes. I definitely need these 3D graph to understand it.

    • @DrTrefor
      @DrTrefor  4 года назад

      Glad the graphs helped!

  • @Eric-xh9ee
    @Eric-xh9ee 2 года назад +1

    I usually don't "like" videos but this is an excellent video, so I gave you a thumbs up!
    Thank you, Professor!

  • @Love2ne1BigBang
    @Love2ne1BigBang 4 года назад +3

    Thank you so much for this perfect visual representation of the Lagrange multipliers! I was so use to doing the same calculation techniques without really understanding what they mean and you just clarified everything!

  • @slurperslurpslurp2670
    @slurperslurpslurp2670 4 года назад +4

    Absolutely wonderful, thank you!!! I saw other explanations without showing geometry and using too many jargon that are much longer and fail to explain the simple method. Thank you!

  • @marvellousngidi3765
    @marvellousngidi3765 3 года назад +2

    This is one of the "insane" videos I have ever seen on Lagrange multipliers🙌. You inspire me, keep saving the world 👏👏

  • @GoutamDAS-ls1wb
    @GoutamDAS-ls1wb 3 года назад +1

    Fantastic use of computer graphics to explain concepts. Lots of hard work. Thank you so much!

  • @lewiduressa
    @lewiduressa 2 года назад +2

    Your videos are REALLLLLYYYY helping me understand my Calc 3 class concept, and you explain it way better than my teacher. Thank you!!

  • @jrt6722
    @jrt6722 5 лет назад +11

    Thank you so much, this is on my entrance exam to Japanese University

  • @ankitparashar6370
    @ankitparashar6370 3 года назад +1

    The 3D visualization helped a lot. One of the best explainations on internet.

  • @155mushfiqurrahman5
    @155mushfiqurrahman5 3 года назад +3

    Your explanation is really excellent ever i see on multi variable calculus....may Allah increase your knowledge more

  • @Stan-san
    @Stan-san 3 месяца назад

    I saw this 9 years ago in university and needed a refresher, this is amazingly well explained.

  • @edwarddi3833
    @edwarddi3833 4 года назад +2

    man, with the help of your video, simply save 50% of my study time for struggling in the textbook.

    • @edwarddi3833
      @edwarddi3833 4 года назад

      Hi, Trefor, could you please explain in your 3D graph about the difference between the graph of f(x,y)=x²+y² and f(x,y,z)=x²+y²+z² ?

  • @SwabhimanTripathy4331
    @SwabhimanTripathy4331 2 года назад +1

    Graphs help to visualise far better than asking to do self - imagination that may be error-riddened.
    I hope this video reaches to all those who truly want to learn this concept.

  • @oliviab6415
    @oliviab6415 4 года назад +2

    Dr. Bazett! Amazing work! Very concise and clear, graphics were incredibly helpful! My Calculus 3 teacher recommended this video on our lesson and I feel so enlightened. Thank you for your contribution, and keep up the great work.

    • @DrTrefor
      @DrTrefor  4 года назад

      Thank you!! Can I ask what school you are at? Always love when I get a teacher recommendation:)

    • @todianmishtaku6249
      @todianmishtaku6249 2 года назад

      @@DrTrefor
      First off, let me express my deep gratitude about this great explanation. Many tutorials seem to skip important moments in explaining the geometric intuition behind the main equation of scalar multipliers.
      Still I have something unclear.
      When we say that the gradients of f and g have the same direction, it seems to imagine them lying in the same plane; and, this plane is the same where the contour line of f lies in. Isn't it like this?
      If so, it is obvious that two vectors that lie in the same plane and are perpendicular to the same straight line, then they are parallel one to another.
      BUT, the gradient of f in fact does not lie on the plane defined by contour line; it is a vector in 3D space (which, for instance, points to the top of hill).
      How do we know that the gradient of g at the tangent point is parallel with the gradient of f?
      Or when you say that the contour line of f and the one of g are tangent, do you have in mind a common tangent line or a common tangent plane?
      You show that real gradients in 3D are "projected" into 2D. In other tutorials, people see just the ones in 2D and then the analysis that gradients are collinear is quite easy because the analysis about parallelism seems to be based on 2D, but as I mentioned above my concern is related to the fact that the real gradients we put in the equation are in 3D; hence showing their parallelism remains a bit unclear.
      In other words, when we say that the gradient of f is perpendicular to f, that can be true even if the gradient does not lie on the plane defined by the contour line.
      Could you please shed more light on these "paradoxes" (which may be only my paradoxes) ?
      Could you please draw both gradients (for the f and g) on the graph of the left side?
      Could you please pick up two or more g functions?

  • @mathveeresh168
    @mathveeresh168 4 года назад +96

    His beard is as good as his explanation

  • @nitika9769
    @nitika9769 11 месяцев назад

    you keep me motivated to do what i am doing, by showing how beautiful math is , im so grateful for having people like u

  • @chethanar8274
    @chethanar8274 3 года назад +2

    Such a wonderful explanation. You are the ones who prove that math is interesting. Thank you so much.

    • @DrTrefor
      @DrTrefor  3 года назад +1

      You're very welcome!

  • @emerald_eyes
    @emerald_eyes 9 месяцев назад

    God bless you, I've been trying to understand this for hours. You explained it so elegantly.

  • @mdmijanurrahman9695
    @mdmijanurrahman9695 4 года назад +2

    I wish I had watched your video 4 months ago. This would make my life a whole lot easier. Anyways, watching now will also help me in my exam. You are amazing. I wish you all the best.

    • @DrTrefor
      @DrTrefor  4 года назад +1

      Good luck on your exam!

  • @bentaakinyi2248
    @bentaakinyi2248 3 года назад +1

    Thanks Dr for the clear and precise explanation.It is the best so far I have seen regarding Lagrange Multipliers.Very Intuitive!!This is what we need in Mathematics ,not just formula.Thanks once more!

  • @bobbymcgeorge
    @bobbymcgeorge 2 года назад +1

    First off Trefor : I want to say that you are beautiful and I love you!
    Second Off (ly) : Your series on Multivariable Calculus is a superb compliment to Denis Auroux's (also superb) MIT course on Multivariable Calculus. Your graphical representations of the problems are so much better than what was available in 2007.
    Many thanks

  • @sushantgarudkar211
    @sushantgarudkar211 10 месяцев назад

    You are at maximum respect for me with constraint that I got entire concept so easily. Thanks a lot for the video and efforts you along with maybe your team if you have it put in to create such content along with matching and timed visuals! Superb Explanation!

  • @briandwi2504
    @briandwi2504 2 года назад +2

    A joy to listen to your explanations. Lovely bit of maths!

  • @mackenziemurray9270
    @mackenziemurray9270 2 года назад +1

    Thanks for this video! My calc teacher assigns us your videos to watch and we love your graphics!

  • @RespectThePouch1028
    @RespectThePouch1028 3 года назад +2

    My textbook had the same explanation, but your visuals and simultaneously lucid explanation finally helped me start to get it. Thank you!

    • @DrTrefor
      @DrTrefor  3 года назад +1

      Glad it helped!

  • @brianwilson3656
    @brianwilson3656 2 года назад +1

    I second all these comments. Wonderful example and wonderful enthusiasm! Thank you

  • @yarenkaya7872
    @yarenkaya7872 3 года назад +5

    I honestly needed this great intuition, thank you sir for the demonstration

  • @anish_cr
    @anish_cr 4 года назад +2

    the great graphical representation made it very easy to understand. thanks for the enthusiastic explanation.

  • @themasstermwahahahah
    @themasstermwahahahah Год назад +1

    Jesus Christ, just seeing the two gradient vectors makes it immediately obvious why this works! I have been staring at equations when all I needed was teo pictures
    This is amazing!

  • @parkjessica4444
    @parkjessica4444 3 года назад +6

    love your passion in math and it definitely motivates me! thank you, thank you, thank you!!

  • @abhipriyeshukla5431
    @abhipriyeshukla5431 4 года назад +3

    this video definitely deserves nobel prize

  • @Harry-ub2fv
    @Harry-ub2fv 4 года назад +2

    Most beautiful explanation on Lagrange Multipliers.

  • @RajivSambasivan
    @RajivSambasivan 3 года назад +1

    Wow! what a fantastic explanation of lagrangian multipliers. The best I have seen. Amazing.

  • @adrianrivero6104
    @adrianrivero6104 3 года назад +2

    That explanation about the tangent gradients was very clear and helped me a lot. Thanks

  • @suheladesilva2933
    @suheladesilva2933 3 месяца назад +1

    Brilliant Dr. Trevor, thanks a lot for your excellent explanation.

  • @knk8192
    @knk8192 4 года назад +1

    Sir, You are the greatest explainer I have ever seen.

  • @johnholme783
    @johnholme783 2 года назад

    An explicit lecture on Lagrange multipliers! Thank you!

  • @user-ex6xc5ox3k
    @user-ex6xc5ox3k Год назад +1

    Damn, this is exactly what I was looking for. Wonderful explanation!

  • @sniperwolf50
    @sniperwolf50 3 года назад +1

    9:05 Not the focus of the video, but a slightly neater approach is to square the first and second equations and sum them up resulting in x² + y² = 4λ²(x² + y²). By the third equation, it follows immediately that λ² = 1/4. Then, proceed the same as before.

  • @JamesKim-f9c
    @JamesKim-f9c 9 месяцев назад +2

    Excellent video Trefor. Not to be pedentic, but @7:02, you have ▽f and ▽g on the top right side... on the bottom left side, the gradient vectors should be -▽f and -▽g since they are in the opposite direction.

    • @gratux
      @gratux 20 дней назад

      the gradient is itself a function, so it doesn't have to point in the same direction everywhere. if you plug the two points into grad(f) and grad(g), you indeed get the shown vectors, no negative required.

  • @daggerdeadshot1694
    @daggerdeadshot1694 3 года назад +1

    Love from india sir keep on the good work ...education learning wisdom unites people

  • @denali9455
    @denali9455 2 года назад +1

    my midterms tmr, thank u so much dude, made this intuitive

  • @orangehat1924
    @orangehat1924 2 года назад +1

    Explained Beautifully, bravo!

  • @catchphraseish
    @catchphraseish 3 года назад +1

    Brilliant explanation. The visual aids help make it more intuitive. Thank you for this!

    • @DrTrefor
      @DrTrefor  3 года назад +1

      Glad they helped!

  • @johannesvanm.3467
    @johannesvanm.3467 Год назад

    Time and again you are so incredibly helpful, Dr. Bazett.

  • @Z4yx
    @Z4yx 4 года назад +3

    Thanks for the graphics, i understand better now.

  • @stockman3316
    @stockman3316 3 года назад +1

    This guy is amazing! He should have more subscribers!

  • @tommygokes
    @tommygokes Год назад

    This helped so much with my homework! Thank you! My professor in college is awful at teaching, but you're amazing at it

  • @JFASACM
    @JFASACM 4 года назад +1

    A natural professor! Thank you, sir!

    • @DrTrefor
      @DrTrefor  4 года назад

      Thank you kindly!

  • @ksheersagaragrawal9104
    @ksheersagaragrawal9104 4 года назад +1

    most appropriate video to get to know the idea behind this theorom

  • @laminjatta3378
    @laminjatta3378 5 лет назад +2

    You deserve a noble prize 🤝

    • @sanfinity_
      @sanfinity_ 5 лет назад +2

      There should be one as math is the queen of science🤔

  • @continnum_radhe-radhe
    @continnum_radhe-radhe 2 года назад +1

    Thank you so much sir... 🔥
    before seen this video.. this topic looks so complex but now it is easy

  • @StratosFair
    @StratosFair Год назад

    You definitely have a gift for teaching, thank you for sharing it with the world

  • @irenepadre3352
    @irenepadre3352 3 года назад

    you are just the best math prof out there!!

  • @vishank7
    @vishank7 3 года назад +2

    Can’t thank you enough for this amazing explanation. Please keep up the good work!

  • @glory6998
    @glory6998 3 года назад +1

    This channel is gold 💙💙💙

  • @shwephyusinmoe5068
    @shwephyusinmoe5068 8 месяцев назад +1

    Thank you for your explanation,Sir!😊

  • @sinasoltan.m4859
    @sinasoltan.m4859 4 года назад

    Thank you so much.one of your 10 minutes videos is better than 10 years of studying at university😀

  • @alfcnz
    @alfcnz 3 года назад +5

    This video is simply awesome! I understand now I can push further on mixing human + math animation videos.
    I understand you're using a green screen with a static blackboard photo on which you draw math and graphs.
    At the beginning I was thinking you were going to actually write on the board with a chalk. I didn't notice it was artificial.

  • @freedomofmusic2112
    @freedomofmusic2112 2 года назад +1

    for the algorithm! love your videos Dr. Bazett!

  • @Trangnguyenbookclub
    @Trangnguyenbookclub 3 года назад +1

    you save my world Dr Trefor!

  • @tanishmadaan7029
    @tanishmadaan7029 21 день назад +1

    Brilliant explanation!!! thank you sir...

  • @khyatitrivedi3360
    @khyatitrivedi3360 2 года назад

    Thank You So much... your videos are very helpful. The visuals make it very easy to understand Mathematics

  • @Junker_1
    @Junker_1 3 года назад +1

    Superb explanation. I really love that you also show it visually. It helps me a lot.

    • @DrTrefor
      @DrTrefor  3 года назад +1

      Glad it helped!

  • @abbieeagle5343
    @abbieeagle5343 4 года назад +1

    thank you, you explained what was going on greatly through the diagrams, really helped me out

  • @debayanmitra3729
    @debayanmitra3729 2 года назад +1

    Brillinatly explained.

  • @ManishMiglani
    @ManishMiglani 3 месяца назад +1

    Excellent way to explain this!

  • @timothypulliam2177
    @timothypulliam2177 2 года назад +1

    Excellent video, perfectly explained. Thank you

  • @matthiastakele
    @matthiastakele 4 года назад +6

    Thank you! You taught it better than my MIT multivariable calculus professor lol

    • @pllagunos
      @pllagunos 4 года назад

      Which professor teaches you 18.02?

    • @matthiastakele
      @matthiastakele 4 года назад

      plls12 Are you an MIT student

    • @pllagunos
      @pllagunos 4 года назад

      Matthias Takele Nope, I applied to the transfer program so hopefully I’ll get in. I ask because I am watching 18.02 on OCW by Denis Auroux and so far he’s been phenomenal

    • @matthiastakele
      @matthiastakele 4 года назад

      @@pllagunosWell Larry Guth teaches 18.02 but because of the coronavirus, he is no longer able to go back on campus to record lectures. So for that reason, everyone in the class is going to use OCW to also watch Denis Auroux

  • @corbinaquino
    @corbinaquino 4 года назад +2

    Thanks for making these videos! I’m trying to self teach myself and these videos have really nice visual explanations

    • @DrTrefor
      @DrTrefor  4 года назад +2

      Glad you like them!

  • @inordinaterefraction
    @inordinaterefraction 4 года назад +1

    Thousands of dollars in debt, in the third year of my physics degree, and I come across him: the first boss of my department, the boomer classical mechanics prof who wrote his own pamphlet of a textbook in 1995 and can't teach a dog to sit -- the poor man.
    Zero idea who you are, but you are singlehandedly preparing me for my exam tomorrow and saving me considerable money -- along with my sanity, my GPA, and my hope.

    • @DrTrefor
      @DrTrefor  4 года назад

      haha, that sounds crazy. Well good luck on the exam!

  • @hiddekemperink9407
    @hiddekemperink9407 3 года назад +1

    I passed my calc 2 exam thanks to this guy

  • @EspirituDeLaSombra
    @EspirituDeLaSombra 2 года назад +1

    You explain better than my professor at Cambridge XD

  • @jamyllecarter3016
    @jamyllecarter3016 4 года назад +2

    Beautiful visualizations. Thank you!

  • @HermanToMath
    @HermanToMath 4 года назад +1

    I finally know the whole story...... thanks a lot!

  • @robertoberidojr.435
    @robertoberidojr.435 3 года назад

    Sir your graphs and visual aids are beautiful. It's what set you aside from other professor

  • @arjittripathi5484
    @arjittripathi5484 4 года назад +1

    You have a fantastic way of explanations

    • @DrTrefor
      @DrTrefor  4 года назад +1

      Thank you! 😃

  • @svaditya2896
    @svaditya2896 3 года назад +1

    excellent geometric interpretation and very intuitive. continue your good work dr trefor

  • @atoddtoa
    @atoddtoa 2 месяца назад +1

    I understand the constraint is the equation of a circle, where 𝑔(𝑥,𝑦)=0 and increases in the direction outside the circle. I don't understand how a local max/min would be found "inside" the circle with the way this is being used. The min/max is only found on the circumference of the circle in the following picture. Whereas, if the equation for the circle were modified so all points inside and on circumference were g(x,y) = c, then min/max would be found inside as well.

  • @khalidmuntasir9230
    @khalidmuntasir9230 Год назад +1

    Thank you very much for your excellent lecture.

  • @alfutures
    @alfutures 4 года назад

    bro awsome video....im studying calc 3 in chinese..you made it super clear. been using your videos to understand in class

    • @alfutures
      @alfutures 4 года назад

      @@DrTrefor they make a new function called l(x,y)=f(x,y)+lamda[g(x,y). and then they find the derivative of l with respect to exerything else....lol..your way is easier

  • @sureshjakhar8740
    @sureshjakhar8740 3 года назад

    Your Videos are simply awesome Dr. Trefor. Please keep on making such videos.

    • @DrTrefor
      @DrTrefor  3 года назад +1

      Thank you, I will!