Linear Algebra

Basis and dimension

How few vectors are enough to build every vector of a subspace, and why does every smallest building list come out the same size?

Where you are 8 in Vectors in n dimensions

Why this exists

Zilola, Dildora and Umida run a chocolatier. A recipe is a list (x_1, x_2, x_3, x_4) of grams of cocoa mass, cocoa butter, sugar and milk powder, and a change to a recipe is a list of grams added to or taken from each. The changes they allow keep the weight of a bar fixed,

x_1 + x_2 + x_3 + x_4 = 0,

so they form a subspace W of \mathbb{R}^4 (Subspaces). Zilola wants a short list of basic changes that builds every allowed one, each in only one way. The swaps \mathbf{s}_1 = (1, -1, 0, 0), \mathbf{s}_2 = (0, 1, -1, 0) and \mathbf{s}_3 = (0, 0, 1, -1) do it (Example 1). Could two changes do it? A different trio, or four? Every such list turns out to have exactly three vectors. That number is the dimension of W, the exact sense in which W is three-dimensional though it sits in \mathbb{R}^4.

Definition

Let V be a subspace of \mathbb{R}^n. A list \mathbf{v}_1, \dots, \mathbf{v}_k of vectors in V is a basis of V when it is linearly independent (Linear independence) and spans V, that is, \operatorname{span}\{\mathbf{v}_1, \dots, \mathbf{v}_k\} = V (Span). Spanning says every vector of V can be built; independence says nothing in the list is wasted. If \mathbf{x} = c_1\mathbf{v}_1 + \dots + c_k\mathbf{v}_k, the weights (c_1, \dots, c_k) are the coordinates of \mathbf{x} relative to the basis, taken in the order of the list.

The standard basis of \mathbb{R}^n is \mathbf{e}_1, \dots, \mathbf{e}_n, where \mathbf{e}_i has 1 in position i and 0 elsewhere. It spans, since (x_1, \dots, x_n) = x_1\mathbf{e}_1 + \dots + x_n\mathbf{e}_n, and that combination is \mathbf{0} only when every x_i = 0, so it is independent. A vector’s coordinates in it are its entries.

The dimension of V, written \dim V, is the number of vectors in a basis of V; Result 3 shows every basis gives the same number. The zero subspace has the empty list as its basis (by convention the span of no vectors is \{\mathbf{0}\}), so \dim\{\mathbf{0}\} = 0.

Intuition

A basis is a set of axes for V, one per independent direction, and coordinates are travel instructions: so many steps along each axis. A subspace has many bases, and they give one vector different coordinates. In \mathbb{R}^2, \mathbf{u} = (2, 1) and \mathbf{v} = (-1, 1) are not multiples of each other, so they are independent and span \mathbb{R}^2 (Span). Since 2(2, 1) + (-1, 1) = (3, 3), the vector \mathbf{w} = (3, 3) has coordinates (2, 1) relative to \mathbf{u}, \mathbf{v}.

\mathbf{u}
\mathbf{u}
\mathbf{v}
\mathbf{v}
\mathbf{w}
Figure 1Two steps along \mathbf{u}, then one along \mathbf{v}, reach \mathbf{w} = 2\mathbf{u} + \mathbf{v}. Relative to the basis \mathbf{u}, \mathbf{v}, the coordinates of \mathbf{w} = (3, 3) are (2, 1).

What never changes is the count: the plane needs two directions, whichever two. A basis is a spanning list that cannot be shortened and an independent list that cannot be lengthened, and Result 2 makes those the same number.

Results

1. Coordinates are unique. Relative to a basis of V, every \mathbf{x} in V has exactly one list of coordinates.

2. The exchange bound. If V is spanned by m vectors, every linearly independent list in V has at most m vectors.

3. Every basis has the same size. So \dim V is well defined, \dim \mathbb{R}^n = n and \dim\{\mathbf{0}\} = 0.

4. Every subspace has a basis. Every subspace V of \mathbb{R}^n has a basis, and \dim V \leq n.

5. Shrinking and extending. A list that spans V contains a basis of V. An independent list in V extends to a basis of V.

