Cramer's Rule for Matrix Inversion
Cramer's rule is also used to find \( A^{-1} \).
If \( B = A^{-1} \), then \( AB = I \).
\[ A \begin{bmatrix} \vec{b}_1 & \vec{b}_2 & \dots & \vec{b}_n \end{bmatrix} = \begin{bmatrix} \vec{e}_1 & \vec{e}_2 & \dots & \vec{e}_n \end{bmatrix} \]
Then solve \( A\vec{b}_i = \vec{e}_i \) by Cramer's rule.
Note: \( \vec{e}_1 = \begin{bmatrix} 1 \\ 0 \\ \vdots \\ 0 \end{bmatrix} \) and \( \vec{e}_2 = \begin{bmatrix} 0 \\ 1 \\ \vdots \\ 0 \end{bmatrix} \)
In the end, it turns out:
\[ A^{-1} = \frac{1}{\det(A)} \begin{bmatrix} C_{11} & C_{21} & \dots & C_{n1} \\ C_{12} & C_{22} & \dots & C_{n2} \\ \vdots & \vdots & & \vdots \\ C_{1n} & C_{2n} & \dots & C_{nn} \end{bmatrix} \]
The \( C_{ji} \) are cofactors of \( A \).
- Signed determinants of submatrix formed by covering up \( j^{\text{th}} \) row and \( i^{\text{th}} \) column of \( A \).
The matrix of cofactors is called the adjugate (or classical adjoint) of \( A \), denoted as \( \text{adj}(A) \).