Linear Algebra — Lecture 6

Lecture 6: Vector Spaces, Subspaces, Bases, and Dimension

Shuhong Gao  ·  Clemson University

These notes are interactive: click a section title to open it, click any dotted term to unfold its exact definition or statement in place, click ▸ Proof to expand a proof, and try the exercises — answers are checked instantly.

6.1  Vector spaces

💡 Intuition

In Lecture 1 we listed eight rules obeyed by the addition and scaling of vectors in ℝn\mathbb{R}^n, and a remark promised that other objects obey the same rules. Matrices of a fixed size do (Lecture 4), and so do polynomials, and so do functions. Each time we prove a result from the eight rules alone, it holds for all of these at once. That is the point of the abstract definition below: one proof, many applications. The price is that we may use only the rules; coordinates and entries are no longer available unless we bring them in on purpose.

Definition 6.1 (Vector space)

A vector space (over ℝ\mathbb{R}) is a set VV together with two operations,

  • an addition, which assigns to any 𝐮,𝐯∈V\mathbf{u}, \mathbf{v} \in V an element 𝐮+𝐯∈V\mathbf{u} + \mathbf{v} \in V, and
  • a scalar multiplication, which assigns to any c∈ℝc \in \mathbb{R} and 𝐮∈V\mathbf{u} \in V an element c𝐮∈Vc\,\mathbf{u} \in V,
such that for all 𝐮,𝐯,𝐰∈V\mathbf{u}, \mathbf{v}, \mathbf{w} \in V and all c,d∈ℝc, d \in \mathbb{R}:
  1. 𝐮+𝐯=𝐯+𝐮\mathbf{u} + \mathbf{v} = \mathbf{v} + \mathbf{u};
  2. (𝐮+𝐯)+𝐰=𝐮+(𝐯+𝐰)(\mathbf{u} + \mathbf{v}) + \mathbf{w} = \mathbf{u} + (\mathbf{v} + \mathbf{w});
  3. there is an element 0∈V\mathbf{0} \in V, the zero vector, with 𝐮+0=𝐮\mathbf{u} + \mathbf{0} = \mathbf{u} for every 𝐮\mathbf{u};
  4. for each 𝐮\mathbf{u} there is an element −𝐮∈V-\mathbf{u} \in V with 𝐮+(−𝐮)=0\mathbf{u} + (-\mathbf{u}) = \mathbf{0};
  5. c(𝐮+𝐯)=c𝐮+c𝐯c(\mathbf{u} + \mathbf{v}) = c\mathbf{u} + c\mathbf{v};
  6. (c+d)𝐮=c𝐮+d𝐮(c + d)\mathbf{u} = c\mathbf{u} + d\mathbf{u};
  7. c(d𝐮)=(cd)𝐮c(d\mathbf{u}) = (cd)\mathbf{u};
  8. 1𝐮=𝐮1\,\mathbf{u} = \mathbf{u}.
The elements of VV are called vectors, whatever they are; the real numbers are called scalars. The requirement that 𝐮+𝐯\mathbf{u} + \mathbf{v} and c𝐮c\,\mathbf{u} lie again in VV is called closure under the two operations.

Example 6.2 (The space ℝn\mathbb{R}^n)

With entrywise addition and scaling, ℝn\mathbb{R}^n is a vector space: the eight rules are the algebraic properties of Lecture 1. Its zero vector is the column of nn zeros. This is the model for everything that follows.

Example 6.3 (The space ℝm×n\mathbb{R}^{m \times n} of matrices)

Let ℝm×n\mathbb{R}^{m \times n} denote the set of all m×nm \times n real matrices, with the entrywise addition and scalar multiplication of Lecture 4. The eight rules are the arithmetic of matrix addition; the zero vector is the zero matrix. As Lecture 4 put it, for adding and scaling an m×nm \times n matrix is just a list of mnmn numbers arranged in a rectangle. (The matrix product is extra structure that a vector space does not need.)

Example 6.4 (The space ℙn\mathbb{P}_n of polynomials)

For an integer n≥1n \ge 1, let ℙn\mathbb{P}_n be the set of all polynomials in a variable tt of degree at most n−1n - 1, that is, with nn coefficients: p(t)=a0+a1t+a2t2+⋯+an−1tn−1,a0,a1,…,an−1∈ℝ.p(t) = a_0 + a_1 t + a_2 t^2 + \cdots + a_{n-1} t^{n-1}, \qquad a_0, a_1, \dots, a_{n-1} \in \mathbb{R} . Two polynomials are equal when they have the same coefficients. They are added, and multiplied by scalars, coefficient by coefficient: if q(t)=b0+b1t+⋯+bn−1tn−1q(t) = b_0 + b_1 t + \cdots + b_{n-1} t^{n-1}, then (p+q)(t)=(a0+b0)+(a1+b1)t+⋯+(an−1+bn−1)tn−1,(cp)(t)=ca0+ca1t+⋯+can−1tn−1.\begin{aligned} (p + q)(t) &= (a_0 + b_0) + (a_1 + b_1)t + \cdots + (a_{n-1} + b_{n-1})t^{n-1}, \\ (c\,p)(t) &= c a_0 + c a_1 t + \cdots + c a_{n-1} t^{n-1} . \end{aligned} The sum and multiples again have degree at most n−1n - 1, so these operations stay in ℙn\mathbb{P}_n, and each rule is a rule of real arithmetic applied to one coefficient at a time, exactly as for ℝn\mathbb{R}^{n}. The zero vector is the zero polynomial, all of whose coefficients are 00. (We index by the number of coefficients, so that ℙn\mathbb{P}_n will turn out to have dimension nn: for instance ℙ3\mathbb{P}_3 consists of the polynomials a0+a1t+a2t2a_0 + a_1 t + a_2 t^2 of degree at most 22.) For example, in ℙ3\mathbb{P}_3, (1−2t+t2)+3(2+t)=7+t+t2.(1 - 2t + t^2) + 3\,(2 + t) = 7 + t + t^2 .

Example 6.5 (Functions)

Let ℱ\mathcal{F} be the set of all functions f:ℝ→ℝf\colon \mathbb{R} \to \mathbb{R}, added and scaled pointwise: (f+g)(t)=f(t)+g(t)(f + g)(t) = f(t) + g(t) and (cf)(t)=cf(t)(c f)(t) = c\,f(t), just as linear maps were added in Lecture 4. Each rule holds because it holds for the real numbers f(t)f(t), g(t)g(t) at every single tt; the zero vector is the function that is 00 everywhere. So ℱ\mathcal{F} is a vector space. Its vectors include sint\sin t, ete^{t} and |t||t|; signals, in engineering language.

Inside ℱ\mathcal{F} sit the continuous functions. With the same operations they form a vector space C(ℝ)C(\mathbb{R}) of their own: the zero function is continuous, and sums and scalar multiples of continuous functions are continuous, by the limit rules of calculus. The same holds for the differentiable functions. (In the language of the next section, these are subspaces of ℱ\mathcal{F}.)

Proposition 6.6 (Consequences of the rules)

In every vector space VV, for all 𝐮∈V\mathbf{u} \in V and c∈ℝc \in \mathbb{R}:

  1. the zero vector is unique, and so is the negative −𝐮-\mathbf{u};
  2. 0𝐮=00\,\mathbf{u} = \mathbf{0} and c0=0c\,\mathbf{0} = \mathbf{0};
  3. (−1)𝐮=−𝐮(-1)\,\mathbf{u} = -\mathbf{u};
  4. if c𝐮=0c\,\mathbf{u} = \mathbf{0}, then c=0c = 0 or 𝐮=0\mathbf{u} = \mathbf{0}.

Remark 6.7 (Why bother with the proofs)

In ℝn\mathbb{R}^n each statement of the proposition is obvious from the entries. The point of the proofs is that they use only the eight rules, so the statements hold in ℝm×n\mathbb{R}^{m \times n}, in ℙn\mathbb{P}_n, in ℱ\mathcal{F}, and in every vector space we will ever meet, with no further checking. We write 𝐮−𝐯\mathbf{u} - \mathbf{v} for 𝐮+(−𝐯)\mathbf{u} + (-\mathbf{v}).

Example 6.8 (Sets that are not vector spaces)

Closure can fail. The polynomials of degree exactly 22 (with the usual operations) do not form a vector space: t2t^2 and −t2+t-t^2 + t have degree 22, but their sum tt does not; and the zero polynomial is missing altogether. The set of vectors in ℝ2\mathbb{R}^2 with both entries ≥0\ge 0 is closed under addition, but not under scalar multiplication: (−1)(1,2)T(-1)(1,\, 2)^{T} falls outside it.

Exercise 6.1 auto-check

In ℙ3\mathbb{P}_3, let p(t)=2−t+3t2p(t) = 2 - t + 3t^2 and q(t)=1+4t−t2q(t) = 1 + 4t - t^2. What is the coefficient of t2t^2 in 2p−3q2p - 3q?

Answer:
Exercise 6.2 auto-check

Which of the following sets, with the usual addition and scalar multiplication, is a vector space?

6.2  Subspaces and span

💡 Intuition

Most vector spaces we meet sit inside a bigger one: a plane through the origin inside ℝ3\mathbb{R}^3, the symmetric matrices inside ℝn×n\mathbb{R}^{n \times n}, the polynomials of degree at most 22 inside those of degree at most 55. For such a subset, the eight rules come for free from the big space; only closure has to be checked. And the most important way to manufacture subspaces is to start with a few vectors and take all their linear combinations: their span.

Definition 6.9 (Subspace)

A subspace of a vector space VV is a subset H⊆VH \subseteq V such that

  1. 0∈H\mathbf{0} \in H;
  2. HH is closed under addition: if 𝐮,𝐯∈H\mathbf{u}, \mathbf{v} \in H, then 𝐮+𝐯∈H\mathbf{u} + \mathbf{v} \in H;
  3. HH is closed under scalar multiplication: if 𝐮∈H\mathbf{u} \in H and c∈ℝc \in \mathbb{R}, then c𝐮∈Hc\,\mathbf{u} \in H.

Proposition 6.10 (A subspace is a vector space)

Every subspace HH of VV, with the operations of VV, is itself a vector space.

2026-10-06T13:09:09.034548 image/svg+xml Matplotlib v3.10.9, https://matplotlib.org/ subspace l i n e   t h r o u g h   0 not a subspace l i n e   m i s s i n g   0 not a subspace u − u first quadrant not a subspace e e 1 2 + e 1 e 2 union of the axes
Subsets of ℝ2\mathbb{R}^2. A line through the origin is a subspace. A line missing the origin is not (it does not contain 0\mathbf{0}); the first quadrant is not (a negative multiple leaves it); the union of the two axes is not (the sum of 𝐞1\mathbf{e}_1 and 𝐞2\mathbf{e}_2 leaves it).
Example 6.11 (Subspaces of ℝ2\mathbb{R}^2 and ℝ3\mathbb{R}^3)

Every vector space VV has the two extreme subspaces {0}\{\mathbf{0}\} (the zero subspace) and VV itself. In ℝ2\mathbb{R}^2, every line through the origin, L={c𝐮:c∈ℝ}L = \{\, c\,\mathbf{u} : c \in \mathbb{R} \,\} with 𝐮≠0\mathbf{u} \neq \mathbf{0}, is a subspace: 0=0𝐮\mathbf{0} = 0\,\mathbf{u}, c𝐮+d𝐮=(c+d)𝐮c\mathbf{u} + d\mathbf{u} = (c + d)\mathbf{u}, and k(c𝐮)=(kc)𝐮k(c\mathbf{u}) = (kc)\mathbf{u}. The figure shows three subsets of ℝ2\mathbb{R}^2 that fail, each for a different reason. In ℝ3\mathbb{R}^3, lines and planes through the origin are subspaces (we will see why in the next examples); lines and planes that miss the origin are not.

Example 6.12 (Subspaces of matrices and polynomials)

In ℝn×n\mathbb{R}^{n \times n} the symmetric matrices (AT=AA^{T} = A) form a subspace: 0T=0\mathbf{0}^{T} = \mathbf{0}, (A+B)T=AT+BT=A+B(A + B)^{T} = A^{T} + B^{T} = A + B and (cA)T=cAT=cA(cA)^{T} = cA^{T} = cA. So do the upper triangular matrices, and the diagonal ones. But the invertible matrices do not: the zero matrix is not invertible.

In ℙ4\mathbb{P}_4, the polynomials with p(1)=0p(1) = 0 form a subspace: the zero polynomial vanishes at 11, and if p(1)=q(1)=0p(1) = q(1) = 0, then (p+q)(1)=0(p + q)(1) = 0 and (cp)(1)=0(c\,p)(1) = 0. The polynomials with p(1)=5p(1) = 5 do not. Also ℙ3\mathbb{P}_3 is a subspace of ℙ4\mathbb{P}_4. Inside ℱ\mathcal{F} we have the chain of subspaces ℙn⊆C(ℝ)⊆ℱ\mathbb{P}_n \subseteq C(\mathbb{R}) \subseteq \mathcal{F}: polynomials are continuous functions, and the continuous functions form a subspace of ℱ\mathcal{F} by the example on functions.

Definition 6.13 (Linear combination and span)