6. Two of the three conditions are enough. Let \dim V = k. Then k independent vectors in V span V, and k vectors that span V are independent. More than k vectors in V are dependent, and fewer than k do not span V.

7. Inside and the same size means equal. If U \subseteq V are subspaces, then \dim U \leq \dim V, and \dim U = \dim V forces U = V.

8. The subspaces of \mathbb{R}^3. The subspaces of \mathbb{R}^3 of dimension 0, 1, 2 and 3 are \{\mathbf{0}\}, the lines through the origin, the planes through the origin, and \mathbb{R}^3. There are no others.

9. Finding a basis. (a) Put \mathbf{v}_1, \dots, \mathbf{v}_k as the columns of a matrix and reduce it to an echelon form (Echelon forms and Gaussian elimination). The original vectors whose columns hold pivots are a basis of their span. (b) Solve A\mathbf{x} = \mathbf{0} by elimination and write the general solution with one vector per free variable. Those vectors are a basis of the solution set, so its dimension is the number of free variables.

Results 1 to 4 are the first day’s work; 5 to 9 are the second day’s.

Why it is true

Result 1. A basis spans V, so weights exist; it is independent, so they are unique (Result 6 of Linear independence).

Result 2. Let V = \operatorname{span}\{\mathbf{w}_1, \dots, \mathbf{w}_m\}, and let \mathbf{u}_1, \dots, \mathbf{u}_k in V have k > m. Write each \mathbf{u}_j = a_{1j}\mathbf{w}_1 + \dots + a_{mj}\mathbf{w}_m. The homogeneous system a_{i1}c_1 + \dots + a_{ik}c_k = 0, for i = 1, \dots, m, has more unknowns than equations: its k coefficient columns lie in \mathbb{R}^m, so they are dependent (Result 4 of Linear independence), and it has a solution with c_1, \dots, c_k not all zero. Collecting the terms in each \mathbf{w}_i,

\begin{aligned} \sum_{j=1}^{k} c_j\mathbf{u}_j &= \sum_{i=1}^{m} \Big(\sum_{j=1}^{k} a_{ij}c_j\Big)\mathbf{w}_i \\ &= \sum_{i=1}^{m} 0\,\mathbf{w}_i = \mathbf{0}. \end{aligned}

So the \mathbf{u}_j are dependent, and an independent list in V has k \leq m.

Result 3. Take two bases of V, with p and q vectors. The first spans V and the second is independent in V, so q \leq p by Result 2; exchanging their roles gives p \leq q. This There exists, and there is exactly one shows the two numbers equal by bounding each by the other. The standard basis gives \dim \mathbb{R}^n = n.

A lemma for growing a list. If \mathbf{u}_1, \dots, \mathbf{u}_j is independent and \mathbf{w} is not in its span, then \mathbf{u}_1, \dots, \mathbf{u}_j, \mathbf{w} is independent. In a relation with weight d on \mathbf{w}, d \neq 0 would let us solve for \mathbf{w} as a combination of the \mathbf{u}_i; so d = 0, and then every other weight is 0.

Result 4. If V = \{\mathbf{0}\}, the empty list is a basis. Otherwise start with any \mathbf{v}_1 \neq \mathbf{0} in V and, while the span of the list is not V, add a vector of V outside it. The lemma keeps the list independent, and the span stays inside V, which contains the span of any of its vectors (Subspaces). Independent lists in \mathbb{R}^n have at most n vectors, so this stops within n steps, and only when the span is V. This proves the claim left open in Subspaces: every subspace of \mathbb{R}^n is the span of at most n vectors.

Result 5. To shrink, go left to right and delete each vector that is \mathbf{0} or a combination of the kept vectors before it. The span does not change, and what remains is independent by Result 5 of Linear independence. To extend, add vectors of V outside the span as in Result 4; Result 2, with a basis of V as the spanning list, caps the length at \dim V.

Result 6. If k independent vectors in V did not span V, extending would give k + 1 independent vectors in a subspace spanned by k, against Result 2. If k vectors span V, shrinking gives a basis, which has k vectors by Result 3, so nothing was deleted. The last sentence is Result 2 read both ways.

Result 7. A basis of U is independent in V, so it has at most \dim V vectors. If it has exactly \dim V, it spans V by Result 6, so V \subseteq U.

