You are on page 1of 1

Finding Inverse of a matrix

For a 2x2 matrix, the inverse is:

just swap the 'a' and 'd', negate the 'b' and 'c', then divide all by the determinant ad−bcad−bc.
That's really the most straightforward 'trick', just memorize that pattern.

For 3x3, it's lot more complicated but there is a pattern. As usual compute the determinant first (kind of a
pain; but surely you already know the pattern to compute that quickly).

The pattern is that each entry is


 the determinant of the submatrix gotten by removing that row and column. I.e. for row 2 column 3
(the ff position, the determinant is ah−bgah−bg:
det(agbh)=ah−bgdet(abgh)=ah−bg

 then multiply in the checkerboard pattern. (i.e.1x1 is positive, 1x2 is negative... mathematically it's
multiply by (−1)r(−1)c(−1)r(−1)c.
 Then transpose.

You might also like