45 5 1 Inverse of A Matrix Using Gauss-Jordan Method
45 5 1 Inverse of A Matrix Using Gauss-Jordan Method
The "Elementary Row Operations" are simple things like adding rows, multiplying and
swapping ... but let's see with an example:
We start with the matrix A, and write it down with an Identity Matrix I next to it:
Identity Matrix
Now we do our best to turn "A" (the Matrix on the left) into an Identity Matrix. The goal is to
make Matrix A have 1s on the diagonal and 0s elsewhere (an Identity Matrix) ... and the
right hand side comes along for the ride, with every operation being done on it as well.
But we can only do these "Elementary Row Operations":
swap rows
Then take 2 times the first row, and subtract it from the second row,
Multiply second row by -1/2,
Now swap the second and third row,
Last, subtract the third row from the second row,
And we are done!
Larger Matrices
We can do this with larger matrices, for example, try this 4x4 matrix:
Why it Works
I like to think of it this way:
So A becomes I (because A A = I)
-1
-1
-1
And I becomes A (because A I = A )