Result 8. A subspace S of \mathbb{R}^3 has dimension 0 to 3 by Result 4. Dimension 1 means S = \operatorname{span}\{\mathbf{u}\} with \mathbf{u} \neq \mathbf{0}, a line; dimension 2 means the span of two independent vectors, a plane; dimension 3 gives S = \mathbb{R}^3 by Result 7. This finishes the argument in Subspaces: three vectors, each outside the span of those before, are independent by the lemma, so they span \mathbb{R}^3 by Result 6.

Result 9. (a) A relation among the columns is a solution of a homogeneous system, which row operations do not change, so the original vectors satisfy exactly the relations of the echelon columns. Setting one non-pivot weight to 1 and the other free weights to 0 writes that vector as a combination of pivot vectors, so it can be deleted. The pivot columns alone have a pivot in every column, so they are independent (Result 3 of Linear independence). (b) The general solution \mathbf{x} = t_1\mathbf{s}_1 + \dots + t_r\mathbf{s}_r shows the \mathbf{s}_i span. Each \mathbf{s}_i has 1 at its own free variable’s position and 0 at the other free positions, so that entry of a combination is t_i, and a zero combination has every t_i = 0.

Worked examples

Examples 1 to 3 belong to the first day; Examples 4 to 7 to the second.

Example 1

Day 1: Zilola’s three swaps

Show that \mathbf{s}_1 = (1, -1, 0, 0), \mathbf{s}_2 = (0, 1, -1, 0), \mathbf{s}_3 = (0, 0, 1, -1) is a basis of W, the subspace x_1 + x_2 + x_3 + x_4 = 0, so \dim W = 3. Find the coordinates of Dildora’s change (4, -1, 2, -5).

Solution

Each entry sum is 0, so all three lie in W. A general combination is

a\mathbf{s}_1 + b\mathbf{s}_2 + c\mathbf{s}_3 = (a,\ b - a,\ c - b,\ -c).

If it is \mathbf{0}, the entries in turn give a = 0, b = 0, c = 0: independent. For any \mathbf{x} in W, matching the first three entries forces a = x_1, b = x_1 + x_2, c = x_1 + x_2 + x_3, and the fourth entry, -(x_1 + x_2 + x_3), equals x_4 exactly because \mathbf{x} is in W: spanning. So the list is a basis and \dim W = 3.

Dildora’s entry sum is 4 - 1 + 2 - 5 = 0, and matching gives a = 4, b = 3, c = 5:

(4, -1, 2, -5) = 4\mathbf{s}_1 + 3\mathbf{s}_2 + 5\mathbf{s}_3.

By Result 1 no other weights work.

Example 2

Day 1: is it a basis of \mathbb{R}^3?

Decide whether each list is a basis of \mathbb{R}^3: (a) (1, 4, -2), (3, 0, 5); (b) (1, 0, 2), (0, 1, 1), (2, 1, 0), (1, 1, 1); (c) (1, 2, -1), (2, 5, 1), (0, 1, 4). For the basis, find the coordinates of (3, 9, 6).

Solution

(a) No. If two vectors spanned \mathbb{R}^3, the independent \mathbf{e}_1, \mathbf{e}_2, \mathbf{e}_3 would be three vectors in a subspace spanned by two, against Result 2.

(b) No. Four vectors in \mathbb{R}^3 are dependent (Result 4 of Linear independence).

(c) Reduce the matrix with these columns, using R_2 - 2R_1 and R_3 + R_1:

\begin{bmatrix} 1 & 2 & 0 \\ 2 & 5 & 1 \\ -1 & 1 & 4 \end{bmatrix} \to \begin{bmatrix} 1 & 2 & 0 \\ 0 & 1 & 1 \\ 0 & 3 & 4 \end{bmatrix}.

Then R_3 - 3R_2 leaves the last row (0, 0, 1). A pivot in every column makes the list independent, and a pivot in every row makes it span \mathbb{R}^3 (Span). So it is a basis.

The same row operations take the right side (3, 9, 6) to (3, 3, 9) and then (3, 3, 0). From the bottom, c_3 = 0, c_2 = 3 - c_3 = 3 and c_1 = 3 - 2c_2 = -3:

