LU Decomposition - Shortcut Method

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • This video explains how to find the LU Decomposition of a square matrix using a shortcut involving the opposite of multipliers used when performing row operations.
    Site: mathispower4u.com
    Blog: mathispower4u.w...

Комментарии • 310

  • @RNX09
    @RNX09 10 лет назад +306

    Mate, i cannot stress how easy you have made this topic to comprehend. I am comfortable in this topic thanks to you!

    • @Mathispower4u
      @Mathispower4u  10 лет назад +21

      That is great! Thank you for letting me know.

    • @zezima0wp
      @zezima0wp 9 лет назад +1

      Mathispower4u Same here, Thank You!

    • @SustainaBIT
      @SustainaBIT 9 лет назад

      I'm really so thankful to him, thanks ^_^

    • @Mathispower4u
      @Mathispower4u  8 лет назад +2

      Thank you so much.

    • @zewdiherring9528
      @zewdiherring9528 Год назад

      @@Mathispower4u Thank you!

  • @huytram
    @huytram 10 лет назад +77

    I'm sorry but I watched every other videos about this topic but this guy taught it to me in less than 4 minutes...DAMN

  • @alexusnag
    @alexusnag 5 лет назад +38

    Finally, a humanly appropriate tutorial on LU decomposition! Thank you!

  • @Mathispower4u
    @Mathispower4u  11 лет назад +5

    The best way is to visit the mathispower4u website. It has all of the videos in order by course and topic.

  • @brianzar1943
    @brianzar1943 8 лет назад +30

    You're the man. I've been following you for 3 years now.

  • @patrikbodnar6487
    @patrikbodnar6487 6 лет назад +1

    I've spent more than an hour looking for some clean explanation about LU decomposition in my own language for my uni exam. After swearing... a little... and increasing my hatred towards my country I found your tutorial and you made me understand this whole thing in less than 6 minutes. Thank you!

  • @alfredolim6456
    @alfredolim6456 4 года назад +4

    Almost 8 years and i can't thank you enough, great job.

  • @martinkilonzo3357
    @martinkilonzo3357 2 года назад +2

    The best video on LU decomposition. Thank you

  • @donbradman334
    @donbradman334 9 лет назад +2

    Best video I have seen on this topic so far! I am lecturing an undergraduate math course this semester and you have just helped make it easier for me to explain the LU decomposition algorithm to my students. Thank you!

    • @donbradman334
      @donbradman334 9 лет назад

      donbradman334 I should also point out just for interest that I am using a combination of your method and that in chapter 2.5 of Lay's linear algebra book to explain this to the students.

  • @wbspangie
    @wbspangie 8 лет назад +2

    What took me hours to understand has just been demystified in 10min! You're amazing, I can't thank you enough!!!

  • @wiliextreme
    @wiliextreme 8 лет назад +15

    thx, nice explanation

  • @Luka-fz6kw
    @Luka-fz6kw 7 лет назад +8

    Wow, you made this extremely easy to follow and comprehensive. I can't thank you enough!

  • @ArifulHSubin
    @ArifulHSubin 10 лет назад +1

    I have a midterm in 3hrs and this was very helpful indeed. Other youtube videos were really confusing

  • @mouhamethfadalmarabyaidara4935
    @mouhamethfadalmarabyaidara4935 6 лет назад

    OMG this is the best explanation i could've found.You Successfully explained CLEARLY and SIMPLY the LU method whereas i've benn struggling for one month to understand the complicated lecture given by My teacher on this Topic at my Engineering School.Thank you so much Sir for the Great Job you've done .

  • @willalexander2013
    @willalexander2013 3 года назад +3

    THANK YOU!!!! I have spent hours on trying to figure this out and you made it easy to learn in 10 mins. Great video!!!

  • @wonduek92
    @wonduek92 10 лет назад +14

    I don't always comment but when i do, it is worth commenting. THIS IS BRILLIANT!!!

  • @xiaoyecai8992
    @xiaoyecai8992 5 лет назад

    I've been watching your videos for a year and you saved my cal3 and linear algebra. Thank you!

  • @humanbeing4109
    @humanbeing4109 5 лет назад +2

    You've helped me through all of my undergrad. THANK YOU.

  • @TheMrpolo123
    @TheMrpolo123 10 лет назад

    I can't believe how easy you made this lesson. All these other videos I watched just complicated my morning, but THANK YOU very much!

  • @mraju94
    @mraju94 10 лет назад +1

    Man! this is awesome. We get 4x4 or higher order in exams and it would take forever. Thanks for your help.

  • @engin23043
    @engin23043 5 лет назад

    It felt like a pump of info before my quiz. Seems like you've been helping people like me for many years. You must have a vip place in heaven

  • @MoonyLuvsGreenDay
    @MoonyLuvsGreenDay 6 лет назад

    HOLY SHIT I'VE BEEN CRYING OVER NOT BEING ABLE TO DO THIS FOR 2 HOURS AND YOU JUST SAVED ME THANK YOU!

  • @alexparella5203
    @alexparella5203 5 лет назад

    I couldn't understand this concept anywhere else before I saw this video. thank you so much!!

  • @bookoo612
    @bookoo612 12 лет назад

    this is by far the most concise and informative video of lu decomp. ive seen.
    Thank you so much.

  • @CodingTutor-1226
    @CodingTutor-1226 Год назад

    this the best video I saw on RUclips. I have been looking for hours.

  • @L-E-son
    @L-E-son 7 лет назад +2

    Thanks for making this video! Simple to remember!

  • @cin2773
    @cin2773 11 месяцев назад

    thank u thank thank u soooooo much after 11 years u are such a legend

    • @Mathispower4u
      @Mathispower4u  11 месяцев назад

      Thank you for taking the time to leave a comment. I am glad I could help out. 😃

  • @nigelt
    @nigelt 5 месяцев назад

    Super method!!!
    I was not able to solve LU decomposition till now.
    This will help a lot.

  • @skyfivehd643
    @skyfivehd643 5 лет назад

    Before seeing this video I was like "I'll never understand in my entire life" and after your explanations "it was easy af" ... thank u so much bro

  • @CameronS437
    @CameronS437 8 лет назад +68

    Great video. My university should be paying you to teach me, not my Numerical Analysis and Computing Professor. Thank you!

    • @notpiccaboo142
      @notpiccaboo142 3 года назад

      same, my numerical methods professor sucks

    • @doc_sal1889
      @doc_sal1889 2 года назад

      fra ti metterei mi piace ma cazzo stai a 69 non posso rovinarlo

  • @allyllee
    @allyllee 8 лет назад

    Seriously thank you so much !!!! your explanations are clearer than a teacher with a PHD !!!

  • @marc1610
    @marc1610 5 лет назад

    You explained this 100x better than my instructor. Straight forward without meaningless definitions

  • @omnibrain8
    @omnibrain8 6 лет назад

    I watched your video and it was self explanatory.I tried to watch another video to compare but I think you gave explanation to why the elements in the L matrix were so.Thank you sir.

  • @RanveerAggarwal
    @RanveerAggarwal 10 лет назад +5

    Just one question. Say, in the first step, R22 becomes 0. What will you do in the third step then? Would you say that LU decomposition doesn't exist?

  • @JJ............................
    @JJ............................ 8 лет назад

    I was a little confused when my instructor was teaching this. My textbook wasn't that clear either. Now, I understand it. Thanks for posting this video about how to do it.

  • @90MichaelTaylor
    @90MichaelTaylor 7 лет назад

    Thank god someone other than my professor can teach this. You are helping me get a better grade on my final.

  • @pingnikhil
    @pingnikhil 6 лет назад +2

    Clear and lucid, thanks.
    May I ask, what software and peripherals (mouse, stylus+pad, ... ??), and the OS you used to make your presentation?

  • @CellerCity
    @CellerCity Месяц назад

    Thanks a lot! I've been struggling on this for a long time.

  • @wibawahd
    @wibawahd 11 лет назад +1

    Im wondering about this too... And are we only allowed to multiply one of the row only? Like is 2R1+3R2 allowed? if it is, which number should we plug onto the L? -2? -3? -2/3? -3/2? will all give the same answer?

  • @sean_tristan31
    @sean_tristan31 7 лет назад +7

    Are there some matrices wherein this is not applicable? It doesn't seem to be applicable on this matrix im working on

  • @peaceslays
    @peaceslays 5 лет назад +1

    Thanks so much! Best video I was able to find on LU factorization

  • @michaelv9892
    @michaelv9892 10 лет назад +1

    Thank you both for your help in understanding the idea and for your providing of this practical method of implementation! Much more clear than university material...
    I just have one question...why does A need to be able to be reduced to U without row interchanges? Since this is also a row operation, that's not clear to me. Does this mean that, in practice, I cannot use techniques like Gauss pivoting to obtain U?
    Sorry but I am pretty much a beginner in this field...

  • @mohammadhassanpour9330
    @mohammadhassanpour9330 4 года назад

    thanks a lot i wasn't able to understand LU decomposition from Meyer book but U solve this problem for me!

  • @FunesTheUxorious
    @FunesTheUxorious 10 лет назад

    Beautifully presented. Completely demystified what had previously been quite confusing. Thank you!

  • @iluvGodnUSA
    @iluvGodnUSA 10 лет назад +2

    THANK YOU! I appreciate it! This saved me right before my exam =)

  • @prashantswaroop4801
    @prashantswaroop4801 Год назад

    Thanks Man 👍🙏. Thank You for making it this easy and Understanding.

  • @user-zv7yb4yp9g
    @user-zv7yb4yp9g 2 года назад

    thank you a lot man, this is how you explain a method

  • @sibongisenidumakude9650
    @sibongisenidumakude9650 5 лет назад

    Thank you so much you dnt understand how easy you made this to understand

  • @maloneap64
    @maloneap64 9 лет назад

    A great video explaining the shortcut method for LU decomposition.

  • @mrarcticaaa1101
    @mrarcticaaa1101 6 лет назад

    Thank you so much. I think there is a need to make a revolution in university degree. RUclips lessons are far more efficient than stupid useless 3 hour lectures.

  • @nikitalama2905
    @nikitalama2905 6 лет назад

    Makes much more sense now. thanks for the video !!

  • @JeronimusJack
    @JeronimusJack 7 лет назад

    great was searching for a good explanation and example, and here i found it. tyvm

  • @erickmaverick3128
    @erickmaverick3128 10 лет назад +1

    Thanks for the tutorial. I found it helpful. Oh, by the way, does this method work with 4x4 matrices as well?

  • @timothysands5537
    @timothysands5537 2 года назад

    Thank you for making this concept easy to understand. You are a Godsend for students like myself.

  • @RodrigoPinheiro69
    @RodrigoPinheiro69 9 лет назад

    you saved me with that explanation man! greetings from brazil!!

  • @user-lm8nf3kj8g
    @user-lm8nf3kj8g 8 лет назад

    dude this clip is AWSEOM!!!!! now Ive got idea of this topic.
    thx for this amazing vid
    greetings from Seoul

  • @lailanmalan1604
    @lailanmalan1604 9 лет назад

    Writing my final paper for numerical methods tomorrow, this really helped a lot! Thanks :)!!!!!

  • @johnfranken3889
    @johnfranken3889 8 лет назад +1

    This is now infinitely easier to understand

  • @cynthita93
    @cynthita93 8 лет назад

    Thank you so much! its the best video in all youtube for this topic! you made it super easy to understand!

  • @cheyennesadeghi
    @cheyennesadeghi 8 лет назад +1

    Saved me from soooooo much extra work thank you!

  • @logidet
    @logidet 8 лет назад

    You made me understand it, superb person.

  • @ehabtahaa
    @ehabtahaa 2 года назад

    I'd like to thank you for your easy and clear explanation, and I have a question:
    Can I use any row to obtain the "zeros" ?
    As per my understanding is Yes, as every row represents an equation, so I can use any row to obtain the zeros, I'd like you to confirm.
    Thanks in advance.

  • @alperenunal2130
    @alperenunal2130 8 лет назад

    Its 4 am now and i am watching this finally i learned thank you sir.

  • @InfinityMW2
    @InfinityMW2 3 года назад

    Thank you for the simple explanation, helped me wonders!

  • @sheepman6291
    @sheepman6291 6 лет назад

    I clocked out in class for some dumb reason. Thank you for your help.

  • @RealSlopeDude
    @RealSlopeDude 5 лет назад

    Very helpful. Thank you again James.

  • @GaoleDai
    @GaoleDai Год назад

    Really good explanation!! Thank you!

  • @kumaramouktik
    @kumaramouktik 10 лет назад +6

    what if we have 0 as one of the elements in the original matrix A as one of the elements?....What value do we store in the lower triangular matrix in its place?

    • @fjdkslajfds
      @fjdkslajfds 9 лет назад +7

      0, for those that are also curious.

    • @SustainaBIT
      @SustainaBIT 9 лет назад

      then you should multiply by 0, and find the summation of whatever the row is with zero, which would give you the same original row, then you'll but that zero in the lower matrix, I guess this is the way :)

  • @guitarforceone
    @guitarforceone 5 лет назад

    THIS IS COOOL WELL DONE!! Now it's easy to understand! Thank you!

  • @Andrew-gh7rm
    @Andrew-gh7rm 6 лет назад

    Great! I added it to a playlist to watch later if i ever need

  • @Jacob930321
    @Jacob930321 10 лет назад

    saves a lot of time. do you have a video (or some pdf/website on the internet) that proves why this works? I'm not allowed to use unproved algorithms. thanks.

  • @PunitSedani
    @PunitSedani 11 лет назад

    Best explanations EVER!

  • @tama16796
    @tama16796 8 лет назад

    Thank you tomorrow i have exam this video is very good to explain LU

  • @hermanhyde7000
    @hermanhyde7000 8 лет назад +3

    Exam in 1 hour. You saved my life!

  • @chandanchaudhary007
    @chandanchaudhary007 12 лет назад

    Very simple and concise !
    Thank you very much.

  • @bestofnature3822
    @bestofnature3822 3 года назад

    Thank you for this very beautiful way of explanation s......

  • @ramazangul1584
    @ramazangul1584 9 лет назад

    You teached me this method better then my teacher.Thank you a lot.

  • @notpiccaboo142
    @notpiccaboo142 3 года назад

    Thank you! In this time of pandemic 2021, our professor doesn't teach us. We tuition fee in this subj should go to you instead of my university.

  • @kundaimushav9228
    @kundaimushav9228 3 года назад

    Finally understood 😭🙌. Thank you!

  • @arya_a_m
    @arya_a_m 2 года назад

    So easy to do these now :o
    Thanks so much

  • @VictoriaTow
    @VictoriaTow 10 лет назад

    Thank you SO much for this video. I understand it much better now. I really appreciate it :)

  • @trevorsovan1837
    @trevorsovan1837 4 года назад

    thank you so much, this video help me alot clearing out confusion.

  • @hafidzazharjakaria2615
    @hafidzazharjakaria2615 6 лет назад

    great video dude, you help me alot

  • @ThomasTurkington
    @ThomasTurkington 9 лет назад

    Very good explanation! A question: Does this shortcut method work for all square matrices? For example in the case of the previous video where you showed how to do LU decomposition using elementary matrices, the last row operation consisted of multiplying row 2 by 4 and adding it to 5 times row 3. What would be the multiplier for the shortcut method in this case?

  • @adnanmohamed6517
    @adnanmohamed6517 2 года назад

    For anyone wonder why L consists of 1's on the main diagonal (and not any other non-zero number).
    *_Note_* : There is a short answer, and further explanation (so don't feel overwhelmed by the length of the comment :) )
    short answer: because we assumed A can be row reduced to U with *only* subtracting a multiple of a row from a row below it. (1)
    long explanation (take a pencil and paper to follow along :) ):
    How does this imply that L has only 1's on the main diagonal??
    Recall that what are we actually doing when reducing *A* to *U* is described with the equation:
    *E1 E2 E3 ... Ek A* = U , where *Ei* are elementary matrices
    So, by our assumption (1) , all *Ei* have 1's in the main diagonal and are lower triangular (think about that for a sec.)
    We have *L* =inv( *Ek* )...inv( *E1* ) (2)
    But note that inv( *Ei* ) is also lower triangular with 1's in the main diagonals (think about this for a sec.-- hint: what elementary matrix type is *Ei* ?)
    Moreover, if M = inv( *E2* ) * inv( *E1* ) then M is lower triangular with 1's in the main diagonal (think about that for a sec.) From this realization, you can think about how the rest of the multiplications in (2) will not change the property that the product is lower triangular and has 1's in the main diagonal.
    Therefore, *L* is lower triangular with 1's in the main diagonal.
    I hope this helps clarifying the question a little bit. I know it might be hard to follow the argument especially that I'm typing in RUclips with minimal formatting :).

  • @VickyMathurD_NNJA
    @VickyMathurD_NNJA 8 лет назад

    Thanks....you made it easy for me...

  • @umutdumandag
    @umutdumandag 4 года назад

    Thank you brother.Great solution.

  • @SooZoodimp
    @SooZoodimp 8 лет назад +24

    interesting, that ,when teachers give us the explanations of something like that, it looks super hard, but then you watch it here, on youtube, and you realize, it's actually quite eazy to understand

    • @oskarnava623
      @oskarnava623 8 лет назад +1

      +SooZoodimp well some you're make harder but looking around you found some who make simple for us.. that's why is not fair the education system since we all learn different.

  • @rabiaiqbal5428
    @rabiaiqbal5428 7 лет назад

    thank you sir today is my papr and i got useful tricks...thanks alot

  • @kpmkrishnan
    @kpmkrishnan 6 лет назад

    Wow.. Wonderfully explained.. I wrote a program in R following your instruction.. came out great. One question .. when you pick up a multiplier (eg.. on a 3*3 matrix as your example) when you are on row 3 column 2 .. should we necesarily choose the row above or just any row above.. I initally programmed to always factorize from Row1.. but it did not work out.

  • @navpan18
    @navpan18 2 года назад +1

    You are a hero bro

  • @asfa3447
    @asfa3447 4 года назад

    good n really easy way u made us understand it

  • @masumbillah1768
    @masumbillah1768 6 лет назад +1

    Cheers , I was trying to fix one of the equations since 3 hours, but have had no luck. I found this is very helpful Awesome explanation , Cheers mare :) :)

    • @ninepuchar1
      @ninepuchar1 6 лет назад +1

      Masum Billah i know right, freaking sometimes takes whole to do it😂.

  • @DYang-gl2dd
    @DYang-gl2dd 7 лет назад +2

    What if we don't need 3 operations to obtain U? In that case, what should we put in for the last blank in L?

    • @valkookie
      @valkookie 7 лет назад

      I assume 0, if you mean that there is already a zero there in the upper matrix

  • @ColorfullHD
    @ColorfullHD 6 лет назад

    damn, this made LU's so much easier. cheers!

  • @taongamadzimure9353
    @taongamadzimure9353 6 лет назад

    Great work sir, it worth working

  • @nugenki
    @nugenki 11 лет назад

    the quote at the end just changed my life...

  • @timandro7356
    @timandro7356 5 лет назад +1

    I have an exam in 15 hours, you just saved my ass XD

  • @aymericroinel448
    @aymericroinel448 5 лет назад

    Incredible, looks so easy now... Thank you !!!

  • @TGBPlayso
    @TGBPlayso 3 года назад +1

    I wonder how the hell does my lecturer spends 2 hours on this and noone still gets it, while this dude does it in 5 minutes