Ruled

Elementary operations, echelon form and rank

Row-reducing a matrix to echelon form, reading the rank off the staircase, and the minor method as a cross-check.

The rank of a matrix measures how much genuinely independent information it carries. It is the number that decides whether a system of equations has one solution, many, or none.

Elementary operations

Three moves are permitted on rows (and the same three on columns):

OperationNotation
Interchange two rows
Multiply a row by a non-zero scalar
Add a multiple of one row to another

Matrices and are equivalent, written , if one can be obtained from the other by such operations. Elementary operations never change the rank. That is the entire basis of the method.

Echelon form

A matrix is in row echelon form when:

  1. All zero rows sit at the bottom.
  2. In each non-zero row, the first non-zero entry (the pivot or leading entry) lies strictly to the right of the pivot in the row above.
  3. All entries below a pivot are zero.

The pivots form a descending staircase:

Reduced row echelon form (RREF) goes further: every pivot is , and every pivot is the only non-zero entry in its column. Gauss–Jordan elimination produces this.

Rank

Equivalently, the number of pivots.

Written or or .

Facts about rank

  • for a matrix of order .
  • if and only if .
  • — row rank equals column rank, always.
  • For a square matrix of order : is non-singular. Such a matrix is said to have full rank.
  • for a square singular matrix.
  • .

Method 1 — Echelon form (preferred)

  1. Get a non-zero entry into the top-left position, swapping rows if necessary.
  2. Use it to clear everything below it in that column.
  3. Move down one row and right one column; repeat.
  4. Count the non-zero rows.

Work with integers where possible. Adding multiples of rows is nearly always cheaper than scaling to make a leading .

Method 2 — Minors

means:

  • there exists at least one non-zero minor of order , and
  • every minor of order (and higher) is zero.

Start from the largest possible order and work down until you find a non-zero minor.

This is quick for small matrices and for confirming an answer, but the number of minors explodes with size, so echelon form is the practical method.

Normal (canonical) form

Using both row and column operations, any matrix of rank can be reduced to

called the normal form of . The order of the identity block is the rank. This is sometimes asked directly.

Worked examples

3 solved

Every step is shown, in the order you would write it in an answer book.

Example 1

Rank by reduction to echelon form

Question

Find the rank of .

  1. Use the pivot to clear column 1

    :

    :

  2. Clear below the next pivot

    The next pivot is the in row 2, column 3. Apply :

    This is echelon form: pivots at and , staircase descending, zero row at the bottom.

  3. Count non-zero rows

    Two non-zero rows, so .

  4. Cross-check with minors

    Rank predicts and some non-zero minor.

    Both conditions hold, confirming .

Answer

NoteColumn 2 is exactly 2 × column 1 — that dependence is what costs the matrix a unit of rank.

Example 2

Rank of a rectangular matrix

Question

Find the rank of .

  1. Note the ceiling

    is , so .

  2. Clear column 1

    :

    :

  3. Clear below the second pivot

    Pivot is the at position . Apply :

  4. Count

    Two non-zero rows: .

Answer

Example 3

Rank depending on a parameter

Question

Find the values of for which has rank , rank , and rank .

  1. Test for rank 3 first

    Rank requires . But row 3 row 1 regardless of , so by the proportional-rows property

    Rank is impossible.

  2. Reduce

    and :

  3. Split on the pivot in row 2

    If , i.e. : two non-zero rows, so .

    If : row 2 vanishes, leaving one non-zero row, so .

Answer

when ; for every ; rank never occurs.

NoteWith a parameter, always reduce first and split into cases only at the point where a pivot could vanish.

Practice problems

6 with solutions

Work each one on paper first. The full solution — not just the answer — is one click away.

Problem 1Basic

Find the rank of by both methods.

Show solution

Echelon. gives — one non-zero row.

Minors. The only order- minor is . There is a non-zero order- minor (for instance ).

Largest non-zero minor has order , so

Answer
Problem 2Basic

Reduce to echelon form and state its rank.

Show solution

The entry is , so swap first: .

:

The pivot pattern is out of order, so swap :

This is echelon form with three pivots.

Being of full rank, is non-singular. (Indeed the echelon form is upper triangular with determinant , and the two swaps make .)

Answer (full rank, non-singular)
Problem 3Exam level

Find the rank of .

Show solution

Rows and are and row , so they will vanish immediately.

,   ,   :

Move the non-zero row up: .

Echelon form with two non-zero rows.

Answer
Problem 4Exam level

Find the rank of .

Show solution

Pivot . Apply and :

:
:

Pivot is now the at . Clear below: ,   .

:
:

Echelon form with three non-zero rows.

(Scaling by is legitimate — multiplying a row by a non-zero scalar preserves rank. It keeps the arithmetic in integers.)

Answer
Problem 5Exam level

For what value of does have rank less than ?

Show solution

Rank for a matrix means .

Expand along column 1:

Setting :

Confirm the rank at . Apply :

Two non-zero rows, so when , and otherwise.

Answer, giving .
Problem 6Challenge

Reduce to normal form and state its rank.

Show solution

Row operations first. :

:

:

Now column operations. :

Column 3 becomes .

The identity block has order , so

AnswerNormal form , so .