An elementary operation is a single, reversible row (or column) modification that we can apply to a matrix. Three types are allowed, and chaining them is the workhorse of linear algebra: they reduce matrices to simpler forms, solve linear systems, and compute inverses. This subtopic introduces the three types of operations, gives examples of their use, and prepares the way for the inverse-by-row-operations method in the next subtopic.
The three elementary row operations
For a matrix A:
Swap two rows.Ri↔Rj swaps rows i and j.
Scale a row.Ri→kRi multiplies row i by a nonzero scalar k.
Add a multiple of one row to another.Ri→Ri+kRj where i=j.
Each operation is reversible by another operation of the same type. The three corresponding elementary matrices are obtained by applying the operation to the identity matrix.
Column operations
The three types of column operations Ci↔Cj, Ci→kCi, Ci→Ci+kCj are defined identically. Applying a row operation to A is the same as multiplying A on the left by the corresponding elementary matrix; column operations correspond to multiplication on the right.
Row-equivalent matrices
Two matrices A and B are row-equivalent if one can be transformed into the other by a finite sequence of elementary row operations. We write A∼B.
If A∼B, the systems AX=O and BX=O have the same solutions. This is what makes row operations useful for solving systems.
Reduced row echelon form (RREF)
A matrix is in row echelon form if
All zero rows are at the bottom.
The leading entry (first nonzero entry) of each nonzero row is strictly to the right of the leading entry above.
It is in reduced row echelon form if additionally
Each leading entry is 1.
The leading entry is the only nonzero entry in its column.
Every matrix is row-equivalent to a unique reduced row echelon form. This is the goal of Gaussian elimination.
Worked example: bringing a matrix to RREF
Let A=121231110.
Step 1. R2→R2−2R1, R3→R3−R1:
1002−1−11−1−1.
Step 2. R2→−R2:
10021−111−1.
Step 3. R3→R3+R2:
100210110.
Step 4. R1→R1−2R2:
100010−110.
This is the reduced row echelon form.
Application: solving linear systems
The system ⎩⎨⎧x+2y+z=42x+3y+z=5x+y=1 has augmented matrix 121231110∣∣∣451.
Row-reducing (similar to the example above), we reach 100010−110∣∣∣abc for some a,b,c. If c=0, the system has infinitely many solutions parametrised by z. If c=0, no solution.
Elementary matrices
Each elementary operation corresponds to multiplication by an elementary matrix. For n=2:
E1=(0110) swaps rows when multiplied on the left.
E2=(k001) scales row 1.
E3=(10k1) adds k times row 2 to row 1.
Elementary matrices are always invertible.
Worked examples
Example 1. Apply R2→R2−3R1 to A=(1425).
New matrix: (112−1).
Example 2. Reduce (2346) to row echelon form.
R1→21R1: (1326). R2→R2−3R1: (1020). The matrix has rank 1.
Example 3. Find the rank of 123246369.
All rows are multiples of (1,2,3). Row-reducing gives only one nonzero row. Rank =1.
Example 4. Determine k such that 12124136k has rank 2.
R2→R2−2R1 gives a zero row. R3→R3−R1 gives (0−1k−3). Rank =2 iff this row is nonzero , always. (Rank is 2 regardless of k.)