How to find the inverse of a 3 by 3 matrix (3 methods you need to know)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

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

  • @aleksgornik
    @aleksgornik 4 ปีที่แล้ว +19

    Gaussian elimination sucks, it’s a bit trial and error and if you take the wrong route you go into a black whole and can’t go out of it

  • @ProfOmarMath
    @ProfOmarMath 4 ปีที่แล้ว +116

    It's fun that you're embracing linear algebra

    • @blackpenredpen
      @blackpenredpen  4 ปีที่แล้ว +43

      I am trying! It's been over 14 years that I haven't done any of it, lol. So I am only starting with the computational part first and then I will get into the more conceptual part.

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

      @Leonhard Euler I am a real big fan of you Mr. Euler.
      But I cannot subscribe your channel.
      Because you are faking

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

      @@ranjitsarkar3126 who?

  • @talentedtobi
    @talentedtobi 9 หลายเดือนก่อน +6

    The last method is Gold.
    Thanks so much.

  • @parasgovind6271
    @parasgovind6271 4 ปีที่แล้ว +6

    You have the best timing!!! I literally learned this topic a few days back and always complained about how long it takes! Your third method is awesome! Thank you!

  • @youkaihenge5892
    @youkaihenge5892 4 ปีที่แล้ว +28

    When you drew that big matrix for C that face you made was hilarious knowing we all are suffering from the inverse hahaha

    • @blackpenredpen
      @blackpenredpen  4 ปีที่แล้ว +10

      lol, imagine if it was a 4x4 matrix

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

      @@blackpenredpen The third way could work for 4x4 matrix as well?

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

      @@puneetmishra4726 I guess it will work when n is odd. When n is even, the plus minus sign would mess up.

  • @geosalatast5715
    @geosalatast5715 4 ปีที่แล้ว +6

    There's a guy with a goat beard who holds a pokeball, has the Picasso painting The Scream and is talking about matrices... Pure Excellence!
    Greets from Greece!

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

      And runs Marathons 🇬🇷

  • @jeffayako
    @jeffayako 4 ปีที่แล้ว +5

    i love the last one u make it look really easy i will try writting a CPP code to compute the inverse using that algorithm

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

    please note i do not think the last method applies to matrices greater than 3 x 3

  • @jordimayorgisbert6490
    @jordimayorgisbert6490 4 ปีที่แล้ว +36

    I have no idea about the pretty 3rd method !!! Thank you 🙏!!
    I’ll give it to my students next monday !! Very nice !! (Like the D.I. Integrate method 😉)

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

      Thanks for liking! Cheers!

    • @SahilSharma-nh8tr
      @SahilSharma-nh8tr 4 ปีที่แล้ว +2

      My teacher already taught me these methods 😎😎😎😎

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

      I like the 3rd method the most too!

  • @farkasmaganyos
    @farkasmaganyos 4 ปีที่แล้ว +8

    I really appreciated the 3rd version! Many thanks for that!

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

      Szerintem is ez a nyerő.

  • @21croz
    @21croz 4 ปีที่แล้ว +1

    I have an Algebra exam next week, really appreciate these videos you are uploading.
    Greetings from Chile!

  • @MA-bm9jz
    @MA-bm9jz 4 ปีที่แล้ว +21

    Another method would be from the characteristic polynomial,by writting A^(-1) as a linear combination of A and A^2

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

      How?

    • @MA-bm9jz
      @MA-bm9jz 4 ปีที่แล้ว +3

      @@wduandy so a 3×3 matrix has a characteristic polynomial like this A^3+a_1*A^2+a_2*A+a_3*i=0 ,multiply by A^(-1) and we get A^2+a_1*A+a_2*i+a_3*A^(-1)=0 and from there you get A^(-1)

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

      @@MA-bm9jz How do you find a_1, a_2, a_3?

    • @MA-bm9jz
      @MA-bm9jz 4 ปีที่แล้ว +4

      @@SimonClarkstone you compute the characteristic polynomial,det(A-x*i),but since A is a 3×3 -a1 is the trace(since the sum of the eigenvalues is the trace),-a3 is the determinant(product of eigenvalues),all those observations come from vieta's formula,a2 is a bit more tricky,is the sum of all 2nd degree diagonal minors,or just compute det(A-x*i) and those a_i will come naturaly

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

      @@MA-bm9jz I don't know enough linear algebra to understand that unfortunately.

  • @egillandersson1780
    @egillandersson1780 4 ปีที่แล้ว +8

    The first way is the more "theorically understandable", but the third way is the coolest to perform. Once you have computed the adjugate, you can also ignore the last raw and column and use the centre to compute de determinant (if not previously done). So, an "all in one" method !

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

      Sorry do you mean removing the first column and last row? Because that works out, whereas what you mentioned doesn't work. ??

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

    Unfortunately, I knew this before u could upload this, but it is always love to see you.
    PS: You and Quang Tran look alike
    And I love you both.
    One for Maths
    One for Mukbangs

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

    Peyam - Funniest math teacher. Bprp - Coolest math teacher.

  • @GreAse0MonKey27
    @GreAse0MonKey27 7 หลายเดือนก่อน +1

    the last method is the life saver!!! :))

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

    I took Linear Algebra over the summer (and passed!) but I’ve never seen the 3rd way! Very useful and would have saved me a lot of time

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

    That last trick is so cool! I wish my lecturer taught me about it!

  • @KN-tt7xu
    @KN-tt7xu 4 ปีที่แล้ว +1

    That 3rd method is actually very useful, thank you for showing that

  • @dookey6099
    @dookey6099 4 ปีที่แล้ว +7

    I just finished this topic in school , finding the inverse of 3x3 is such a pain for me because I always make stupid arithmetic blunders. Just got to be careful

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

    As a HS math tutor, you are very entertaining!

  • @TobyBW
    @TobyBW 4 ปีที่แล้ว +6

    Watching this while doing my linear algebra homework on inverse matrices

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

    thank you so much sir, you made it look easier! I just want to ask a question, regarding the 3rd way 24:30, can I use it still when solving for determinants with 4 x4 or more matrix?

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

    24:25: "It's not a new way"
    Title: "Inverse of a 3 by 3 matrix (3 ways)"

  • @SwordQuake2
    @SwordQuake2 4 ปีที่แล้ว +8

    The second method is best. You won't need to calculate the determinant separately if you don't have it.

  • @dr.rahulgupta7573
    @dr.rahulgupta7573 4 ปีที่แล้ว

    Sir I found 3'rd method the best .Congratulations for it .DrRahul Rohtak Haryana India

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

    Another way to find inverse is by using Cayley-Hamilton Theorem, which gives |A -λ I | = 0 , where I is a unit matrix. When we evaluate this determinant we get an equation of degree n , where n is the order of A. The equation is in terms of λ, so replace it with A. Voila! we get an equation with variables being the matrix and constant is the unit matrix. Multiply by A inverse and get simplify the rest o the terms to evaluate A inverse

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

    Woohoo, I’m inverse ready 😇

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

    This video is so good, now I'm ready for tomorrow's exam, thx a lot

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

    This technique applies to any sized matrix with an inverse.
    It is the matrix algebra equivalent of doing simultaneous equations as usually taught to students before they meet matrices.

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

    One more reason to start watching bprp is that he is now making Linear Algebra videos

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

    I am actually looping 9:40,13:42,15:40 those charming laughter

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

    3nd way is very clever, thanks Steve!

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

    Gracias por compartir sus conocimientos maestro redpen 💪🙌

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

    matrices bless you man, thanks for this dead cool video. Much appreciated

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

    I know all of the method.
    But, i like your way of teaching ♥️

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

    This is AMUUUSING! thank you! i love this trick

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

    Fourth way: apply the BPRB technique but the second matrix is not the unit matrix but this:
    Det 0 0
    0 Det 0
    0 0 Det
    This gives you the transpose matrix in the second example.
    Remember to divide the integer matrix you get by the determinant of the original. You can either divide each element, or just write a scalar multiple of (1/Det A) in front, depending what you are about to use the matrix for.
    This offers an insight about why there is no inverse when Det = 0 because you'd be dividing by zero...
    I prefer this fourth way

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

    I think I like method #3 the best for manual longhand calculation, but #2 as the easiest to program..

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

    The adjugate is good for rings without inverses because it always works. Though it might not be a real inverse, but good enough in a lot of places.

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

    i remember being good at matrix in college. i remember doing that second method. this was more than 5 years ago. the only chapter that gave me hope of being good at math xD

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

    Great!
    but in the second method, you could use Cofactor Matrix to evaluate Determinant easily!
    so I think the second method is much more faster than the first one.

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

    All the method i was knowing 😅 but i love...i taught u might have other shortcut .....the 3rd is my favourite i use it every time its easy

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

    Here's the ‘how to determinant‘ video: th-cam.com/video/TkNeDxoRikY/w-d-xo.html (Maybe put that link in the description, 曹?)

  • @BCS-IshtiyakAhmadKhan
    @BCS-IshtiyakAhmadKhan 3 ปีที่แล้ว +1

    The method used in the thumbnail was already taught by my teacher last year

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

    I’ve a little "improve", making the T operation over the A matrix at the first, and then work with it. You'll avoid the final arrangement for making the T. I'm based on the property Adj(A^T) = (Adj(A))^T. That's only a suggest !! ;-)

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

    I always used to use the second matrix. Thx for this

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

    Thank you Very much!

  • @6754bettkitty
    @6754bettkitty 4 ปีที่แล้ว +1

    You should cover pseudo-inverses!

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

    For the 3rd method, the crossed out -4 is only used for the det. now?
    And can you actually start anywhere but 1,1 (where the -4 is) is easiest?

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

    The third way is excellent. May I teach my students this method?

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

    just happen to be taking linear right now so thanks for uploading! w00t w00t

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

    a_{n}=1
    a_{m}=-1/(n-m)(sum(a[j+m]tr(A^{j}),j=1..n-m))
    This will give you characteristic polynomial
    and from Cayley Hamilton we will get the inverse
    This is not as fast as elimination but faster than cofactor method

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

    21:00 MAH PROFESSOR IS GONNA MELT LOL

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

    11:00
    "either you like it or you hate it"
    Clearly hates it

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

    Can you do proof for second method? Thank you

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

    Great video...actually Today i was trying to find some more ways to calculate the inverse of a matrix and you helped me a lot. thank you...but now I'm wondering how to compute inverse of a (n by n) matrix
    where, n is any unknown positive integer
    Please share how to do this

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

      Thank you for you comment.
      I think, unfortunately, once we get a bigger matrix, we have to use either method 1 or method 2..

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

    It's not adjugate, it's just adjoint.

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

    Very good...👏👏👏👏👏👏from Brazil...

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

    What if you have a 4 x 4 or 5 x 5 or anything like and n x n where n is greater than 3. Do we still add the two columns and rows to expand the matrix for the shortcut method ?

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

    "6 - 2 is... Why is that so hard?"...FELT!!!!

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

    Superb video brother

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

    Love your videos man❤️

  • @mathieus-c6761
    @mathieus-c6761 3 ปีที่แล้ว

    "dididididida" (delete this, delete that)
    Love ur vids, keep going on !!

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

    I don't even know linear algebra but I am watching this because it seems smart.

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

    Congratulations from Brazil.

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

    WHATTT the third way is actually witchcraft. I have been wasting my time doing the second-way smh.

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

    The last one really made me happy

  • @hareecionelson5875
    @hareecionelson5875 8 หลายเดือนก่อน +1

    thanks to this video I have coded an nxn inverse calculator in python. The determinant function was the trickiest, since it's recursive.

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

    Can the 3rd method be extended for higher order matrices as well? That is, copy first 3 columns and rows for 4×4 instead of 2 which is for 3×3. And then take determinant for each 3×3 matrices formed inside

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

      I think that will work for sizes of an odd number (but not even number) because when a column in a square matrix of size of an odd number is shifted to the opposite end the determinant doesn't change sign.

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

      @@ShinichiKudou2008 ah that makes sense, thanks

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

    It's the same matrix as the o e for the determinant trick. Is it special?

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

    The 1st method that you've done is Gauss-Jordan method

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

    The last method is very beautiful for optimazing the inverse. I really want to use it in an exam, but i think that i need to demostrate it. Could you please help me, please?
    Thx

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

    does the third method work for matrices with range > 3?

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

    Does this work for all matrices for n x n matrices with n > 3 ?

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

    can somebody clarify the rigorous name of the 3rd method in order to pre-quote the method before solving the exercise.

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

    I have a doubt on characteristic equation of a matrix..For a 3x3 matrix A , we know that sum of eigenvalues = trace of A(sum of diagonal elements of A), and product of eigenvalues= determinant of A..For a 3x3 matrix,is there any significance of sum of product of eigenvalues taken 2 at a time? (i.e. (coeff of A) )

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

    Good presentation !

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

    Fun fact: Inverses can be found vertically using column operations.

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

    You should do topology or abstract algebra!

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

    I feel like a form of cryptographic key could be constructed with matrixes somehow.....maybe this will inspire me for the next week.

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

    The 2nd way is familiar, and the third one is rather peculiarly interesting.

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

    I wish I watched this video yesterday. before my linear algebra final😂

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

    The sad part is i see this when i already completed my linear algebra course :'

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

    很久沒看你影片了,怎麼突然留鬍子了XD

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

    dude thanks so much perfect timing

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

    He : inverse of a matri-
    Me : *adj(A) / |A|*
    Adjugate ? I learned it as adjoint . Well both are same anyways so doesn't really matter

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

    Now that you have used a blue pen, are you going to rename your channel to blackpenredpenbluepen?

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

    What is the name of 3rd method?

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

    Is it a coincidence that one of the rows of the inverse don't have the nasty 13 denominator, or is something deeper going on? It's suspicious to me that, in the cofactor matrix, the multiples of 13 happen to line up.

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

    Question: Do all of these methods work for matrices that are larger than 3x3?

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

      The first method has to work for square matrices of any size (as long as their determinant is not zero of course)

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

    3rd is nice

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

    I've always loved method two.

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

    Needed this

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

    Cayley-Hamilton Theorem go brrrrr!

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

    What is the application for finding the inverses of a matrix?

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

      Well, if you know A,C and that C=AB then the inverse of A times C gives you B.

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

      @@Apollorion I understand that. But what about an engineering application or a physics application?

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

      @@michaeltimpanaro5622 Eh.. ever heard of CT-scan and MRI-scan?

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

      @@Apollorion Of course. Ever hear of honest inquiry. Can you explain it?

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

    i like the 3rd way the most

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

    Just when I need it ❤😭

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

    Way 3 is better if you have the determinant if not then gotta go with way 1.

  • @KAMRANKHAN-xf7iq
    @KAMRANKHAN-xf7iq 2 ปีที่แล้ว

    The Ist and 2nd methods are too hard! The 3rd one is easy and super tricky! Where the hell you learnt the 3rd method???