4.5.8 · D3Linear Algebra (Full)

Worked examples — Systems of linear equations — matrix form Ax = b

3,610 words16 min readBack to topic

This is the practice companion to the parent note. There we learned the three views and the RACE rule. Here we drill EVERY case the topic can hand you, so you never hit a scenario you have not already seen worked once.

Before anything, one reminder of the words we will lean on — each defined in plain terms and anchored to a picture so no symbol is used cold.


The scenario matrix

Every linear system falls into one of these cells. The right column names the example that lands there.

# Case class Shape RACE outcome Worked in
C1 Square, unique, Ex 1
C2 Square, , consistent infinite (a whole line) Ex 2
C3 Square, , inconsistent none (parallel) Ex 3
C4 Over-determined, redundant row unique despite extra row Ex 4
C5 Over-determined, genuinely inconsistent none Ex 5
C6 Under-determined (fewer eqns than unknowns) infinite, free params Ex 6
C7 Homogeneous (degenerate target) trivial vs non-trivial Ex 7
C8 Sign / all-negative twist + , mind the minus signs Ex 8
C9 Real-world word problem unique, with units Ex 9
C10 Exam twist: parameter decides the case all three outcomes as varies Ex 10

The degenerate/limiting inputs are cells C2, C3, C5, C7, C8, and C10 — zero determinant, zero right-hand side, and a parameter sliding through its critical value. We hit them all.


Ex 1 — Cell C1: square, invertible, unique

Figure — Systems of linear equations — matrix form Ax = b

Look at the figure: the two lines meet at the single orange dot . That single crossing IS the unique solution.


Ex 2 — Cell C2: square, , consistent → infinite

Figure — Systems of linear equations — matrix form Ax = b

The two "lines" are the same line drawn on top of itself — infinitely many meeting points.


Ex 3 — Cell C3: square, , inconsistent → none

Figure — Systems of linear equations — matrix form Ax = b

Ex 4 — Cell C4: over-determined but redundant → unique


Ex 5 — Cell C5: over-determined, genuinely inconsistent → none


Ex 6 — Cell C6: under-determined → infinite, free


Ex 7 — Cell C7: homogeneous (degenerate target)


Ex 8 — Cell C8: with a negative-sign twist, shown by full elimination


Ex 9 — Cell C9: real-world word problem (with units)

Recall What does column 3 of

represent in Ex 9? Column 3 = Bag C's nutrient profile ::: — its N, P, K per kg. The weight says how many kg of Bag C to pour.


Ex 10 — Cell C10: exam twist, parameter sweeps all cases

Recall Which cell is each verdict?

::: unique (C1), the generic case. and RHS consistent ::: infinite (C2), a whole line/plane of solutions. and RHS clashes ::: none (C3/C5/C8), parallel or contradictory. More rows than unknowns but redundant ::: still unique (C4) — count rank, not rows.


Connections