Linear AlgebraLinear Systems1 of 8
Linear Systems · 1

The Geometry of Linear Equations

We know how to solve a system of linear equations with algebra, and now we want to see what those equations actually look like in space.

1

The Row Picture

In the Row Picture, we look at a system one equation at a time and find the point where their graphs meet.

Consider this two-equation system:

2x−y=0−x+2y=3\displaystyle \begin{aligned} \rowone{2x - y} &= \rowone{0} \\ \rowtwo{-x + 2y} &= \rowtwo{3} \end{aligned}
The Row Picture
2x−y=0−x+2y=3\begin{aligned} \rowone{2x - y} &= \rowone{0} \\ \rowtwo{-x + 2y} &= \rowtwo{3} \end{aligned}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
−3\htmlClass{lc-mute}{-3}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
2\htmlClass{lc-mute}{2}
4\htmlClass{lc-mute}{4}
Text solution
Plot the first row as a lineEvery pair (x,y)(x, y) that satisfies the top equation lies on a straight line passing through (0,0)(0, 0) and (1,2)(1, 2).
2x−y=0  ⟹  2(1)−2\displaystyle \rowone{2x - y = 0} \implies 2(1) - 2 =0\displaystyle = 0
Plot the second row and find the intersectionEvery pair (x,y)(x, y) that satisfies the bottom equation lies on a second line passing through (−3,0)(-3, 0) and (1,2)(1, 2).
−x+2y=3  ⟹  −(1)+2(2)\displaystyle \rowtwo{-x + 2y = 3} \implies -(1) + 2(2) =3\displaystyle = 3

So (x,y)=(1,2)(x, y) = (1, 2) solves the system because it is the single point where both lines cross.

When we add a third variable, each equation becomes a flat plane in 3D space:

2x−y+z=0−x+2y−z=−13y+2z=4\displaystyle \begin{aligned} \rowone{2x - y + z} &= \rowone{0} \\ \rowtwo{-x + 2y - z} &= \rowtwo{-1} \\ \rowthree{3y + 2z} &= \rowthree{4} \end{aligned}
one plane
2x−y+z=0\htmlClass{lc-blue}{2x - y + z = 0}
two meet in a line
−x+2y−z=−1\htmlClass{lc-violet}{-x + 2y - z = -1}
three meet at a point
3y+2z=4\htmlClass{lc-orange}{3y + 2z = 4}

Two non-parallel planes meet along a line, and the third plane cuts across that line at a single point. Because intersecting planes get hard to sketch or see as soon as we leave two dimensions, we need a second way to look at the exact same equations.

2

The Column Picture

In the Column Picture, we read straight down the columns of the system and ask how much of each column vector we need to combine to reach the target vector on the right-hand side.

Let's take our 2D system and group the numbers vertically by variable instead of horizontally by row:

2x−y=0−x+2y=3\displaystyle \begin{aligned} \colone{2x} - \coltwo{y} &= \target{0} \\ \colone{-x} + \coltwo{2y} &= \target{3} \end{aligned}
The Column Picture
x[2−1]+y[−12]=[03]\colone{x\begin{bmatrix} 2 \\ -1 \end{bmatrix}} + \coltwo{y\begin{bmatrix} -1 \\ 2 \end{bmatrix}} = \target{\begin{bmatrix} 0 \\ 3 \end{bmatrix}}
Target\htmlClass{lc-blue}{\text{Target}}
−1\htmlClass{lc-mute}{-1}
2\htmlClass{lc-mute}{2}
−1\htmlClass{lc-mute}{-1}
2\htmlClass{lc-mute}{2}
Text solution
Turn the columns into vectorsPut the coefficients of x\colone{x}, the coefficients of y\coltwo{y}, and the right-hand side into column vectors starting at (0,0)(0, 0).
x[2−1]⏟Column 1+y[−12]⏟Column 2=[03]⏟Target\displaystyle \colone{x\underbrace{\begin{bmatrix} 2 \\ -1 \end{bmatrix}}_{\text{Column 1}}} + \coltwo{y\underbrace{\begin{bmatrix} -1 \\ 2 \end{bmatrix}}_{\text{Column 2}}} = \target{\underbrace{\begin{bmatrix} 0 \\ 3 \end{bmatrix}}_{\text{Target}}}
Scale and add the column arrows tip to tailUsing x=1\colone{x} = \colone{1} and y=2\coltwo{y} = \coltwo{2} as the weights in this linear combination, take 1\colone{1} of the first arrow and add 2\coltwo{2} of the second arrow.
1[2−1]+2[−12]=[2−1]+[−24]=[03]\displaystyle \begin{aligned} \colone{1\begin{bmatrix} 2 \\ -1 \end{bmatrix}} + \coltwo{2\begin{bmatrix} -1 \\ 2 \end{bmatrix}} &= \colone{\begin{bmatrix} 2 \\ -1 \end{bmatrix}} + \coltwo{\begin{bmatrix} -2 \\ 4 \end{bmatrix}} \\ &= \target{\begin{bmatrix} 0 \\ 3 \end{bmatrix}} \end{aligned}

