Computing inverse matrices using Gaussian elimination | Lecture 12 | Matrix Algebra for Engineers

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024
  • How to compute the inverse of a matrix by computing the reduced row echelon form of the matrix.
    Join me on Coursera: imp.i384100.ne...
    Lecture notes at www.math.ust.hk...
    Paperback at www.amazon.com...
    Subscribe to my channel: www.youtube.com...

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

  • @ProfJeffreyChasnov
    @ProfJeffreyChasnov  4 года назад +5

    Find other Matrix Algebra videos in my playlist ruclips.net/p/PLkZjai-2Jcxlg-Z1roB0pUwFU-P58tvOx

    • @timothymbulambago
      @timothymbulambago 4 года назад +1

      Thank you Jeffrey.
      This has been so helpful. Thanks.

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

      I prefer firtsly reduce to triangular matrix to be able to see determinant and eventually stop calculations when it equals zero

  • @primetrader5062
    @primetrader5062 4 года назад +48

    This channel is greatly underrated! Probably the best videos about matrices on youtube!

    • @goodwavedata
      @goodwavedata 3 года назад +4

      These are definitely awesome. I'm self-learning all this material and one thing that's working well is some "all-source fusion." I've mixed these w/the 18.06 lectures, Khan, James Hamblin, and Math The Beautiful. Hearing it in different ways, from different instructors, helps to make it click for me. Sometimes I think 18.06 assumes too much from the beginning, but I'm planning to back to those after I've gotten through all these other series.

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

      Too much man. The value here is enormous

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

      You're totally right

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

      I always look for one of these before tackling homework on a related topic. Gets me in the correct mindset.

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

      yeah, absolutely. i got to invert a matrix with my own code for the first time! major life milestone. haha.

  • @thanglee2345
    @thanglee2345 3 года назад +6

    how does this only has 4k views?? I'm so glad I stumbled upon this channel. I'll share to my classmate for sure ! greetings from belgium !

  • @tharunnilanka840
    @tharunnilanka840 3 года назад +12

    I was sleeping when this part going on my campus lectures. But no worries sir Jeffrey is here for me. love and gratitude from Sri Lanka.

    • @rafayasim8284
      @rafayasim8284 4 месяца назад

      bro i slept when sir jeffrey was teaching, he is the slowest maths teacher i've ever met🤣

  • @estherngeso4544
    @estherngeso4544 3 года назад +5

    Sir thanks for making me understand this...I've really been struggling 🙏🙏🙏

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

    Neither Coursera, Khan Academy, Platzi nor the many websites I visited before could provide an explanation this clear. Thanks a lot.

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

    OMG... I am so glad I found your video. Thank you so much. This has been a struggle and you made it very easy for me to understand.

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

    Thank you very much for your clear lessons! I was able to code my first matrix inversion from scratch, in less than 20 minutes. I coded in Octave (Matlab clone) and it is actually far simpler than what I used to imagine (reading through Numerical Recipes in the past made me think it wouldn't be simple...). It may be silly given Matlab already has it's own built-in "inv" function, but my goal is to eventually port my code to other languages while avoiding the unnecessary hassle of overkill linear algebra libraries. Octave is also convenient for checking that I got the algorithm right.
    After inverting several random matrices, I noticed that even if the pivot values are zero (where I just abort to avoid division by zero), Matlab's "inv" function can still compute an inverse. As far as I have searched, this is where row swapping or partial pivoting comes in. I wonder whether you have covered this somewhere. Thanks.

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

      I cover partial pivoting in my Numerical Methods for Engineers course.

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

    Thank you very much, i was having linear algebra exams and i watched this few hours before. And it has helped me

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

    Hello thank you for this video. Can we use the exchange of rows in this algorithm.

  • @chuadaniel
    @chuadaniel 8 месяцев назад +1

    how do you solve it if the matrix is not a square matrix which i believe means 3x3 or 2x2 or 4x4 or 5x5 etc

  • @toodles8397
    @toodles8397 7 месяцев назад

    My lecturer rushed through this part for us im so thankful your videos sir, otherwise there would be no hope for me

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

    First divide the first row by -3 and you can start making the diagonal by. It's much easier and there is less confusion.

  • @ИванНовожилов-э9з
    @ИванНовожилов-э9з Год назад +1

    awesome tutorials! thank you.

  • @uddeepisiwara1358
    @uddeepisiwara1358 6 месяцев назад

    Clear Easy to Understand❤

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

    life savior, thank you very much for this video

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

    Thanks for this it's a big help for me for my linear algebra

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

    Thanks Prof! Love your style of teaching

  • @habib97se
    @habib97se 9 месяцев назад

    Thanks Jeffrey

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

    excellent video sir please upload videos like this

  • @AJ-et3vf
    @AJ-et3vf 2 года назад

    Awesome lecture sir! An alternative and probably more effective to do this sir would be to do an LU factorization since we are effectively solving 3 sets of 3x3 linear equations, i.e. we have the same A matrix thrice. LU factorization comes in handy for problems like this with different b vectors for the same A matrix. Otherwise, still very nice lectures sir!

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

    Thank u so much !!!

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

    Respect, Thanks

  • @sewem1
    @sewem1 4 месяца назад

    chasnov!!

  • @chandamandona1940
    @chandamandona1940 10 месяцев назад

    Thankyou Sir

  • @muheezolamilekan9818
    @muheezolamilekan9818 9 месяцев назад

    thanks alot

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

    method is nice but how do we mathematically proof the this method give inverse matrix everytime

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

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

    How is he writing backwards?

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

    Sir why we are learning to find inverse .

    • @ProfJeffreyChasnov
      @ProfJeffreyChasnov  3 года назад +2

      Good question. Mainly for theoretical reasons.

    • @Alex-bc3tt
      @Alex-bc3tt 2 года назад

      Plenty of reasons... such as solving for a system of linear equations by putting them in the form Ax=b and then let x = A^-1b

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

    Sorry Sir, first make 1 to diagonal and use row operation and onward similarly will be easy.....

  • @kushaljayaswal4255
    @kushaljayaswal4255 8 месяцев назад

    waltah