The fundamental problem of linear algebra is to solve n linear equations in n unknowns, Ax = b. There are three ways to see it. The row picture takes one equation at a time: in two dimensions each is a line and the solution is where the lines meet; in three dimensions each is a plane. The column picture, the important one, asks for the linear combination of the columns of A that produces b. For 2x − y = 0, −x + 2y = 3, one of column (2, −1) plus two of column (−1, 2) gives (0, 3). If the columns are independent, their combinations fill the whole space and Ax = b is solvable for every b: the matrix is invertible. If, say, the third column lies in the plane of the first two, only right-hand sides in that plane can be reached: the matrix is singular. The matrix form multiplies A by x either by rows (dot products) or, preferably, by columns: Ax is a combination of the columns of A.
A matrix is a rectangular array of numbers; here the coefficient matrixA multiplies the vector of unknowns x to give the right-hand side b: Ax=b (p. 2).
Row picture (pp. 2–4). Plot all points satisfying each equation. 2x−y=0 passes through (0,0) and (1,2): a line, which is where the word linear comes from (p. 3). −x+2y=3 does not pass through the origin; it contains (−3,0) and (−1,1) (p. 4). The two lines meet at the solution x=1, y=2; check: −1+4=3 (p. 4).
Column picture (pp. 5–8), the key one. Read the equations a column at a time (p. 5):
The left side is a linear combination of the columns, the most fundamental operation in the course: multiply each column by a number and add (p. 5). The problem asks for the right numbers. Draw column 1, (2,−1), then attach two copies of column 2, (−1,2), at its tip: the arrows end at (0,3), which is b (pp. 6–8). Componentwise, 2−2=0 and −1+4=3 (p. 8). All combinations of these two columns would fill the whole plane, so every right-hand side could be reached (p. 8).
Loading graph…
The row picture of the 2 × 2 system: the lines y=2x and y=(3+x)/2, computed from the two equations, meet at the solution (1, 2).
Row picture (pp. 10–12). Each equation is a plane in three dimensions. The second, −x+2y−z=−1, misses the origin but contains (1,0,0), (0,0,1) and (0,−21,0) (p. 10). Two planes meet in a line, and the third plane cuts that line at a point, the solution (p. 11). But three planes are much harder to picture than two lines, and four dimensions harder still (p. 12).
In this specially chosen example b is the third column itself, so x=0, y=0, z=1 (pp. 13–14). With the new right-hand side column 1 + column 2 =(1,1,−3), the solution would be (1,1,0) (p. 14). In general neither picture shows the answer directly; the systematic method is elimination, the next lecture (p. 14).
Can Ax=b be solved for everyb? In combination language: do the linear combinations of the columns fill three-dimensional space? (transcript, p. 15). For this matrix, yes: it is non-singular, or invertible (p. 16). It fails if the three columns lie in one plane, for example if column 3 is column 1 plus column 2: then all combinations stay in that plane, and right-hand sides off it are unreachable. That matrix is singular (p. 16).
The same holds in nine dimensions: nine columns of nine components each. A random 9×9matrix, Strang says, is invertible (with probability one), its columns' combinations filling nine-dimensional space; if the ninth column equals the eighth, they only fill a kind of eight-dimensional plane inside it (pp. 17–18).
By rows it is two dot products: (2,5)⋅(1,2)=12 and (1,3)⋅(1,2)=7 (p. 19). Both give the same answer, but think of it this way: Ax is a combination of the columns of A (p. 19). So if b were (12,7), the solution of Ax=b would be x=(1,2) (p. 20).
Worked example
Pictures of a new system
(a) Solve x+2y=5, 3x−y=1 in both pictures. (b) Is b=(1,2,3) reachable from the columns (1,0,1), (0,1,1), (1,1,2)? (c) Compute (3−214)(2−1) by columns.
(a) Both pictures
Row picture: the lines y=(5−x)/2 and y=3x−1 meet where 5−x=6x−2, at x=1, y=2. Column picture: 1⋅(1,3)+2⋅(2,−1)=(5,1).
(b) A singular case
The third column is the sum of the first two, so all combinations lie in one plane: vectors(p,q,p+q). Here 1+2=3, so b is in the plane and reachable, for example as 1⋅(1,0,1)+2⋅(0,1,1). But (1,2,4) would not be.
Row picture: lines (or planes) meeting at the solution. Column picture: the combination of columns that produces b.
Ax=b is solvable for every b when the columns' combinations fill the space (invertible); not when the columns lie in a lower-dimensional plane (singular).
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
A list of numbers written as a column, or more generally anything that can be added and multiplied by numbers. Explained in Orthogonal vectors and subspaces.
A way of multiplying two vectors that gives a number: multiply matching components and add, or lengths times the cosine of the angle between them. Explained in Vectors and the dot product.
Following a fixed method; of an error, one that pushes every result the same way, so averaging does not remove it.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).