Let 𝐯1,…,𝐯k\mathbf{v}_1, \dots, \mathbf{v}_k be vectors in a vector space VV. A linear combination of them is a vector c1𝐯1+c2𝐯2+⋯+ck𝐯k,c1,…,ck∈ℝ,c_1 \mathbf{v}_1 + c_2 \mathbf{v}_2 + \cdots + c_k \mathbf{v}_k , \qquad c_1, \dots, c_k \in \mathbb{R} , and their span is the set of all such combinations: Span(𝐯1,…,𝐯k)={c1𝐯1+⋯+ck𝐯k:c1,…,ck∈ℝ}.\operatorname{Span}(\mathbf{v}_1, \dots, \mathbf{v}_k) = \{\, c_1 \mathbf{v}_1 + \cdots + c_k \mathbf{v}_k : c_1, \dots, c_k \in \mathbb{R} \,\}. If Span(𝐯1,…,𝐯k)=H\operatorname{Span}(\mathbf{v}_1, \dots, \mathbf{v}_k) = H, we say that 𝐯1,…,𝐯k\mathbf{v}_1, \dots, \mathbf{v}_k span (or generate) HH, and call them a spanning set of HH. By convention the span of no vectors at all is {0}\{\mathbf{0}\}.

Theorem 6.14 (A span is a subspace)

For any 𝐯1,…,𝐯k∈V\mathbf{v}_1, \dots, \mathbf{v}_k \in V, the set H=Span(𝐯1,…,𝐯k)H = \operatorname{Span}(\mathbf{v}_1, \dots, \mathbf{v}_k) is a subspace of VV. It is the smallest subspace containing 𝐯1,…,𝐯k\mathbf{v}_1, \dots, \mathbf{v}_k: every subspace that contains these vectors contains HH.

2026-10-06T13:09:32.190571 image/svg+xml Matplotlib v3.10.9, https://matplotlib.org/ v 1 v 2 w
The span of two vectors 𝐯1,𝐯2∈ℝ3\mathbf{v}_1, \mathbf{v}_2 \in \mathbb{R}^3 that are not multiples of each other is the plane through the origin containing them. Every vector 𝐰\mathbf{w} of the plane is a combination c1𝐯1+c2𝐯2c_1\mathbf{v}_1 + c_2\mathbf{v}_2.
Example 6.15 (Spans in ℝ3\mathbb{R}^3, and a membership test)

The span of one nonzero vector 𝐯\mathbf{v} is the line through the origin in the direction of 𝐯\mathbf{v}. The span of two vectors that are not multiples of each other is a plane through the origin, as in the figure; by the theorem it is a subspace.

Let 𝐯1=(1,0,2)T\mathbf{v}_1 = (1,\, 0,\, 2)^{T}, 𝐯2=(1,1,1)T\mathbf{v}_2 = (1,\, 1,\, 1)^{T}. Is 𝐛=(3,1,5)T\mathbf{b} = (3,\, 1,\, 5)^{T} in Span(𝐯1,𝐯2)\operatorname{Span}(\mathbf{v}_1, \mathbf{v}_2)? By the column view this asks whether A𝐱=𝐛A\mathbf{x} = \mathbf{b} is consistent, where A=(𝐯1𝐯2)A = (\mathbf{v}_1\ \mathbf{v}_2): (113011215)→R3−2R1(1130110−1−1)→R3+R2(113011000).\begin{aligned} &\begin{pmatrix} 1 & 1 & 3 \\ 0 & 1 & 1 \\ 2 & 1 & 5 \end{pmatrix} \overset{R_3 - 2R_1}{\longrightarrow} \begin{pmatrix} 1 & 1 & 3 \\ 0 & 1 & 1 \\ 0 & -1 & -1 \end{pmatrix} \\[4pt] &\overset{R_3 + R_2}{\longrightarrow} \begin{pmatrix} 1 & 1 & 3 \\ 0 & 1 & 1 \\ 0 & 0 & 0 \end{pmatrix}. \end{aligned} The system is consistent, with x2=1x_2 = 1 and x1=2x_1 = 2; indeed 𝐛=2𝐯1+𝐯2\mathbf{b} = 2\mathbf{v}_1 + \mathbf{v}_2. The same computation with 𝐛=(0,0,1)T\mathbf{b} = (0,\, 0,\, 1)^{T} ends with the row (00∣1)(\,0\ \ 0 \mid 1\,), so (0,0,1)T(0,\, 0,\, 1)^{T} is not in the plane.

Example 6.16 (Spans of polynomials and matrices)

ℙn=Span(1,t,t2,…,tn−1)\mathbb{P}_n = \operatorname{Span}(1, t, t^2, \dots, t^{n-1}), by the very form of a polynomial. In ℙ2\mathbb{P}_2, the two polynomials 1+t1 + t and 1−t1 - t also span: any a+bta + bt equals a+b2(1+t)+a−b2(1−t)\frac{a + b}{2}(1 + t) + \frac{a - b}{2}(1 - t). In ℝ2×2\mathbb{R}^{2 \times 2}, the span of (1000)\begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix}, (0110)\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} and (0001)\begin{pmatrix} 0 & 0 \\ 0 & 1 \end{pmatrix} is the set of all (abbc)\begin{pmatrix} a & b \\ b & c \end{pmatrix}, the subspace of symmetric matrices.

Proposition 6.17 (Replacing a vector in a spanning list)

Let 𝐯1,…,𝐯k∈V\mathbf{v}_1, \dots, \mathbf{v}_k \in V, and let 𝐰=𝐯k+c1𝐯1+c2𝐯2+⋯+ck−1𝐯k−1,c1,…,ck−1∈ℝ.\mathbf{w} = \mathbf{v}_k + c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_{k-1}\mathbf{v}_{k-1}, \qquad c_1, \dots, c_{k-1} \in \mathbb{R} . Then Span(𝐯1,…,𝐯k−1,𝐯k)=Span(𝐯1,…,𝐯k−1,𝐰).\operatorname{Span}(\mathbf{v}_1, \dots, \mathbf{v}_{k-1}, \mathbf{v}_k) = \operatorname{Span}(\mathbf{v}_1, \dots, \mathbf{v}_{k-1}, \mathbf{w}).

Remark 6.18 (Any vector may be replaced)

A span does not depend on the order in which the vectors are listed, so the proposition applies to any one of the vectors: replacing 𝐯j\mathbf{v}_j by 𝐯j\mathbf{v}_j plus a linear combination of the other vectors does not change the span. For example, Span(𝐮,𝐯)=Span(𝐮,𝐯+3𝐮)=Span(𝐮−2𝐯,𝐯).\operatorname{Span}(\mathbf{u}, \mathbf{v}) = \operatorname{Span}(\mathbf{u}, \mathbf{v} + 3\mathbf{u}) = \operatorname{Span}(\mathbf{u} - 2\mathbf{v}, \mathbf{v}) . This is the row operation “add a multiple of one row to another” in the language of spans; Lecture 7 uses it for the row space of a matrix.

Corollary 6.19 (Removing a redundant vector)