So (x,y)=(1,2)(\colone{x}, \coltwo{y}) = (\colone{1}, \coltwo{2}) is the pair of weights that makes the tip-to-tail sum of the column arrows land right on the target [03]\target{\begin{bmatrix} 0 \\ 3 \end{bmatrix}}.

Now look at the 3D system in the Column Picture, writing 0x\colone{0x} in the bottom row for the missing x\colone{x} term so every column has three entries:

x[2−10]+y[−123]+z[1−12]=[0−14]\displaystyle \colone{x\begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}} + \coltwo{y\begin{bmatrix} -1 \\ 2 \\ 3 \end{bmatrix}} + \colthree{z\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}} = \target{\begin{bmatrix} 0 \\ -1 \\ 4 \end{bmatrix}}

Instead of three planes, we only have to picture three arrows from the origin and one target dot in 3D space. Better yet, if we change the target on the right-hand side to [1−12]\target{\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}}, it matches the third column arrow:

0[2−10]+0[−123]+1[1−12]=[1−12]\displaystyle \colone{0\begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}} + \coltwo{0\begin{bmatrix} -1 \\ 2 \\ 3 \end{bmatrix}} + \colthree{1\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}} = \target{\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}}

So (x,y,z)=(0,0,1)(\colone{x}, \coltwo{y}, \colthree{z}) = (\colone{0}, \coltwo{0}, \colthree{1}) solves the system right away without any elimination.

Each line in the Row Picture fixes one coordinate of the combined column arrows, so at the intersection point (1,2)(1, 2), both coordinates match at once and the arrows land right on [03]\target{\begin{bmatrix} 0 \\ 3 \end{bmatrix}}.

Each point in the Row Picture sets the weights for the two column arrows, matching one coordinate along each line and both where the lines cross.
3

How a 2D System Breaks

The set of all targets we can reach by combining column vectors is their span. When neither of two 2D arrows is a multiple of the other, they are linearly independent and their span fills the whole plane, so every target has one solution. A 2D system breaks down when one column arrow is a multiple of the other.

Let's change the second column of our 2D system so the equations become:

2x−4y=0−x+2y=3\displaystyle \begin{aligned} \colone{2x} - \coltwo{4y} &= \target{0} \\ \colone{-x} + \coltwo{2y} &= \target{3} \end{aligned}
How a 2D System Breaks
x[2−1]+y[−42]=[03]\colone{x\begin{bmatrix} 2 \\ -1 \end{bmatrix}} + \coltwo{y\begin{bmatrix} -4 \\ 2 \end{bmatrix}} = \target{\begin{bmatrix} 0 \\ 3 \end{bmatrix}}
Target\htmlClass{lc-blue}{\text{Target}}
−4\htmlClass{lc-mute}{-4}
−2\htmlClass{lc-mute}{-2}
2\htmlClass{lc-mute}{2}
−1\htmlClass{lc-mute}{-1}
2\htmlClass{lc-mute}{2}
Text solution
Check if one column arrow is a multiple of the otherIn the Column Picture, the second column is −2-2 times the first column, so the two arrows are linearly dependent and their span shrinks to a single line through (0,0)(0, 0).
x[2−1]+y[−42]⏟−2[2−1]=[03]\displaystyle \colone{x\begin{bmatrix} 2 \\ -1 \end{bmatrix}} + \coltwo{y}\underbrace{\coltwo{\begin{bmatrix} -4 \\ 2 \end{bmatrix}}}_{-2\colone{\begin{bmatrix} 2 \\ -1 \end{bmatrix}}} = \target{\begin{bmatrix} 0 \\ 3 \end{bmatrix}}
Test a target off the column line (no solution)The target [03]\target{\begin{bmatrix} 0 \\ 3 \end{bmatrix}} sits off the line of [2−1]\colone{\begin{bmatrix} 2 \\ -1 \end{bmatrix}}. In the Row Picture, this means the two equations have the same slope but different intercepts, forming parallel lines that never cross.
−2(−x+2y)\displaystyle -2(\rowtwo{-x + 2y}) =2x−4y,but−2(3)≠0\displaystyle = \rowone{2x - 4y}, \quad \text{but} \quad -2(\rowtwo{3}) \neq \rowone{0}
Test a target on the column line (infinitely many solutions)If we move the target onto that line at [−21]\target{\begin{bmatrix} -2 \\ 1 \end{bmatrix}}, multiplying the bottom equation −x+2y=1\rowtwo{-x + 2y = 1} by −2-2 gives the top equation 2x−4y=−2\rowone{2x - 4y = -2}, so both rows are the exact same line and infinitely many weight pairs (x,y)(\colone{x}, \coltwo{y}) reach the target.
−1[2−1]+0[−42]=[−21]and1[2−1]+1[−42]=[−21]\displaystyle \begin{aligned} \colone{-1\begin{bmatrix} 2 \\ -1 \end{bmatrix}} + \coltwo{0\begin{bmatrix} -4 \\ 2 \end{bmatrix}} &= \target{\begin{bmatrix} -2 \\ 1 \end{bmatrix}} \quad \text{and} \\ \colone{1\begin{bmatrix} 2 \\ -1 \end{bmatrix}} + \coltwo{1\begin{bmatrix} -4 \\ 2 \end{bmatrix}} &= \target{\begin{bmatrix} -2 \\ 1 \end{bmatrix}} \end{aligned}

