Column View of a System of Linear Equations

Core Idea

Consider the following system of linear equations in 2-dimensional space

a11x1+a12x2=b1a21x1+a22x2=b1a31x1+a32x2=b1(1)\begin{align} a_{11}x_{1}+a_{12}x_{2}=b_{1} \\ a_{21}x_{1}+a_{22}x_{2}=b_{1} \\ a_{31}x_{1}+a_{32}x_{2}=b_{1} \\ \end{align} \tag{1}

this could also be synthesized and written as

[a11a21a31]x1+[a12a22a32]x2=[b1b2b3]\begin{align} \begin{bmatrix} a_{11} \\ a_{21} \\ a_{31} \end{bmatrix} x_{1}+ \begin{bmatrix} a_{12} \\ a_{22} \\ a_{32} \end{bmatrix} x_{2}=\begin{bmatrix} b_{1} \\ b_{2} \\ b_{3} \end{bmatrix} \tag{2} \end{align}

This is the column-view interpretation of the set of linear equations. Here, we now seek linear compositions of two vectors (the ones x1x_1 and x2x_2 are multiplied to) to obtain the third.

Notice that these are now two 3-dimensional vectors whose combination we are interested in. The two column vectors, [a11  a21  a31]T[a_{11}\; a_{21}\;a_{31}]^T and [a11  a21  a31]T[a_{11}\; a_{21}\;a_{31}]^T, are vectors in 3D space. The set of all their possible linear combinations (their span) forms a 2-D plane that passes through the origin within this 3D space. The solution [x1  x2][x_{1}\;x_{2}] tells us how much to walk along these vectors to reach our target [b1  b2  b3]T[b_{1}\;b_{2}\;b_{3}]^T.

A solution exists if and only if the target vector bb also lies on this exact same plane. If bb pointed even slightly out of this plane, it would be unreachable, and no solution would exist.

Extension

Now restructure the equation (2) to look as follows

[a11a12a21a22a31a32][x1x2]=[b1b2b3]\begin{align} \begin{bmatrix} a_{11}&a_{12} \\ a_{21}&a_{22} \\ a_{31}&a_{32} \end{bmatrix} \begin{bmatrix} x_{1} \\ x_{2} \\ \end{bmatrix}=\begin{bmatrix} b_{1} \\ b_{2} \\ b_{3} \end{bmatrix} \tag{3} \end{align}

In short, this is

Ax=b(4)\boldsymbol{A}\boldsymbol{x}=\boldsymbol{b} \tag{4}

The best intuition for the column view is synthesis or composition. Think of the columns of the matrix A\boldsymbol{A} as a set of fundamental ingredients, like primary paint colors. The vector x\boldsymbol{x} represents the recipe—the amounts of each ingredient to use. The vector b\boldsymbol{b} is the final target color you want to create.

The equation Ax=b\boldsymbol{A}\boldsymbol{x}=\boldsymbol{b}, when seen from the column view, asks:

“Can I mix my available ingredients (the columns of A\boldsymbol{A}) according to some recipe (the values in x\boldsymbol{x}) to get my desired final product (the vector b\boldsymbol{b})?

This perspective shifts the focus from a set of intersecting constraints (the row view) to a question of reachability. What can we build with the tools we have? The set of all possible vectors we can create from our ingredients is called the span or the column space. It’s your entire color palette. If your target color b\boldsymbol{b} is on the palette, you have a solution. If it’s not, you don’t.

(Linear Dependence)

In the equations above, if the two columns of A\boldsymbol{A} (ingredients) point in the same direction, they are linearly dependent and the span would just be the column vector rather than a plane.

Basis Transformation
A matrix ARm×nA \in \mathbb{R}^{m\times n} represents a a transformation of basis vectors in Rn\mathbb{R}^n to Rm\mathbb{R}^m.
Connections
References
  • #type/intuition
  • #linear-equation
  • #linear-algebra