LU Decomposition

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024

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

  • @moon-ia2068
    @moon-ia2068 ปีที่แล้ว +46

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

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

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

      No you dont

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

      Nah @@lugia8888

    • @instinx9154
      @instinx9154 5 หลายเดือนก่อน +2

      @@lugia8888 dawg why you so salty lol

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

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

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

    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

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

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

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

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

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

    Ben, you explained nicely..

  • @siyuanGong-j4f
    @siyuanGong-j4f 8 หลายเดือนก่อน +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!

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

    Am watching now thanks to Instructor Harris

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

    these videos are gold :)

  • @vipulsharma6761
    @vipulsharma6761 2 วันที่ผ่านมา

    Very Smooth! Thanks for clearing this up!

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

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

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

      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)

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

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

  • @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

  • @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.

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

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

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

      thats a plu decomposition

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

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

    • @logancastaway2064
      @logancastaway2064 ปีที่แล้ว +11

      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 7 หลายเดือนก่อน +1

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

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

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

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

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

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

    why no corner for the bracket

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

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

    Thank you man, it was a really clear explanation

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

    Thank you, you explain very well.

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

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

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

    Thank you very much, definitely useful for me!

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

    Thank you! I think he explained it very well

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

    i love his voice

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

    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.

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

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

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

    What about the case when we need row interchange?

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

    Thanks this will be huge help

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

    Very Helpful! Quick and Clear!

  • @흠냐링-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.

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

    Singular matrices are matrices that doesn't have inverse.

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

    love this course

  • @一億円が欲しい
    @一億円が欲しい 4 ปีที่แล้ว +6

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

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

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

    I miss blackboards. They’re the OG boards

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

    You're 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.

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

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

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

      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

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

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

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

    Thanks for your video

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

    Hey can I get into MIT?

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

      See mitadmissions.org/ for info.

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

    I liked this one.

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

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

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

    this is great

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

    Hello Ben

  • @nesecanakc4395
    @nesecanakc4395 19 วันที่ผ่านมา

    Alumination

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

    nicely

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

    Thanks. liked.

  • @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. ;)

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

    omnitrix waiting for you mate

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

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

    Güd