So a broken 2D system has no solution when the target sits off the shared column line (parallel lines in the Row Picture), and infinitely many solutions when the target lies on that column line (one shared line in the Row Picture).

Two column arrows reach the whole plane as long as they point along different lines through the origin, which is when the two row lines cross at a single point; the instant one arrow lines up with the other, their span shrinks to a line through the origin and the row lines turn parallel.

As long as Column 2 points off Column 1’s line, the two columns span the whole plane in the Column Picture and the two lines cross at one point in the Row Picture.
4

How a 3D System Breaks

In 2D, a system only breaks when the two column arrows are parallel. In 3D, a system can break even when no two arrows are parallel, if the third arrow lies inside the 2D plane already spanned by the first two.

Consider this 3D system where all three column arrows point in different directions:

x[2−10]+y[−123]+z[113]=Target\displaystyle \colone{x\begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}} + \coltwo{y\begin{bmatrix} -1 \\ 2 \\ 3 \end{bmatrix}} + \colthree{z\begin{bmatrix} 1 \\ 1 \\ 3 \end{bmatrix}} = \target{\text{Target}}
How a 3D System Breaks
x[2−10]+y[−123]+z[113]=Target\colone{x\begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}} + \coltwo{y\begin{bmatrix} -1 \\ 2 \\ 3 \end{bmatrix}} + \colthree{z\begin{bmatrix} 1 \\ 1 \\ 3 \end{bmatrix}} = \target{\text{Target}}
Text solution
Check if the third arrow is a combination of the first twoAdding the first two column arrows gives the third arrow, which means Arrow 3 lies flat inside the 2D plane spanned by Arrow 1 and Arrow 2, so all combinations stay stuck on that plane.
[2−10]⏟Arrow 1+[−123]⏟Arrow 2=[113]⏟Arrow 3\displaystyle \colone{\underbrace{\begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}}_{\text{Arrow 1}}} + \coltwo{\underbrace{\begin{bmatrix} -1 \\ 2 \\ 3 \end{bmatrix}}_{\text{Arrow 2}}} = \colthree{\underbrace{\begin{bmatrix} 1 \\ 1 \\ 3 \end{bmatrix}}_{\text{Arrow 3}}}
Compare the left-hand sides in the Row PictureAcross the rows, the third left-hand side is the first plus twice the second, which tilts the third plane parallel to the intersection line of the first two planes.
(2x−y+z)+2(−x+2y+z)\displaystyle (\rowone{2x - y + z}) + 2(\rowtwo{-x + 2y + z}) =3y+3z\displaystyle = \rowthree{3y + 3z}
2x−y+z=b1−x+2y+z=b23y+3z=b3\begin{aligned} \htmlClass{lc-blue}{2x - y + z} &= \htmlClass{lc-blue}{b_1} \\ \htmlClass{lc-violet}{-x + 2y + z} &= \htmlClass{lc-violet}{b_2} \\ \htmlClass{lc-orange}{3y + 3z} &= \htmlClass{lc-orange}{b_3} \end{aligned}
Target off the column plane:
no solution
seen along
the line
Target on the column plane:
infinitely many solutions
seen along
the line

