The Geometry of Linear Equations
The fundamental problem of linear algebra — n equations, n unknowns — seen three ways at once. The row picture (lines and planes intersecting), the column picture (combining vectors), and the matrix form Ax = b. Strang's big claim, first lecture — the column picture is the one to carry with you.
One problem, three pictures
The fundamental problem of linear algebra is to solve a system of linear equations. Strang starts with the nicest case: equations, unknowns, and one solution. But the real content of this lecture isn’t the solving — it’s that the same system can be seen three different ways:
- The row picture — one equation at a time. Each equation draws a line (or a plane), and the solution is where they all meet. This is the picture you already know from school.
- The column picture ★ — one column at a time. The system asks you to combine vectors in the right amounts. Strang stars this one: it may be new to you, and it’s the picture the whole course is built on.
- The matrix form — the algebra: , where holds the coefficients, the unknowns, the right-hand side.
A 2×2 example, written as a matrix
Take two equations in two unknowns:
Before any pictures, Strang can’t resist writing the matrix form. The coefficient matrix collects the numbers, and the system becomes
Every linear system in this course will be written this way: .
The row picture: where lines meet
Take one row at a time and plot every point that satisfies it.
The first equation, , passes through the origin (put — it works), and through . All its solutions form a line — that’s what linear means.
The second equation, , does not pass through the origin (). Setting gives ; setting gives . Connect the points: a second line.
The two lines meet at exactly one point: . Check it in both equations: ✓ and ✓. That intersection point is the solution.
The column picture: combining vectors
Now the key move. Instead of reading the system row by row, read it column by column:
The columns of are vectors, and the equation asks: in what amounts should we combine them to produce ?
Geometrically: draw column one, . From its tip, attach column two, — and since we need two of it, attach it twice. You land exactly at . One of column one plus two of column two: the coefficients are precisely the solution found in the row picture.
Don’t take the lecture’s word for it — drive both pictures yourself. Slide and and watch the same pair of numbers move a point across two lines and steer a chain of column vectors toward . They agree only at the solution.
Three equations, three unknowns
Now a 3×3 system:
Row picture: each equation is now a plane in -space. Two planes meet in a line; the third plane cuts that line in a point — the solution. But Strang admits the art is the weak point: three planes meeting is already hard to see, and in four dimensions it’s hopeless. The row picture runs out of steam.
Column picture: combine three column vectors to produce :
This right-hand side was chosen kindly: is the third column. So the combination is obvious — none of column one, none of column two, one of column three: . That’s the point where the three planes met, and the column picture found it by inspection.
And if changes? Set , the sum of columns one and two — then the solution flips to . Same columns, new combination. The column picture handles a change of right-hand side gracefully; the row picture would redraw all three planes.
Strang apologizes for his board drawing here (“your lecturer is not Rembrandt”). Fair enough — here is the picture he was reaching for, in actual 3D. Drag it around until you can see that sits exactly on the tip of column 3, then switch to column 1 + column 2 and watch the tip-to-tail chain land on it:
The three columns of A live in 3-dimensional space. The question "solve Ax = b" asks: how much of each column lands on the yellow b? Rotate the picture — what Strang couldn't draw on the board, you can turn in your hands.
Can we solve Ax = b for every b?
Here’s the big question the example raises, asked two ways:
- Algebra: does have a solution for every right-hand side ?
- Geometry: do the linear combinations of the columns fill the whole space?
Same question, different words. For the matrix above the answer is yes — it’s what we’ll call a non-singular, invertible matrix, the kind we like best.
Strang then dares nine dimensions: nine equations, nine unknowns, nine column vectors in . You can’t visualize it — “pretend you do.” A random 9×9 matrix is virtually certain to be invertible. But if the ninth column repeats the eighth, it adds nothing new, and the combinations fill only an eight-dimensional plane inside nine-dimensional space. Getting comfortable with that sentence is learning linear algebra.
How to multiply A times x
One piece of unfinished business: what does actually mean? Two ways to compute it.
Problems
Work these before revealing the solutions. The lecture gives you everything you need.
Draw the row picture and the column picture for the system
and solve it both ways.
Show solution
Row picture: the lines and intersect at .
Column picture:
One of each column: , so . Both pictures give .
Compute for
first as a combination of the columns of , then row by row as dot products.
Show solution
By columns:
By rows: and . Same result: .
For which number is the matrix
singular — that is, for which do the two columns lie on the same line? For that , describe which right-hand sides make solvable.
Show solution
The columns and are parallel when , i.e. .
Then every combination of the columns is a multiple of , so is solvable exactly when lies on that line — when . Every other is unreachable.
Suppose is a 3×3 matrix whose third column equals the sum of its first two columns. Without computing anything, give one right-hand side for which definitely has a solution, and explain geometrically why some right-hand sides have none.
Show solution
Any combination of the columns works as a reachable — the simplest is (take ), or , which even has two visible solutions: and .
Geometrically, all three columns lie in one plane (the third adds no new direction), so every combination stays in that plane. Any off the plane is unreachable — the matrix is singular.