(3, 9, 6) = -3(1, 2, -1) + 3(2, 5, 1) + 0(0, 1, 4),

coordinates (-3, 3, 0). Check: (-3 + 6, -6 + 15, 3 + 3) = (3, 9, 6).

Example 3

Day 1: Umida’s basis

Umida proposes \mathbf{t}_1 = (1, 0, 0, -1), \mathbf{t}_2 = (0, 1, 0, -1), \mathbf{t}_3 = (0, 0, 1, -1). (a) Show they are also a basis of W. (b) Find the coordinates of (4, -1, 2, -5) in this basis. (c) Without computing, explain why no two vectors span W and any four vectors in W are dependent.

Solution

(a) Each lies in W, and a\mathbf{t}_1 + b\mathbf{t}_2 + c\mathbf{t}_3 = (a, b, c, -a - b - c). This is \mathbf{0} only when a = b = c = 0. For \mathbf{x} in W, take a = x_1, b = x_2, c = x_3; the last entry is then x_4 because \mathbf{x} is in W.

(b) The first three entries are the weights, (4, -1, 2, -5) = 4\mathbf{t}_1 - \mathbf{t}_2 + 2\mathbf{t}_3, and the last entry checks: -4 + 1 - 2 = -5. The coordinates are (4, -1, 2) here and (4, 3, 5) in Zilola’s basis: one vector, two lists of coordinates, three numbers in each.

(c) Both by Result 2. W is spanned by three vectors, so four in W are dependent. If two spanned W, Zilola’s three independent swaps would lie in a subspace spanned by two.

Example 4

Day 2: Zilola’s house recipes

Zilola’s house recipes, in kilograms per batch of (cocoa mass, cocoa butter, sugar, milk powder), are \mathbf{r}_1 = (2, 1, 0, 1), \mathbf{r}_2 = (4, 2, 0, 2), \mathbf{r}_3 = (0, 1, 2, 1), \mathbf{r}_4 = (2, 2, 2, 2) and \mathbf{r}_5 = (1, 0, 1, 3). Choose from them a basis of their span, give its dimension, and write the others in terms of the basis.

Solution

By Result 9(a), reduce the matrix with these columns, rows 1 and 2 swapped to start with a pivot of 1:

\begin{bmatrix} 1 & 2 & 1 & 2 & 0 \\ 2 & 4 & 0 & 2 & 1 \\ 0 & 0 & 2 & 2 & 1 \\ 1 & 2 & 1 & 2 & 3 \end{bmatrix}.

R_2 - 2R_1 and R_4 - R_1 give rows (0, 0, -2, -2, 1) and (0, 0, 0, 0, 3); R_3 + R_2 gives (0, 0, 0, 0, 2); and \displaystyle R_4 - \frac{3}{2}R_3 clears the last row:

\begin{bmatrix} 1 & 2 & 1 & 2 & 0 \\ 0 & 0 & -2 & -2 & 1 \\ 0 & 0 & 0 & 0 & 2 \\ 0 & 0 & 0 & 0 & 0 \end{bmatrix}.

The pivots are in columns 1, 3 and 5, so \mathbf{r}_1, \mathbf{r}_3, \mathbf{r}_5 is a basis of the span, of dimension 3. Weight 1 on column 2 and 0 on column 4 forces c_5 = c_3 = 0 and c_1 = -2; weight 1 on column 4 and 0 on column 2 forces c_5 = 0, c_3 = -1, c_1 = -1. So

\mathbf{r}_2 = 2\mathbf{r}_1, \qquad \mathbf{r}_4 = \mathbf{r}_1 + \mathbf{r}_3.

The basis is made of original recipes; the echelon columns, all ending in 0, span a different subspace.

Example 5

Day 2: the solutions of a homogeneous system

Find a basis and the dimension of the solution set N of A\mathbf{x} = \mathbf{0}, where

A = \begin{bmatrix} 1 & -1 & 2 & 0 & 3 \\ 2 & -2 & 5 & 1 & 4 \\ -1 & 1 & -1 & 1 & -5 \end{bmatrix}.
Solution

