Lab 3.3
Solving Non-invertible Systems
Lab goal
Decide whether Ax = b is consistent, then express every solution as one particular solution plus a null-space direction.
- Column space
- Rank
- Consistency
- Particular and homogeneous solutions
Code extensionThe full notebook packages elimination and solution construction into a reusable function for larger systems.
Key ideas
Terms you will use
- Column space
Ax = b is solvable exactly when b ∈ Col(A) The column space contains every output that can be produced by some input x.
- Consistency test
rank(A) = rank([A | b]) Adding b as a new column must not create an additional independent direction.
- Solution family
x = xₚ + tn, where An = 0 One solution reaches b; any null-space direction can then be added without changing that output.
Lab 3.3 · Guided example
See which targets a singular matrix can reach
Use one rank-one matrix and two nearby targets so reachability, contradiction, and non-uniqueness are all visible.
Select a line to see its action, array shape, and concrete operation.
Which target lies exactly on the blue column-space line?
A collapses the input plane onto one output line
The second column is twice the first, so both columns point along the same direction.
A · dependent columns
Reveal to compare.
A.shapenot stored → ?Two input and two output coordinates.rank(A)not stored → ?Only one independent output direction.