If 𝐯k\mathbf{v}_k is a linear combination of 𝐯1,…,𝐯k−1\mathbf{v}_1, \dots, \mathbf{v}_{k-1}, then Span(𝐯1,…,𝐯k−1,𝐯k)=Span(𝐯1,…,𝐯k−1).\operatorname{Span}(\mathbf{v}_1, \dots, \mathbf{v}_{k-1}, \mathbf{v}_k) = \operatorname{Span}(\mathbf{v}_1, \dots, \mathbf{v}_{k-1}).

Exercise 6.3 auto-check

In the span example, the vector (1,2,h)T(1,\, 2,\, h)^{T} lies in Span(𝐯1,𝐯2)\operatorname{Span}(\mathbf{v}_1, \mathbf{v}_2) for exactly one value of hh. What is hh?

Answer:
Exercise 6.4 auto-check

Which subset of ℝ3\mathbb{R}^3 is a subspace?

6.3  The null space, column space, and row space of a matrix

💡 Intuition

Every m×nm \times n matrix AA carries three subspaces, and together they record everything we have learned about A𝐱=𝐛A\mathbf{x} = \mathbf{b}. The null space, inside ℝn\mathbb{R}^n, holds the solutions of the homogeneous system; the column space, inside ℝm\mathbb{R}^m, holds the right-hand sides 𝐛\mathbf{b} for which a solution exists; and the row space, inside ℝn\mathbb{R}^n, holds all combinations of the equations. One is described by equations, the other two by generators, and passing between the two descriptions is a matter of row reduction.

Definition 6.20 (Null space)

The null space (or kernel, or solution space) of an m×nm \times n matrix AA is the set of all solutions of the homogeneous system A𝐱=0A\mathbf{x} = \mathbf{0}: Nul(A)={𝐱∈ℝn:A𝐱=0}.\operatorname{Nul}(A) = \{\, \mathbf{x} \in \mathbb{R}^n : A\mathbf{x} = \mathbf{0} \,\}.

Theorem 6.21 (The null space is a subspace)

For every m×nm \times n matrix AA, Nul(A)\operatorname{Nul}(A) is a subspace of ℝn\mathbb{R}^n.

Remark 6.22 (Solutions of A𝐱=𝐛A\mathbf{x} = \mathbf{b} with 𝐛≠0\mathbf{b} \neq \mathbf{0})

If 𝐛≠0\mathbf{b} \neq \mathbf{0}, the solution set of A𝐱=𝐛A\mathbf{x} = \mathbf{b} is not a subspace, since 0\mathbf{0} is not a solution. By the structure theorem of Lecture 3 it is Nul(A)\operatorname{Nul}(A) translated by a particular solution 𝐩\mathbf{p}: a line or a plane that has been shifted off the origin.

Example 6.23 (A null space as a span)

For the matrix of Lecture 3's homogeneous example, A=(1203241836111),A = \begin{pmatrix} 1 & 2 & 0 & 3 \\ 2 & 4 & 1 & 8 \\ 3 & 6 & 1 & 11 \end{pmatrix}, row reduction gave the parametric vector form of the solutions, so Nul(A)=Span((−2100),(−30−21))⊆ℝ4.\operatorname{Nul}(A) = \operatorname{Span}\left( \begin{pmatrix} -2 \\ 1 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} -3 \\ 0 \\ -2 \\ 1 \end{pmatrix} \right) \subseteq \mathbb{R}^4 . This is the general recipe: solving A𝐱=0A\mathbf{x} = \mathbf{0} and writing the solution in parametric vector form turns the equations that define Nul(A)\operatorname{Nul}(A) into a spanning set, one vector for each free variable.

Definition 6.24 (Column space and row space)

Let AA be an m×nm \times n matrix with columns 𝐚1,…,𝐚n∈ℝm\mathbf{a}_1, \dots, \mathbf{a}_n \in \mathbb{R}^m and rows 𝐫1,…,𝐫m\mathbf{r}_1, \dots, \mathbf{r}_m.

  • The column space of AA is the span of its columns: Col(A)=Span(𝐚1,…,𝐚n)⊆ℝm\operatorname{Col}(A) = \operatorname{Span}(\mathbf{a}_1, \dots, \mathbf{a}_n) \subseteq \mathbb{R}^m.
  • The row space of AA is the span of its rows, each written as a column vector: Row(A)=Span(𝐫1T,…,𝐫mT)⊆ℝn\operatorname{Row}(A) = \operatorname{Span}(\mathbf{r}_1^{T}, \dots, \mathbf{r}_m^{T}) \subseteq \mathbb{R}^n. In other words, Row(A)=Col(AT)\operatorname{Row}(A) = \operatorname{Col}(A^{T}).
Both are subspaces, by the theorem on spans.

Theorem 6.25 (What the column space measures)

Let AA be m×nm \times n. Then Col(A)={A𝐱:𝐱∈ℝn},\operatorname{Col}(A) = \{\, A\mathbf{x} : \mathbf{x} \in \mathbb{R}^n \,\}, and a vector 𝐛∈ℝm\mathbf{b} \in \mathbb{R}^m lies in Col(A)\operatorname{Col}(A) if and only if A𝐱=𝐛A\mathbf{x} = \mathbf{b} is consistent. Moreover Col(A)=ℝm\operatorname{Col}(A) = \mathbb{R}^m if and only if an echelon form of AA has a pivot in every row.

Remark 6.26 (Kernel and image)

For the linear map T(𝐱)=A𝐱T(\mathbf{x}) = A\mathbf{x} from ℝn\mathbb{R}^n to ℝm\mathbb{R}^m, Nul(A)\operatorname{Nul}(A) is the set of inputs sent to 0\mathbf{0}, called the kernel of TT, and Col(A)\operatorname{Col}(A) is the set of all outputs, called the image (or range) of TT. By Lecture 3, TT is injective exactly when Nul(A)={0}\operatorname{Nul}(A) = \{\mathbf{0}\}, and surjective exactly when Col(A)=ℝm\operatorname{Col}(A) = \mathbb{R}^m.

Example 6.27 (The three subspaces of one matrix)

Continue with the matrix AA of the previous example, whose columns are 𝐚1,…,𝐚4\mathbf{a}_1, \dots, \mathbf{a}_4.

Column space. Lecture 3 read two relations off the null space: 𝐚2=2𝐚1\mathbf{a}_2 = 2\mathbf{a}_1 and 𝐚4=3𝐚1+2𝐚3\mathbf{a}_4 = 3\mathbf{a}_1 + 2\mathbf{a}_3. Removing 𝐚4\mathbf{a}_4 and then 𝐚2\mathbf{a}_2 by the corollary on redundant vectors, Col(A)=Span(𝐚1,𝐚3)=Span((123),(011)),\operatorname{Col}(A) = \operatorname{Span}(\mathbf{a}_1, \mathbf{a}_3) = \operatorname{Span}\left( \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix}, \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} \right), a plane in ℝ3\mathbb{R}^3. It is not all of ℝ3\mathbb{R}^3: the echelon form has a zero row. For instance 𝐛=(0,0,1)T\mathbf{b} = (0,\, 0,\, 1)^{T} is not in it, since the third row of AA is the sum of the first two, so every A𝐱A\mathbf{x} has b3=b1+b2b_3 = b_1 + b_2.

