Invertibility and the Determinant
A square matrix is invertible when its action can be undone by another matrix: \(\mathbf{A}\in\mathbb{R}^{n\times n}\) is invertible if there is a matrix \(\mathbf{B}\in\mathbb{R}^{n\times n}\) such that \(\mathbf{A}\mathbf{B}=\mathbf{B}\mathbf{A}=\mathbf{I}_n\). The determinant offers a single scalar test for this property. The key point is not merely that the test works, but why its two directions follow from different ideas: the inverse identity gives one direction, while row reduction gives the other.
We will use two facts about determinants established by their defining properties. First, for square matrices of the same size, \(\det(\mathbf{A}\mathbf{B})=\det\mathbf{A}\det\mathbf{B}\), and \(\det\mathbf{I}_n=1\). Second, an elementary row operation has a nonzero effect factor on the determinant: swapping two rows multiplies it by \(-1\), scaling one row by \(c\ne0\) multiplies it by \(c\), and adding a multiple of one row to another leaves it unchanged. Thus each allowed row operation preserves whether the determinant is zero.
What Row Reduction Says About Invertibility
Recall that the reduced row echelon form (RREF) of a matrix is obtained by elementary row operations. In a homogeneous system, each row operation gives an equivalent system, so row reduction preserves the set of solutions to \(\mathbf{A}\mathbf{x}=\mathbf{0}\). A pivot variable is determined by the other variables; a variable in a column without a pivot is free.
Proof. Suppose first that \(\mathbf{R}=\mathbf{I}_n\). The row operations taking \(\mathbf{A}\) to \(\mathbf{R}\) are reversible: a row swap is undone by the same swap, scaling a row by \(c\ne0\) is undone by scaling it by \(1/c\), and adding \(c\) times one row to another is undone by adding \(-c\) times that row. Each operation is left multiplication by a matrix representing that operation. The product of these matrices, say \(\mathbf{E}\), is invertible because reversing the operations gives its inverse. Since \(\mathbf{E}\mathbf{A}=\mathbf{I}_n\), we have \(\mathbf{A}=\mathbf{E}^{-1}\), so \(\mathbf{A}\) is invertible.
Now suppose \(\mathbf{R}\ne\mathbf{I}_n\). A square RREF with a pivot in every column must be \(\mathbf{I}_n\): its \(n\) pivots must occupy \(n\) different rows, and the pivot entries and all other entries in those columns have the defining RREF values. Therefore \(\mathbf{R}\ne\mathbf{I}_n\) has at least one column without a pivot. Assign the value \(1\) to one free variable and \(0\) to all the other free variables, then determine the pivot variables from \(\mathbf{R}\mathbf{x}=\mathbf{0}\). This gives a nonzero solution \(\mathbf{x}\), and row operations preserve homogeneous solution sets, so \(\mathbf{A}\mathbf{x}=\mathbf{0}\) as well. If \(\mathbf{A}\) had an inverse, multiplying this equation by \(\mathbf{A}^{-1}\) would give \(\mathbf{x}=\mathbf{0}\), a contradiction. Thus \(\mathbf{A}\) is not invertible. \(\square\)
Proof of the Determinant Test
Proof. Let \(\mathbf{A}\in\mathbb{R}^{n\times n}\). First suppose \(\mathbf{A}\) is invertible, with inverse \(\mathbf{A}^{-1}\). The multiplicative determinant law applied to \(\mathbf{A}\mathbf{A}^{-1}=\mathbf{I}_n\) gives
A product equal to \(1\) cannot have a zero factor, so \(\det\mathbf{A}\ne0\). This also gives the inverse identity \(\det(\mathbf{A}^{-1})=1/\det\mathbf{A}\).
Conversely, suppose \(\det\mathbf{A}\ne0\), and row-reduce \(\mathbf{A}\) to \(\mathbf{R}=\operatorname{rref}(\mathbf{A})\). At every step, the determinant is either unchanged, multiplied by \(-1\), or multiplied by a nonzero scalar. Hence \(\det\mathbf{R}\ne0\). A matrix with a zero row has determinant zero, by expansion along that row. If \(\mathbf{R}\) had fewer than \(n\) pivots, it would have a zero row: its pivots occupy distinct rows, leaving at least one row without a pivot, and in RREF such a row is zero. Thus \(\mathbf{R}\) has a pivot in every column, which for a square RREF means \(\mathbf{R}=\mathbf{I}_n\). By the row-reduction criterion, \(\mathbf{A}\) is invertible. Both implications hold, proving the theorem. \(\square\)
The two directions have different proof mechanisms. The inverse identity immediately rules out a zero determinant for an invertible matrix. For the converse, nonzero determinant survives row reduction; the resulting RREF must be the identity, so the row operations can be reversed to produce an inverse.
Worked Applications of the Test
Worked Example: Row Reduction Reveals a Nonzero Determinant
Use row reduction to decide whether \(\mathbf{A}=\begin{bmatrix}1&2&0\\2&5&1\\1&1&1\end{bmatrix}\) is invertible, and find its determinant from the row operations.
First use row replacements, which leave the determinant unchanged. Apply \(R_2\to R_2-2R_1\), \(R_3\to R_3-R_1\), then \(R_3\to R_3+R_2\):
Now scale row 3 by \(1/2\), then use \(R_2\to R_2-R_3\) and \(R_1\to R_1-2R_2\):
The row replacements do not change the determinant, and the single scaling multiplied it by \(1/2\). Therefore \(1=\det\mathbf{I}_3=\tfrac12\det\mathbf{A}\), so \(\det\mathbf{A}=2\ne0\). The determinant test says that \(\mathbf{A}\) is invertible.
Check: Direct expansion along the first row gives \(\det\mathbf{A}=1(5\cdot1-1\cdot1)-2(2\cdot1-1\cdot1)+0=4-2=2\), agreeing with the row-operation calculation.
Worked Example: Find and Check an Inverse
Find the inverse of \(\mathbf{B}=\begin{bmatrix}2&1\\5&3\end{bmatrix}\) by row reduction, then verify it by multiplication. Its determinant is \(2\cdot3-1\cdot5=1\ne0\), so the determinant test predicts an inverse.
Apply the same row operations to the two blocks of the augmented matrix. First use \(R_2\to R_2-2R_1\), then \(R_1\to R_1-2R_2\), using the updated second row:
Next apply \(R_2\to R_2+R_1\), \(R_1\to -R_1\), and swap the rows:
The right-hand block is \(\mathbf{B}^{-1}=\begin{bmatrix}3&-1\\-5&2\end{bmatrix}\). Check both products:
Worked Example: A Zero Determinant Rules Out an Inverse
Consider \(\mathbf{C}=\begin{bmatrix}1&2&3\\2&4&6\\1&0&1\end{bmatrix}\). Apply \(R_2\to R_2-2R_1\). This row replacement preserves the determinant:
The reduced matrix has a zero row, so its determinant is zero. Since the row operation preserved the determinant, \(\det\mathbf{C}=0\), and the determinant test says \(\mathbf{C}\) is not invertible.
Check: The nonzero vector \(\mathbf{x}=\begin{bmatrix}-1\\-1\\1\end{bmatrix}\) satisfies \(\mathbf{C}\mathbf{x}=\begin{bmatrix}-1-2+3\\-2-4+6\\-1+1\end{bmatrix}=\mathbf{0}\). If an inverse existed, multiplying by it would force \(\mathbf{x}=\mathbf{0}\), contradicting the displayed nonzero vector.
A Common Row-Operation Error
Mistake: Treating row scaling as though it leaves the determinant unchanged. Starting from \(\mathbf{I}_2\), the incorrect calculation might claim that scaling row 1 by \(2\) preserves the determinant, and therefore that \(\det\begin{bmatrix}2&0\\0&1\end{bmatrix}=1\).
Correction: Scaling a row by \(c\) multiplies the determinant by \(c\). Here \(c=2\), so the new determinant is \(2\det\mathbf{I}_2=2\). Direct calculation confirms this: \(\det\begin{bmatrix}2&0\\0&1\end{bmatrix}=2\cdot1-0=2\). The determinant test then identifies this matrix as invertible, consistent with its inverse \(\begin{bmatrix}1/2&0\\0&1\end{bmatrix}\).
When using row reduction to test invertibility, track whether each row-operation factor is zero or nonzero; the exact determinant value is not always needed. Every permitted row operation has a nonzero factor, so it preserves the distinction between zero and nonzero determinants. That is precisely what allows the RREF to settle the test.
Check Your Understanding
For each question, use the determinant test together with the reasoning behind it.
- Explain why \(\det(\mathbf{A}\mathbf{A}^{-1})=1\) implies \(\det\mathbf{A}\ne0\) whenever \(\mathbf{A}\) is invertible.
- Why does an \(n\times n\) RREF with a pivot in every column have to be \(\mathbf{I}_n\)?
- If row reduction produces a zero row, what can you conclude about the determinant and invertibility of the original matrix?
- A row of a matrix is scaled by \(-3\). By what factor does its determinant change, and does this operation preserve whether the determinant is zero?
- Explain why a nonzero solution of \(\mathbf{A}\mathbf{x}=\mathbf{0}\) prevents a square matrix \(\mathbf{A}\) from being invertible.