Calculus 3 Lecture 13.9: Constrained Optimization with LaGrange Multipliers

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ • 281

  • @pdog44450
    @pdog44450 7 років тому +893

    forget calculus, this dude should upload his workout routine

    • @phenotypealpha
      @phenotypealpha 6 років тому +69

      Probably uses calculus to design his routine ;p

    • @Peter_1986
      @Peter_1986 6 років тому +30

      I have actually made up a unit for weightlifting, which I call "Arnold".
      It's simply the product of the number of sets, the number of reps, and the weight in kilograms.
      So for example if you lift 20 kg and do 3×8 sets and reps, then you lift 480 Arnold, or, I guess, "480 Ar".
      It seems to me that any sets, reps and weights that have the same value for Arnold give roughly the same effect.

    • @narutouzumakix9201
      @narutouzumakix9201 6 років тому +2

      that's pretty interesting actually

    • @hamstrung22
      @hamstrung22 6 років тому +12

      @@Peter_1986 Interesting, but flawed. Doing 3x5 100kg BP would give you 1500 Ar, and doing 30x5 10kg BP will also give you 1500 Ar. You definitely aren't going to make any progress doing the latter tho. Hypertrophy works at the 8-12 rep range generally. Strength gains at the 3-5 rep range. You're not putting enough stress for hypertrophy, nor enough weight for strength gains. Might see some minimal results, but you know for sure you'd gain with the former.

    • @diegol4452
      @diegol4452 5 років тому

      that'd be biceps 100000 series 10000 reps

  • @johnathonsnipes8132
    @johnathonsnipes8132 2 роки тому +22

    3 minutes in and this guy already healed my lack of intuition of level curves.

  • @aubreeswart2206
    @aubreeswart2206 6 років тому +87

    26:37 - “I don’t wanna lose you now; you’ve learned too much.” The way he said that so seriously is so funny and sweet at the same time omg. 😂😭💚

    • @danieljulian4676
      @danieljulian4676 2 роки тому

      You haven't learned too much if you could have learned twice as much in half the time.

  • @KhadijaAlshemeili
    @KhadijaAlshemeili 4 роки тому +73

    If you are familiar with the concept
    Examples will strat at 22:18
    Good luck with your exam! And wish me luck too!

  • @skylerpretto1221
    @skylerpretto1221 5 років тому +47

    Hands down the most intuitive explanation of Lagrange multipliers I've ever heard!

  • @rwharrington87
    @rwharrington87 2 місяці тому +8

    Congrats on 900K subscribers. I don't know how long I've been subbed to your channel for, but I don't even think it had 100k at the time. The (psudo) proof of the lecture quality is in the pudding. You've taken me all the way from an intermediate algebra review, through statistics, precalculus, and all of calculus up to this point. May the journey continue onward and upward.

  • @ejp7360
    @ejp7360 6 років тому +9

    There's a special place in heaven for people like this guy.

  • @rachelrigsbee6650
    @rachelrigsbee6650 4 роки тому +13

    I don't understand why calc teachers will sometimes just teach you plug and chug. Understanding the underlying concept is so important. Thank you so much for this video!!

  • @EvaSlash
    @EvaSlash 8 років тому +53

    You are a good teacher. The professor I had just blew threw everything without even seeming to care if we learned or not. There was absolutely no care or anything in his method of teaching, unlike yours.

    • @danieljulian4676
      @danieljulian4676 2 роки тому

      I think you're probably the one who should care whether you learn or not. Don't give the instructor responsibility for pouring knowledge into your thick head.

    • @vvictorg123
      @vvictorg123 2 роки тому +11

      @@danieljulian4676 its his literal job bruh lmao

    • @Mikebigmike94
      @Mikebigmike94 2 роки тому +3

      I agree we should all take a little responsibility but for one, there's no need for the insults and 2, people pay vast sums of money to be educated by some of the best in the world, not to have a book worth a few quid thrown at them and say there you go. those sort of people shouldn't be teachers. they just want an easy wage with zero passion.

    • @danieljulian4676
      @danieljulian4676 2 роки тому

      @@Mikebigmike94 fair enough, mike. I will add that one can pay a lot of money to take a degree at a research university and as you say, get pretty poor classroom experience. Even at universities that are second rank, but still use the "publish or perish" model for their faculty ladder. There are only a very few elite universities for the entire planet. The lectures we're watching here are being presented in a community-college environment. The comment to which I responded is just a crass complaint from someone who gave no substantive comment on the teaching methods. It's hard to tell whether Gib Gob is a thoughtful student or a numbskull. I decided it was the latter. If you look in the comment threads for lecture videos on this platform, it is not uncommon for someone to say pretty much the same thing as Gib Gob. What Professor Leonard is doing largely consists of working examples on the whiteboard. I have no idea what kind of problems these students will be prepared to tackle once they have strayed outside the framework of the examples. I see very little in the way of mathematical background, and a hard focus on the results of the theorems. There are many other video lectures on Calc 3 to be found, particularly the ones from MIT Open Courseware. The exercises presented there are much more difficult than the formulaic application of results we see here.

    • @Mikebigmike94
      @Mikebigmike94 2 роки тому +1

      @@danieljulian4676 well these students also follow along with a university level textbook and achieve the same degree as any other university, there’s a few articles/videos explaining these “elite” or top universities are not what they seem. Most degree holders end up on the same salary and are still very highly employable. If somebody wants to become an expert on calculus or whatever other topic you can do so by years of studying textbooks in your own time if you have the passion. But while you’re an undergraduate, it doesn’t have to be the most difficult thing in the world. Knowing the concepts and being able to solve most of the textbook problems should be enough.
      Btw I’ve found most of these communities college professors can explain concepts a lot better than other universities, like MIT. A lot of the time the latter seem to just put on a “show” of how fast and how good they are at going through concepts/problems without caring if students understand.

  • @victorkotov7502
    @victorkotov7502 3 роки тому +27

    best teaching style for ADHD students!

  • @elisiandchrissy
    @elisiandchrissy Рік тому +3

    Honestly hands down the best at teaching this, not only do you love what you do, but helps others love math as well. Thank you for not making any assumed knowledge but breaking it all down for the students. Really helped me understand

  • @sneha.........
    @sneha......... 3 роки тому +2

    I did my engineering 7years ago....came to b5rush my concepts...all I can say is I love this guy...

  • @alvinarevalo9378
    @alvinarevalo9378 2 роки тому +3

    you're the best math teacher EVERRRRR and I'm from Canada your method of teaching is the best I ever experienced in my life thank you very much

  • @brendancleaver93
    @brendancleaver93 5 років тому +5

    His excitement from 6:30-8:30 is why I love math so much: it's a beautiful thing when everything falls into place so perfectly.

  • @zion030
    @zion030 26 днів тому

    8 years later and I'm using these videos to help me through class because my professor is rushing very fast through things and gets pissed when we ask questions or don't understand. Professor Leondard is so easy to understand and i love that i can rewind/rewatch parts if I don't get it at first.

  • @starryecliipse
    @starryecliipse 7 років тому +7

    This video saved my life, I missed my lecture on lagrange multipliers because I was sick and the textbook was no help at all... this video explained things super clearly and I understand lagrange multipliers now, thank you SO MUCH!!

  • @Alley00Cat
    @Alley00Cat 8 років тому +190

    Thank god I can rewind. I tend to blink

    • @kscottvarga9606
      @kscottvarga9606 7 років тому +24

      It's for comments like these that have me reading em.

    • @eliya3424
      @eliya3424 3 роки тому

      😂 Funny and original

  • @Chemasaurus
    @Chemasaurus 2 роки тому +8

    The excitement at 5:16 is the energy we need in a calc 3 lecture

  • @vaidehichennubhotla7887
    @vaidehichennubhotla7887 8 років тому +9

    superman teaching calculus!! This is the most awesome lecture I have ever had in Calculus. Thank you very much professor.

  • @pedroinacio_maths
    @pedroinacio_maths 3 роки тому +2

    Excellent lesson.
    You do a great job of not just showing how to solve the problems you present, but showing where it all connects together.
    Thanks

  • @MaxRollison
    @MaxRollison 4 роки тому +3

    45:50 Was a great example for understanding for anyone needing to learn Lagrange Multipliers. Explained well too

  • @georgesadler7830
    @georgesadler7830 2 роки тому +2

    Professor Leonard ,thank you for a short and in depth video/lecture on Constrained Optimization with LaGrange Multipliers in Multivariable Calculus. This topic is simple to follow, however, the algebra can get messy in order to find correct solutions.

  • @strange6973
    @strange6973 3 роки тому +2

    I think Johnny Bravo just taught me constrained optimisation... Is this what pure joy feels like?

  • @UROOZFATIMA190
    @UROOZFATIMA190 6 місяців тому +2

    Love his passion and incredible ENTHUSIASM for teaching maths.

  • @anangelsdiaries
    @anangelsdiaries 2 роки тому +34

    I think there's a mistake at 44:38 since the second z should have been positive. The result is correct though. Thanks a ton for this video Prof Leonard, carrying me through my Calc 3!

  • @ibrahimelosta7422
    @ibrahimelosta7422 8 років тому +142

    44:38 z=1/4 when landa = -1 not z=-1/4

    • @iceverything2000
      @iceverything2000 8 років тому +14

      Its true but his answer is still correct.

    • @austing.8682
      @austing.8682 8 років тому +5

    • @biscaynebuckets
      @biscaynebuckets 7 років тому +5

      I caught that too but still gives you the correct answer haha

    • @betaalphapsi9103
      @betaalphapsi9103 6 років тому +2

      no you get -1 for f which is NOT a minimum

    • @zaidradwan4000
      @zaidradwan4000 5 років тому +1

      It can be either positive or negative

  • @nouman8639
    @nouman8639 7 років тому +11

    Proff. Tomorrow is my calculus final exam hope so I will be manage to get A+ grade just because of you. Your attempt for class participation is really great. As Einstein said, " Education is not the learning of fact but the training of the mind to think". You are doing same. (Thank Proff)

  • @jovanni_ch
    @jovanni_ch 7 років тому +13

    been watching ur vids since calc 2 really helped me for finals.. spent countless monster and rockstar fueled all nighters studying my weak points with ur vids.. taking calc3 over the summer and watching ur lectures after my lecture really helps me understand my notes and homework... you're the best.. I'm hopeful for differential equations lectures next xD

    • @Avi00124
      @Avi00124 Рік тому

      does monster help?

  • @f_add_mebowshot5677
    @f_add_mebowshot5677 4 місяці тому +1

    bro explains in a way that a toddler would understand🔥🔥

  • @rashedkhaled7375
    @rashedkhaled7375 7 років тому +2

    Thank you so much Professor I was near to be hopeless about the Lagrange multipliers but with you , you've explained it like a piece of cake . Sending greetings from Kuwait

  • @معندعاس
    @معندعاس 5 років тому +1

    أحسنت يا غلام ...........اسلوب جيد لتعليم

  • @canman5060
    @canman5060 6 років тому +1

    Congratulation. You've made LaGrange Mulitpliers a lot more understandable than LaGrange made for himself ! He didn't have much confidence when he started this !

  • @thebossification101
    @thebossification101 5 років тому +1

    Great explanations and extremely engaging. My hat goes off to you Professor Leonard.

  • @leohuo4263
    @leohuo4263 6 місяців тому +1

    If my professor gone through the theory behind lagrange multipliers, it would have made constrained optimisation much easier to understand

  • @davidg3298
    @davidg3298 9 місяців тому +1

    0:50- The idea
    6:25- Level Curves
    11:53- Constrained Optimization
    45:41- Hard Problem

  • @drewski91
    @drewski91 6 років тому +1

    Professor, you are the best teacher of calculus i have ever seen

  • @swordoflorn
    @swordoflorn 7 років тому +221

    I can't believe I'm paying someone hundreds of dollars to teach me calc 3 when I can learn it far easier for free online from you.

    • @hocho1717
      @hocho1717 6 років тому +8

      Im in the same boat my friend. I currently do go to class and watch this instead. we will see how it goes

    • @silentheister
      @silentheister 5 років тому

      @@hocho1717 howd it go?

    • @noahaguilar8766
      @noahaguilar8766 4 роки тому

      @@hocho1717 yeah how'd it go?

    • @hocho1717
      @hocho1717 4 роки тому +9

      @@noahaguilar8766 failed the first time. Took it again and did extremely well! If you are in the same boat, don't give up like I did the first time haha!

    • @regularlyirregular8876
      @regularlyirregular8876 4 роки тому +9

      I'm paying hundreds of dollars to do online homework with no instruction from my professor in this required course when I could be learning about my actual major.

  • @MuhammadAmmar-i4k
    @MuhammadAmmar-i4k 9 місяців тому +1

    The best channel for calculus

  • @zaidradwan4000
    @zaidradwan4000 5 років тому +2

    You are very active and enthusiastic doctor

  • @Himawari_.
    @Himawari_. 5 років тому +2

    Thank You so much sir. I really appreciate your lectures. No professor able to teach like you. So humble teacher. tq

  • @aleynadoven
    @aleynadoven 6 років тому +2

    I got AA from my calc 3 class thanks to you and ur videos , thank you so so much

  • @nikolas_ohler
    @nikolas_ohler 4 роки тому +2

    Thank you very much for such a profound and at the same time comprehensive explanation. Was stuck with this concept for a while and wanted to understand the logic behind the concept and not just memorize the formula.
    Thank you!

  • @Demonface54
    @Demonface54 5 років тому +2

    Honestly, if any of my teachers had the enthusiasm that you do for teaching, i would be doing a lot better in class.

  • @kevvonkev
    @kevvonkev 2 роки тому

    DUDE HES THE BEST!!! He has helped me gain to much insight and intuition!

  • @juanvilla5613
    @juanvilla5613 4 роки тому +2

    For the last example, you could also set ‘ 2x+y = lamda2x and 2y+x = lamda2y ‘ equal to lamda and then set them equal to each other and once you simplify you end up with x^2=y^2 so that way you solve directly for x nd y

  • @imamalam4971
    @imamalam4971 7 років тому +4

    Wouldn't it be the best thing ever of Prof L covered ODE AND PDE

  • @tiagocoelho7642
    @tiagocoelho7642 7 років тому

    You are a great teacher, always motivated and concerned if the students are understanding the fundamentals of the subject in question before they actually start solving problems...
    Thank you for your lectures, its because of you I will pass Calculus 3 :)

  • @danielleg6915
    @danielleg6915 6 років тому +2

    I love his passion for the math and for teaching!

  • @GueVonez
    @GueVonez 7 років тому +2

    Those first 10mins pumped me up so much

  • @alexmaclellan1983
    @alexmaclellan1983 3 роки тому

    Very useful as I get ready for my comprehensive exam. Much appreciated, Prof. Leonard!

  • @leensameer6805
    @leensameer6805 3 роки тому +5

    Thank you very much for your great efforts .... And I hope you will put Arabic subtitles in all your videos...
    You are an amazing person 🙏🏼💙

  • @shani2114
    @shani2114 6 років тому +1

    Thank you, Prof... I have the exam in 2 hours... Great Help...

  • @JesusMartinez-bw4bv
    @JesusMartinez-bw4bv 5 років тому +4

    11:16 - Examples Start

  • @elle694
    @elle694 8 років тому +43

    Hi Professor Leonard! I think the "z" in 43:19 should be equal to ¼ instead of -¼ though the answer is still the same. :)

    • @Iceage31580
      @Iceage31580 3 роки тому +2

      1+2+1 = 4lambda^2 then 4 = 4lambda^2 divide 4 from both sides you get, 1 = lambda^2 and finally you take a root from both sides therefore lambda equals plus or minus 1. I got confused too, and did the math.

  • @dahe1352
    @dahe1352 7 років тому +33

    this dude is jacked

  • @alextsvetkov3211
    @alextsvetkov3211 2 роки тому

    Oh my god. I get it. I’m literally on my midterm and we only have chapter 16 of James Stewart left to cover LMAO. I just got it. I love this thank you

  • @chidiejiofor6224
    @chidiejiofor6224 5 років тому

    Prof. Leonard, you are the GREATEST!

  • @SirTrollingham
    @SirTrollingham 6 років тому

    For the problem given at 52:00 I've found an easier way to solve the system of equations. Since y = 2x(λ-1) and x = 2y(λ-1) we can solve for λ and set both equations equal to each other, giving y/2x + 1 = λ = x/2y + 1. Subtract 1 from both sides to give y/2x = x/2y and then cross multiply to have 2y^2 = 2x^2, which simplifies into y^2 = x^2. You can then plug that back into x^2 + y^2 = 8 and solve to get x = ± 2 and y = ± 2.

  • @ammarsiddiqui4329
    @ammarsiddiqui4329 6 місяців тому +1

    Need that Superman-esq wkout routine!!!!!!!!!!

  • @rebeccanery_
    @rebeccanery_ 5 років тому

    Amazing class! Please never stop teaching!

  • @nickcooley2857
    @nickcooley2857 7 років тому +29

    LOVE IT, BUY THAT MAN A BEER!

  • @mukulyadav31
    @mukulyadav31 5 років тому +1

    Im in college and learning calc.
    It is nothing compared to the level of education these kids are getting.

  • @manstuckinabox3679
    @manstuckinabox3679 2 роки тому

    Hello prof, 53:35, just devide by x, that's what I did, same result without burdening my attention towards checking x=0's validity.

  • @ademolaadebowale2723
    @ademolaadebowale2723 4 роки тому +1

    Definitely going to need to practice this a lot more. The systems of equations always mess with me and leave me scratching my head.

  • @whateverchannel92
    @whateverchannel92 6 років тому +1

    From the original equalities you can see that y/(2x)=(Lambda-1)=x/(2y). Then, 2y^2 = 2x^2 and x^2=y^2 which avoids using substitution. Also Thank you so much for the videos, I rather watching them than reading the book

  • @Akash-rs2yp
    @Akash-rs2yp Рік тому +1

    In the last problem, with the two equations we get after taking gradient and equating, from both the equations, we can calculate the value of lambda and equate that, that will directly give us x^2 = y^2

  • @EeDymonNij
    @EeDymonNij 8 років тому +21

    45:00 shouldn't z=1/4 instead of z= -1/4 (for lambda = -1)? ..

  • @JM-ty6uq
    @JM-ty6uq Рік тому +1

    33:30 How can you conclude a maximum? I did the second derivative test to get D(x,y) = -1, so I got a saddle point.
    I took the directional derivative of f in the direction of the normal n = (2,3), and got a value greater than zero telling us that the function is increasing in that direction. Wouldn't that mean that (3/2,1) is a minimum?

  • @KhadijaAlshemeili
    @KhadijaAlshemeili 4 роки тому +1

    1.25 speed will help you a lot if you have an exam in the couple 2 days
    don't waste your time to watch the video and do some practicing exercises!
    good luck! & wish me luck too ;)

  • @anniedrew4440
    @anniedrew4440 6 років тому +1

    If Professor Leonard taught my calc class, I'd have perfect attendance

  • @RohanDutt31
    @RohanDutt31 6 років тому +26

    11 dislikes coming from your angry calc 3 profs who can't teach!

  • @graceless000
    @graceless000 4 роки тому +1

    at 45:00 I'm pretty sure the z for lambda = -1 is supposed to be z= 1/4 not -1/4. I checked.

  • @mthokozisisiphiwe7655
    @mthokozisisiphiwe7655 5 років тому +1

    wow that was awesome i love the energy you have Sir salute

  • @nalviduro3832
    @nalviduro3832 6 років тому

    You deserve a medal.

  • @markpascual100
    @markpascual100 5 років тому +1

    "i need job security. ya'll find something else to do" cracks me up

  • @marouanemaachou7875
    @marouanemaachou7875 4 роки тому

    So passionate , keep it coming !!

  • @khaloscar
    @khaloscar 2 роки тому

    Prof Leonard saving my grades

  • @matthewzarate9116
    @matthewzarate9116 6 років тому +10

    28:34 "I need job security, find something else to do!" lmao

  • @michaeldears8565
    @michaeldears8565 4 роки тому

    I watch all the adds to support the video

  • @viveknsharma
    @viveknsharma 8 років тому

    Sir is absolutely amazing... I bow to him...

  • @SuperiorWare
    @SuperiorWare 8 років тому

    This channel is SUPERB! 60FPS WE MEET AGAIN!

  • @wonjunlee5413
    @wonjunlee5413 8 років тому

    Your lecture is super easy to understand and really funny.
    I envy your students

  • @JuiceBoxBoiii
    @JuiceBoxBoiii 4 роки тому +1

    This is an amazing video but I have a doubt, I am not able to understand why taking the gradient produces the normal. The gradient is the rate of change in a specific direction, so how did it become normal to the curves? Thank you.

  • @robertleo3561
    @robertleo3561 2 роки тому

    You are an incredible teacher

  • @Peter_1986
    @Peter_1986 2 роки тому

    I have to try this method for that box problem at the end of the previous video.

  • @haniehsoleimani6096
    @haniehsoleimani6096 8 років тому

    Just perfect. Now I know the idea behind it:)) Great help. Thank you so much.

  • @michaelgeinopolos6911
    @michaelgeinopolos6911 6 років тому

    Leonard should create an app or a website where he has pre algebra - graduate level math courses. Pay for a yearly subscription... I bet he would make a ton of money.

  • @rileymenter6095
    @rileymenter6095 2 роки тому

    "Solve for Lamba" 28:44 that was all I needed

  • @Slurpee_12
    @Slurpee_12 7 років тому

    Surprised to see you didn't include more than 1 constraint as an example. Otherwise, stellar as usual.

  • @kabulkhan2245
    @kabulkhan2245 4 роки тому

    I enjoy my holidays by watching your lectures..💓

  • @queenstrategy904
    @queenstrategy904 4 роки тому

    This guy is spectacular

  • @breakingmath1
    @breakingmath1 5 років тому

    Wow! Good work Jhonny Bravo!

  • @ksaisko
    @ksaisko 8 років тому +1

    Can you do a video about taylor approximation with two variables please? i don't know if you teach that section in your class, if so, i would really appreciate a video. You are so easy to understand! thanks

    • @ksaisko
      @ksaisko 8 років тому

      And it would be nice if you make a video on constrained optimization with Lagrange multipliers with two constraints, see some hard exemple.

  • @jackbirnbaum4379
    @jackbirnbaum4379 4 роки тому

    excellent presentation

  • @Mrbeastifed
    @Mrbeastifed 5 років тому +5

    Also, does anyone know if he uploads his class notes anywhere?

  • @BruceWayne1996-1
    @BruceWayne1996-1 2 роки тому

    brilliant explanation, you are amazing.

  • @businessman1060
    @businessman1060 6 років тому

    hi professor ...
    I hope you continue the constrained optimisation and teach the KKT inequality constraint problems asap

  • @elvistekito9622
    @elvistekito9622 2 місяці тому

    Great Video ! 😀

  • @rwharrington87
    @rwharrington87 2 місяці тому

    54:00 you can make the algebra much less of a pain in the ass if you just solve for lambda after setting the components of the gradients equal and solving for x and y. You get y/(2x+1) = lambda in one equation and x/(2y+1) = lambda in the other. Since both of them equal lambda, x and y must be equal.

  • @sivadasanet7966
    @sivadasanet7966 3 роки тому

    Thank you Professor. It helped a lot...