Tutorials › Linear Algebra › How Column Operations Change Determinants

Properties of Determinants · Tutorial 243 of 1000

How Column Operations Change Determinants

Use transposition to turn column operations into row operations and determine exactly how each operation changes a determinant.

Intermediate 10 min read

What You'll Learn

  • Translate a column operation into the corresponding row operation on the transpose.
  • Determine the determinant factor for a column swap or column scaling.
  • Explain why adding a multiple of one column to a different column preserves the determinant.
  • Check column-operation rules with exact determinant calculations.
  • Recognize the difference between a column replacement and a column scaling.

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.

Key idea: A column operation on \(\mathbf{A}\) becomes the corresponding row operation on \(\mathbf{A}^{\top}\). The row rule gives the determinant effect on the transpose, and \(\det(\mathbf{A}^{\top})=\det(\mathbf{A})\) transfers that effect back to \(\mathbf{A}\).

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\).

Theorem (Effects of column operations): Let \(\mathbf{A}\in\mathbb{R}^{n\times n}\). Then:
  • 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:

$$ \det(\mathbf{A}) =1(1\cdot1-4\cdot0)-2(3\cdot1-4\cdot2) =1-2(3-8) =1+10 =11. $$

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

$$ \det(\mathbf{A}') =0-2(4\cdot2-3\cdot1)+1(4\cdot0-1\cdot1) =-2(8-3)-1 =-10-1 =-11. $$

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

$$ \det(\mathbf{B}) =1(3\cdot0-4\cdot1)-2(0\cdot0-4\cdot2)+1(0\cdot1-3\cdot2) =-4+16-6 =6. $$

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:

$$ \begin{aligned} \det(\mathbf{B}') &=1((-6)\cdot0-4(-2))-(-4)(0\cdot0-4\cdot2)+1(0(-2)-(-6)\cdot2)\\ &=8+4(-8)+12\\ &=8-32+12\\ &=-12. \end{aligned} $$

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:

$$ \det(\mathbf{C}) =2(0\cdot1-3\cdot2)-1(1\cdot1-3\cdot0)+1(1\cdot2-0\cdot0) =-12-1+2 =-11. $$

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:

$$ \det(\mathbf{C}') =2(3\cdot1-3\cdot2)-7(1\cdot1-3\cdot0)+1(1\cdot2-3\cdot0) =-6-7+2 =-11. $$

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.

Corollary: If a column of a square matrix is a linear combination of its other columns, then the determinant is zero.

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 operationDeterminant effectCondition
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.

  1. A square matrix has determinant \(7\). What is the determinant after swapping columns 1 and 3?
  2. A square matrix has determinant \(-4\). What is the determinant after scaling column 2 by \(\tfrac12\)?
  3. Explain why replacing column 1 by column 1 minus \(5\) times column 3 preserves the determinant.
  4. For \(\begin{bmatrix}1&2\\4&7\end{bmatrix}\), replace column 2 by column 2 plus column 1. Compute both determinants and compare them.
  5. 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?

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon