PROJECTENGRAM

ELEMENTARY ROW OPERATION

Elementary Row Operation

Tags: #◇CSMATH2 #◇Linear Algebra #◇Computational Mathematics #◇Matrices #◇Matrix Operations #◇Inverse Matrix #◇Computer Science #◇Vector Spaces #◇Linear Transformations


◇Overview

Elementary row operations (EROs) are the three fundamental transformations used to manipulate matrices during Gaussian elimination and Gauss-Jordan reduction. EROs preserve the solution set of linear systems while transforming matrices into Row Echelon Form (REF) and Reduced Row Echelon Form (RREF).

◇Key Concepts

  • Three Types: Row interchange, nonzero scalar multiplication, and row addition.
  • Echelon Forms: Used systematically to reach Row Echelon Form (REF) and Reduced Row Echelon Form (RREF).
  • Reversibility: Every ERO is invertible via an inverse ERO of the same type.
  • Algebraic Equivalence: Each ERO corresponds strictly to left-multiplication by an ◇elementary matrix EE.

◇Details / Theory

The Three Elementary Row Operations

TypeNotationDescriptionInverse Operation
Row InterchangeRi↔RjR_i \leftrightarrow R_jSwap rows ii and jjRi↔RjR_i \leftrightarrow R_j
Row ScalingkRi→Rik R_i \to R_i (k≠0k \ne 0)Multiply row ii by nonzero scalar kk1kRi→Ri\frac{1}{k} R_i \to R_i
Row AdditionRi+kRj→RiR_i + k R_j \to R_iAdd kk times row jj to row iiRi−kRj→RiR_i - k R_j \to R_i

Stepped Calculation Trace: Full Reduction to REF and RREF

Consider the matrix:
A=[123257358]A = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 5 & 7 \\ 3 & 5 & 8 \end{bmatrix}

Step 1: Forward Elimination (Clear Column 1 Below Pivot 1)

Perform R2←R2−2R1R_2 \leftarrow R_2 - 2R_1 and R3←R3−3R1R_3 \leftarrow R_3 - 3R_1:
[123257358]→R2−2R1[123011358]→R3−3R1[1230110−1−1]\begin{bmatrix} 1 & 2 & 3 \\ 2 & 5 & 7 \\ 3 & 5 & 8 \end{bmatrix} \xrightarrow{R_2 - 2R_1} \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 1 \\ 3 & 5 & 8 \end{bmatrix} \xrightarrow{R_3 - 3R_1} \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 1 \\ 0 & -1 & -1 \end{bmatrix}

Step 2: Clear Column 2 Below Pivot 2 (Row Echelon Form)

Perform R3←R3+R2R_3 \leftarrow R_3 + R_2:
[1230110−1−1]→R3+R2[123011000]\begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 1 \\ 0 & -1 & -1 \end{bmatrix} \xrightarrow{R_3 + R_2} \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 1 \\ 0 & 0 & 0 \end{bmatrix}
Observation: This matrix is now in Row Echelon Form (REF).

  • Pivot columns: Column 1 and Column 2.
  • Rank: rank(A)=2\text{rank}(A) = 2.
  • Free variable: Column 3 (x3=tx_3 = t).

Step 3: Back-Elimination (Reduced Row Echelon Form - RREF)

Clear entry above Pivot 2 in Column 2 by performing R1←R1−2R2R_1 \leftarrow R_1 - 2R_2:
[123011000]→R1−2R2[101011000]\begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 1 \\ 0 & 0 & 0 \end{bmatrix} \xrightarrow{R_1 - 2R_2} \begin{bmatrix} 1 & 0 & 1 \\ 0 & 1 & 1 \\ 0 & 0 & 0 \end{bmatrix}
Observation: This is the unique Reduced Row Echelon Form (RREF).

  • System equations for null space Ax=0A\mathbf{x} = \mathbf{0}:
    x1+x3=0  ⟹  x1=−tx_1 + x_3 = 0 \implies x_1 = -t
    x2+x3=0  ⟹  x2=−tx_2 + x_3 = 0 \implies x_2 = -t
    x3=tx_3 = t
  • Solution vector: x=t[−1−11]\mathbf{x} = t \begin{bmatrix} -1 \\ -1 \\ 1 \end{bmatrix} (Nullity = 3−2=13 - 2 = 1).

Connection to Elementary Matrices

Performing an ERO on AA is algebraically identical to multiplying AA on the left by an elementary matrix EE, where EE is formed by applying the identical ERO to the identity matrix II:
ERO(A)=E⋅A\text{ERO}(A) = E \cdot A
If a matrix AA reduces to II via a sequence of EROs Ek…E2E1A=IE_k \dots E_2 E_1 A = I, then:
A−1=Ek…E2E1A^{-1} = E_k \dots E_2 E_1

◇Common Pitfalls

  • Multiplying by Zero: Scaling a row by 00 destroys dimensional information and is never a valid ERO.
  • Column Operations Confusion: Standard Gaussian elimination uses exclusively row operations; mixing row and column operations alters the solution set of linear systems.
  • Directional Target Error: In Ri+kRj→RiR_i + kR_j \to R_i, the target row being overwritten is RiR_i, never RjR_j.

◇Summary

Elementary row operations (swap, scale, and add multiple) transform matrices into REF and RREF without altering the solution spaces of corresponding linear systems. Every ERO corresponds to left-multiplication by an invertible elementary matrix.

◇Review Questions

  1. Why does an elementary row operation never alter the solution set of a linear system Ax=bA\mathbf{x} = \mathbf{b}?
    • Answer: Because each elementary row operation corresponds to left-multiplication by an invertible elementary matrix EE. Since EE is nonsingular, Ax=b  ⟺  EAx=EbA\mathbf{x} = \mathbf{b} \iff E A \mathbf{x} = E \mathbf{b} via reversible bi-implication.
  2. What distinguishes Row Echelon Form (REF) from Reduced Row Echelon Form (RREF)?
    • Answer: In REF, all entries below each leading pivot are zero. In RREF, every leading pivot must be 1, and it must be the only non-zero entry in its entire column (all entries both above and below the pivot are zero).
  3. How does row interchange affect the determinant of a square matrix?
    • Answer: Swapping two rows (Ri↔RjR_i \leftrightarrow R_j) negates the determinant: det⁡(E⋅A)=−det⁡(A)\det(E \cdot A) = -\det(A).

◇References & Navigation

CONFIRMATION // 理解度の確認

ACTIVE RECALL VERIFICATION

Select an answer to verify conceptual comprehension and reveal the technical rationale.

Q1

Which of the following is NOT a valid elementary row operation?

Q2

Performing an elementary row operation on matrix AA is equivalent to which algebraic operation?

Q3

What is the inverse operation that reverses Ri+kRj→RiR_i + kR_j \to R_i?

Q4

How does multiplying a single row by a nonzero scalar kk affect det⁡(A)\det(A)?

Q5

What does a row of all zeros in the Row Echelon Form (REF) of an n×nn \times n matrix signify about the matrix?