Row space. The third row is the sum of the first two, so by the same proposition Row(A)=Span((1203),(2418))⊆ℝ4.\operatorname{Row}(A) = \operatorname{Span}\left( \begin{pmatrix} 1 \\ 2 \\ 0 \\ 3 \end{pmatrix}, \begin{pmatrix} 2 \\ 4 \\ 1 \\ 8 \end{pmatrix} \right) \subseteq \mathbb{R}^4 .

Null space. As computed, Nul(A)⊆ℝ4\operatorname{Nul}(A) \subseteq \mathbb{R}^4 is spanned by (−2,1,0,0)T(-2,\, 1,\, 0,\, 0)^{T} and (−3,0,−2,1)T(-3,\, 0,\, -2,\, 1)^{T}. Notice that Row(A)\operatorname{Row}(A) and Nul(A)\operatorname{Nul}(A) live in the same space ℝ4\mathbb{R}^4, while Col(A)\operatorname{Col}(A) lives in ℝ3\mathbb{R}^3.

Remark 6.28 (Row and column operations)

By the proposition on replacing a vector, the row space of a matrix does not change when a row operation is performed. Write the rows of AA (as columns) 𝐫1,…,𝐫m\mathbf{r}_1, \dots, \mathbf{r}_m.

  • A replacement changes 𝐫i\mathbf{r}_i into 𝐫i+c𝐫k\mathbf{r}_i + c\,\mathbf{r}_k (k≠ik \neq i), which is exactly the situation of the proposition (see the remark after it).
  • A swap only changes the order of the spanning vectors.
  • A scaling changes 𝐫i\mathbf{r}_i into c𝐫ic\,\mathbf{r}_i with c≠0c \neq 0; a combination with weight aa on 𝐫i\mathbf{r}_i is the same as one with weight a/ca/c on c𝐫ic\,\mathbf{r}_i.
So every matrix obtained from AA by row operations, an echelon form in particular, has the same row space as AA. In the example, the reduced echelon form has nonzero rows (1,2,0,3)(1, 2, 0, 3) and (0,0,1,2)(0, 0, 1, 2), and indeed these span Row(A)\operatorname{Row}(A), since (2,4,1,8)=2(1,2,0,3)+(0,0,1,2).(2, 4, 1, 8) = 2\,(1, 2, 0, 3) + (0, 0, 1, 2) .

In the same way, the column space does not change under column operations: swapping two columns, multiplying a column by a nonzero scalar, or adding a multiple of one column to another.

Row operations, however, usually do change the column space (and column operations the row space). In the example, every column of the reduced echelon form has third entry 00, while the column (1,2,3)T(1, 2, 3)^{T} of AA does not; the two column spaces are different planes. Lecture 7 shows how an echelon form still tells us which columns of AA form a basis of Col(A)\operatorname{Col}(A).

Remark 6.29 (Two ways to describe a subspace)

Nul(A)\operatorname{Nul}(A) is described implicitly, by equations: testing whether a given 𝐱\mathbf{x} belongs to it is a single product A𝐱A\mathbf{x}, but producing its vectors requires solving a system. Col(A)\operatorname{Col}(A) and Row(A)\operatorname{Row}(A) are described explicitly, by generators: producing their vectors is easy (take any combination), but testing membership requires solving a system. Row reduction converts one description into the other.

Exercise 6.5 auto-check

Let AA be a 5×75 \times 7 matrix. In which spaces do Nul(A)\operatorname{Nul}(A), Col(A)\operatorname{Col}(A) and Row(A)\operatorname{Row}(A) live, in this order?

Exercise 6.6 auto-check

For the matrix AA of the example, the vector (2,1,b3)T(2,\, 1,\, b_3)^{T} lies in Col(A)\operatorname{Col}(A) for exactly one value of b3b_3. What is it?

Answer:

6.4  Linear independence, bases, and coordinates

💡 Intuition

A spanning set may contain redundant vectors, and redundancy is exactly linear dependence, as in Lecture 3. A spanning set with no redundancy is a basis. Bases are the coordinate systems of a vector space: once a basis is fixed, every vector has a unique list of coordinates, and every question about an abstract space (ℙn\mathbb{P}_n, matrices, subspaces) becomes a question about columns of numbers, which row reduction can answer.

Definition 6.30 (Linear independence)

Vectors 𝐯1,…,𝐯k\mathbf{v}_1, \dots, \mathbf{v}_k in a vector space VV are linearly independent if the only scalars with c1𝐯1+c2𝐯2+⋯+ck𝐯k=0c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_k\mathbf{v}_k = \mathbf{0} are c1=c2=⋯=ck=0c_1 = c_2 = \cdots = c_k = 0. Otherwise they are linearly dependent, and an equation of this form with some ci≠0c_i \neq 0 is a dependence relation. For V=ℝmV = \mathbb{R}^m this is the definition of Lecture 3.

Example 6.31 (Independence outside ℝn\mathbb{R}^n)

In ℙ3\mathbb{P}_3 the polynomials 1,t,t21, t, t^2 are independent: c0+c1t+c2t2c_0 + c_1 t + c_2 t^2 is the zero polynomial only if all its coefficients are 00. The polynomials 1+t1 + t, 1−t1 - t, tt are dependent, because (1+t)−(1−t)−2t=0.(1 + t) - (1 - t) - 2t = 0 . In ℱ\mathcal{F} the functions sint\sin t and cost\cos t are independent: if c1sint+c2cost=0c_1 \sin t + c_2 \cos t = 0 for every tt, then t=0t = 0 gives c2=0c_2 = 0 and t=π/2t = \pi/2 gives c1=0c_1 = 0.

Proposition 6.32 (Dependence means redundancy)

Let k≥2k \ge 2. The vectors 𝐯1,…,𝐯k\mathbf{v}_1, \dots, \mathbf{v}_k are linearly dependent if and only if at least one of them is a linear combination of the others. Also, a single vector is independent if and only if it is nonzero, and any list containing 0\mathbf{0} is dependent.

Definition 6.33 (Basis)

A basis of a vector space VV is a list ℬ=(𝐛1,…,𝐛n)\mathcal{B} = (\mathbf{b}_1, \dots, \mathbf{b}_n) of vectors in VV that

  1. is linearly independent, and
  2. spans VV: Span(𝐛1,…,𝐛n)=V\operatorname{Span}(\mathbf{b}_1, \dots, \mathbf{b}_n) = V.