R_2 - 2R_1 and R_3 + R_1 both give (0, 0, 1, 1, -2), and R_3 - R_2 then leaves a zero row. The pivots are in columns 1 and 3, so x_2, x_4, x_5 are free. Row 2 gives x_3 = -x_4 + 2x_5, and row 1 gives x_1 = x_2 - 2x_3 - 3x_5 = x_2 + 2x_4 - 7x_5. So

\mathbf{x} = x_2\begin{bmatrix} 1 \\ 1 \\ 0 \\ 0 \\ 0 \end{bmatrix} + x_4\begin{bmatrix} 2 \\ 0 \\ -1 \\ 1 \\ 0 \end{bmatrix} + x_5\begin{bmatrix} -7 \\ 0 \\ 2 \\ 0 \\ 1 \end{bmatrix}.

By Result 9(b), (1, 1, 0, 0, 0), (2, 0, -1, 1, 0), (-7, 0, 2, 0, 1) is a basis of N, and \dim N = 3: five unknowns less two pivots.

Example 6

Day 2: Dildora’s swaps, no spanning check

Dildora proposes \mathbf{d}_1 = (2, -1, -1, 0), \mathbf{d}_2 = (0, 3, 0, -3), \mathbf{d}_3 = (1, 1, -2, 0). (a) Show they are a basis of W without checking that they span. (b) Extend them to a basis of \mathbb{R}^4.

Solution

(a) Each entry sum is 0, so all three are in W. If a\mathbf{d}_1 + b\mathbf{d}_2 + c\mathbf{d}_3 = \mathbf{0}, the fourth entry gives b = 0, the third a = -2c, and the first 2a + c = -3c = 0, so all three weights are 0. Three independent vectors in W, which has dimension 3 (Example 1), span it by Result 6: the count does the spanning check.

(b) Add any vector outside W, such as \mathbf{e}_1 = (1, 0, 0, 0), whose entry sum is 1. It is not in \operatorname{span}\{\mathbf{d}_1, \mathbf{d}_2, \mathbf{d}_3\} = W, so by the lemma the four are independent, and four independent vectors in \mathbb{R}^4 are a basis by Result 6.

Example 7

Day 2: which subspace of \mathbb{R}^3?

Let U = \operatorname{span}\{(1, 2, 1), (0, 1, -1), (2, 5, 1)\} and let P be the plane 3x - y - z = 0. (a) Find \dim U and say what kind of subspace U is. (b) Show that U = P.

Solution

(a) (2, 5, 1) = 2(1, 2, 1) + (0, 1, -1), so deleting it leaves the span unchanged. The other two are independent: (0, 1, -1) = k(1, 2, 1) would need k = 0 from the first entry, and then 1 = 0. So \dim U = 2, and by Result 8, U is a plane through the origin.

(b) Each spanning vector satisfies the equation: 3 - 2 - 1 = 0, 0 - 1 + 1 = 0, 6 - 5 - 1 = 0. P is a subspace, so it contains their span: U \subseteq P. Solving z = 3x - y gives P = \operatorname{span}\{(1, 0, 3), (0, 1, -1)\}, two independent vectors, so \dim P = 2. Inside and the same dimension, so U = P by Result 7.

Boundaries

  • A basis and a dimension belong to a subspace. A line that misses the origin, or the solution set of A\mathbf{x} = \mathbf{b} with \mathbf{b} \neq \mathbf{0}, has no basis in this sense.
  • Dimension counts basis vectors, not entries: W has dimension 3 while its vectors have 4 entries.
  • Result 6 needs both the exact count and membership in V: three independent vectors in \mathbb{R}^4 do not span \mathbb{R}^4. Result 7 needs U \subseteq V: two different planes through the origin both have dimension 2.
  • Result 9(a) keeps vectors from the original list; the echelon columns usually span a different subspace.
  • Coordinates depend on the basis and its order; only their count is fixed.

Where this goes next

Rank and nullity reads the pivots and free variables of a matrix as dimensions of two subspaces that add up to the number of columns, as in Example 5. Coordinates in a basis and change of basis converts one basis’s coordinates into another’s, the link between Examples 1 and 3. Orthogonal bases and projection onto a subspace uses bases of perpendicular vectors, where coordinates come from dot products. Reduced row echelon form makes Result 9 quicker.