So when the target sits off the plane spanned by the columns, the third row plane misses the intersection line of the first two and there is no solution; when the target lies on that column plane, all three row planes meet along a single shared line and there are infinitely many solutions.

The three arrows span all of 3D space as long as the third arrow points outside the plane of the first two, so the three row planes meet at a point; when the third arrow drops into that plane, the span flattens onto the sheet and the third row plane tilts parallel to where the first two meet.

Whenever the third column arrow lies in the plane of the first two, their 3D span flattens to 2D and the third row plane tilts parallel to the intersection line of the other two.
5

The Matrix Equation Ax=bAx = b

To write a linear system in a single equation that shows both the Row Picture and the Column Picture at once, we put the column vectors side by side into a matrix AA.

Let's return to our working 3D system:

x[2−10]+y[−123]+z[1−12]=[0−14]\displaystyle \colone{x\begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}} + \coltwo{y\begin{bmatrix} -1 \\ 2 \\ 3 \end{bmatrix}} + \colthree{z\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}} = \target{\begin{bmatrix} 0 \\ -1 \\ 4 \end{bmatrix}}
The Matrix Equation Ax = b
[2−11−12−1032]⏟A[123]=[???]\displaystyle \underbrace{\begin{bmatrix} \colone{2} & \coltwo{-1} & \colthree{1} \\ \colone{-1} & \coltwo{2} & \colthree{-1} \\ \colone{0} & \coltwo{3} & \colthree{2} \end{bmatrix}}_{A}\begin{bmatrix} \colone{1} \\ \coltwo{2} \\ \colthree{3} \end{bmatrix} = \begin{bmatrix} ? \\ ? \\ ? \end{bmatrix}

Putting the three columns into AA, the unknowns into a vector xx, and the target into b\target{b} gives the matrix equation Ax=bAx = \target{b}:

[2−11−12−1032]⏟A[xyz]⏟x=[0−14]⏟b\displaystyle \underbrace{\begin{bmatrix} \colone{2} & \coltwo{-1} & \colthree{1} \\ \colone{-1} & \coltwo{2} & \colthree{-1} \\ \colone{0} & \coltwo{3} & \colthree{2} \end{bmatrix}}_{A}\underbrace{\begin{bmatrix} \colone{x} \\ \coltwo{y} \\ \colthree{z} \end{bmatrix}}_{x} = \target{\underbrace{\begin{bmatrix} 0 \\ -1 \\ 4 \end{bmatrix}}_{b}}

Notice that in Ax=bAx = \target{b}, the letter xx stands for the whole vector of unknowns [xyz]\begin{bmatrix} \colone{x} \\ \coltwo{y} \\ \colthree{z} \end{bmatrix}, not just the first coordinate. When we plug in a specific vector such as x=[123]x = \begin{bmatrix} \colone{1} \\ \coltwo{2} \\ \colthree{3} \end{bmatrix}, we can compute AxAx using either picture.

Text solution
Multiply by columns (The Column Picture)Use the entries of x=[123]x = \begin{bmatrix} \colone{1} \\ \coltwo{2} \\ \colthree{3} \end{bmatrix} as weights to combine the three columns of AA.
1[2−10]+2[−123]+3[1−12]=[2−2+3−1+4−30+6+6]=[3012]\displaystyle \begin{aligned} &\colone{1\begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}} + \coltwo{2\begin{bmatrix} -1 \\ 2 \\ 3 \end{bmatrix}} + \colthree{3\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}} \\ &= \begin{bmatrix} \colone{2} - \coltwo{2} + \colthree{3} \\ \colone{-1} + \coltwo{4} - \colthree{3} \\ \colone{0} + \coltwo{6} + \colthree{6} \end{bmatrix} \\ &= \begin{bmatrix} 3 \\ 0 \\ 12 \end{bmatrix} \end{aligned}
Multiply by rows (The Row Picture)Take the dot product of each row of AA with the vector x=[123]x = \begin{bmatrix} \colone{1} \\ \coltwo{2} \\ \colthree{3} \end{bmatrix}, one row at a time.
[(2)(1)+(−1)(2)+(1)(3)(−1)(1)+(2)(2)+(−1)(3)(0)(1)+(3)(2)+(2)(3)]=[3012]\displaystyle \begin{bmatrix} (2)(\colone{1}) + (-1)(\coltwo{2}) + (1)(\colthree{3}) \\ (-1)(\colone{1}) + (2)(\coltwo{2}) + (-1)(\colthree{3}) \\ (0)(\colone{1}) + (3)(\coltwo{2}) + (2)(\colthree{3}) \end{bmatrix} = \begin{bmatrix} 3 \\ 0 \\ 12 \end{bmatrix}