The order of the vectors is part of the data, because it fixes the order of the coordinates below. The zero space {0}\{\mathbf{0}\} has the empty list as its basis, since the span of no vectors is {0}\{\mathbf{0}\}. Because a subspace HH of VV is itself a vector space (the proposition on subspaces), this also defines a basis of HH: a list of vectors in HH that is independent and spans HH.

Convention. In this course we consider only vector spaces that have a basis consisting of finitely many vectors (the finite-dimensional spaces, as they will be called in the next section). Spaces such as ℱ\mathcal{F} and C(ℝ)C(\mathbb{R}), which are not spanned by any finite list of vectors, are not treated further.

Example 6.34 (Standard bases)

ℝn\mathbb{R}^n: the standard basis vectors 𝐞1,…,𝐞n\mathbf{e}_1, \dots, \mathbf{e}_n are independent (they are the columns of InI_n) and span, since 𝐱=x1𝐞1+⋯+xn𝐞n\mathbf{x} = x_1\mathbf{e}_1 + \cdots + x_n\mathbf{e}_n.

ℝm×n\mathbb{R}^{m \times n}: let EijE_{ij} be the matrix with 11 in position (i,j)(i,j) and 00 elsewhere. Every matrix is A=∑i,jaijEijA = \sum_{i,j} a_{ij} E_{ij}, and this combination is the zero matrix only if every aij=0a_{ij} = 0. So the mnmn matrices EijE_{ij} form a basis. For example (abcd)=aE11+bE12+cE21+dE22\begin{pmatrix} a & b \\ c & d \end{pmatrix} = aE_{11} + bE_{12} + cE_{21} + dE_{22}.

ℙn\mathbb{P}_n: the monomials 1,t,t2,…,tn−11, t, t^2, \dots, t^{n-1} span ℙn\mathbb{P}_n (the span example) and are independent (the independence example); they form the standard basis of ℙn\mathbb{P}_n, with nn vectors.

Example 6.35 (A basis of a plane)

The plane H={𝐱∈ℝ3:x1−2x2+x3=0}H = \{\, \mathbf{x} \in \mathbb{R}^3 : x_1 - 2x_2 + x_3 = 0 \,\} is the null space of the 1×31 \times 3 matrix (1−21)(1\ \ {-2}\ \ 1). With x2=sx_2 = s and x3=tx_3 = t free, x1=2s−tx_1 = 2s - t, so 𝐱=s(210)+t(−101).\mathbf{x} = s\begin{pmatrix} 2 \\ 1 \\ 0 \end{pmatrix} + t\begin{pmatrix} -1 \\ 0 \\ 1 \end{pmatrix}. The two vectors span HH, and they are independent: if the combination is 0\mathbf{0}, its second entry gives s=0s = 0 and its third gives t=0t = 0. So they form a basis of HH. (Other bases exist, for instance (1,1,1)T(1,\, 1,\, 1)^{T} and (1,0,−1)T(1,\, 0,\, -1)^{T}; a subspace other than {0}\{\mathbf{0}\} has infinitely many bases.)

Theorem 6.36 (Bases of ℝn\mathbb{R}^n)

Vectors 𝐛1,…,𝐛n∈ℝn\mathbf{b}_1, \dots, \mathbf{b}_n \in \mathbb{R}^n form a basis of ℝn\mathbb{R}^n if and only if the n×nn \times n matrix P=(𝐛1⋯𝐛n)P = (\mathbf{b}_1\ \cdots\ \mathbf{b}_n) is invertible, that is, if and only if detP≠0\det P \neq 0.

Theorem 6.37 (Unique representation)

A list ℬ=(𝐛1,…,𝐛n)\mathcal{B} = (\mathbf{b}_1, \dots, \mathbf{b}_n) of vectors in a vector space VV is a basis of VV if and only if every 𝐯∈V\mathbf{v} \in V can be written as 𝐯=c1𝐛1+c2𝐛2+⋯+cn𝐛n\mathbf{v} = c_1\mathbf{b}_1 + c_2\mathbf{b}_2 + \cdots + c_n\mathbf{b}_n for exactly one choice of scalars c1,…,cnc_1, \dots, c_n.

Definition 6.38 (Coordinates)

Let ℬ=(𝐛1,…,𝐛n)\mathcal{B} = (\mathbf{b}_1, \dots, \mathbf{b}_n) be a basis of VV and 𝐯∈V\mathbf{v} \in V. The unique scalars with 𝐯=c1𝐛1+⋯+cn𝐛n\mathbf{v} = c_1\mathbf{b}_1 + \cdots + c_n\mathbf{b}_n are the coordinates of 𝐯\mathbf{v} relative to ℬ\mathcal{B}, and [𝐯]ℬ=(c1⋮cn)∈ℝn[\mathbf{v}]_{\mathcal{B}} = \begin{pmatrix} c_1 \\ \vdots \\ c_n \end{pmatrix} \in \mathbb{R}^n is the coordinate vector of 𝐯\mathbf{v}. Relative to the standard basis of ℝn\mathbb{R}^n, [𝐱]ℰ=𝐱[\mathbf{x}]_{\mathcal{E}} = \mathbf{x}.

2026-10-06T13:08:46.636359 image/svg+xml Matplotlib v3.10.9, https://matplotlib.org/ b 1 b 2 x b b = + 2 1 2
The basis 𝐛1=(2,1)T\mathbf{b}_1 = (2,\,1)^{T}, 𝐛2=(1,2)T\mathbf{b}_2 = (1,\,2)^{T} of ℝ2\mathbb{R}^2 lays a slanted grid over the plane. The vector 𝐱=(4,5)T\mathbf{x} = (4,\,5)^{T} is reached by one step along 𝐛1\mathbf{b}_1 and two along 𝐛2\mathbf{b}_2, so [𝐱]ℬ=(1,2)T[\mathbf{x}]_{\mathcal{B}} = (1,\,2)^{T}.
Example 6.39 (Coordinates in ℝ2\mathbb{R}^2)

