Linear Algebra
Chapter 1/Matrices and Systems of Equations

1.5Elementary Matrices

Row operations aren't just moves on paper — each one is left multiplication by an invertible matrix. That reframing gives you the equivalence theorem for nonsingularity and a clean algorithm for .

What you must be able to do

  • An elementary matrix = the result of one row operation on . Then = that same operation applied to ; = the corresponding column operation.
  • Every elementary matrix is nonsingular, and is elementary of the same type.
  • Theorem 1.5.2: nonsingular ⟺ has only is row equivalent to .
  • Row reduce to — the same operations that clean up build out of .

Applying a sequence of elementary matrices to both sides of turns it into with and . Since every is invertible, the two systems are equivalent.

TypeOperation on does does
ISwap two rowsSwaps those rows of Swaps the corresponding columns
IIScale a row by Scales that row of Scales that column
IIIAdd (row ) to row Same row operation on Adds (col ) to col
Left multiply ⟹ row operation. Right multiply ⟹ column operation. Mixing these up is a classic exam slip.
Theorem 1.5.1
If is elementary, then is nonsingular and is an elementary matrix of the same type.

Obvious once you think of undoing the move: swap back, scale by , subtract what you added.

Definition · Row equivalence
is row equivalent to if for some elementary matrices — i.e. is reachable from by finitely many row operations. The relation is symmetric and transitive.

The nonsingularity theorem

Theorem 1.5.2 · Equivalent conditions
For an matrix , the following are equivalent: (a) is nonsingular; (b) has only the trivial solution; (c) is row equivalent to .

This list keeps growing all term — det ≠ 0 (§2.2), columns independent / a basis (§3.6), rank , no eigenvalue equal to 0 (§6.1). Learn it as one object.

Corollary 1.5.3
( equations, unknowns) has a unique solution iff is nonsingular.

Computing

If is nonsingular there are elementary matrices with . Multiply on the right by : . So the same sequence of row operations that turns into turns into — run them side by side.

Worked example

Inverting a matrix, then using it

0/5 steps
Compute and use it to solve with .
!Exam trap
Computing to solve one system is wasteful — plain elimination on is faster and less error-prone. Invert only when you need itself or must solve many systems with the same . If the left half fails to reach , is singular; stop.

Diagonal and triangular matrices

  • Upper triangular: for . Lower triangular: for .
  • Diagonal: whenever — both upper and lower triangular at once.
  • A triangular matrix may have zeros on the diagonal, in which case it is singular. Strict triangular form for a system additionally requires a nonzero diagonal.
Check your work

Determinant & inverse

Reduces to triangular form, tracking every sign flip. Square matrices only.

213
421
6-34
det =-60
status
nonsingular
Ax = b
unique solution
A⁻¹
-11/6013/601/12
1/61/6-1/6
2/5-1/50

Invert a matrix and watch the elimination that produces it.

Check yourself

Q1
You multiply a matrix on the right by the elementary matrix formed by swapping rows 1 and 2 of . The result is:
T / F
An matrix is nonsingular if and only if is row equivalent to .
T / F
Every upper triangular matrix is nonsingular.