Tutorials › Linear Algebra › The Effect Of Scaling A Row

Properties of Determinants · Tutorial 240 of 1000

The Effect Of Scaling A Row

Learn why a row scaling contributes one factor to the determinant, while scaling every row contributes one factor per row.

Intermediate 9 min read

What You'll Learn

  • State and prove the determinant rule for multiplying one row by a scalar.
  • Apply the rule when the scaling factor is zero, negative, or positive.
  • Track separate scaling factors applied to different rows.
  • Explain why scaling every row of an \(n\times n\) matrix contributes a factor of \(c^n\).
  • Check determinant calculations by direct expansion.
  • Avoid confusing a single-row scaling with scaling the entire matrix.

One Row Contributes One Scalar Factor

A determinant depends on all the rows of a square matrix, but it responds to a change in one row in a particularly simple way. If one row is multiplied by \(c\), the determinant is multiplied by \(c\)—not by a power of \(c\) depending on the matrix size. The matrix size matters only when the same scaling is applied to every row: then the factor is counted once for each row.

Throughout this tutorial, matrices are in \(\mathbb{R}^{n\times n}\), where \(n\geq 1\). For a matrix \(\mathbf{A}=(a_{ij})\), let \(\mathbf{A}'\) denote the matrix obtained by multiplying row \(i\) by a scalar \(c\in\mathbb{R}\), leaving every other row unchanged. Thus the entries in row \(i\) of \(\mathbf{A}'\) are \(c a_{ij}\). The determinant is defined for square matrices; the row-scaling rule below holds whether \(c\) is positive, negative, or zero.

