We prove Cramer’s Rule using the adjoint matrix formula and properties of determinants.
\begin{equation*}
A^{-1} = \frac{1}{\det(A)} \operatorname{adj}(A)
\end{equation*}
The unique solution to \(A\mathbf{x} = \mathbf{b}\) is given by
\begin{equation*}
\mathbf{x} = A^{-1}\mathbf{b} = \frac{1}{\det(A)} \operatorname{adj}(A) \mathbf{b}
\end{equation*}
Let’s examine the \(i\)-th component of \(\mathbf{x}\text{.}\) Recall that the \((i,j)\)-entry of \(\operatorname{adj}(A)\) is \(C_{ji}\text{,}\) where \(C_{ji}\) is the \((j,i)\)-cofactor of \(A\text{.}\) Therefore:
\begin{align*}
x_i \amp= \frac{1}{\det(A)} \left[\operatorname{adj}(A) \mathbf{b}\right]_i\\
\amp= \frac{1}{\det(A)} \sum_{j=1}^{n} [\operatorname{adj}(A)]_{ij} b_j\\
\amp= \frac{1}{\det(A)} \sum_{j=1}^{n} C_{ji} b_j\\
\amp= \frac{1}{\det(A)} \left(C_{1i}b_1 + C_{2i}b_2 + \cdots + C_{ni}b_n\right)
\end{align*}
Now, consider the matrix \(A_i(\mathbf{b})\) obtained by replacing the \(i\)-th column of \(A\) with \(\mathbf{b}\text{:}\)
\begin{equation*}
A_i(\mathbf{b}) = \begin{bmatrix}
a_{11} \amp \cdots \amp a_{1,i-1} \amp b_1 \amp a_{1,i+1} \amp \cdots \amp a_{1n} \\
a_{21} \amp \cdots \amp a_{2,i-1} \amp b_2 \amp a_{2,i+1} \amp \cdots \amp a_{2n} \\
\vdots \amp \amp \vdots \amp \vdots \amp \vdots \amp \amp \vdots \\
a_{n1} \amp \cdots \amp a_{n,i-1} \amp b_n \amp a_{n,i+1} \amp \cdots \amp a_{nn}
\end{bmatrix}
\end{equation*}
If we expand \(\det(A_i(\mathbf{b}))\) along the \(i\)-th column (the column containing \(\mathbf{b}\)), we get:
\begin{equation*}
\det(A_i(\mathbf{b})) = b_1 C_{1i} + b_2 C_{2i} + \cdots + b_n C_{ni}
\end{equation*}
where \(C_{ji}\) are the cofactors of the \(i\)-th column of \(A_i(\mathbf{b})\text{.}\)
Key observation: Since
\(A_i(\mathbf{b})\) differs from
\(A\) only in column
\(i\text{,}\) the cofactor
\(C_{ji}\) (which is computed by deleting row
\(j\) and column
\(i\)) is the same for both
\(A_i(\mathbf{b})\) and
\(A\text{.}\)
Therefore:
\begin{equation*}
\det(A_i(\mathbf{b})) = b_1 C_{1i} + b_2 C_{2i} + \cdots + b_n C_{ni}
\end{equation*}
Comparing this with our earlier expression for \(x_i\text{:}\)
\begin{align*}
x_i \amp= \frac{1}{\det(A)} \left(C_{1i}b_1 + C_{2i}b_2 + \cdots + C_{ni}b_n\right)\\
\amp= \frac{\det(A_i(\mathbf{b}))}{\det(A)}
\end{align*}
This completes the proof of Cramer’s Rule.