Let 𝐛1=(2,1)T\mathbf{b}_1 = (2,\, 1)^{T} and 𝐛2=(1,2)T\mathbf{b}_2 = (1,\, 2)^{T}. The matrix P=(𝐛1𝐛2)P = (\mathbf{b}_1\ \mathbf{b}_2) has detP=3≠0\det P = 3 \neq 0, so ℬ=(𝐛1,𝐛2)\mathcal{B} = (\mathbf{b}_1, \mathbf{b}_2) is a basis by the theorem on bases of ℝn\mathbb{R}^n. To find [𝐱]ℬ[\mathbf{x}]_{\mathcal{B}} for 𝐱=(4,5)T\mathbf{x} = (4,\, 5)^{T}, solve c1𝐛1+c2𝐛2=𝐱c_1\mathbf{b}_1 + c_2\mathbf{b}_2 = \mathbf{x}, that is, P𝐜=𝐱P\mathbf{c} = \mathbf{x}: (214125)→R1↔R2(125214)→R2−2R1(1250−3−6),\begin{pmatrix} 2 & 1 & 4 \\ 1 & 2 & 5 \end{pmatrix} \overset{R_1 \leftrightarrow R_2}{\longrightarrow} \begin{pmatrix} 1 & 2 & 5 \\ 2 & 1 & 4 \end{pmatrix} \overset{R_2 - 2R_1}{\longrightarrow} \begin{pmatrix} 1 & 2 & 5 \\ 0 & -3 & -6 \end{pmatrix}, so c2=2c_2 = 2, c1=1c_1 = 1, and [𝐱]ℬ=(1,2)T[\mathbf{x}]_{\mathcal{B}} = (1,\, 2)^{T}: indeed 𝐛1+2𝐛2=(4,5)T\mathbf{b}_1 + 2\mathbf{b}_2 = (4,\, 5)^{T}. In general [𝐱]ℬ=P−1𝐱[\mathbf{x}]_{\mathcal{B}} = P^{-1}\mathbf{x} and 𝐱=P[𝐱]ℬ\mathbf{x} = P\,[\mathbf{x}]_{\mathcal{B}}.

Example 6.40 (Coordinates of a polynomial)

The polynomials 11, 1+t1 + t, (1+t)2(1 + t)^2 form a basis ℬ\mathcal{B} of ℙ3\mathbb{P}_3 (this is checked in the next section). To find the coordinates of p(t)=5+3t+t2p(t) = 5 + 3t + t^2, write s=1+ts = 1 + t, so t=s−1t = s - 1: p=5+3(s−1)+(s−1)2=3+s+s2=3⋅1+1⋅(1+t)+1⋅(1+t)2.p = 5 + 3(s - 1) + (s - 1)^2 = 3 + s + s^2 = 3 \cdot 1 + 1 \cdot (1 + t) + 1 \cdot (1 + t)^2 . So [p]ℬ=(3,1,1)T[p]_{\mathcal{B}} = (3,\, 1,\, 1)^{T}, whereas relative to the standard basis (1,t,t2)(1, t, t^2) the coordinate vector is (5,3,1)T(5,\, 3,\, 1)^{T}.

Proposition 6.41 (Coordinates are linear)

Let ℬ\mathcal{B} be a basis of VV with nn vectors. For all 𝐮,𝐯∈V\mathbf{u}, \mathbf{v} \in V and c∈ℝc \in \mathbb{R}, [𝐮+𝐯]ℬ=[𝐮]ℬ+[𝐯]ℬ,[c𝐮]ℬ=c[𝐮]ℬ.[\mathbf{u} + \mathbf{v}]_{\mathcal{B}} = [\mathbf{u}]_{\mathcal{B}} + [\mathbf{v}]_{\mathcal{B}}, \qquad [c\,\mathbf{u}]_{\mathcal{B}} = c\,[\mathbf{u}]_{\mathcal{B}} . Consequently, vectors 𝐮1,…,𝐮k∈V\mathbf{u}_1, \dots, \mathbf{u}_k \in V are linearly independent if and only if their coordinate vectors [𝐮1]ℬ,…,[𝐮k]ℬ[\mathbf{u}_1]_{\mathcal{B}}, \dots, [\mathbf{u}_k]_{\mathcal{B}} are linearly independent in ℝn\mathbb{R}^n.

Example 6.42 (Independence of polynomials by coordinates)

Are 1+t21 + t^2, t+t2t + t^2, 1+t+t21 + t + t^2 independent in ℙ3\mathbb{P}_3? Their coordinate vectors relative to (1,t,t2)(1, t, t^2) are the columns of M=(101011111),detM=1(1−1)−0+1(0−1)=−1≠0,M = \begin{pmatrix} 1 & 0 & 1 \\ 0 & 1 & 1 \\ 1 & 1 & 1 \end{pmatrix}, \qquad \det M = 1(1 - 1) - 0 + 1(0 - 1) = -1 \neq 0 , so the columns of MM are independent, and by the proposition so are the three polynomials.

Exercise 6.7 auto-check

With ℬ=(𝐛1,𝐛2)\mathcal{B} = (\mathbf{b}_1, \mathbf{b}_2) as in the example, 𝐛1=(2,1)T\mathbf{b}_1 = (2,\, 1)^{T}, 𝐛2=(1,2)T\mathbf{b}_2 = (1,\, 2)^{T}, find [𝐱]ℬ[\mathbf{x}]_{\mathcal{B}} for 𝐱=(1,−1)T\mathbf{x} = (1,\, -1)^{T}. What is its first entry?

Answer:
Exercise 6.8 auto-check

Which list is a basis of ℝ3\mathbb{R}^3?

6.5  Dimension

💡 Intuition

A plane has many bases, but each consists of two vectors; ℝ3\mathbb{R}^3 has many bases, each of three vectors. The number of vectors in a basis does not depend on the basis, and that number is the dimension. The key fact behind it is a comparison: in a space spanned by mm vectors, any n>mn > m vectors are dependent. It is the abstract form of Lecture 3's corollary that more than mm vectors in ℝm\mathbb{R}^m are dependent, and its proof reduces to it.

Theorem 6.43 (Independent lists are no longer than spanning lists)

Suppose V=Span(𝐯1,…,𝐯m)V = \operatorname{Span}(\mathbf{v}_1, \dots, \mathbf{v}_m). Then any nn vectors 𝐰1,…,𝐰n∈V\mathbf{w}_1, \dots, \mathbf{w}_n \in V with n>mn > m are linearly dependent.

Corollary 6.44 (All bases have the same size)

If a vector space VV has a basis of nn vectors, then every basis of VV has exactly nn vectors.

Definition 6.45 (Dimension)

If a vector space VV has a basis of nn vectors, VV is called finite-dimensional, and its dimension is dimV=n\dim V = n; by the corollary this number does not depend on the basis. The zero space has dimension 00 (its basis is the empty list). A vector space that is not spanned by any finite list of vectors is called infinite-dimensional; as agreed in the definition of a basis, we do not study such spaces.

Example 6.46 (Dimensions of familiar spaces)

From the standard bases: dimℝn=n\dim \mathbb{R}^n = n, dimℝm×n=mn\dim \mathbb{R}^{m \times n} = mn, and dimℙn=n\dim \mathbb{P}_n = n. The symmetric 2×22 \times 2 matrices have dimension 33: the three matrices of the span example span them and are independent (look at the entries (1,1)(1,1), (1,2)(1,2), (2,2)(2,2)). The plane of the plane example has dimension 22, as it should. The null space of the null-space example has dimension 22: its two spanning vectors are independent, because the second and fourth entries (the free-variable positions) of s(−2,1,0,0)T+t(−3,0,−2,1)Ts(-2, 1, 0, 0)^{T} + t(-3, 0, -2, 1)^{T} are ss and tt.

