The ideas of basis and dimension work in any vector space, not only Rⁿ. All 3 × 3 matrices form a space M of dimension 9; the symmetric matrices S and the upper triangular matrices U are subspaces of dimension 6 each. Their intersection is the diagonal matrices, of dimension 3; their union is not a subspace, but their sum S + U (any symmetric plus any upper triangular matrix) is all of M, and dim S + dim U = dim(S ∩ U) + dim(S + U), 6 + 6 = 3 + 9. The solutions of y″ + y = 0 form a vector space with basis cos x and sin x (or e^{ix} and e^{−ix}): dimension 2, a nullspace of a differential operator. A rank-one matrix is a column times a row, A = uvᵀ, such as (1, 2) times (1, 4, 5); rank-one matrices are the building blocks of all matrices, but they do not form a subspace, since the rank of a sum can grow (rank(A + B) ≤ rank A + rank B). The vectors in R⁴ with v₁ + v₂ + v₃ + v₄ = 0 are the nullspace of the 1 × 4 matrix of ones: dimension 4 − 1 = 3, with three special solutions as a basis; its column space is R¹ and its left nullspace only zero, of dimension 0 with an empty basis. Finally, graphs (nodes and edges) and the small-world question: how many steps separate any two people in a friendship graph?
A basis of M: the nine matrices with a single 1 and zeros elsewhere. So dimM=9; M is practically R9 with the numbers written in a square (pp. 2–3). Only three of those nine are symmetric, so a basis of the big space need not contain one of a subspace (pp. 3–4). For U it happens that six of them are a basis (p. 4). Counting free entries (pp. 3–4):
Dimensions of matrix spaces
dimM=9,dimS=6,dimU=6
In words
dim capital M equals 9, dim capital S equals 6, dim capital U equals 6
dim capital S plus dim capital U equals dim ( capital S intersect capital U ) plus dim the quantity capital S plus capital U, : 6 plus 6 equals 3 plus 9
cosx and sinx are solutions, and so is eix, but it adds nothing new (pp. 7–8). The solutions form a vector space, a nullspace of the differential operator, with every solution a combination (p. 8):
cosx and sinx are a basis, like the special solutions of Ax=0, and the dimension is 2, as for every linearhomogeneous second-order equation; eix and e−ix, with complex coefficients allowed, are another basis (pp. 8–9). Strang jokes that this is five minutes of 18.06 taking care of 18.03 (p. 9). Functions are vectors here because they can be added and multiplied by constants (p. 9).
It is a subspace: multiples and sums still have components adding to zero (p. 14). It is the nullspace of the 1×4matrix of ones, which has rank 1, so dimS=n−r=4−1=3 (pp. 14–15). (Strang calls the vectorb for a moment on p. 15; it is v.) The free variables are v2,v3,v4, and the special solutions are a basis (p. 16):
Basis of S
−1100,−1010,−1001
In words
minus 1; 1; 0; 0, minus 1; 0; 1; 0, minus 1; 0; 0; 1
A graph here is not a curve: it is a set of nodes and edges connecting some of them, for example five nodes and six edges, which a matrix will describe next time (transcript, p. 18). (Strang calls it five by six; with one row per edge, as in Lecture 12, it is 6×5.) Take every person in the room as a node, with an edge between friends; or the whole country, some 260 million nodes in Strang's 1999 figure (pp. 18–19). How many steps separate the two people furthest apart? Strang counts his own distance to the president of the day as two, so his students' is at most three (pp. 19–21). "Six degrees of separation" is the popular answer, and a few shortcut edges bring distances down dramatically: a small world (p. 20). The web, with sites as nodes and links as edges, is another such graph (p. 21). The linear algebra of graphs is the next lecture (p. 20).
The subspace of symmetric 3 × 3 matrices; later, the subspace of R⁴ with v₁ + v₂ + v₃ + v₄ = 0; in the worked example, the symmetric 2 × 2 matrices. Say it: “capital S”.
A collection of objects, called vectors, that can be added together and multiplied by numbers, with the results staying in the collection. Explained in Transposes, permutations and vector spaces.
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 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.
The column space, nullspace, row space and left nullspace of a matrix, whose dimensions are all fixed by its rank. Explained in The four fundamental subspaces.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
A set of vectors inside a larger space that is a space itself: sums and multiples of its vectors stay inside it. Explained in Transposes, permutations and vector spaces.
A square matrix with only zeros below its diagonal (upper triangular) or only zeros above it (lower triangular). Explained in Elimination with matrices.
A set of independent vectors from which every vector in a space can be built, in exactly one way, as a combination. Explained in Independence, basis and dimension.
In a square matrix, the entries running from the top left corner to the bottom right; a diagonal matrix has zeros everywhere else. Explained in The four fundamental subspaces.
A column of a matrix that contains a pivot after elimination; the matching columns of the original matrix form a basis for its column space. Explained in Column space and nullspace.
Of a linear equation: with zero on the right-hand side, so that zero is a solution.
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).