Determinant after elementary row operation

Dependencies:

  1. Elementary row operation
  2. Determinant
  3. Swapping last 2 rows of a matrix negates its determinant

Let $A$ be an $n$ by $n$ matrix. Let $B$ be a matrix obtained by an elementary row operation on $A$. Then $|B| = r|A|$, where $r$ is a non-0 scalar. Specifically,

Proof

Part 1: $\langle i \rangle \leftarrow c\langle i \rangle$

It can be proved using induction that $|B| = c|A|$ for this row operation. The base case, where $A$ is a 1 by 1 matrix, is trivial to prove.

Induction hypothesis: Assume that all $n-1$ by $n-1$ matrices satisfy $|B| = c|A|$, where $B$ is a matrix obtained by an operation of the type $\langle i \rangle \leftarrow c\langle i \rangle$ on $A$.

Therefore, $|B| = c|A|$ for all $n$ by induction.

Part 3: $\langle i \rangle \leftrightarrow \langle j \rangle, \textrm{ where } i \neq j$

It is already known that $|B| = -|A|$ for $\langle n-1 \rangle \leftrightarrow \langle n \rangle$

It can be proved using induction that $|B| = -|A|$ for $\langle i \rangle \leftrightarrow \langle j \rangle$, where $i \neq j$.

When $n = 2$, $\langle n-1 \rangle \leftrightarrow \langle n \rangle$ is the only row operation which swaps rows, for which we have already proved that $|B| = -|A|$.

Without loss of generality, assume that $i < j$.

Induction hypothesis: For $n \ge 3$, assume that all $n-1$ by $n-1$ matrices satisfy $|B| = -|A|$, where $B$ is a matrix obtained by the operation $\langle i \rangle \leftrightarrow \langle j \rangle$ on $A$.

Therefore, $|B| = -|A|$ for all $n$ by induction.

Part 4: $\langle i \rangle \leftarrow \langle i \rangle + c\langle j \rangle, \textrm{ where } i \neq j$

It can be proved using induction that $|B| = |A|$ for this row operation.

Base case $n=2$:

Let $A = \begin{bmatrix}a & b \\ c & d \end{bmatrix}$.

For the operation $\langle 2 \rangle \leftarrow \langle 2 \rangle + k\langle 1 \rangle$: \[ |B| = \begin{vmatrix}a & b \\ c + ka & d + kb \end{vmatrix} = (d+kb)a - (c+ka)b = ad - bc = \begin{vmatrix}a & b \\ c & d \end{vmatrix} = |A| \]

The operation $\langle 1 \rangle \leftarrow \langle 1 \rangle + k\langle 2 \rangle$ is equivalent to the composition of:

The first and third operations both change the sign of the determinant. So the operation $\langle 1 \rangle \leftarrow \langle 1 \rangle + k\langle 2 \rangle$ has no effect on the determinant.

Inductive step:

For $n \ge 3$, for all $n-1$ by $n-1$ matrices, $|B| = |A|$ where $B$ is obtained from $A$ by the operation $\langle i \rangle \leftarrow \langle i \rangle + k\langle j \rangle$.

Therefore, $|B| = |A|$ for all $n$ by induction.

Dependency for:

  1. Determinant of scalar product of matrix
  2. A matrix is full-rank iff its determinant is non-0

Info:

Transitive dependencies:

  1. Group
  2. Ring
  3. Semiring
  4. Matrix
  5. Submatrix
  6. Determinant
  7. Swapping last 2 rows of a matrix negates its determinant
  8. Elementary row operation