Skip to content
Tactiverge

School/✦ Research Engineer/Week 1

Rank: one, none or infinitely many

Three equations, three unknowns, and yet no answer at all. How can counting fail?

About 45 min · 3 goals · Checked by automated tests

1.Why should I care?

Engineers meet singular systems all the time: a mechanism that can move without resistance, a sensor set that cannot tell two quantities apart, redundant constraints. Rank tells you which, before you trust a number.

  • ◇ Define rank as the number of pivots after elimination.
  • ◇ Decide existence and uniqueness by comparing rank A, rank [A | b] and the number of unknowns.
  • ◇ Describe an infinite solution set with free variables.

2.Predict

Rows of A: (1, 1, 1), (1, 2, 3), (2, 3, 4). Notice row 3 = row 1 + row 2. With b = (6, 14, 21), how many solutions?

Guess first. Being wrong here is how the surprise works.

3.Discover

Step through '3×3, unique', then '3×3, rank 2' and '3×3, inconsistent'. For each, count the pivots and look at the last row when elimination finishes.

Loading the interactive…

Can't use the interactive? Read a description instead

The row-reduction stepper shows the augmented matrix as a table after each row operation, with the pivot highlighted and the operation described in text. When finished, the readout states the rank and whether the system has one, none or infinitely many solutions.

4.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

After elimination a 3×3 system ends with the row (0 0 0 | 0). Rank A = 2. What can you say?

5.Watch

→ Watch for the column space and null space: they are the geometric meaning of 'which b are reachable' and 'how many x reach it'.

Connects solving Ax = b to undoing a transformation, and shows geometrically when a system has no solution or many.

12 min 8 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

6.Understand

Rank

Eliminate to row echelon form. Each non-zero row starts with a pivot; the number of pivots is the rank r. It equals the number of independent columns (and of independent rows). For an m×n matrix, r ≤ min(m, n).

The decision rule

Compare rank A with rank of the augmented matrix [A | b] and the number of unknowns n.

  • rank A < rank [A | b]: a row reads 0 = non-zero, so no solution.
  • rank A = rank [A | b] = n: unique solution.
  • rank A = rank [A | b] < n: infinitely many, with n − r free variables.

Free variables and the null space

A column without a pivot is free: choose its unknown freely, and back-substitute for the rest. The general solution is x = x_particular + (any vector with Ax = 0). Those homogeneous solutions form the null space, of dimension n − r. Physically, null-space directions are motions or combinations the system cannot 'see', such as a mechanism mode of a frame.

Explain it another way

Each equation is a plane. Three planes usually meet at a point. If they meet along a line, there are infinitely many solutions; if they are arranged like a toblerone box with no common point, there are none.

Worked example 1

Solve x₁ + x₂ + x₃ = 6, x₁ + 2x₂ + 3x₃ = 14, 2x₁ + 3x₂ + 4x₃ = 20.

R2 − R1: x₂ + 2x₃ = 8. R3 − 2R1: x₂ + 2x₃ = 8. Then R3 − R2: 0 = 0. Rank 2, three unknowns: one free variable. Let x₃ = t: x₂ = 8 − 2t, x₁ = 6 − x₂ − x₃ = −2 + t. Check t = 0: (−2, 8, 0) gives 6, 14, 20. ✓

Common mix-ups

  • n equations in n unknowns always have exactly one solution.
    ✓ Only if the equations are independent (rank n). Dependent equations give none or infinitely many.
  • A row of zeros means no solution.
    ✓ A row (0 … 0 | 0) is harmless; (0 … 0 | c) with c ≠ 0 means no solution.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

Elimination ends with the row (0 0 0 | 4). What does this mean?

Practice 3

A 4×6 matrix has rank 3. What is the dimension of its null space?

Practice 4 · a fresh version every time

Find det A for A = [[3, 4], [6, 0]].

Practice 5

A square matrix has det A = 0. Which is true?

Practice 6 · a fresh version every time

Solve A·x = b with A = [[3, 2, 2], [-1, 1, -2], [1, 0, -1]] and b = (6, 4, 4). What is x1?

8.Apply it

Design a 3×3 sensor-mixing matrix that has rank 2. Explain physically which combination of quantities the sensors cannot distinguish (find a null-space vector).

9.Reflect

Concepts: Linear systems, elimination and rank