Meaning of Lagrange multiplier

Sdílet
Vložit
  • čas přidán 5. 12. 2016
  • Courses on Khan Academy are always 100% free. Start practicing-and saving your progress-now: www.khanacademy.org/math/mult...
    In the previous videos on Lagrange multipliers, the Lagrange multiplier itself has just been some proportionality constant that we didn't care about. Here, you can see what its real meaning is.
  • Jak na to + styl

Komentáře • 92

  • @8bit_pineapple
    @8bit_pineapple Před 6 lety +319

    lol, I went to 3Blue1Brown to see if Grant had any videos explaining what the langrange multipliar and lagrangians are.... seeing not I head over to Khan Academy... and Grant is teaching the lesson

    • @Jurgan6
      @Jurgan6 Před 3 lety +12

      Two years later, I did the exact same thing.

    • @brandontay2053
      @brandontay2053 Před 3 lety +8

      @@Jurgan6 2 months later, here I am, having done the same thing :')

    • @morancium
      @morancium Před 3 lety +3

      @@brandontay2053 2 weeks later, mee too!!

    • @YashPatel-vt8or
      @YashPatel-vt8or Před 3 lety +1

      me too

    • @morancium
      @morancium Před 3 lety +1

      @@YashPatel-vt8or which college bro 😂

  • @sjwang3892
    @sjwang3892 Před 3 lety +45

    Went from Constrained Optimization Introduction to this video. Absolutely love the clear explanation w/ the graphs! No idea why other materials have to make it so hard to understand.

    • @technosapien330
      @technosapien330 Před 6 měsíci +1

      My theory is they either don't actually understand the topic, or they are gate-keeping

  • @masterchief8646
    @masterchief8646 Před 3 lety +15

    good Lord this video brought so much understanding to the LaGrange multiplier it´s insane. God bless you Sir

  • @DefinitelyNotNhanTho
    @DefinitelyNotNhanTho Před 6 lety +43

    9:50 I believe what you meant was “let’s pause and ponder...” right ? Yeah, you can’t fool us, we know it was you lecturing, 3Blue1Brown.

  • @dirkjensen935
    @dirkjensen935 Před 2 lety +6

    Needed to pick up some basic know how about lagrangian in order to work through a proof regarding partition functions. And I was worried it was going to take me forever considering other texts I have aren't particularly clear and I didn't take lagrangian in undergrad. But oh my, this series is short, snappy, to the point and intuitive. Your tutorials are timeless and a gift to humanity. Thank you.

  • @mehdij9494
    @mehdij9494 Před 6 lety +8

    I knew Lagrange Optimization since long time. But NOW I can claim understand it perfectly!
    Thank you so much!

  • @rikenm
    @rikenm Před 7 lety +85

    It's a good refresher. Thanks. I would like to request you for advance math courses. You are very good at teaching. I watched your linear algebra playlist and also subscribed to your youtube (3Blue1Brown). It's awesome: How about abstract algebra, or even number theory. Thanks

  • @tunim4354
    @tunim4354 Před 7 lety +24

    This is important in economics. One of the major concepts in Real business cycle.‎

    • @jairjuliocc
      @jairjuliocc Před 3 lety +1

      I know im a little late but, Can you explain more?

    • @tunim4354
      @tunim4354 Před 3 lety +2

      @@jairjuliocc I was talking about the famous Real Business Cycle model in macroeconomics. When you are working with factors of production like labor and capital and you need Utility maximisation in a single period RBC model. The first order condition equations for capital and labor need a lagrange multiplier. If you are not a student of finance and economics, these will go over your head. And if you have studied macroeco, then these will be the most basic thing you learn.

    • @Leo-tf3rw
      @Leo-tf3rw Před 3 lety +4

      @@tunim4354 wow you replied after 4 years

    • @hbbh
      @hbbh Před 3 lety

      @@Leo-tf3rw AHAHHAHAH he did

    • @hbbh
      @hbbh Před 3 lety

      That person probably already finished college

  • @leeris19
    @leeris19 Před měsícem

    Last time I checked I am studying how to minimize Optimum Margin Classifier for Support Vectors, now I am here, I don't know how, but I love it.

  • @SuperIdiotMan00
    @SuperIdiotMan00 Před 7 lety +56

    "Hours of Labor and Tons of Steel". That sounds like a rejected thrash metal album.

  • @phil97n
    @phil97n Před 9 měsíci +1

    Many thanks! I learned about lagrange multipliers as of yesterday, but it's been rather difficult to understand just exactly what it is even thought the math makes sense - your video clarified for me. Thanks again

  • @pritomroy2465
    @pritomroy2465 Před 4 lety +5

    9:31 I thought most of the things in math comes from nowhere until I got your videos.

  • @alexanderherbertkurz
    @alexanderherbertkurz Před 6 lety +4

    thanks a lot, great video ... I watched a few videos on Lagrange multipliers and this is the best so far ... it would be great if there were links to the previous and next video in the series

  • @ThePiMan0903
    @ThePiMan0903 Před rokem +2

    Thank you Khan Academy!

  • @abdullahalmosalami2373
    @abdullahalmosalami2373 Před 3 lety +1

    Woah what! I was not expecting that lambda had some meaning! Oh why didn't my Calc 3 classes show me this. I don't even believe this was in my Calc 3 textbook, or maybe perhaps it was burried in some of the problems at the end of the Lagrange Multiplier section.

  • @dionsilverman4195
    @dionsilverman4195 Před 4 lety +2

    How do we know that when the gradients are parallel, it's an extremum of the constraint g(x,y), rather than an inflection point? For example, extremising the paraboloid f(x,y) = x² +y² subject to y = 2x³ + 1. The gradients are parallel at (0,1), but this does not extremise the function f subject to the constraint g(x,y).
    Also, can I request a video on Lagrange multipliers with multiple constraints? This is much harder to find. I'm particularly interested in its use in deriving the Boltzmann distribution as maximising the number of micro states subject to constant molecule number and total energy. Also, a video on how this relates to Lagrangian or Hamiltonian mechanics would be fantastic and a common application I think.

  • @umountable
    @umountable Před 4 lety +2

    how to find "the previous video" there is no playlist linked to the video

  • @michaeljpchen6469
    @michaeljpchen6469 Před 6 lety

    Really helpful to help me get a thorough understanding

  • @franks.6547
    @franks.6547 Před 6 lety +1

    Wouldn't we suspect, just from looking at the parallel gradients of R and B, that for every small increase of B you get λ times an increase of R? I mean something like λ = |grad R|/|grad B| = dR/dB on a curve perpendicular to the two tangent contour lines -same as Anton Geraschenko says below, but more visually intuitive, I think. (I admit that you still have to believe that any variation of h and s should be along that perpendicular curve, but that is how you keep R and B contours tangent to each other)

  • @kawhiknot1016
    @kawhiknot1016 Před 5 lety +1

    In what playlist does constraint programming topics it belongs?

  • @supreme84x
    @supreme84x Před 5 lety

    Wouldn't the contour of B be pointed down,, from the concavity? Or is the multiplier acting as a "negative" scalar, flipping it around?

  • @liabraga4641
    @liabraga4641 Před 7 lety +1

    So elucidating

  • @xiaoweidu4667
    @xiaoweidu4667 Před 4 lety

    this is fantastic point !

  • @Skandalos
    @Skandalos Před rokem

    The voice sounds familiar. Is this the guy from the 3blue1brown channel? Anyway, this is very well explained.

  • @RajatGoel1
    @RajatGoel1 Před 6 lety +1

    6:47 REALLY!!!

  • @ruSEXtreme
    @ruSEXtreme Před 6 lety +1

    why should the 2 gradients have to be proportional, as opposed to being equal to each other? if they're not equal at the point of contact, then theyre not tangent to each other..?

    • @BillPickle
      @BillPickle Před 5 lety +4

      so long as the direction is the same, the gradient vectors will be parallel scalar multiples (lambda). The magnitudes of the vectors do not matter, and if reduced to unit vectors, would be identical.

  • @sam4395
    @sam4395 Před 7 lety +4

    oh

  • @indranilroy691
    @indranilroy691 Před 5 lety +1

    At 4:30, why we are taking gradient of L(Lagrangian function) = 0? Can anyone please put some light on this. Thanks!

    • @dsanjoy
      @dsanjoy Před 4 lety

      In a previous video it has been explained. You have to calculate the tangent of the two function and they have to be proportional to each other. The propionality constant is lambda.

  • @abhishek_sengupta
    @abhishek_sengupta Před 3 lety

    wow...Thanx a lot!!

  • @arslanhojiyev5996
    @arslanhojiyev5996 Před 3 lety

    If does not ask for the maximum ( or minimum), how can you know it is indeed the maximum (or minimum) value???

  • @CalleTful
    @CalleTful Před 2 lety

    Which playlist is this in?

  • @Rockyzach88
    @Rockyzach88 Před rokem

    So is the lagrange multiplier also considered an eigenvalue?

  • @animeshpuzari8235
    @animeshpuzari8235 Před 5 lety

    thanks😁🏅

  • @atriagotler
    @atriagotler Před 2 lety

    I love you grant.

  • @usamsersultanov689
    @usamsersultanov689 Před 7 lety

    Finally I got it

  • @johncharles3907
    @johncharles3907 Před 4 lety

    I think I need some more animations to understand this.

  • @miguelangelhernandezortiz7303

    Anybody knows a book of Multivariable Calculus' history? Please help me.

  • @Postermaestro
    @Postermaestro Před 6 lety

    Commenting to spread on the tubes!

  • @dagia3209
    @dagia3209 Před 5 lety

    I like it

  • @buh357
    @buh357 Před 3 lety

    F**k, This is GOLD.

  • @uvenga
    @uvenga Před 2 lety

    The one who can not learn is because he doesn't want 💯

  • @mv3845
    @mv3845 Před rokem

  • @Majestic469
    @Majestic469 Před 4 lety

    Why can’t you just solve for h or s in one function and substitute that expression in the other function? Then you can just set the derivative to 0 to find the optimization.

    • @MayankGoel447
      @MayankGoel447 Před 2 lety

      That's not always possible. If say, your constraint function was not factorizable e.g. xsin(y) + yx^2=1. In this case, you can't express x in terms of y or the other way around and substitute that in f(x)

  • @elgodyr2683
    @elgodyr2683 Před 2 lety

    guys can the lamda be equal to 0 ?

    • @goclbert
      @goclbert Před 2 lety

      Yeah but wouldn't that just mean our constraint has no impact on our ability to optimize R?

  • @anas.2k866
    @anas.2k866 Před 3 lety

    I don't see why the two fradient are propotinal

    • @hectorbetancourt2854
      @hectorbetancourt2854 Před 3 lety

      Because you made them so through the Lagrange multiplier. There are multiple grads of the contour of the function that don't have a proportional grad with the constraint, but by assuming that they are (and that they relate to each other through the Lagrande multiplier), you can solve the system of equations and get all the points at which your previous assumption, that the two gradients are proportional, is true.

  • @theacademyofgermanidealism6210

    3blue one brown guy

  • @jullevv
    @jullevv Před 7 lety +1

    first like

  • @tag_of_frank
    @tag_of_frank Před 3 lety

    Argh why no inequality constraints

  • @alaypal7484
    @alaypal7484 Před 6 lety

    Omg

  • @tadasvaitkevicius5799
    @tadasvaitkevicius5799 Před 4 lety

    i dont like that he speaks so fast

  • @Jmtri7
    @Jmtri7 Před 3 lety

    While you maximize your revenue, I'll be maximizing my profit... ;)

  • @shellycollorone3703
    @shellycollorone3703 Před 7 lety +1

    why sending math i'm not needing ?

    • @zayedalsuwaidi7697
      @zayedalsuwaidi7697 Před 7 lety +3

      Maybe just don't click videos you do not need to see?

    • @shellycollorone3703
      @shellycollorone3703 Před 7 lety +1

      iii 3xki they sending a different kind of math i don't need.

    • @zayedalsuwaidi7697
      @zayedalsuwaidi7697 Před 7 lety +2

      Shaelyne Collorone
      Okay, I understand this. But why don't you just go on the website www.khanacademy.com and look for what you need instead of clicking on videos you don't want to see?

    • @edjrage7745
      @edjrage7745 Před 3 lety

      @@shellycollorone3703 who is they