Euler Hall — free maths guides

Read Ax = b as a combination of the columns

Read Ax = b as a question about reaching b from the columns. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

Solvable = reachable, and the shapes of failure

When it fails, the reason is always the same: the columns span less than the whole space, andb\mathbf{b} sits outside.

| columns | what they reach | which b fail | |---|---|---| | two independent, inR2\mathbb{R}^2 | all ofR2\mathbb{R}^2 | none | | two proportional, inR2\mathbb{R}^2 | a line | everyb\mathbf{b} off the line | | three inR2\mathbb{R}^2 | at most a plane — but that is all there is | onlyb\mathbf{b} off the plane | | three inR3\mathbb{R}^3 | line, plane or all | depending on rank |

Two more facts worth carrying:

- More columns than rows always means dependence. Three vectors inR2\mathbb{R}^2 cannot be independent, so in that case the columns do span everything (if at least one pair is independent) and there are infinitely many solutions when a solution exists. Having more unknowns than equations is not the problem people fear — it is having fewer. - *b=0\mathbf{b}=\mathbf{0} is always reachable**: takex=0\mathbf{x}=\mathbf{0}. So the zero vector is in every column space, which is why every column space contains the origin.

Why the picture and the algebra cannot disagree

The row picture asks: do thesemm equations have a common solution? The column picture asks: isb\mathbf{b} a combination of the columns? These are the same question, because writing outAxA\mathbf{x} entry by entry is the row picture, and regrouping the same sum by columns is the column picture. Both come from the same product.

That is why the rank test works in both readings. Rank ofAA is the number of independent columns; rank of[A∣b][A\mid b] is the number after addingbb. Ifbb adds a new direction, it cannot be a combination of the columns, and the system is inconsistent:

Ax=b solvable  ⟺  rank⁡[A∣b]=rank⁡A.A\mathbf{x}=\mathbf{b}\text{ solvable}\iff\operatorname{rank}[A\mid b]=\operatorname{rank}A.

Why the column picture survives a non-squareAA. A common worry is that the picture "fails" whenAA is not square. It does not — the columns are vectors inRm\mathbb{R}^m regardless of how many of them there are, andb\mathbf{b} is inRm\mathbb{R}^m too. A4×24\times2 matrix gives two vectors inR4\mathbb{R}^4, whose combinations form a plane (or less) insideR4\mathbb{R}^4;b\mathbf{b} is either in that plane or not. Nothing about the picture needsm=nm=n.

Worked, in the exam's shape

Decide whether[123246]x=[13]\begin{bmatrix}1&2&3\\2&4&6\end{bmatrix}\mathbf{x}=\begin{bmatrix}1\\3\end{bmatrix} has a solution.

Columns:(1,2)(1,2),(2,4)(2,4),(3,6)(3,6) — all multiples of(1,2)(1,2). SoC(A)C(A) is the line through(1,2)(1,2) inR2\mathbb{R}^2.

Isb=(1,3)\mathbf{b}=(1,3) on it? A multiple would bec(1,2)=(c,2c)c(1,2)=(c,2c); settingc=1c=1 gives(1,2)(1,2), not(1,3)(1,3). So no — the system is inconsistent.

By rank:rank⁡A=1\operatorname{rank}A=1 (all columns proportional). Andrank⁡[A∣b]\operatorname{rank}[A\mid b]: adjoining(1,3)(1,3) gives a matrix whose columns include(1,2)(1,2) and(1,3)(1,3) — independent, so rank 2. Ranks differ, so inconsistent.

Two readings, one answer. In an exam, the rank test is faster to write; the picture is what tells you why.

By the end you can
  • Read Ax = b as a question about reaching b from the columns
  • State what solvability means in the picture
  • Decide which of two pictures answers a given question
Test yourself

[1224]x=b\begin{bmatrix}1&2\\2&4\end{bmatrix}\mathbf{x}=\mathbf{b}. For whichb\mathbf{b} is this solvable?

(a) everyb\mathbf{b} inR2\mathbb{R}^2 (b) onlyb=0\mathbf{b}=\mathbf{0} (c) onlyb\mathbf{b} on the line through(1,2)(1,2) (d) nob\mathbf{b}

Answer

(c). The columns are(1,2)(1,2) and(2,4)=2(1,2)(2,4)=2(1,2), soC(A)C(A) is the line through(1,2)(1,2).b\mathbf{b} is reachable exactly when it lies on that line.

(a) is false because the columns span a line, not the plane. (b) is false because the origin is not the only reachable point —(3,6)(3,6) is reachable too.

Work out where to start — free, no accountAnswer six real questions — free, no account