Exercises

Day 1: bases and coordinates

  1. Show that (3, 1), (-2, 4) is a basis of \mathbb{R}^2 and find the coordinates of (5, 11) relative to it.
  2. Show that (1, 0, 1), (2, 1, 0), (0, 3, 1) is a basis of \mathbb{R}^3 and find the coordinates of (3, 4, 2) relative to it.
  3. Find a basis of the plane x + y - 2z = 0 in \mathbb{R}^3, its dimension, and the coordinates of (0, 2, 1) in your basis.
  4. Umida allows only changes that keep the bar’s weight and leave the cocoa mass alone: x_1 + x_2 + x_3 + x_4 = 0 and x_1 = 0. Find a basis and the dimension of this subspace.

Day 1: reasoning

  1. Explain why (1, 2, 3, 4), (0, 1, 0, 1), (2, 5, 6, 9) is not a basis of \mathbb{R}^4, and why no list of five vectors is.
  2. Prove that a basis never contains \mathbf{0}, and that deleting any vector from a basis of V leaves a list that does not span V.
  3. Let \mathbf{v}_1, \dots, \mathbf{v}_k be in V, and suppose every vector of V is a combination of them with exactly one list of weights. Prove that the list is a basis of V.

Day 2: finding bases

  1. Find a basis of \operatorname{span}\{(1, 2, -1), (3, 6, -3), (0, 1, 2), (2, 5, 0)\} chosen from these vectors, its dimension, and which kind of subspace of \mathbb{R}^3 it is.
  2. Find a basis and the dimension of the solution set of x_1 + 3x_2 - x_3 + 2x_4 = 0 in \mathbb{R}^4.
  3. Umida’s fillings, in kilograms per batch of (cocoa mass, cocoa butter, sugar, milk powder), are \mathbf{f}_1 = (3, 1, 2, 0), \mathbf{f}_2 = (1, 1, 0, 2), \mathbf{f}_3 = (4, 2, 2, 2), \mathbf{f}_4 = (5, 3, 2, 4), \mathbf{f}_5 = (1, 2, 1, 1). Find a smallest list among them from which all five can be built, and the dimension of their span.

Day 2: counting instead of computing

  1. Show that (1, 2, -3, 0), (0, 1, 1, -2), (3, 0, -1, -2) is a basis of W, the subspace x_1 + x_2 + x_3 + x_4 = 0.
  2. Extend (1, -1, 2), (2, 0, 1) to a basis of \mathbb{R}^3.

Day 2: reasoning

  1. Explain why the solution set of a homogeneous system of three equations in five unknowns has dimension at least 2.
  2. Prove that two planes through the origin in \mathbb{R}^3 always share a line through the origin. (Four vectors in \mathbb{R}^3 are dependent.)
  3. Refute with (1, 1, 0), (1, 0, 1), (2, 1, 1): “three vectors in \mathbb{R}^3, none a multiple of another, always form a basis.”
  4. Prove that n vectors in \mathbb{R}^n form a basis exactly when an echelon form of the matrix with them as columns has a pivot in every column.
