Matrices and Row Reduction

Summary

Matrices represent linear maps and store coefficients of linear systems. Elementary row operations implement Gaussian elimination, producing row echelon forms that reveal rank, invertibility, and solution structure.

Prerequisites

Systems of Linear Equations. Hub: Linear Algebra.

Definition / Statement

An m×n matrix A is a rectangular array of scalars aij . Matrix–vector multiplication Ax defines a map RnRm that is linear:

A(u+v)=Au+Av,A(cu)=cAu.

Elementary row operations on a matrix:

  1. Swap two rows.
  2. Multiply a row by a nonzero scalar.
  3. Add a scalar multiple of one row to another row.

These operations do not change the solution set of Ax=b when applied to the augmented matrix.

Objects and Dimensions

Object Meaning Dimensions
A matrix m×n
Ax linear map applied to x m×1
AB product (columns of B mapped by A ) m×p if B is n×p
In identity n×n
rank(A) number of pivots / dimension of column space integer

Notation

Symbol Meaning
REF row echelon form
RREF reduced row echelon form
pivot first nonzero entry in a row of REF/RREF
A1 inverse matrix (square, when it exists)

Conditions / Assumptions

Matrix / Vector Form

Identity and inverse (for invertible ARn×n ):

AA1=A1A=In.

Solving via inverse (when A is invertible): x=A1b . Prefer row reduction in hand computation.

Rank: rank(A) equals the number of pivot positions after row reduction, and equals the dimension of the column space (and of the row space).

Procedure

Gaussian elimination to REF:

  1. Find the leftmost nonzero column; swap a nonzero entry into the pivot row if needed.
  2. Scale (optional) and eliminate entries below the pivot.
  3. Repeat on the submatrix below and to the right of the pivot.
  4. For RREF, eliminate above pivots and scale pivots to 1 .

To invert A , row-reduce [AI] to [IA1] when possible.

Worked Example

A=(121240361).

R2R22R1 , R3R33R1 :

(121002002).

R3R3R2 , then scale R2 : pivots in columns 1 and 3, so rank(A)=2 . The middle column is a free-direction indicator for null-space structure when solving Ax=b .

Common Mistakes

Connections

References

Matrix algebra and elimination follow MIT 18.06 (Strang).[1]


  1. MIT OpenCourseWare, 18.06 Linear Algebra, https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/ ↩︎