#finding the inverse of a 3x3 matrix

40 messages · Page 1 of 1 (latest)

spice veldt
#

Hi just need some help remembering the steps for a 3x3

austere valveBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with:
+close
  1. Feel free to nominate the person for helper of the week in #helper-nominations
  2. Do not ping the mods, unless someone is breaking the rules.
  3. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
spice veldt
#

A matrix is invertible if and only if the determinat is not 0

#

The determinat can easily be computed: 1 * det( 1 9 | 0 1 ) = 1 - 0 = 1

#

So it is invertible

#

I forgot the rest clown_skull

spice veldt
rose raptor
#

Then do the same operations on the identity matrice

#

You’ll get it’s inverse

#

Like if AX=I here X=A^-1 then P * A *X=P thus X=P with P the matrice representing the product of all Gaussian operations matrices

#

That or find the comatrix of A transpose it and you’ll get the inverse, this is an orthogonal matrice so it’s inverse is the transpose of the comatrix

spice veldt
rose raptor
#

Hmm well here you want to reduce your matrice to the identity matrice

#

So take the last line and subtract it 9 time too the second line

#

And add the last line once to the first line

#

You’re matrice will be then [1,4,0;0,1,0;0,0,1]

#

Last step is too subtract the second line 4 times to the first line

#

When you do that your matrice is reduced to the identity

#

Now to get the inverse you need to repeat these exact operations on the identity matrice

rose raptor
rose raptor
#

@maddy

#

Did you find it ?

hazy coral
#

isnt it easier to do if u use the normal formula where A^-1 = adjoint(A)/|A|

#

since the determinant of the matrix is 1, simply find the adjoint of A

rose raptor
#

Btw does comatrix and adjoint matrix represent the same thing?

hazy coral
#

ive never heard of a comatrix

hazy coral
rose raptor
#

It’s the transpose of the cofactor matrice right ?

hazy coral
#

yes

rose raptor
#

Okaaay in my country we refer to it as comatrix

hazy coral
#

ahh

rose raptor
#

Yeah both methods are valid

#

Which one is faster depends on the matrix

hazy coral
#

if its a 2x2, adjoint is prob faster

spice veldt
spice veldt
#

Thank you guys sm