Both computations give the exact same vector Ax=[3012]Ax = \begin{bmatrix} 3 \\ 0 \\ 12 \end{bmatrix}. Multiplying by rows is fast when you only need to calculate one entry of AxAx by hand, while multiplying by columns shows how the weights in xx combine the column vectors of AA in space.

Key concepts

Every system of linear equations can be written as the matrix equation Ax=bAx = \target{b} and read in two ways:

[2−1−12]⏟A[xy]⏟x=x[2−1]⏟Column 1+y[−12]⏟Column 2=[03]⏟b\displaystyle \begin{aligned} \underbrace{\begin{bmatrix} \colone{2} & \coltwo{-1} \\ \colone{-1} & \coltwo{2} \end{bmatrix}}_{A}\underbrace{\begin{bmatrix} \colone{x} \\ \coltwo{y} \end{bmatrix}}_{x} &= \colone{x\underbrace{\begin{bmatrix} 2 \\ -1 \end{bmatrix}}_{\text{Column 1}}} + \coltwo{y\underbrace{\begin{bmatrix} -1 \\ 2 \end{bmatrix}}_{\text{Column 2}}} \\ &= \target{\underbrace{\begin{bmatrix} 0 \\ 3 \end{bmatrix}}_{b}} \end{aligned}

In the Row Picture, you read across each row by taking the dot product of each row of AA with xx. In space, each row is a line in 2D or a plane in 3D, and a solution is a point where all of them meet. In the Column Picture, you read down the columns of AA as arrows from the origin, and the unknowns in xx are the weights needed to make the linear combination of those arrows land on the target b\target{b}. Use the Column Picture whenever you want to picture a 3D system without sketching intersecting planes, or when the target b\target{b} already matches a column or a simple combination of columns. For example, in x[2−10]+y[−123]+z[1−12]=[1−12]\colone{x\begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}} + \coltwo{y\begin{bmatrix} -1 \\ 2 \\ 3 \end{bmatrix}} + \colthree{z\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}} = \target{\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}}, don't spend time doing row elimination when the third column is already the target, giving (x,y,z)=(0,0,1)(\colone{x}, \coltwo{y}, \colthree{z}) = (\colone{0}, \coltwo{0}, \colthree{1}). On the other hand, if you just need to check whether a given point satisfies one specific equation in the system, plug it straight into that single row rather than writing out all the column vectors.

Whether Ax=bAx = \target{b} has one solution, no solution, or infinitely many solutions comes down to whether the columns of AA are linearly independent:

Key concept

When the columns are independent, like two non-parallel arrows [2−1]\colone{\begin{bmatrix} 2 \\ -1 \end{bmatrix}} and [−12]\coltwo{\begin{bmatrix} -1 \\ 2 \end{bmatrix}} in 2D, or three arrows in 3D that do not lie in a single plane, their span fills the whole space, and the row lines or planes cross at a single point for every target b\target{b}.

Key concept

When the columns are linearly dependent, their span shrinks: in 2D, one column is a multiple of the other, such as [−42]=−2[2−1]\coltwo{\begin{bmatrix} -4 \\ 2 \end{bmatrix}} = -2\colone{\begin{bmatrix} 2 \\ -1 \end{bmatrix}} (shrinking the span to a 1D line); in 3D, the third column lies in the plane of the first two, such as [113]=[2−10]+[−123]\colthree{\begin{bmatrix} 1 \\ 1 \\ 3 \end{bmatrix}} = \colone{\begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}} + \coltwo{\begin{bmatrix} -1 \\ 2 \\ 3 \end{bmatrix}} (keeping the span stuck on a 2D plane). Once the span shrinks, a target b\target{b} off that line or plane cannot be reached and gives no solution (parallel lines in 2D, or planes in 3D that miss a common point), while a target b\target{b} on that line or plane can be reached in endlessly many ways and gives infinitely many solutions (the same line in 2D, or planes meeting along a shared line in 3D).

6

Practice

1

