LU Decomposition

Sdílet
Vložit
  • čas přidán 24. 07. 2018
  • MIT 18.06SC Linear Algebra, Fall 2011
    View the complete course: ocw.mit.edu/18-06SCF11
    Instructor: Ben Harris
    A teaching assistant works through a problem on LU decomposition.
    License: Creative Commons BY-NC-SA
    More information at ocw.mit.edu/terms
    More courses at ocw.mit.edu

Komentáře • 79

  • @moon-ia2068
    @moon-ia2068 Před 8 měsíci +35

    Ben really did an amazing job I have been watching videos of the LU decomposition for 2 hours and your explanation is the best so far

  • @stevesgle4025
    @stevesgle4025 Před rokem +7

    absolutely enjoying it. understood the concept the moment i finished the video!

  • @wuchinen
    @wuchinen Před rokem +1

    I appreciate your help. Now I have a better understanding of matrices multiplication through your precise description.

  • @Hobbit183
    @Hobbit183 Před 6 lety +17

    these videos are gold :)

  • @geekaffairs6475
    @geekaffairs6475 Před 5 lety +14

    Ben, you explained nicely..

  • @user-dl8sc6hy2s
    @user-dl8sc6hy2s Před 4 lety +29

    Thank you
    I can easily understand LU decomposition by following your process in a timely manner

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

    Thank you very much, definitely useful for me!

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

    Dude you really nailed it!! First I didnot understand the actual procedure from lecture not I get it
    and I was wondering why L and U decomposition would take less amount of steps to compute and now I have my answer thanks to your clear explaination

  • @zakariyemohamudabdi962
    @zakariyemohamudabdi962 Před rokem +1

    Am watching now thanks to Instructor Harris

  • @mind-blowing_tumbleweed
    @mind-blowing_tumbleweed Před rokem +4

    Good review. I remember I was puzzled why L doesn't have minuses when it eliminated numbers.

  • @yiyu9519
    @yiyu9519 Před 3 lety

    love this course

  • @davidcruz3400
    @davidcruz3400 Před rokem

    Very Helpful! Quick and Clear!

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

    He's pretty good. Thank you so much, Ben :) :)

  • @laytion4585
    @laytion4585 Před 2 lety +2

    Thank you! I think he explained it very well

  • @StephanyMaraca
    @StephanyMaraca Před 8 měsíci

    Thank you man, it was a really clear explanation

  • @dylendye7410
    @dylendye7410 Před rokem

    Thanks this will be huge help

  • @lancelofjohn6995
    @lancelofjohn6995 Před 2 lety

    Thanks for your video

  • @hayin2041
    @hayin2041 Před 2 lety

    What about the case when we need row interchange?

  • @samsworking7604
    @samsworking7604 Před rokem +2

    Wait, is it just me who's finding his LU doesn't end up the original A? I was following all of the steps correctly until the last part where the LU is not equal to A.... Anyone else?

    • @rajavignesh7216
      @rajavignesh7216 Před rokem

      Yeah bro same in matrix U (u33 = 0 ) not a-b ,I used a different method got u33 as zero and A = LU

  • @user-tf3tm2ew8w
    @user-tf3tm2ew8w Před 4 měsíci

    Some one maybe explain to me why " you can't find LU decomposition if you have to do a row exchange in elimination"(4:08) it seems to me that it is because in this problem we happen to have 0 in the right of a in row 2, if a is zero, then row two is dependent row. Without full pivot we can't do LU decomposition. But in other situation, even if we have row exchange in elimination step, we could still find LU decomposition but not in a straight forward way. Someone please help!

  • @rajajaladurgam
    @rajajaladurgam Před 2 lety +2

    please explain the last comment you have made regarding permutation.. why if permutation does not allow LU decomposition

    • @carlphilip4393
      @carlphilip4393 Před rokem +2

      because if we would do permutations the resulting matricies wouldnt be triangular anymore. ->triangular matricies are our goal
      (i know the comment is old, its just for anyone having the same question)

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

    If we need to change the pivot can we not just do a permutation and added to the elimination

    • @Upgradezz
      @Upgradezz Před 3 lety

      Then you won't get a LU decomposition.

  • @anuj7876
    @anuj7876 Před 10 měsíci +1

    U done it beautifully in L 21. There will be -a not just a 😅 8:40

  • @luislopez-tx4tl
    @luislopez-tx4tl Před 10 měsíci

    i love his voice

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

    Why we not take into account the row exchanges in LU decomposition. As we know that the elementary matrix corresponding to it is invertible(equal to its transpose). So why row exchanges are not considered?

    • @Abhi-qi6wm
      @Abhi-qi6wm Před 3 lety

      But why would you want to exchange rows in this problem? All pivot positions are already non-zero.

    • @gaboqv
      @gaboqv Před 2 lety +1

      thats a plu decomposition

  • @fernandoacuna4650
    @fernandoacuna4650 Před rokem

    I liked this one.

  • @andrewgreazel7007
    @andrewgreazel7007 Před 2 lety

    How do you get -b/a for Esub32 in the third elimination matrix?

    • @ElectricTeaCup
      @ElectricTeaCup Před 2 lety

      We want to turn the b in row 3 to 0 using the pivot in row 2. In order to do this, the pivot, namely a needs to be first divided by a and then multiplied by b followed by a subtraction from row 3. Translating this into matrix form is E_32.

  • @user-nl2xe5to1z
    @user-nl2xe5to1z Před 4 lety +2

    Is there any reason why the sequence is always E32->E31->E21?
    I guess unless it will be hard to compute L=E21 -I × E31 -I × E32 -I , right?

    • @thomassun3046
      @thomassun3046 Před 4 lety +1

      because it is elimination, it is about row operations,so the matrix must be on the left of the A matrix, coz it is step by step, so it must be this order

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

      There is a good reason why it's that exact order.
      Having E32 x E31 x E21 x A = U, in order to end up only with A on the left side, we need to multiple on the left with a matrix that would result in I x A = L x U.
      The definition of I is: I = A x A-1 or I = A-1 x A
      To get I from E32 x E31 x E21 we need to multiply it on the left with the inverse of each matrix (in reverse order).
      E21-1 x E31-1 x E32-1 x E32 x E31 x E21 = I, because E32-1 x E32 = I, and then E31-1 x I x E31 = I, and then E21-1 x I x E21 = I

    • @ixine-fx3wd
      @ixine-fx3wd Před rokem

      Even E31->E32->E21 gives the same L in this case, just need to follow order of inverses to be multiplied(E21-1->E32-1->E31-1). Not sure if it's limited to this question only.

  • @ashutoshtiwari4398
    @ashutoshtiwari4398 Před 5 lety +8

    Can anyone explain me what the last part meant?
    That a-b can be zero and singular matrices can have LU decomposition.

    • @yuchenzhao6411
      @yuchenzhao6411 Před 5 lety +2

      Singular matrices can have U, they just can’t be eliminated to I.

  • @skushagra
    @skushagra Před 6 měsíci

    this is great

  • @alexcosta15178
    @alexcosta15178 Před 2 lety +1

    But the U matrix contains pivots and pivots can't be zero, so (a - b) can't be zero. Right?

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

    why a-b can be zero? Suppose a = 1 and b = 1, then the pivot will be zero

    • @logancastaway2064
      @logancastaway2064 Před rokem +9

      a was assumed to be zero because it is required to be used as a pivot in order to obtain u. i see what you mean by your question because a-b is the next natural pivot location, but it isn’t necessary for a-b to actually be a pivot since we aren’t eliminating anything underneath of its location. we can still construct an upper triangular matrix even if none of the elements on the diagonal are valid pivots. all that matters is that there are zeros below the diagonal.
      i know this is 8 months late but this is for anyone who read your comment and is still curious.

    • @then-go
      @then-go Před 3 měsíci +1

      @@logancastaway2064 I really curious about that and I have searched comments to know that. Thank you so much!!

  • @jeffreylin1245
    @jeffreylin1245 Před 10 měsíci

    Singular matrices are matrices that doesn't have inverse.

  • @thangbui6383
    @thangbui6383 Před rokem

    Thanks. liked.

  • @12121921
    @12121921 Před 2 lety

    nicely

  • @biscuitsofdeath
    @biscuitsofdeath Před 10 měsíci

    I still don't get it. I think the e matrices are tripping me up.

  • @user-vw7su1cu9e
    @user-vw7su1cu9e Před 10 měsíci +1

    You're BEN

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

    he is explaining it so well i can even understand and i am a 11 year old
    👍

    • @steve6012
      @steve6012 Před 28 dny

      Looking forward to hearing about your Fields medal sometime in the next 29 years

    • @FriggnH8ters
      @FriggnH8ters Před 7 dny

      @@steve6012 XD

  • @TheRojo387
    @TheRojo387 Před rokem

    It seems that he left-multiplied each successive matrix by the eliminators, rather than right-multiplying!

  • @dylendye7410
    @dylendye7410 Před rokem

    Hey can I get into MIT?

    • @mitocw
      @mitocw  Před rokem

      See mitadmissions.org/ for info.

  • @thomassun3046
    @thomassun3046 Před 4 lety

    From professor Strang, when the pivot is ZERO, it can be multiplied by a permutation matrix, to change the the row, so PA=LU, it should be ok, why a =0 is not discussed?

    • @Pdvil
      @Pdvil Před 3 lety

      Check the next lesson. ;)

  • @picklerick8844
    @picklerick8844 Před 4 lety +21

    Challenge: Take a shot everytime he says "Good".

  • @user-cn6xx5pe4u
    @user-cn6xx5pe4u Před 4 lety +5

    Wait... as the second row is divided by b/a which means b/a is not zero, that leads to a≠0 and b≠0...

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

      second row times b/a, not divided by b/a

  • @None0fY0urConcern
    @None0fY0urConcern Před 4 měsíci

    omnitrix waiting for you mate

  • @esmondadjei
    @esmondadjei Před rokem

    Hello Ben

  • @pinazo07
    @pinazo07 Před 8 měsíci

    Wouldn't it be necessary to highlight that "a - b" must be non-zero?

    • @FriggnH8ters
      @FriggnH8ters Před 7 dny

      He mentions it at the very end of the video. I believe it is alright for a-b to be 0 since the location of the entry does not require a row exchange which would prevent us from creating an LU decomposition

  • @pepehimovic3135
    @pepehimovic3135 Před 2 lety +5

    1) Check that your solution is valid. Check that LU gives you A. Just like with checking solutions of differential equations.
    2) the a-b pivot in matrix U can be 0, because we don’t have to do a row exchange to get U.
    That’s the only time when we can’t do LU decomposition.
    In particular, singular matrices can have LU decompositions.
    The 2nd point makes no sense to me.

    • @JoseSilva-rb1ym
      @JoseSilva-rb1ym Před rokem +4

      The second point is true enough, up to a certain point. You can't perform an LU decomposition for some matrix A which needs a row exchange; instead, you have to reorder the matrix A into some other matrix PA (by means of a permutation matrix) such that PA can be factored into LU.
      Singular matrices can have LU decompositions; in fact, singular matrices can have multiple LU decompositions.

  • @skyatoro
    @skyatoro Před 10 měsíci

    I miss blackboards. They’re the OG boards

  • @vinyltherapy9410
    @vinyltherapy9410 Před 2 lety

    Güd

  • @user-se6cc1hr5i
    @user-se6cc1hr5i Před 5 lety +3

    I think a=0 b=0 can be the solution because A = IA is also LU decomposition

    • @krishnkantswarnkar4735
      @krishnkantswarnkar4735 Před 5 lety +2

      No it can't be. You essentially said L=I & U=A, which can not be true, as you need to perform some set of elementary operations to reach A (as shown in the video).
      Hope it was helpful!

    • @endogeneticgenetics
      @endogeneticgenetics Před 5 lety +7

      Ah, good point. Technically, if a & b = 0 -> A=U & L=I, so A=IA is a solution.

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

      What you said is called the "trivial" solution, matrix A should always be equal to IA which is also equal to AI. and you can call this what ever you want, not only LU. I guess by now you have passed the course ! congrats =)

    • @pepehimovic3135
      @pepehimovic3135 Před 2 lety

      @@endogeneticgenetics a = b = 0 has nothing to do with whether A = IA holds or not. A = IA is always true.