Definition: A row scaling by \(c\) replaces one row of a matrix by \(c\) times that row. If the original matrix is \(\mathbf{A}\), the resulting matrix is denoted here by \(\mathbf{A}'\). This describes a change to one row only unless every row is explicitly named.

The distinction between one row and every row is essential. A row scaling by \(c\) contributes one factor of \(c\) to the determinant. Scaling all \(n\) rows by the same \(c\) contributes \(n\) such factors, so the total factor is \(c^n\). We will prove both statements and compute examples directly.

Proof from the Determinant Formula

The Leibniz formula expresses the determinant as a sum indexed by permutations. Here, \(\mathfrak{S}_n\) is the set of permutations of \(\{1,\dots,n\}\), and \(\operatorname{sgn}(\sigma)\) is the sign of the permutation \(\sigma\). Each product in the sum selects exactly one entry from each row.

$$ \det\mathbf{A} = \sum_{\sigma\in\mathfrak{S}_n} \operatorname{sgn}(\sigma) \prod_{r=1}^{n}a_{r,\sigma(r)}. $$
Theorem (Effect of scaling one row): Let \(\mathbf{A}\in\mathbb{R}^{n\times n}\). If \(\mathbf{A}'\) is obtained by multiplying row \(i\) of \(\mathbf{A}\) by \(c\in\mathbb{R}\), then \(\det\mathbf{A}'=c\det\mathbf{A}\).

Proof. Write the entries of \(\mathbf{A}'\) as \(a'_{rj}\). By construction, \(a'_{ij}=c a_{ij}\) for every column \(j\), and \(a'_{rj}=a_{rj}\) when \(r\ne i\). Apply the Leibniz formula to \(\mathbf{A}'\). In each permutation term, the product contains exactly one entry from row \(i\), namely \(a'_{i,\sigma(i)}=c a_{i,\sigma(i)}\). Every other row entry in that term is unchanged. Therefore each term is \(c\) times the corresponding term for \(\mathbf{A}\), and factoring \(c\) out of the sum gives \(\det\mathbf{A}'=c\det\mathbf{A}\). This argument also applies when \(c=0\), since no division by \(c\) was used. \(\square\)

The proof identifies why the factor occurs only once: every product in the determinant formula uses one entry from each row, including the row that was scaled. It also shows that the rule does not require the original determinant to be nonzero. If \(\det\mathbf{A}=0\), then \(c\det\mathbf{A}=0\) for every scalar \(c\).

Worked Example: A Negative Factor on One Row

Let

$$ \mathbf{A}= \begin{bmatrix} 1&2&0\\ 3&1&4\\ 2&-1&1 \end{bmatrix}. $$

First compute its determinant by expansion along the first row:

$$ \begin{aligned} \det\mathbf{A} &=1\begin{vmatrix}1&4\\-1&1\end{vmatrix} -2\begin{vmatrix}3&4\\2&1\end{vmatrix} +0\\ &=1\bigl(1\cdot1-4(-1)\bigr) -2\bigl(3\cdot1-4\cdot2\bigr)\\ &=5-2(-5)=15. \end{aligned} $$

Now multiply row 2 by \(-2\). The resulting matrix is

$$ \mathbf{A}'= \begin{bmatrix} 1&2&0\\ -6&-2&-8\\ 2&-1&1 \end{bmatrix}. $$

The theorem predicts \(\det\mathbf{A}'=(-2)(15)=-30\). Check by expanding directly along row 1:

$$ \begin{aligned} \det\mathbf{A}' &=1\begin{vmatrix}-2&-8\\-1&1\end{vmatrix} -2\begin{vmatrix}-6&-8\\2&1\end{vmatrix}\\ &=1\bigl((-2)\cdot1-(-8)(-1)\bigr) -2\bigl((-6)\cdot1-(-8)\cdot2\bigr)\\ &=-10-2(10)=-30. \end{aligned} $$

The direct calculation agrees with the rule. Because the original determinant was positive and nonzero, multiplying it by a negative scalar reverses its sign and scales its magnitude by the absolute value of that scalar.

Zero and Negative Determinants

The sign description needs care. A negative factor reverses the sign of a nonzero determinant and scales its magnitude by the absolute value of the factor. If the determinant is zero, multiplying by a negative factor leaves it zero; zero has no positive or negative sign to reverse. A zero scaling factor also gives a determinant of zero, because the scaled row becomes a zero row and the theorem gives \(0\cdot\det\mathbf{A}=0\).

Worked Example: Scaling a Row by Zero

Take

$$ \mathbf{B}= \begin{bmatrix} 2&1\\ 5&3 \end{bmatrix}, \qquad \det\mathbf{B}=2\cdot3-1\cdot5=1. $$

Multiplying row 1 by \(0\) produces

$$ \mathbf{B}'= \begin{bmatrix} 0&0\\ 5&3 \end{bmatrix}. $$

The row-scaling rule predicts \(\det\mathbf{B}'=0\cdot1=0\). Direct calculation confirms this:

$$ \det\mathbf{B}'=0\cdot3-0\cdot5=0. $$

Here the determinant becomes zero because the scaling factor is zero. This case is included in the determinant identity even though multiplying a row by zero is not reversible.

In elementary row reduction, a row scaling is usually taken to use a nonzero scalar so the operation can be reversed. The determinant identity itself has no such restriction: it remains valid for \(c=0\). These are different questions—whether the determinant formula applies, and whether the row operation is reversible.

Scaling Several Rows

Theorem (Effect of scaling several rows): Let \(\mathbf{A}\in\mathbb{R}^{n\times n}\). Suppose row \(i\) is multiplied by \(c_i\in\mathbb{R}\) for each \(i=1,\dots,n\), producing \(\mathbf{B}\). Then \(\det\mathbf{B}=(c_1c_2\cdots c_n)\det\mathbf{A}\).

Proof. For \(k=0\), no rows have yet been scaled, so the determinant is \(\det\mathbf{A}\), which is the product of the first zero factors (the empty product \(1\)) times \(\det\mathbf{A}\). Suppose that after scaling rows \(1,\dots,k\), the determinant is \((c_1\cdots c_k)\det\mathbf{A}\). Scaling row \(k+1\) by \(c_{k+1}\) multiplies the current determinant by \(c_{k+1}\), by the one-row theorem. The new determinant is therefore \[ c_{k+1}(c_1\cdots c_k)\det\mathbf{A} =(c_1\cdots c_k c_{k+1})\det\mathbf{A}. \] Applying this step through row \(n\) gives the stated formula. No factor needs to be nonzero; if one factor is zero, the product and the resulting determinant are both zero. \(\square\)

When every row is scaled by the same \(c\), there are \(n\) factors of \(c\), one from each row. Thus the determinant is multiplied by \(c^n\). This is why the single-row rule cannot be applied as though changing all the rows were just one row scaling.

Worked Example: Scaling Every Row of a 3×3 Matrix

Consider the upper triangular matrix

$$ \mathbf{C}= \begin{bmatrix} 1&2&0\\ 0&3&1\\ 0&0&2 \end{bmatrix}. $$

Expansion along the first column gives \(\det\mathbf{C}=1(3\cdot2-1\cdot0)=6\). Multiply every row by \(2\). The resulting matrix is

$$ \mathbf{C}'= \begin{bmatrix} 2&4&0\\ 0&6&2\\ 0&0&4 \end{bmatrix}. $$

Since this is a \(3\times3\) matrix, the predicted factor is \(2^3=8\), so \(\det\mathbf{C}'=8\cdot6=48\). Direct expansion confirms the answer:

$$ \det\mathbf{C}' =2(6\cdot4-2\cdot0) =2\cdot24 =48. $$

Using \(2\det\mathbf{C}=12\) would count only one of the three row scalings. The correct factor is \(2^3\), because each row contributes a factor of \(2\).

Worked Example: Different Factors on Different Rows

Use the same matrix \(\mathbf{C}\), whose determinant is \(6\). Multiply row 1 by \(-2\) and row 3 by \(3\), leaving row 2 unchanged. The factor for row 2 is \(1\), so the product of all row factors is \((-2)(1)(3)=-6\). The theorem predicts a new determinant of \(-6\cdot6=-36\). The resulting matrix is

$$ \mathbf{D}= \begin{bmatrix} -2&-4&0\\ 0&3&1\\ 0&0&6 \end{bmatrix}. $$

Expanding along the first column verifies the prediction:

$$ \det\mathbf{D} =(-2)(3\cdot6-1\cdot0) =(-2)(18) =-36. $$

The two changed rows contribute their own factors, while the unchanged row contributes \(1\). Their product gives the total determinant factor.

Common Pitfall: Counting the Scaling Once

A common error is to say, “Every entry was multiplied by \(2\), so the determinant is multiplied by \(2\).” For an \(n\times n\) matrix, multiplying every entry by \(2\) means multiplying all \(n\) rows by \(2\), not just one row. In the \(3\times3\) example above, the incorrect calculation would be \(\det\mathbf{C}'=2\det\mathbf{C}=12\). The correction is to apply the one-row rule three times: \(2\cdot2\cdot2\cdot6=48\), which also matches the direct determinant calculation.

A second error is to say that a negative factor always changes the determinant’s sign. If the starting determinant is zero, the result remains zero. For example, the rule gives \((-3)\cdot0=0\), not a determinant with a reversed sign. Always distinguish the sign of a nonzero determinant from the case where the determinant equals zero.

The practical method is to identify exactly which rows changed, record one factor for each of those rows, and multiply those factors together. An unchanged row contributes a factor of \(1\). A zero factor makes the resulting determinant zero, and a negative factor reverses the sign only when the determinant before scaling is nonzero. These checks help keep row operations and determinant factors aligned.

Check Your Understanding

For each question, identify the factor contributed by every changed row and use it to predict the new determinant.

  1. If a \(4\times4\) matrix has determinant \(5\) and row 3 is multiplied by \(-2\), what is the new determinant?
  2. If a \(3\times3\) matrix has determinant \(-4\) and every row is multiplied by \(3\), what is the new determinant?
  3. A \(2\times2\) matrix has determinant \(0\). What determinant results when row 1 is multiplied by \(-7\), and why is it not meaningful to say its sign reversed?
  4. Rows 1 and 3 of a \(3\times3\) matrix are multiplied by \(2\) and \(-5\), respectively. By what factor does its determinant change?
  5. Explain why multiplying one row by zero is covered by the determinant scaling identity even though the operation is not reversible.

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