Rewrite the system x−2y+z=3x - 2y + z = 3, 3x+y−z=43x + y - z = 4, 2y+3z=112y + 3z = 11 in column form and in matrix form Ax=bAx = \target{b}. Then take the vector x=[213]x = \begin{bmatrix} \colone{2} \\ \coltwo{1} \\ \colthree{3} \end{bmatrix} and compute AxAx in two ways: by columns and by rows.

Look at the bottom equation 2y+3z=112y + 3z = 11: what number belongs in the first column for the missing xx term?

Be careful not to shift 2y+3z=112y + 3z = 11 to the left and write the bottom row as [2,3,0][2, 3, 0]; the missing x\colone{x} term has coefficient 0\colone{0}, so the bottom row is [0,2,3][\colone{0}, \coltwo{2}, \colthree{3}] (shifting the entries left would turn the first column into [132]\begin{bmatrix} 1 \\ 3 \\ 2 \end{bmatrix} and give the wrong product [347]\begin{bmatrix} 3 \\ 4 \\ 7 \end{bmatrix}).
Column form:
x[130]+y[−212]+z[1−13]=[3411]\displaystyle \colone{x\begin{bmatrix} 1 \\ 3 \\ 0 \end{bmatrix}} + \coltwo{y\begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix}} + \colthree{z\begin{bmatrix} 1 \\ -1 \\ 3 \end{bmatrix}} = \target{\begin{bmatrix} 3 \\ 4 \\ 11 \end{bmatrix}}
Matrix form:
[1−2131−1023][xyz]=[3411]\displaystyle \begin{bmatrix} \colone{1} & \coltwo{-2} & \colthree{1} \\ \colone{3} & \coltwo{1} & \colthree{-1} \\ \colone{0} & \coltwo{2} & \colthree{3} \end{bmatrix}\begin{bmatrix} \colone{x} \\ \coltwo{y} \\ \colthree{z} \end{bmatrix} = \target{\begin{bmatrix} 3 \\ 4 \\ 11 \end{bmatrix}}
By columns:
2[130]+1[−212]+3[1−13]=[2−2+36+1−30+2+9]=[3411]\displaystyle \begin{aligned} & \colone{2\begin{bmatrix} 1 \\ 3 \\ 0 \end{bmatrix}} + \coltwo{1\begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix}} + \colthree{3\begin{bmatrix} 1 \\ -1 \\ 3 \end{bmatrix}} \\ &\quad = \begin{bmatrix} \colone{2} - \coltwo{2} + \colthree{3} \\ \colone{6} + \coltwo{1} - \colthree{3} \\ \colone{0} + \coltwo{2} + \colthree{9} \end{bmatrix} = \target{\begin{bmatrix} 3 \\ 4 \\ 11 \end{bmatrix}} \end{aligned}
By rows:
[(1)(2)+(−2)(1)+(1)(3)(3)(2)+(1)(1)+(−1)(3)(0)(2)+(2)(1)+(3)(3)]=[3411]\displaystyle \begin{bmatrix} (1)(\colone{2}) + (-2)(\coltwo{1}) + (1)(\colthree{3}) \\ (3)(\colone{2}) + (1)(\coltwo{1}) + (-1)(\colthree{3}) \\ (0)(\colone{2}) + (2)(\coltwo{1}) + (3)(\colthree{3}) \end{bmatrix} = \target{\begin{bmatrix} 3 \\ 4 \\ 11 \end{bmatrix}}
Since Ax=[3411]=bAx = \target{\begin{bmatrix} 3 \\ 4 \\ 11 \end{bmatrix}} = \target{b}, [213]\begin{bmatrix} \colone{2} \\ \coltwo{1} \\ \colthree{3} \end{bmatrix} solves the system.
2

Solve the system 4x−y+3z=−14x - y + 3z = -1, −2x+5y−z=5-2x + 5y - z = 5, 7x−2y+4z=−27x - 2y + 4z = -2 just by looking at the Column Picture, without doing elimination.

Write the three columns as vectors and compare each one with the target vector on the right-hand side.

