← Linear algebra

Rank and row reduction

How many independent rows a matrix really has.

Start this lesson

Row operations (swapping rows, multiplying a row by a nonzero number, adding a multiple of one row to another) don’t change the solutions of a system. Using them to reach row echelon form reveals the rank: the number of nonzero rows, which is the number of independent rows.

Example: [1, 2, 3; 2, 4, 6]

  1. R2 − 2R1 → [0, 0, 0]
  2. one nonzero row
  3. rank 1 — The second row was a multiple of the first

Why it works: Row reduction removes rows that are combinations of others. The rows left show how many truly different directions the matrix has.

Tip: Rank tells you how many equations in a system are truly different.