LU Decomposition

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024
  • MIT 18.06SC Linear Algebra, Fall 2011
    View the complete course: ocw.mit.edu/18...
    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

ความคิดเห็น • 80

  • @moon-ia2068
    @moon-ia2068 9 หลายเดือนก่อน +39

    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

  • @김승환-g3c
    @김승환-g3c 4 ปีที่แล้ว +29

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

    • @lugia8888
      @lugia8888 7 หลายเดือนก่อน +2

      No you dont

    • @김승환-g3c
      @김승환-g3c 6 หลายเดือนก่อน

      Nah @@lugia8888

    • @instinx9154
      @instinx9154 3 หลายเดือนก่อน

      @@lugia8888 dawg why you so salty lol

  • @stevesgle4025
    @stevesgle4025 2 ปีที่แล้ว +7

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

  • @harshavardhanlakhinana5280
    @harshavardhanlakhinana5280 3 หลายเดือนก่อน

    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

  • @geekaffairs6475
    @geekaffairs6475 5 ปีที่แล้ว +14

    Ben, you explained nicely..

  • @mind-blowing_tumbleweed
    @mind-blowing_tumbleweed ปีที่แล้ว +4

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

  • @Hobbit183
    @Hobbit183 6 ปีที่แล้ว +17

    these videos are gold :)

  • @wuchinen
    @wuchinen ปีที่แล้ว +1

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

  • @zakariyemohamudabdi962
    @zakariyemohamudabdi962 ปีที่แล้ว +1

    Am watching now thanks to Instructor Harris

  • @allenyang5829
    @allenyang5829 หลายเดือนก่อน

    Thank you, you explain very well.

  • @siyuanGong-j4f
    @siyuanGong-j4f 6 หลายเดือนก่อน +1

    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!

  • @mobyokelly52
    @mobyokelly52 3 ปีที่แล้ว +3

    Thank you very much, definitely useful for me!

  • @samsworking7604
    @samsworking7604 ปีที่แล้ว +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 ปีที่แล้ว

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

  • @mohithjagalmohan
    @mohithjagalmohan 4 ปีที่แล้ว +2

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

  • @anuj7876
    @anuj7876 11 หลายเดือนก่อน +1

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

    • @bhushandatre1508
      @bhushandatre1508 หลายเดือนก่อน

      i noticed it too it should be -a and not 0😁

  • @laytion4585
    @laytion4585 2 ปีที่แล้ว +2

    Thank you! I think he explained it very well

  • @cobaroja3529
    @cobaroja3529 10 วันที่ผ่านมา

    να σαι χαιρονται οι γονεις σου αγοραρα μου

  • @StephanyMaraca
    @StephanyMaraca 10 หลายเดือนก่อน

    Thank you man, it was a really clear explanation

  • @jeffreylin1245
    @jeffreylin1245 ปีที่แล้ว

    Singular matrices are matrices that doesn't have inverse.

  • @woka1875
    @woka1875 8 วันที่ผ่านมา

    why no corner for the bracket

  • @dylendye7410
    @dylendye7410 ปีที่แล้ว

    Thanks this will be huge help

  • @yiyu9519
    @yiyu9519 3 ปีที่แล้ว

    love this course

  • @MrSazid1
    @MrSazid1 4 ปีที่แล้ว +2

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

    • @Upgradezz
      @Upgradezz 3 ปีที่แล้ว

      Then you won't get a LU decomposition.

  • @MANGALAMPALLIVMSTEJAS
    @MANGALAMPALLIVMSTEJAS 11 หลายเดือนก่อน +1

    You're BEN

  • @rajajaladurgam
    @rajajaladurgam 2 ปีที่แล้ว +2

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

    • @carlphilip4393
      @carlphilip4393 ปีที่แล้ว +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)

  • @anandjain717
    @anandjain717 4 ปีที่แล้ว +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 4 ปีที่แล้ว

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

    • @gaboqv
      @gaboqv 2 ปีที่แล้ว +1

      thats a plu decomposition

  • @pepehimovic3135
    @pepehimovic3135 2 ปีที่แล้ว +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 2 ปีที่แล้ว +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.

  • @picklerick8844
    @picklerick8844 4 ปีที่แล้ว +23

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

  • @lancelofjohn6995
    @lancelofjohn6995 2 ปีที่แล้ว

    Thanks for your video

  • @TheRojo387
    @TheRojo387 ปีที่แล้ว

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

  • @biscuitsofdeath
    @biscuitsofdeath ปีที่แล้ว

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

  • @fernandoacuna4650
    @fernandoacuna4650 ปีที่แล้ว

    I liked this one.

  • @riteshprasadsingh6029
    @riteshprasadsingh6029 2 ปีที่แล้ว +3

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

    • @logancastaway2064
      @logancastaway2064 ปีที่แล้ว +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 4 หลายเดือนก่อน +1

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

  • @skyatoro
    @skyatoro 11 หลายเดือนก่อน

    I miss blackboards. They’re the OG boards

  • @一億円が欲しい
    @一億円が欲しい 4 ปีที่แล้ว +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 3 ปีที่แล้ว +3

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

  • @skushagra
    @skushagra 7 หลายเดือนก่อน

    this is great

  • @hayin2041
    @hayin2041 2 ปีที่แล้ว

    What about the case when we need row interchange?

  • @흠냐링-i4y
    @흠냐링-i4y 4 ปีที่แล้ว +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 4 ปีที่แล้ว +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 4 ปีที่แล้ว +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 2 ปีที่แล้ว

      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.

  • @pinazo07
    @pinazo07 9 หลายเดือนก่อน

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

    • @FriggnH8ters
      @FriggnH8ters หลายเดือนก่อน

      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

  • @None0fY0urConcern
    @None0fY0urConcern 6 หลายเดือนก่อน

    omnitrix waiting for you mate

  • @thangbui6383
    @thangbui6383 ปีที่แล้ว

    Thanks. liked.

  • @esmondadjei
    @esmondadjei ปีที่แล้ว

    Hello Ben

  • @andrewgreazel7007
    @andrewgreazel7007 2 ปีที่แล้ว

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

    • @ElectricTeaCup
      @ElectricTeaCup 2 ปีที่แล้ว

      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.

  • @dylendye7410
    @dylendye7410 ปีที่แล้ว

    Hey can I get into MIT?

    • @mitocw
      @mitocw  ปีที่แล้ว

      See mitadmissions.org/ for info.

  • @vinyltherapy9410
    @vinyltherapy9410 2 ปีที่แล้ว

    Güd

  • @베타-z7f
    @베타-z7f 5 ปีที่แล้ว +3

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

    • @krishnkantswarnkar4735
      @krishnkantswarnkar4735 5 ปีที่แล้ว +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 5 ปีที่แล้ว +6

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

    • @ath216
      @ath216 4 ปีที่แล้ว +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 2 ปีที่แล้ว

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

  • @alexcosta15178
    @alexcosta15178 2 ปีที่แล้ว +1

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

  • @ashutoshtiwari4398
    @ashutoshtiwari4398 5 ปีที่แล้ว +7

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

    • @yuchenzhao6411
      @yuchenzhao6411 5 ปีที่แล้ว +2

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

  • @luislopez-tx4tl
    @luislopez-tx4tl ปีที่แล้ว

    i love his voice

  • @davidcruz3400
    @davidcruz3400 ปีที่แล้ว

    Very Helpful! Quick and Clear!

  • @12121921
    @12121921 2 ปีที่แล้ว

    nicely

  • @thomassun3046
    @thomassun3046 4 ปีที่แล้ว

    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 4 ปีที่แล้ว

      Check the next lesson. ;)