矩陣的逆可以用幾種不同的方法找到。保證可行的方法是將一個 n×n 矩陣與 I n {\displaystyle I_{n}} 增廣,並求解到 RREF。
[ 1 3 2 2 ] | [ 1 0 0 1 ] {\displaystyle {\begin{bmatrix}1&3\\2&2\end{bmatrix}}{\Bigg |}{\begin{bmatrix}1&0\\0&1\end{bmatrix}}}
. . . {\displaystyle ...}
[ 1 0 0 1 ] | [ − 1 2 3 4 1 2 − 1 4 ] {\displaystyle {\begin{bmatrix}1&0\\0&1\end{bmatrix}}{\Bigg |}{\begin{bmatrix}-{\cfrac {1}{2}}&{\cfrac {3}{4}}\\{\cfrac {1}{2}}&-{\cfrac {1}{4}}\end{bmatrix}}}
矩陣的逆是第二個增廣矩陣。在這種情況下,
[ − 1 2 3 4 1 2 − 1 4 ] {\displaystyle {\begin{bmatrix}-{\cfrac {1}{2}}&{\cfrac {3}{4}}\\{\cfrac {1}{2}}&-{\cfrac {1}{4}}\end{bmatrix}}}