Answers
  1. Coordinates (3, 2). (-2, 4) = k(3, 1) would need \displaystyle k = -\frac{2}{3} and k = 4, so the two are independent, and so they span \mathbb{R}^2 by Result 6. 3(3, 1) + 2(-2, 4) = (5, 11).
  2. Coordinates (1, 1, 1). With the vectors as columns, R_3 - R_1 gives (0, -2, 1) and R_3 + 2R_2 gives (0, 0, 7): a pivot in every row and column. (1, 0, 1) + (2, 1, 0) + (0, 3, 1) = (3, 4, 2).
  3. Basis (-1, 1, 0), (2, 0, 1); dimension 2; coordinates (2, 1). Solving x = -y + 2z gives (x, y, z) = y(-1, 1, 0) + z(2, 0, 1), independent since entries 2 and 3 read y and z. 2(-1, 1, 0) + (2, 0, 1) = (0, 2, 1).
  4. Basis (0, -1, 1, 0), (0, -1, 0, 1); dimension 2. With x_1 = 0, x_2 = -x_3 - x_4, so each such change is x_3(0, -1, 1, 0) + x_4(0, -1, 0, 1); entries 3 and 4 show independence.
  5. If three vectors spanned \mathbb{R}^4, the four independent \mathbf{e}_1, \dots, \mathbf{e}_4 would lie in a space spanned by three, against Result 2. (These three are dependent anyway: (2, 5, 6, 9) = 2(1, 2, 3, 4) + (0, 1, 0, 1).) Five vectors in \mathbb{R}^4 are dependent by Result 4 of Linear independence.
  6. A list containing \mathbf{0} is dependent (Result 2 of Linear independence). If the list without \mathbf{v}_j still spanned V, then \mathbf{v}_j would be a combination of the others, and the basis would be dependent by Result 1 there (with no others, \mathbf{v}_j = \mathbf{0}).
  7. Every vector of V is a combination, so the list spans V. The trivial weights give \mathbf{0}, and by hypothesis no other weights do, so the list is independent.
  8. Basis (1, 2, -1), (0, 1, 2); dimension 2; a plane through the origin. With the vectors as columns, R_2 - 2R_1 and R_3 + R_1 give rows (0, 0, 1, 1) and (0, 0, 2, 2), and R_3 - 2R_2 clears the last: pivots in columns 1 and 3.
  9. Basis (-3, 1, 0, 0), (1, 0, 1, 0), (-2, 0, 0, 1); dimension 3. Solve x_1 = -3x_2 + x_3 - 2x_4 with x_2, x_3, x_4 free.
  10. \mathbf{f}_1, \mathbf{f}_2, \mathbf{f}_5; dimension 3. \mathbf{f}_3 = \mathbf{f}_1 + \mathbf{f}_2 and \mathbf{f}_4 = \mathbf{f}_1 + 2\mathbf{f}_2 can be deleted. \mathbf{f}_1, \mathbf{f}_2 are not multiples, and a\mathbf{f}_1 + b\mathbf{f}_2 = (3a + b, a + b, 2a, 2b) equals \mathbf{f}_5 only if \displaystyle a = b = \frac{1}{2}, but then 3a + b = 2 \neq 1. So \mathbf{f}_5 is outside their span, and the lemma makes the three independent.
  11. Each entry sum is 0. If a(1, 2, -3, 0) + b(0, 1, 1, -2) + c(3, 0, -1, -2) ={} \mathbf{0}, the fourth entry gives b = -c, the first a = -3c, and the second 2a + b = -7c = 0, so all weights are 0. Three independent vectors in W, of dimension 3, are a basis by Result 6.
  12. Add (1, 0, 0), for example. a(1, -1, 2) + b(2, 0, 1) = (1, 0, 0) forces a = 0 (second entry) and b = 0 (third), but then the first entry is 0 \neq 1. So the lemma makes the three independent, and they are a basis by Result 6.
  13. An echelon form has at most one pivot per row, so at most 3 pivots among 5 columns, leaving at least 2 free variables, and by Result 9(b) the dimension is the number of free variables.
  14. Let the planes be \operatorname{span}\{\mathbf{a}, \mathbf{b}\} and \operatorname{span}\{\mathbf{c}, \mathbf{d}\}, each pair independent. Four vectors in \mathbb{R}^3 are dependent: x\mathbf{a} + y\mathbf{b} + z\mathbf{c} + w\mathbf{d} = \mathbf{0}, weights not all 0. Then \mathbf{p} = x\mathbf{a} + y\mathbf{b} = -(z\mathbf{c} + w\mathbf{d}) lies in both planes. If \mathbf{p} = \mathbf{0}, independence of each pair forces all four weights to be 0, which they are not. So both planes contain the line \operatorname{span}\{\mathbf{p}\}.
  15. A nonzero multiple keeps its zeros in the same places, and these three have zeros in different places (the last has none), so no two are multiples. Yet (2, 1, 1) = (1, 1, 0) + (1, 0, 1), so the list is dependent, and so it is not a basis.
  16. \dim \mathbb{R}^n = n, so by Result 6 a list of n vectors is a basis exactly when it is independent, which by Result 3 of Linear independence happens exactly when every column of an echelon form has a pivot.
kg1128 · updated 2026-10-22 · CC-BY-SA-4.0