Gaussian Jordan
Gaussian Jordan
0.5 1 2
Example: invert the matrix A = 1 1 1
.
0.5 0.5 2
Work with the matrix of the following form
0.5 1 2 1 0 0
1 1 1 0 1 0
0.5 0.5 2 0 0 1
and use Gaussian elimination to rearrange the above matrix into
[I | A−1 ] to find the matrix inverse. I is the identity matrix.
STEPs:
1 1 4 0 0 2
0 1 0 2 0 −2
0 1 3 2 −1 0
4. row1 = −2 × row2 + row1 and row3 = row3 − row2
1 0 4 −2 0 4
0 1 0 2 0 −2
0 0 3 0 −1 2
1 0 0 −2 34 4
3
0 1 0 2 0 −2
0 0 3 0 −1 2
1
1
6. row3 = 3
× row3
1 0 0 −2 34 4
3
0 1 0 2 0 −2
1 2
0 0 1 0 −3 3
−2 34 4
0.5 1 2 3
The inverse of 1
1 1 is therefore 2
0 −2 .
1 2
0.5 0.5 2 0 −3 3