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?
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.
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?
- Exactly one
- None
- 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.
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.
- 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
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
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.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
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.