TactivergeLite

Lite / Independent Engineering Research / 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 · Full interactive version

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.

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?

  1. Exactly one
  2. None
  3. Infinitely many
Guess first, then reveal

Row 3 of A is row 1 + row 2, but 6 + 14 = 20, not 21. The third equation contradicts the first two: elimination ends with 0 = 1. With b₃ = 20 there would be infinitely many solutions instead.

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.

What the interactive shows (text version)

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.

You can also open the interactive on the full site when you have a faster connection.

Watch (optional)

Watch for: 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.

“Inverse matrices, column space and null space | Chapter 7, Essence of linear algebra” by 3Blue1Brown (opens YouTube; streaming video uses a lot of data)

The video is optional. Everything you need is in this lesson's text.

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.

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

Intuitive

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.

Technical

Rank–nullity: rank A + dim null(A) = n. For square A, rank n ⇔ det A ≠ 0 ⇔ A invertible.

Mathematical

Solvability: b ∈ col(A) ⇔ rank[A | b] = rank A (Rouché–Capelli).

Applied

In a calibration with two sensors that respond identically to two quantities, the matrix has rank 1: no amount of data separates those quantities. The fix is a different sensor, not a better solver.

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

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

Practice 1. After elimination a 3×3 system ends with the row (0 0 0 | 0). Rank A = 2. What can you say?
Practice 2. Elimination ends with the row (0 0 0 | 4). What does this mean?

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

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).

Reflect

Have you met a project problem that was really a rank problem in disguise?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Writing engineering problems as Ax = bGaussian elimination, back substitution and LU →