The space ℱ\mathcal{F} of all functions is infinite-dimensional: it contains 1,t,t2,…,tn1, t, t^2, \dots, t^n for every nn, which are n+1n + 1 independent vectors, so by the theorem no finite list of mm vectors can span it.

Theorem 6.47 (Reducing and extending to a basis)

Let VV be a finite-dimensional vector space and HH a subspace of VV.

  1. Every finite list spanning HH contains a basis of HH: remove vectors that are combinations of the others until the list is independent.
  2. Every linearly independent list in HH can be extended to a basis of HH. In particular HH is finite-dimensional and dimH≤dimV\dim H \le \dim V.
  3. If dimH=dimV\dim H = \dim V, then H=VH = V.

Theorem 6.48 (The basis test)

Let VV be a vector space with dimV=n≥1\dim V = n \ge 1. Then

  1. any nn linearly independent vectors in VV form a basis of VV;
  2. any nn vectors that span VV form a basis of VV.

Example 6.49 (Using the basis test)

Polynomials. The three polynomials of the coordinates example are independent in ℙ3\mathbb{P}_3, which has dimension 33, so they form a basis. Likewise 1,1+t,(1+t)21, 1 + t, (1 + t)^2 form a basis of ℙ3\mathbb{P}_3: their coordinate vectors (1,0,0)T(1, 0, 0)^{T}, (1,1,0)T(1, 1, 0)^{T}, (1,2,1)T(1, 2, 1)^{T} are the columns of an upper triangular matrix with determinant 11.

A subspace of ℙ4\mathbb{P}_4. Let H={p∈ℙ4:p(1)=0}H = \{\, p \in \mathbb{P}_4 : p(1) = 0 \,\}. The constant polynomial 11 is not in HH, so H≠ℙ4H \neq \mathbb{P}_4 and dimH≤3\dim H \le 3 by the theorem. On the other hand t−1t - 1, t2−1t^2 - 1, t3−1t^3 - 1 lie in HH and are independent (they have different degrees, so the highest power in any nonzero combination cannot cancel). Hence dimH=3\dim H = 3, and these three polynomials form a basis of HH.

Example 6.50 (The subspaces of ℝ3\mathbb{R}^3)

A subspace HH of ℝ3\mathbb{R}^3 has dimH∈{0,1,2,3}\dim H \in \{0, 1, 2, 3\}. If dimH=0\dim H = 0, H={0}H = \{\mathbf{0}\}; if dimH=1\dim H = 1, HH is the span of one nonzero vector, a line through the origin; if dimH=2\dim H = 2, it is the span of two independent vectors, a plane through the origin; and if dimH=3\dim H = 3, then H=ℝ3H = \mathbb{R}^3 by part (3) of the theorem. There are no other subspaces.

Exercise 6.9 auto-check

What is the dimension of the space of all symmetric 3×33 \times 3 matrices?

Answer:
Exercise 6.10 auto-check

Four polynomials are given in ℙ3\mathbb{P}_3. What can you conclude?

Remark 6.51 (Looking ahead)

For a matrix AA, the example found the dimension of Nul(A)\operatorname{Nul}(A) by counting free variables, and the example of three subspaces found Col(A)\operatorname{Col}(A) and Row(A)\operatorname{Row}(A) as planes. Next lecture turns these observations into theorems: the dimensions of the three subspaces are all read off the pivots, the column space and the row space always have the same dimension (the rank of AA), and rankA+dimNul(A)=n\operatorname{rank} A + \dim \operatorname{Nul}(A) = n. We will then pass from matrices to linear maps between arbitrary vector spaces, and see how a basis turns each such map into a matrix.

Index of statements

  1. Definition 6.1 (Vector space)
  2. Example 6.2 (The space ℝn\mathbb{R}^n)
  3. Example 6.3 (The space ℝm×n\mathbb{R}^{m \times n} of matrices)
  4. Example 6.4 (The space ℙn\mathbb{P}_n of polynomials)
  5. Example 6.5 (Functions)
  6. Proposition 6.6 (Consequences of the rules)
  7. Remark 6.7 (Why bother with the proofs)
  8. Example 6.8 (Sets that are not vector spaces)
  9. Definition 6.9 (Subspace)
  10. Proposition 6.10 (A subspace is a vector space)
  11. Example 6.11 (Subspaces of ℝ2\mathbb{R}^2 and ℝ3\mathbb{R}^3)
  12. Example 6.12 (Subspaces of matrices and polynomials)
  13. Definition 6.13 (Linear combination and span)
  14. Theorem 6.14 (A span is a subspace)
  15. Example 6.15 (Spans in ℝ3\mathbb{R}^3, and a membership test)
  16. Example 6.16 (Spans of polynomials and matrices)
  17. Proposition 6.17 (Replacing a vector in a spanning list)
  18. Remark 6.18 (Any vector may be replaced)
  19. Corollary 6.19 (Removing a redundant vector)
  20. Definition 6.20 (Null space)
  21. Theorem 6.21 (The null space is a subspace)
  22. Remark 6.22 (Solutions of A𝐱=𝐛A\mathbf{x} = \mathbf{b} with 𝐛≠0\mathbf{b} \neq \mathbf{0})
  23. Example 6.23 (A null space as a span)
  24. Definition 6.24 (Column space and row space)
  25. Theorem 6.25 (What the column space measures)
  26. Remark 6.26 (Kernel and image)
  27. Example 6.27 (The three subspaces of one matrix)
  28. Remark 6.28 (Row and column operations)
  29. Remark 6.29 (Two ways to describe a subspace)
  30. Definition 6.30 (Linear independence)
  31. Example 6.31 (Independence outside ℝn\mathbb{R}^n)
  32. Proposition 6.32 (Dependence means redundancy)
  33. Definition 6.33 (Basis)
  34. Example 6.34 (Standard bases)
  35. Example 6.35 (A basis of a plane)
  36. Theorem 6.36 (Bases of ℝn\mathbb{R}^n)
  37. Theorem 6.37 (Unique representation)
  38. Definition 6.38 (Coordinates)
  39. Example 6.39 (Coordinates in ℝ2\mathbb{R}^2)
  40. Example 6.40 (Coordinates of a polynomial)
  41. Proposition 6.41 (Coordinates are linear)
  42. Example 6.42 (Independence of polynomials by coordinates)
  43. Theorem 6.43 (Independent lists are no longer than spanning lists)
  44. Corollary 6.44 (All bases have the same size)
  45. Definition 6.45 (Dimension)
  46. Example 6.46 (Dimensions of familiar spaces)
  47. Theorem 6.47 (Reducing and extending to a basis)
  48. Theorem 6.48 (The basis test)
  49. Example 6.49 (Using the basis test)
  50. Example 6.50 (The subspaces of ℝ3\mathbb{R}^3)
  51. Remark 6.51 (Looking ahead)