Why Column Operations Have Their Own Rules
When computing a determinant, it is useful to change a matrix in ways whose effects on the determinant are known. Earlier material established the effects of swapping two rows, scaling a row, and adding a multiple of one row to a different row. The corresponding column rules can be derived without a new determinant formula: transpose the matrix, apply the row rule, and transpose back. This works because transposition preserves the determinant.
Throughout, let \(\mathbf{A}\in\mathbb{R}^{n\times n}\), with columns \(\mathbf{a}_1,\dots,\mathbf{a}_n\). A column operation changes one or more of these column vectors. The row-operation rules we use are: swapping two rows multiplies the determinant by \(-1\); multiplying a row by \(c\in\mathbb{R}\) multiplies the determinant by \(c\); and adding \(c\) times one row to a different row leaves the determinant unchanged. These rules apply to square matrices. We will also use the established result \(\det(\mathbf{A}^{\top})=\det(\mathbf{A})\), which holds for every square matrix.
The Three Column Rules
For a column swap, exchanging columns \(i\) and \(j\) in \(\mathbf{A}\) exchanges rows \(i\) and \(j\) in \(\mathbf{A}^{\top}\). The row swap changes the determinant’s sign, so the column swap does too. For scaling, multiplying column \(j\) by \(c\) multiplies row \(j\) of the transpose by \(c\), so the determinant is multiplied by \(c\). This includes \(c=0\): the resulting matrix has a zero column and its determinant is zero.
For a column replacement, choose distinct indices \(j\) and \(k\), and replace column \(j\) by \(\mathbf{a}_j+c\mathbf{a}_k\). In the transpose, this is exactly the row replacement \(R_j\to R_j+cR_k\), which leaves the determinant unchanged. The indices must be distinct: replacing a column by itself plus a multiple of itself would instead scale that column by \(1+c\).
- Swapping two distinct columns multiplies \(\det(\mathbf{A})\) by \(-1\).
- Multiplying one column by \(c\in\mathbb{R}\) multiplies \(\det(\mathbf{A})\) by \(c\).
- Replacing column \(j\) by column \(j\) plus \(c\) times a different column \(k\) leaves \(\det(\mathbf{A})\) unchanged.
Proof. Write \(\mathbf{A}'\) for the matrix after the indicated operation. In the first case, \((\mathbf{A}')^{\top}\) is obtained from \(\mathbf{A}^{\top}\) by swapping rows \(i\) and \(j\). The row-swap rule gives \(\det((\mathbf{A}')^{\top})=-\det(\mathbf{A}^{\top})\). Since transposition preserves determinants, \(\det(\mathbf{A}')=-\det(\mathbf{A})\). In the second case, \((\mathbf{A}')^{\top}\) is obtained by scaling row \(j\) of \(\mathbf{A}^{\top}\) by \(c\), so \(\det((\mathbf{A}')^{\top})=c\det(\mathbf{A}^{\top})\), and hence \(\det(\mathbf{A}')=c\det(\mathbf{A})\). In the third case, \((\mathbf{A}')^{\top}\) is obtained by replacing row \(j\) by row \(j\) plus \(c\) times row \(k\). Because \(j\ne k\), the row-replacement rule applies and gives \(\det((\mathbf{A}')^{\top})=\det(\mathbf{A}^{\top})\). Thus \(\det(\mathbf{A}')=\det(\mathbf{A})\). Each conclusion uses a row rule for a square matrix and the determinant-preserving transpose identity. \(\square\)
The theorem describes the effect of one operation at a time. When several operations are performed in sequence, apply the appropriate rule at each step: a swap contributes a factor of \(-1\), a scaling contributes its scale factor, and a replacement contributes a factor of \(1\). A replacement is not a scaling just because one column changes; its determinant effect depends on the specific form of the replacement.
Worked Column Operations
Worked Example: Swapping Two Columns
Let \(\mathbf{A}=\begin{bmatrix}1&2&0\\3&1&4\\2&0&1\end{bmatrix}\). Swap columns 1 and 3, and check the predicted determinant.
First compute the original determinant by expansion along the first row:
After swapping columns 1 and 3, the matrix is \(\mathbf{A}'=\begin{bmatrix}0&2&1\\4&1&3\\1&0&2\end{bmatrix}\). The column-swap rule predicts \(\det(\mathbf{A}')=-11\). Direct expansion gives
The direct calculation agrees with the sign change. Swapping the columns a second time would restore the original matrix and multiply the determinant by \(-1\) again.
Worked Example: Scaling a Column
Let \(\mathbf{B}=\begin{bmatrix}1&2&1\\0&3&4\\2&1&0\end{bmatrix}\). Scale column 2 by \(-2\), and check the determinant factor.
Expanding along the first row of \(\mathbf{B}\) gives
Scaling column 2 by \(-2\) gives \(\mathbf{B}'=\begin{bmatrix}1&-4&1\\0&-6&4\\2&-2&0\end{bmatrix}\). The rule predicts \(\det(\mathbf{B}')=(-2)\det(\mathbf{B})=-12\). Direct expansion verifies it:
The negative scale factor both changes the magnitude by a factor of \(2\) and reverses the sign. The calculated determinant matches that prediction.
Worked Example: Replacing a Column
Let \(\mathbf{C}=\begin{bmatrix}2&1&1\\1&0&3\\0&2&1\end{bmatrix}\). Replace column 2 by column 2 plus three times column 1. Since the columns are distinct, the determinant should not change.
First calculate the original determinant:
Column 1 is \(\begin{bmatrix}2\\1\\0\end{bmatrix}\), and column 2 is \(\begin{bmatrix}1\\0\\2\end{bmatrix}\). The new column 2 is \(\begin{bmatrix}1\\0\\2\end{bmatrix}+3\begin{bmatrix}2\\1\\0\end{bmatrix} =\begin{bmatrix}7\\3\\2\end{bmatrix}\). Thus \(\mathbf{C}'=\begin{bmatrix}2&7&1\\1&3&3\\0&2&1\end{bmatrix}\). Expanding along the first row:
The determinant is unchanged, as the column-replacement rule predicts.
A Consequence for Columns That Are Combinations
The replacement rule can also reveal when a determinant must be zero. A list of columns is linearly dependent if one of its columns is a linear combination of the others. For the consequence below, the combination may involve any number of the other columns, including none; the empty combination is the zero vector.
Proof. Suppose column \(j\) is \(\sum_{k\ne j}c_k\mathbf{a}_k\). Replace column \(j\), one term at a time, by subtracting \(c_k\) times column \(k\), for each \(k\ne j\). Each replacement uses a different column and leaves the determinant unchanged by the theorem. After all these replacements, column \(j\) is \(\mathbf{a}_j-\sum_{k\ne j}c_k\mathbf{a}_k=\mathbf{0}\). A matrix with a zero column has determinant zero: its transpose has a zero row, whose determinant is zero by linearity of the determinant in that row. Since transposition preserves the determinant, the original matrix with its zero column also has determinant zero. The determinant was unchanged through the replacements, so the starting matrix has determinant zero as well. \(\square\)
This consequence gives a useful check on a calculation, but it does not say that every matrix with determinant zero must have a column that is visibly a combination of its other columns. The theorem here is only the stated implication; deciding the converse requires additional results about determinants and invertibility.
Common Mistake: Treating Replacement as Scaling
A column replacement does not multiply the determinant by the coefficient used in the replacement. For example, take \(\mathbf{D}=\begin{bmatrix}1&2\\3&5\end{bmatrix}\), whose determinant is \(1\cdot5-2\cdot3=-1\). Replace column 2 by column 2 plus twice column 1. A mistaken calculation might say that the determinant is multiplied by \(2\), giving \(-2\). But the operation does not scale column 2 by \(2\); it adds a multiple of a different column.
The actual new column 2 is \(\begin{bmatrix}2\\5\end{bmatrix}+2\begin{bmatrix}1\\3\end{bmatrix}=\begin{bmatrix}4\\11\end{bmatrix}\), so the new matrix is \(\mathbf{D}'=\begin{bmatrix}1&4\\3&11\end{bmatrix}\). Its determinant is \(1\cdot11-4\cdot3=11-12=-1\), unchanged. By contrast, if column 2 were actually multiplied by \(2\), the result would be \(\begin{bmatrix}1&4\\3&10\end{bmatrix}\), with determinant \(10-12=-2\). The operation’s form determines which rule applies.
| Column operation | Determinant effect | Condition |
|---|---|---|
| Swap columns \(i\) and \(j\) | Multiply by \(-1\) | The two columns are distinct |
| Scale column \(j\) by \(c\) | Multiply by \(c\) | \(c\) may be any real number, including zero |
| Replace column \(j\) by column \(j+c\,\text{column }k\) | Unchanged | \(j\ne k\) |
Check Your Understanding
For each question, identify the operation precisely before deciding what happens to the determinant.
- A square matrix has determinant \(7\). What is the determinant after swapping columns 1 and 3?
- A square matrix has determinant \(-4\). What is the determinant after scaling column 2 by \(\tfrac12\)?
- Explain why replacing column 1 by column 1 minus \(5\) times column 3 preserves the determinant.
- For \(\begin{bmatrix}1&2\\4&7\end{bmatrix}\), replace column 2 by column 2 plus column 1. Compute both determinants and compare them.
- Suppose column 2 of a square matrix equals \(3\) times column 1 minus column 3. What is its determinant, and which result justifies the conclusion?