Contents

Find the inverse matrix using Gauss-Jordan method

So far our knowledge about inverse matrices is restricted to 2 × 2 2 × 2 2xx22\times 2 matrices. The following method will allow us to find the inverse of any dimensional matrix - if it exists - using Gauss-Jordan method.
We are given a matrix and the identity of the same dimentions:
A = ( a 11 a 1 n a n 1 a n n ) and I n = ( 1 0 0 1 ) A = a 11 a 1 n a n 1 a n n  and  I n = 1 0 0 1 A=([a_(11),cdots,a_(1n)],[vdots,ddots,vdots],[a_(n1),cdots,a_(nn)])" and "I_(n)=([1,cdots,0],[vdots,ddots,vdots],[0,cdots,1])A= \left(\begin{array}{ccc}a_{11}&\cdots & a_{1n}\\ \vdots & \ddots & \vdots \\ a_{n1} & \cdots & a_{nn}\end{array}\right) \text{ and } I_n= \left(\begin{array}{ccc}1&\cdots & 0\\ \vdots & \ddots & \vdots \\ 0 & \cdots & 1\end{array}\right) If we define the matrix ( a 11 a 1 n 1 0 a n 1 a n n 0 1 ) = ( A I ) a 11 a 1 n 1 0 a n 1 a n n 0 1 = A I ([a_(11),cdots,a_(1n),1,cdots,0],[vdots,ddots,vdots,vdots,ddots,vdots],[a_(n1),cdots,a_(nn),0,cdots,1])=(A∣I)\left(\begin{array}{ccc | ccc}a_{11}&\cdots & a_{1n} & 1&\cdots & 0\\ \vdots & \ddots & \vdots & \vdots & \ddots & \vdots\\ a_{n1} & \cdots & a_{nn}& 0 & \cdots & 1\end{array}\right)= \left(A\mid I\right)
And we apply now Gauss-Jordan so that matrix A A A\mathbf{A} is transformed into I I I\mathbf{I}, then our initial right part of ( A I ) A I (A∣I)\left(A\mid I\right) will be transformed into A 1 A 1 A^(-1)\mathbf{A}^{-1} finalising the process as
( 1 0 a 11 1 a 1 n 1 0 1 a n 1 1 a n n 1 ) = ( I A 1 ) 1 0 a 11 1 a 1 n 1 0 1 a n 1 1 a n n 1 = I A 1 ([1,cdots,0,a_(11)^(-1),cdots,a_(1n)^(-1)],[vdots,ddots,vdots,vdots,ddots,vdots],[0,cdots,1,a_(n1)^(-1),cdots,a_(nn)^(-1)])=(I∣A^(-1))\left(\begin{array}{ccc | ccc}1&\cdots & 0 & a_{11}^{-1}&\cdots & a_{1n}^{-1}\\ \vdots & \ddots & \vdots & \vdots & \ddots & \vdots\\ 0 & \cdots & 1& a_{n1}^{-1} & \cdots & a_{nn}^{-1}\end{array}\right)= \left(I\mid A^{-1}\right)
Find the inverse of
A = ( 8 4 4 3 9 6 1 7 5 ) A = 8      4      4 3      9      6 1      7      5 A=([8,4,4],[-3,-9,-6],[1,-7,-5])A= \left(\begin{array}{rrr}8 & 4 & 4 \\ -3 & -9 & -6 \\ 1 & -7 & -5 \end{array}\right)

Recommended for you

Juntao Jiang
Group Equivariant Convolutional Networks in Medical Image Analysis
Group Equivariant Convolutional Networks in Medical Image Analysis
This is a brief review of G-CNNs' applications in medical image analysis, including fundamental knowledge of group equivariant convolutional networks, and applications in medical images' classification and segmentation.
9 points
0 issues