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−x+2y=0=3
The Row Picture
Text solution
Plot the first row as a lineEvery pair (x,y) that satisfies the top equation lies on a straight line passing through (0,0) and (1,2).
2x−y=0⟹2(1)−2=0
Plot the second row and find the intersectionEvery pair (x,y) that satisfies the bottom equation lies on a second line passing through (−3,0) and (1,2).
−x+2y=3⟹−(1)+2(2)=3
So (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−x+2y−z3y+2z=0=−1=4
one plane
2x−y+z=0
two meet in a line
−x+2y−z=−1
three meet at a point
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−x+2y=0=3
The Column Picture
Text solution
Turn the columns into vectorsPut the coefficients of x, the coefficients of y, and the right-hand side into column vectors starting at (0,0).
xColumn 1[2−1]+yColumn 2[−12]=Target[03]
Scale and add the column arrows tip to tailUsing x=1 and y=2 as the weights in this linear combination, take 1 of the first arrow and add 2 of the second arrow.
1[2−1]+2[−12]=[2−1]+[−24]=[03]
So (x,y)=(1,2) is the pair of weights that makes the tip-to-tail sum of the column arrows land right on the target [03].
Now look at the 3D system in the Column Picture, writing 0x in the bottom row for the missing x term so every column has three entries:
x2−10+y−123+z1−12=0−14
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, it matches the third column arrow:
02−10+0−123+11−12=1−12
So (x,y,z)=(0,0,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), both coordinates match at once and the arrows land right on [03].
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−x+2y=0=3
How a 2D System Breaks
Text solution
Check if one column arrow is a multiple of the otherIn the Column Picture, the second column is −2 times the first column, so the two arrows are linearly dependent and their span shrinks to a single line through (0,0).
x[2−1]+y−2[2−1][−42]=[03]
Test a target off the column line (no solution)The target [03] sits off the line of [2−1]. 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)=2x−4y,but−2(3)=0
Test a target on the column line (infinitely many solutions)If we move the target onto that line at [−21], multiplying the bottom equation −x+2y=1 by −2 gives the top equation 2x−4y=−2, so both rows are the exact same line and infinitely many weight pairs (x,y) reach the target.
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:
x2−10+y−123+z113=Target
How a 3D System Breaks
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.
Arrow 12−10+Arrow 2−123=Arrow 3113
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)=3y+3z
2x−y+z−x+2y+z3y+3z=b1=b2=b3
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=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 A.
Let's return to our working 3D system:
x2−10+y−123+z1−12=0−14
The Matrix Equation Ax = b
A2−10−1231−12123=???
Putting the three columns into A, the unknowns into a vector x, and the target into b gives the matrix equation Ax=b:
A2−10−1231−12xxyz=b0−14
Notice that in Ax=b, the letter x stands for the whole vector of unknowns xyz, not just the first coordinate. When we plug in a specific vector such as x=123, we can compute Ax using either picture.
Text solution
Multiply by columns (The Column Picture)Use the entries of x=123 as weights to combine the three columns of A.
Both computations give the exact same vector Ax=3012. Multiplying by rows is fast when you only need to calculate one entry of Ax by hand, while multiplying by columns shows how the weights in x combine the column vectors of A in space.
Key concepts
Every system of linear equations can be written as the matrix equation Ax=b and read in two ways:
In the Row Picture, you read across each row by taking the dot product of each row of A with x. 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 A as arrows from the origin, and the unknowns in x are the weights needed to make the linear combination of those arrows land on the target b. Use the Column Picture whenever you want to picture a 3D system without sketching intersecting planes, or when the target b already matches a column or a simple combination of columns. For example, in x2−10+y−123+z1−12=1−12, don't spend time doing row elimination when the third column is already the target, giving (x,y,z)=(0,0,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=b has one solution, no solution, or infinitely many solutions comes down to whether the columns of A are linearly independent:
Key concept
When the columns are independent, like two non-parallel arrows [2−1] and [−12] 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.
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] (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 (keeping the span stuck on a 2D plane). Once the span shrinks, a target boff 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 bon 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=3,3x+y−z=4,2y+3z=11 in column form and in matrix form Ax=b. Then take the vector x=213 and compute Ax in two ways: by columns and by rows.
Look at the bottom equation 2y+3z=11: what number belongs in the first column for the missing x term?
Be careful not to shift 2y+3z=11 to the left and write the bottom row as [2,3,0]; the missing x term has coefficient 0, so the bottom row is [0,2,3] (shifting the entries left would turn the first column into 132 and give the wrong product 347).
Solve the system 4x−y+3z=−1,−2x+5y−z=5,7x−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 and −2y gives 152, and flipping the sign of the weight to y=−1 gives 1−52 instead of the target):
x4−27+y−15−2+z3−14=−15−2
Because the target vector −15−2 is the exact same as the second column arrow, we take 0 of Arrow 1, 1 of Arrow 2, and 0 of Arrow 3: x=0,y=1,z=0.
3
The system x+2y=5 and 3x−y=1 has the solution x=1,y=2. Explain what (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) is a single point on the coordinate plane; in the Column Picture, 1 and 2 are the weights multiplying the columns [13] and [2−1].
In the Row Picture, (1,2) is the single intersection point where the lines x+2y=5 and 3x−y=1 cross. In the Column Picture, be careful to use the vertical columns [13] and [2−1] rather than the horizontal rows [12] and [3−1] (using the rows makes the path land on (1,2) and then (7,0) instead of the target): x=1 and y=2 are the weights needed to combine the column arrows [13] and [2−1] to reach the target [51]. Starting at (0,0), taking 1 of [13] reaches (1,3), and adding 2 of [2−1] adds (4,−2) to land on (5,1).
4
Consider the system 3x−6y=b1 and −x+2y=b2. (a) What is the span of its column arrows in the Column Picture? (b) If the target is [b1b2]=[04], 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], and give two different solutions (x,y).
Compare the second column [−62] with the first column [3−1]: what number multiplies the first arrow to give the second?
(a) The columns are [3−1] and [−62]=−2[3−1]; 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], the target sits off that line, so there is no solution; in the Row Picture, 3x−6y=0 and −x+2y=4 are two parallel lines that never cross.
(c) For [−62], the target lies on the line of the columns, so there are infinitely many solutions; in the Row Picture, multiplying −x+2y=2 by −3 gives 3x−6y=−6, so both equations are the exact same line. When finding solutions, watch the minus signs on [−62] (setting x=0 and dropping the negative sign in −6y=−6 gives (0,−1), which produces [6−2] instead of [−62]): two solutions are (x,y)=(−2,0) and (x,y)=(0,1).
5
Consider the 3D system x+y+2z=b1,x−y=b2,2x+2z=b3. (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, how many solutions are there, and how do the three planes meet in the Row Picture? (c) For b1b2b3=202, how many solutions are there, how do the three planes meet, and what are two different solutions (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,1−10, and 202. 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, 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, the target lies off that plane (since Row 1+Row 2 gives 2x+2z=2=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, 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 equals Arrow 3 and also equals Arrow 1+Arrow 2 (remembering to set the unused weight to 0 rather than 1, which would give (1,1,1) and land on 404), two solutions are (x,y,z)=(0,0,1) and (x,y,z)=(1,1,0).