In the Column Picture, keep the minus signs attached to the coefficients as you read down the second column (dropping the minus signs on −y-y and −2y-2y gives [152]\begin{bmatrix} 1 \\ 5 \\ 2 \end{bmatrix}, and flipping the sign of the weight to y=−1y = -1 gives [1−52]\begin{bmatrix} 1 \\ -5 \\ 2 \end{bmatrix} instead of the target):
x[4−27]+y[−15−2]+z[3−14]=[−15−2]\displaystyle \colone{x\begin{bmatrix} 4 \\ -2 \\ 7 \end{bmatrix}} + \coltwo{y\begin{bmatrix} -1 \\ 5 \\ -2 \end{bmatrix}} + \colthree{z\begin{bmatrix} 3 \\ -1 \\ 4 \end{bmatrix}} = \target{\begin{bmatrix} -1 \\ 5 \\ -2 \end{bmatrix}}
Because the target vector [−15−2]\target{\begin{bmatrix} -1 \\ 5 \\ -2 \end{bmatrix}} is the exact same as the second column arrow, we take 0\colone{0} of Arrow 1, 1\coltwo{1} of Arrow 2, and 0\colthree{0} of Arrow 3: x=0,y=1,z=0\colone{x} = \colone{0}, \coltwo{y} = \coltwo{1}, \colthree{z} = \colthree{0}.
3

The system x+2y=5x + 2y = 5 and 3x−y=13x - y = 1 has the solution x=1,y=2x = 1, y = 2. Explain what (1,2)(1, 2) means in space in the Row Picture and in the Column Picture, including where the tip-to-tail path lands at each step in the Column Picture.

In the Row Picture, (1,2)(1, 2) is a single point on the coordinate plane; in the Column Picture, 1\colone{1} and 2\coltwo{2} are the weights multiplying the columns [13]\colone{\begin{bmatrix} 1 \\ 3 \end{bmatrix}} and [2−1]\coltwo{\begin{bmatrix} 2 \\ -1 \end{bmatrix}}.

In the Row Picture, (1,2)(1, 2) is the single intersection point where the lines x+2y=5\rowone{x + 2y = 5} and 3x−y=1\rowtwo{3x - y = 1} cross. In the Column Picture, be careful to use the vertical columns [13]\colone{\begin{bmatrix} 1 \\ 3 \end{bmatrix}} and [2−1]\coltwo{\begin{bmatrix} 2 \\ -1 \end{bmatrix}} rather than the horizontal rows [12]\begin{bmatrix} 1 \\ 2 \end{bmatrix} and [3−1]\begin{bmatrix} 3 \\ -1 \end{bmatrix} (using the rows makes the path land on (1,2)(1, 2) and then (7,0)(7, 0) instead of the target): x=1\colone{x} = \colone{1} and y=2\coltwo{y} = \coltwo{2} are the weights needed to combine the column arrows [13]\colone{\begin{bmatrix} 1 \\ 3 \end{bmatrix}} and [2−1]\coltwo{\begin{bmatrix} 2 \\ -1 \end{bmatrix}} to reach the target [51]\target{\begin{bmatrix} 5 \\ 1 \end{bmatrix}}. Starting at (0,0)(0, 0), taking 1\colone{1} of [13]\colone{\begin{bmatrix} 1 \\ 3 \end{bmatrix}} reaches (1,3)\colone{(1, 3)}, and adding 2\coltwo{2} of [2−1]\coltwo{\begin{bmatrix} 2 \\ -1 \end{bmatrix}} adds (4,−2)\coltwo{(4, -2)} to land on (5,1)\target{(5, 1)}.
4

Consider the system 3x−6y=b13x - 6y = b_1 and −x+2y=b2-x + 2y = b_2. (a) What is the span of its column arrows in the Column Picture? (b) If the target is [b1b2]=[04]\target{\begin{bmatrix} b_1 \\ b_2 \end{bmatrix}} = \target{\begin{bmatrix} 0 \\ 4 \end{bmatrix}}, how many solutions are there, and what do the equations look like in the Row Picture? (c) Answer the same questions for the target [b1b2]=[−62]\target{\begin{bmatrix} b_1 \\ b_2 \end{bmatrix}} = \target{\begin{bmatrix} -6 \\ 2 \end{bmatrix}}, and give two different solutions (x,y)(x, y).

Compare the second column [−62]\coltwo{\begin{bmatrix} -6 \\ 2 \end{bmatrix}} with the first column [3−1]\colone{\begin{bmatrix} 3 \\ -1 \end{bmatrix}}: what number multiplies the first arrow to give the second?

(a) The columns are [3−1]\colone{\begin{bmatrix} 3 \\ -1 \end{bmatrix}} and [−62]=−2[3−1]\coltwo{\begin{bmatrix} -6 \\ 2 \end{bmatrix}} = -2\colone{\begin{bmatrix} 3 \\ -1 \end{bmatrix}}; because the second arrow is a multiple of the first, they are linearly dependent and their span shrinks to a single line through the origin.
(b) For [04]\target{\begin{bmatrix} 0 \\ 4 \end{bmatrix}}, the target sits off that line, so there is no solution; in the Row Picture, 3x−6y=0\rowone{3x - 6y = 0} and −x+2y=4\rowtwo{-x + 2y = 4} are two parallel lines that never cross.
(c) For [−62]\target{\begin{bmatrix} -6 \\ 2 \end{bmatrix}}, the target lies on the line of the columns, so there are infinitely many solutions; in the Row Picture, multiplying −x+2y=2\rowtwo{-x + 2y = 2} by −3-3 gives 3x−6y=−6\rowone{3x - 6y = -6}, so both equations are the exact same line. When finding solutions, watch the minus signs on [−62]\target{\begin{bmatrix} -6 \\ 2 \end{bmatrix}} (setting x=0x = 0 and dropping the negative sign in −6y=−6-6y = -6 gives (0,−1)(0, -1), which produces [6−2]\begin{bmatrix} 6 \\ -2 \end{bmatrix} instead of [−62]\begin{bmatrix} -6 \\ 2 \end{bmatrix}): two solutions are (x,y)=(−2,0)(\colone{x}, \coltwo{y}) = (\colone{-2}, \coltwo{0}) and (x,y)=(0,1)(\colone{x}, \coltwo{y}) = (\colone{0}, \coltwo{1}).
5

Consider the 3D system x+y+2z=b1x + y + 2z = b_1, x−y=b2x - y = b_2, 2x+2z=b32x + 2z = b_3. (a) Write the three column arrows and explain why their span fails to fill 3D space even though no two arrows are parallel. (b) For [b1b2b3]=[115]\target{\begin{bmatrix} b_1 \\ b_2 \\ b_3 \end{bmatrix}} = \target{\begin{bmatrix} 1 \\ 1 \\ 5 \end{bmatrix}}, how many solutions are there, and how do the three planes meet in the Row Picture? (c) For [b1b2b3]=[202]\target{\begin{bmatrix} b_1 \\ b_2 \\ b_3 \end{bmatrix}} = \target{\begin{bmatrix} 2 \\ 0 \\ 2 \end{bmatrix}}, how many solutions are there, how do the three planes meet, and what are two different solutions (x,y,z)(x, y, z)?

Add the first two column arrows together and compare their sum with the third column arrow.

(a) The column arrows are [112]\colone{\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}}, [1−10]\coltwo{\begin{bmatrix} 1 \\ -1 \\ 0 \end{bmatrix}}, and [202]\colthree{\begin{bmatrix} 2 \\ 0 \\ 2 \end{bmatrix}}. Don't stop after checking that no two arrows are multiples of each other (which would make it look like their span is all of 3D space): here Arrow 3=Arrow 1+Arrow 2\colthree{\text{Arrow 3}} = \colone{\text{Arrow 1}} + \coltwo{\text{Arrow 2}}, so Arrow 3 lies in the 2D plane spanned by the first two arrows and all combinations stay stuck on that plane.
(b) For [115]\target{\begin{bmatrix} 1 \\ 1 \\ 5 \end{bmatrix}}, the target lies off that plane (since Row 1+Row 2\rowone{\text{Row 1}} + \rowtwo{\text{Row 2}} gives 2x+2z=2≠5\rowthree{2x + 2z} = 2 \neq \rowthree{5}), so there is no solution; in the Row Picture, the third plane runs parallel to the intersection line of the first two planes and misses it, so every pair of planes meets in a line with no point shared by all three.
(c) For [202]\target{\begin{bmatrix} 2 \\ 0 \\ 2 \end{bmatrix}}, the target lies on the plane spanned by the columns, so there are infinitely many solutions and all three planes meet along a single shared line. Since the target [202]\target{\begin{bmatrix} 2 \\ 0 \\ 2 \end{bmatrix}} equals Arrow 3 and also equals Arrow 1+Arrow 2\colone{\text{Arrow 1}} + \coltwo{\text{Arrow 2}} (remembering to set the unused weight to 00 rather than 11, which would give (1,1,1)(1, 1, 1) and land on [404]\begin{bmatrix} 4 \\ 0 \\ 4 \end{bmatrix}), two solutions are (x,y,z)=(0,0,1)(\colone{x}, \coltwo{y}, \colthree{z}) = (\colone{0}, \coltwo{0}, \colthree{1}) and (x,y,z)=(1,1,0)(\colone{x}, \coltwo{y}, \colthree{z}) = (\colone{1}, \coltwo{1}, \colthree{0}).