Books
Theme
Text size
Width

[ and ] go to the previous and next page.

In 𝐹𝑛 a vector is its list of entries: 𝐱=(𝑥1,…,𝑥𝑛) is the linear combination 𝑥1𝐞1+⋯+𝑥𝑛𝐞𝑛, and no other linear combination of 𝐞1,…,𝐞𝑛 represents it. A basis of a vector space 𝑉 is a list that does for 𝑉 what 𝐞1,…,𝐞𝑛 does for 𝐹𝑛: every vector of 𝑉 is represented by exactly one of its linear combinations. The coefficients of that combination are the coordinates of the vector. They name each vector of 𝑉 by a column in 𝐹𝑛, and they turn computations in 𝑉 into computations with columns. This section defines bases, shows that every spanning list contains one, and develops coordinates.

1.6.1Bases

Throughout, 𝑉 is a vector space over a field 𝐹.

Definition 1.6.1 (Basis). A list ℬ︀ in 𝑉 is a basis of 𝑉 if every vector of 𝑉 is represented by exactly one linear combination of ℬ︀. The plural of basis is bases.

So ℬ︀=𝐯1,…,𝐯𝑛 is a basis when, for every 𝐯∈𝑉, the equation

𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛=𝐯

has exactly one solution (𝑎1,…,𝑎𝑛). “Exactly one” is two claims: at least one solution, and at most one. The first is a statement about the span of ℬ︀, and the second is the uniqueness that defines linear independence.

Proposition 1.6.2 (Bases are independent spanning lists). A list ℬ︀ in 𝑉 is a basis of 𝑉 if and only if ℬ︀ spans 𝑉 and ℬ︀ is linearly independent.

Proof.routine

Uses. Definition 1.6.1 (Basis), Definition 1.3.12 (Spanning list), Definition 1.5.1 (Linear independence), Definition 1.3.10 (Span)

Hint 1. Split “exactly one linear combination represents 𝐯” into “at least one” and “at most one”. Which of the two properties of ℬ︀ is each of them?
Hint 2. Definition 1.5.1 asks for uniqueness only for vectors of span(ℬ︀). If ℬ︀ spans 𝑉, which vectors are those?
Sketch. “At least one representation for every 𝐯∈𝑉” says span(ℬ︀)=𝑉. Given that, “at most one representation for every 𝐯∈𝑉” is the same as “exactly one for every vector of span(ℬ︀)”, which is linear independence.

(⇒) Suppose that ℬ︀ is a basis of 𝑉. Every 𝐯∈𝑉 is represented by some linear combination of ℬ︀, so 𝑉⊆span(ℬ︀). The span consists of vectors of 𝑉, so span(ℬ︀)=𝑉. Every vector of span(ℬ︀)=𝑉 is then represented by exactly one linear combination of ℬ︀, which is Definition 1.5.1.

(⇐) Suppose that ℬ︀ spans 𝑉 and is linearly independent, and let 𝐯∈𝑉. Since 𝐯∈𝑉=span(ℬ︀), some linear combination of ℬ︀ represents 𝐯, and by independence no other one does. □

The lecture defines a basis by unique representation and records the proposition as an equivalent form. The proposition splits the work of checking a basis into two familiar tasks: show that every vector is a linear combination of ℬ︀ (spanning), and show that 𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛=𝟎 forces every 𝑎𝑖=0 (independence, by Theorem 1.5.5). The definition suggests doing both at once: solve 𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛=𝐯 for an arbitrary 𝐯. If the computation shows that the 𝑎𝑖 must be given by certain formulas, and these formulas do give a solution, then the solution exists and is unique.

Example 1.6.3 (First bases).
  1. (a)In ℝ2, consider (1,1),(1,−1). For (𝑥,𝑦)∈ℝ2, the equation 𝑎(1,1)+𝑏(1,−1)=(𝑥,𝑦) reads 𝑎+𝑏=𝑥 and 𝑎−𝑏=𝑦. Adding and subtracting, any solution has 𝑎=(𝑥+𝑦)/2 and 𝑏=(𝑥−𝑦)/2, and these values are a solution. So each (𝑥,𝑦) is represented by exactly one linear combination, and (1,1),(1,−1) is a basis of ℝ2. The same computation works over any field with 1+1≠0. Over 𝔽2 the list is not a basis: there (1,−1)=(1,1), and a list with a repeated entry is dependent (Proposition 1.5.15).
  2. (b)Let 𝑃={(𝑥,𝑦,𝑧)∈ℝ3|𝑥+𝑦+𝑧=0}. The list (1,0,−1),(0,1,−1) spans 𝑃 (Exercise 1.3.16). It is independent, because 𝑎(1,0,−1)+𝑏(0,1,−1)=(𝑎,𝑏,−𝑎−𝑏) is 𝟎 only if 𝑎=𝑏=0. So it is a basis of the plane 𝑃, a vector space in its own right (Definition 1.4.1).
  3. (c)The zero space {𝟎} has the empty list () as a basis: () spans {𝟎} and is independent (Definition 1.3.10, Proposition 1.5.15). It is the only basis, since every nonempty list in {𝟎} contains 𝟎 and is therefore dependent.
Non-example 1.6.4 (One property without the other).
  1. (a)In ℝ3, the list (1,0,1),(0,1,1) is linearly independent, because 𝑎(1,0,1)+𝑏(0,1,1)=(𝑎,𝑏,𝑎+𝑏), which is 𝟎 only if 𝑎=𝑏=0. It does not span ℝ3: every vector (𝑎,𝑏,𝑎+𝑏) of its span has third coordinate equal to the sum of the first two, and (0,0,1) does not. So the vector (0,0,1) has no representation at all.
  2. (b)In ℝ2, the list (1,0),(0,1),(1,1) spans ℝ2, as its sublist (1,0),(0,1) already does. It is dependent, since (1,0)+(0,1)−(1,1)=𝟎. So every vector has many representations: (1,1)=1(1,0)+1(0,1)+0(1,1)=0(1,0)+0(0,1)+1(1,1).

Whether a list is a basis depends on the field, since both spanning and independence do.

Example 1.6.5 (ℂ over ℝ and over ℂ). Regard ℂ as a vector space over ℝ (Example 1.2.20). The list 1,𝑖 spans it, since every complex number is 𝑎+𝑏𝑖=𝑎⋅1+𝑏⋅𝑖 with 𝑎,𝑏∈ℝ, and it is independent over ℝ (Example 1.5.19). So 1,𝑖 is a basis of ℂ over ℝ. Over ℂ the same list is dependent, as 𝑖⋅1+(−1)⋅𝑖=0, so it is not a basis of ℂ over ℂ. Instead, the list 1 is: every 𝑧∈ℂ is 𝑧⋅1 for exactly one complex scalar, namely 𝑧. So the same set has bases of length 2 over ℝ and of length 1 over ℂ.
Exercise 1.6.6.routine Let 𝑊={𝑝∈ℝ[𝑥]≤3|𝑝(1)=0}. Show that 𝑥−1,𝑥2−1,𝑥3−1 is a basis of 𝑊.

Solution.

Uses. Proposition 1.6.2 (Bases are independent spanning lists), Exercise 1.3.32, Proposition 1.5.24 (Distinct degrees)

Hint 1. By Proposition 1.6.2, check spanning and independence separately. One of them is already done in Section 1.3.
Hint 2. The three polynomials are nonzero and have different degrees.
Sketch. The list spans 𝑊 by Exercise 1.3.32. Its entries have degrees 1,2,3, so it is independent by Proposition 1.5.24.
Each entry has degree at most 3 and value 1−1=0 at 1, so the list lies in 𝑊, and it spans 𝑊 by Exercise 1.3.32. Its entries are nonzero polynomials of the distinct degrees 1, 2, and 3, so it is linearly independent by Proposition 1.5.24. By Proposition 1.6.2, it is a basis of 𝑊.

1.6.2Standard bases

The spaces 𝐹𝑛, 𝐹𝑚×𝑛, and 𝐹[𝑥]≤𝑛 each come with a basis in which the coefficients of a vector are the numbers used to write it down.

Proposition 1.6.7 (Standard bases).
  1. (a)In 𝐹𝑛, the list 𝐞1,…,𝐞𝑛 is a basis, where 𝐞𝑖 has 1 in position 𝑖 and 0 elsewhere.
  2. (b)In 𝐹𝑚×𝑛, let 𝑈𝑖𝑗 be the matrix with 1 in position (𝑖,𝑗) and 0 elsewhere. The 𝑚𝑛 matrices 𝑈𝑖𝑗, listed row by row as

    𝑈11,𝑈12,…,𝑈1𝑛,𝑈21,…,𝑈2𝑛,…,𝑈𝑚1,…,𝑈𝑚𝑛,

    form a basis.

  3. (c)In 𝐹[𝑥]≤𝑛, the list 1,𝑥,𝑥2,…,𝑥𝑛 is a basis.

Proof.routine

Uses. Definition 1.6.1 (Basis), Definition 1.2.4 (The space 𝐹𝑛), Definition 1.2.7 (Matrices), Notation 1.2.15, Example 1.3.7 (Standard lists)

Hint 1. Use Definition 1.6.1 directly: compute the vector represented by an arbitrary linear combination, and compare with the vector you want to represent.
Hint 2. The combination 𝑐1𝐞1+⋯+𝑐𝑛𝐞𝑛 is the column (𝑐1,…,𝑐𝑛). What are the analogous statements for ∑𝑐𝑖𝑗𝑈𝑖𝑗 and 𝑐0+𝑐1𝑥+⋯+𝑐𝑛𝑥𝑛?
Sketch. In each case the combination with coefficients 𝑐 is the vector whose entries (or coefficients) are the 𝑐’s: ∑𝑐𝑖𝐞𝑖=(𝑐1,…,𝑐𝑛), ∑𝑐𝑖𝑗𝑈𝑖𝑗 has (𝑖,𝑗) entry 𝑐𝑖𝑗, and ∑𝑐𝑘𝑥𝑘 has 𝑘-th coefficient 𝑐𝑘. So the combination represents a given vector exactly when its coefficients are that vector’s entries.

(a) By the coordinatewise operations, the linear combination with coefficients 𝑐1,…,𝑐𝑛 represents 𝑐1𝐞1+⋯+𝑐𝑛𝐞𝑛=(𝑐1,…,𝑐𝑛) (Example 1.3.7). This equals 𝐱=(𝑥1,…,𝑥𝑛) if and only if 𝑐𝑖=𝑥𝑖 for every 𝑖. So every 𝐱∈𝐹𝑛 is represented by exactly one linear combination.

(b) By the entrywise operations, the (𝑘,𝑙) entry of ∑𝑖,𝑗𝑐𝑖𝑗𝑈𝑖𝑗 is ∑𝑖,𝑗𝑐𝑖𝑗(𝑈𝑖𝑗)𝑘𝑙=𝑐𝑘𝑙, since (𝑈𝑖𝑗)𝑘𝑙 is 1 for (𝑖,𝑗)=(𝑘,𝑙) and 0 otherwise. So the linear combination with coefficients 𝑐𝑖𝑗 represents 𝐴=(𝑎𝑖𝑗) if and only if 𝑐𝑖𝑗=𝑎𝑖𝑗 for all 𝑖,𝑗.

(c) By Notation 1.2.15, 𝑐0+𝑐1𝑥+⋯+𝑐𝑛𝑥𝑛 is the polynomial with coefficients (𝑐0,…,𝑐𝑛,0,0,…). A polynomial 𝑝∈𝐹[𝑥]≤𝑛 has the form (𝑎0,…,𝑎𝑛,0,0,…), and the two are equal if and only if 𝑐𝑘=𝑎𝑘 for 0≤𝑘≤𝑛. □

Definition 1.6.8 (Standard bases). The bases of Proposition 1.6.7 are the standard bases of 𝐹𝑛, 𝐹𝑚×𝑛, and 𝐹[𝑥]≤𝑛. The vector 𝐞𝑖 is the 𝑖-th standard basis vector of 𝐹𝑛, and the 𝑈𝑖𝑗 are the matrix units of 𝐹𝑚×𝑛.

The notation 𝐞𝑖 does not record 𝑛, which is always clear from the context: 𝐞1=(1,0) in 𝐹2 and 𝐞1=(1,0,0) in 𝐹3. For matrix units we avoid the name 𝐸𝑖𝑗, which Section 3.2 reserves for elementary matrices. Once matrices can be multiplied, 𝑈𝑖𝑗=𝐞𝑖𝐞𝑗𝖳 (Lemma 2.4.24). A column is an 𝑛×1 matrix, and the matrix units of 𝐹𝑛×1 are the 𝑈𝑖1=𝐞𝑖, so (b) contains (a).

The standard bases have lengths 𝑛, 𝑚𝑛, and 𝑛+1, and these numbers will turn out to be the dimensions of the three spaces: we will see in Section 4.1 that all bases of a vector space have the same length (Theorem 4.1.4). The space 𝐹𝑛 has many other bases, as Example 1.6.3(a) shows already for 𝑛=2. The standard basis is the one in which coefficients can be read off without computation.

1.6.3Every spanning list contains a basis

A spanning list fails to be a basis only by being dependent. The linear dependence lemma finds an entry whose deletion does not change the span, so we can delete it and still have a spanning list. Repeating this, the list gets shorter at each step, so the process stops, and it can only stop at an independent list. To turn “repeat until it stops” into a proof, we induct on the length of the list.

Technique 1.6.9 (Induction on the length of a list). Many statements are about all lists in 𝑉, or about linear combinations of every length. To prove one, induct on the length 𝑘. The base case is usually the empty list, where the claim tends to be immediate: span(())={𝟎}, the empty list is independent, and the empty sum is 𝟎. In the inductive step, take a list of length 𝑘+1, produce from it a list of length 𝑘 (by deleting a well-chosen entry, or by splitting off the last term of a sum), apply the inductive hypothesis to the shorter list, and carry the conclusion back to the original list.

Two things need care. First, the inductive hypothesis must cover every list of length 𝑘, since the shorter list is produced by the argument and is not known in advance. Second, if the statement has hypotheses (for instance, that the list spans 𝑉), the shorter list must satisfy them too. Deleting an arbitrary entry of a spanning list can destroy spanning, which is why the deleted entry has to be chosen (Exercise 1.6.30).

Reach for it when removing one entry or one term reduces a claim to the same claim for a shorter list. The canonical example is Theorem 1.6.10, which deletes an entry supplied by Lemma 1.5.10. The arithmetic of linear combinations (Lemma 1.3.9) was proved by splitting off the last term, and so is Proposition 1.6.19(c) below. Later, the exchange lemma (Lemma 4.1.2) and Gram–Schmidt (Algorithm 6.4.14) are built the same way.

The lecture proves a slightly more general statement, about lists that need not span 𝑉. Any list spans its own span, so the general statement says that every list can be thinned to an independent list without losing any of its span.

Theorem 1.6.10 (Every spanning list contains a basis). Every list ℒ︀ in 𝑉 has a linearly independent sublist ℒ︀′ with span(ℒ︀′)=span(ℒ︀), and such an ℒ︀′ is a basis of span(ℒ︀). In particular, if ℒ︀ spans 𝑉, then some sublist of ℒ︀ is a basis of 𝑉.

Once an independent sublist ℒ︀′ with the same span is found, the rest is formal. The entries of ℒ︀′ lie in the subspace span(ℒ︀) (Proposition 1.4.14), ℒ︀′ spans it, and ℒ︀′ is independent there, because linear relations are computed with the same operations in 𝑉 and in the subspace. So ℒ︀′ is a basis of span(ℒ︀) by Proposition 1.6.2, and if ℒ︀ spans 𝑉, then span(ℒ︀)=𝑉. We give three proofs that ℒ︀′ exists. The first is the lecture’s induction; the second and third show what that induction is doing in two other forms.

Proof (induction on the length).standard

Uses. Lemma 1.5.10 (Linear dependence lemma), Proposition 1.5.15 (Short lists, zeros, and repeats), Notation 1.3.3

Techniques. Induction on the length of a list (Technique 1.6.9)

Hint 1. Induct on 𝑘=|ℒ︀|. What is the empty list’s span, and is the empty list independent?
Hint 2. In the inductive step, if ℒ︀ is independent there is nothing to do. Otherwise, which entry can be deleted without changing the span?
Hint 3. Delete the entry given by Lemma 1.5.10 and apply the inductive hypothesis to the shorter list. Why is a sublist of the shorter list also a sublist of ℒ︀?
Sketch. Induct on |ℒ︀|. The empty list is independent. For a list of length 𝑘+1: if it is independent, take ℒ︀′=ℒ︀; if not, Lemma 1.5.10 gives an entry whose deletion keeps the span, and the inductive hypothesis, applied to the resulting list of length 𝑘, gives an independent sublist with the same span, which is also a sublist of ℒ︀.

We prove by induction on 𝑘≥0 that every list of length 𝑘 in 𝑉 has a linearly independent sublist with the same span.

Base case. If 𝑘=0, then ℒ︀=(), which is independent (Proposition 1.5.15(a)). Take ℒ︀′=ℒ︀.

Inductive step. Suppose that every list of length 𝑘 in 𝑉 has an independent sublist with the same span, and let ℒ︀=𝐯1,…,𝐯𝑘+1. If ℒ︀ is independent, take ℒ︀′=ℒ︀. Otherwise, by Lemma 1.5.10 there is an index 𝑗 such that the list

ℒ︀𝑗=𝐯1,…,𝐯𝑗−1,𝐯𝑗+1,…,𝐯𝑘+1

satisfies span(ℒ︀𝑗)=span(ℒ︀). The list ℒ︀𝑗 has length 𝑘, so by the inductive hypothesis it has an independent sublist ℒ︀′ with span(ℒ︀′)=span(ℒ︀𝑗)=span(ℒ︀). Deleting entries from ℒ︀𝑗 amounts to deleting entries from ℒ︀, so ℒ︀′ is a sublist of ℒ︀ (Notation 1.3.3), as desired. □

Intuition (What the induction is doing). Unwinding the induction, the proof deletes redundant entries one at a time until none is left. The induction guarantees that this stops, because each deletion shortens the list. Another way to guarantee it is to look directly at the end result: a shortest sublist with the same span. Such a sublist exists because lengths are nonnegative integers, and it cannot be dependent, since the dependence lemma would shorten it further. This is the extremal form of the same argument (Technique 1.5.9).

Proof (a shortest sublist).standard

Hint 1. Among all sublists of ℒ︀ with the same span as ℒ︀, choose one of the smallest length. Why is there at least one such sublist?
Hint 2. If the chosen sublist were dependent, what would Lemma 1.5.10 produce?
Sketch. The sublists of ℒ︀ with span span(ℒ︀) include ℒ︀, so there is one, ℒ︀′, of smallest length. If ℒ︀′ were dependent, deleting the entry given by Lemma 1.5.10 would give a shorter sublist of ℒ︀ with the same span, contradicting minimality.
Let 𝑆 be the set of sublists of ℒ︀ whose span is span(ℒ︀). It is nonempty, since ℒ︀∈𝑆. The lengths of the members of 𝑆 are nonnegative integers, so some ℒ︀′∈𝑆 has the smallest length. Suppose, to the contrary, that ℒ︀′ is dependent. By Lemma 1.5.10, deleting a suitable entry of ℒ︀′ gives a list ℒ︀″ with span(ℒ︀″)=span(ℒ︀′)=span(ℒ︀). As a sublist of a sublist of ℒ︀, ℒ︀″ is a sublist of ℒ︀, so ℒ︀″∈𝑆, and it is shorter than ℒ︀′. This contradicts the choice of ℒ︀′. So ℒ︀′ is independent. □

Both proofs make a choice they cannot control: which redundant entry to delete, or which shortest sublist to take. The third proof makes no choices. It reads the list from left to right and keeps exactly the entries that are not in the span of the entries before them. This procedure, sifting, can be carried out by hand or by a computer, and its output is determined by ℒ︀. In Section 4.2 the entries it keeps reappear as the pivot columns of a matrix.

Proof (sifting).standard

Uses. Corollary 1.5.13 (Independence, one entry at a time), Corollary 1.3.20 (Operations that preserve the span), Corollary 1.3.19 (Equal spans), Proposition 1.3.17 (A list lies in its span)

Techniques. Induction on the length of a list (Technique 1.6.9)

Hint 1. Let ℒ︀′ consist of the entries 𝐯𝑗 with 𝐯𝑗∉span(𝐯1,…,𝐯𝑗−1). Independence of ℒ︀′ should come from Corollary 1.5.13.
Hint 2. For each 𝑗, compare span(𝐯1,…,𝐯𝑗) with the span of the entries of ℒ︀′ among 𝐯1,…,𝐯𝑗. Prove that they are equal by induction on 𝑗.
Hint 3. In the inductive step, split into the cases where 𝐯𝑗 is kept and where it is deleted. In the second case, Corollary 1.3.20(c) applies.
Sketch. Keep 𝐯𝑗 exactly when 𝐯𝑗∉𝑆𝑗−1=span(𝐯1,…,𝐯𝑗−1). By induction on 𝑗, the kept entries among the first 𝑗 span 𝑆𝑗: a kept entry is added to both sides, and a deleted entry lies in 𝑆𝑗−1, so 𝑆𝑗=𝑆𝑗−1. Taking 𝑗=𝑘 gives the span. Each kept entry lies outside 𝑆𝑗−1, which is the span of the earlier kept entries, so the kept list is independent by Corollary 1.5.13.

Let ℒ︀=𝐯1,…,𝐯𝑘, and write 𝑆𝑗=span(𝐯1,…,𝐯𝑗) for 0≤𝑗≤𝑘, so 𝑆0={𝟎}. Call 𝐯𝑗 kept if 𝐯𝑗∉𝑆𝑗−1 and deleted otherwise. Let ℒ︀′ be the sublist of kept entries, and for 0≤𝑗≤𝑘 let 𝒦︀𝑗 be the sublist of kept entries among 𝐯1,…,𝐯𝑗.

We show by induction on 𝑗 that span(𝒦︀𝑗)=𝑆𝑗. For 𝑗=0 both sides are {𝟎}. Let 𝑗≥1 and assume span(𝒦︀𝑗−1)=𝑆𝑗−1.

  • If 𝐯𝑗 is kept, then 𝒦︀𝑗=𝒦︀𝑗−1,𝐯𝑗. The entries of 𝒦︀𝑗 are entries of 𝐯1,…,𝐯𝑗, so they lie in 𝑆𝑗 (Proposition 1.3.17). Conversely, 𝐯1,…,𝐯𝑗−1 lie in 𝑆𝑗−1=span(𝒦︀𝑗−1)⊆span(𝒦︀𝑗), and 𝐯𝑗 is an entry of 𝒦︀𝑗. By Corollary 1.3.19, span(𝒦︀𝑗)=𝑆𝑗.
  • If 𝐯𝑗 is deleted, then 𝒦︀𝑗=𝒦︀𝑗−1 and 𝐯𝑗∈𝑆𝑗−1, so 𝑆𝑗=𝑆𝑗−1 by Corollary 1.3.20(c). Hence span(𝒦︀𝑗)=span(𝒦︀𝑗−1)=𝑆𝑗−1=𝑆𝑗.

For 𝑗=𝑘 this gives span(ℒ︀′)=span(𝒦︀𝑘)=𝑆𝑘=span(ℒ︀).

For independence, let 𝐯𝑗 be a kept entry. The entries of ℒ︀′ that come before it form 𝒦︀𝑗−1, whose span is 𝑆𝑗−1, and 𝐯𝑗∉𝑆𝑗−1 by definition. So no entry of ℒ︀′ lies in the span of the entries of ℒ︀′ before it, and ℒ︀′ is independent by Corollary 1.5.13. □

Example 1.6.11 (Sifting a list of polynomials). In ℝ[𝑥]≤2, let

ℒ︀=𝐯1,…,𝐯5=1+𝑥,2+2𝑥,𝑥−𝑥2,1+𝑥2,𝑥2.

We sift. The entry 𝐯1=1+𝑥 is nonzero, so it is kept. Next, 𝐯2=2𝐯1 lies in span(𝐯1) and is deleted. Every vector of span(𝐯1,𝐯2)=span(1+𝑥) has degree at most 1, so 𝐯3=𝑥−𝑥2 is kept. Then 𝐯4=1+𝑥2=(1+𝑥)−(𝑥−𝑥2) is deleted. Finally, a linear combination

𝑎(1+𝑥)+𝑏(𝑥−𝑥2)=𝑎+(𝑎+𝑏)𝑥−𝑏𝑥2

equals 𝑥2 only if 𝑎=0, 𝑏=−1, and 𝑎+𝑏=0, which is impossible. So 𝐯5=𝑥2 is kept, and sifting produces

ℒ︀′=1+𝑥,𝑥−𝑥2,𝑥2,

a basis of span(ℒ︀). Here span(ℒ︀) is all of ℝ[𝑥]≤2, because 𝑥2, 𝑥=(𝑥−𝑥2)+𝑥2, and 1=(1+𝑥)−𝑥 lie in span(ℒ︀′) (Proposition 1.3.18). So ℒ︀′ is a basis of ℝ[𝑥]≤2.

Other sublists of ℒ︀ are bases too. For instance, 2+2𝑥,1+𝑥2,𝑥2 is independent and spans ℝ[𝑥]≤2, as one checks in the same way. So a spanning list usually contains several bases, and sifting picks a particular one, determined by the order of the entries: it keeps an entry exactly when the entries before it do not already account for it.

Exercise 1.6.12.routine Let ℒ︀=(1,0),(1,1),(2,2),(0,1) in ℝ2. Find all sublists of ℒ︀ that are bases of ℝ2.

Solution.

Uses. Proposition 1.6.2 (Bases are independent spanning lists), Proposition 1.5.15 (Short lists, zeros, and repeats), Exercise 1.3.37, Corollary 1.5.17 (Sublists)

Hint 1. Sort the sublists by length. A sublist of length 0 or 1 cannot span ℝ2. Why?
Hint 2. Every sublist of length 3 or 4 has a dependence relation; find one in each case. For length 2, use Proposition 1.5.15(d) and Exercise 1.3.37.
Sketch. Five sublists: all pairs except (1,1),(2,2). Length 0 and 1: the span is {𝟎} or a set of multiples of one vector, which misses 𝐞1 or 𝐞2. Length 3 and 4: each contains a dependent sublist, since (2,2)=2(1,1) and (1,1)=(1,0)+(0,1) and (2,2)=2(1,0)+2(0,1). Length 2: (1,1),(2,2) is dependent, and the other five pairs (𝑎,𝑏),(𝑐,𝑑) have 𝑎𝑑−𝑏𝑐≠0.

Length 0 or 1. The span of () is {𝟎}. The span of a single vector 𝐯 consists of its multiples. If both 𝐞1=(1,0) and 𝐞2=(0,1) were multiples of 𝐯=(𝑎,𝑏), say 𝐞1=𝑐𝐯 and 𝐞2=𝑑𝐯, then 𝑐𝑎=1 and 𝑐𝑏=0 would give 𝑐≠0 and 𝑏=0, while 𝑑𝑏=1 would give 𝑏≠0. So no sublist of length 0 or 1 spans ℝ2.

Length 3 or 4. The four sublists of length 3 have the dependence relations

2(1,1)−(2,2)=𝟎for(1,0),(1,1),(2,2)and for(1,1),(2,2),(0,1),(1,0)−(1,1)+(0,1)=𝟎for(1,0),(1,1),(0,1),2(1,0)−(2,2)+2(0,1)=𝟎for(1,0),(2,2),(0,1).

The whole list contains the dependent sublist (1,1),(2,2), so it is dependent by Corollary 1.5.17. None of these is a basis.

Length 2. The pair (1,1),(2,2) is dependent. For each of the other five pairs (𝑎,𝑏),(𝑐,𝑑), namely

(1,0),(1,1)(1,0),(2,2)(1,0),(0,1)(1,1),(0,1)(2,2),(0,1),

the number 𝑎𝑑−𝑏𝑐 is 1,2,1,1,2 respectively, which is nonzero. So each of them spans ℝ2 by Exercise 1.3.37(a). Neither vector of the pair is a multiple of the other: a multiple of (1,0) has second coordinate 0, a multiple of (0,1) has first coordinate 0, and a multiple of (1,1) or (2,2) has equal coordinates. So each pair is independent by Proposition 1.5.15(d). By Proposition 1.6.2, these five sublists are exactly the bases of ℝ2 contained in ℒ︀.

Minimal spanning lists and maximal independent lists

The first proof deletes entries until no entry can be deleted without shrinking the span. The next result says that this stopping condition characterizes bases, and that so does the mirror-image condition for independent lists, to which no vector can be appended.

Proposition 1.6.13 (Bases are minimal spanning lists and maximal independent lists). Let ℬ︀=𝐯1,…,𝐯𝑛 be a list in 𝑉. The following are equivalent.
  1. (i)ℬ︀ is a basis of 𝑉.
  2. (ii)ℬ︀ spans 𝑉, and for every 𝑗, the list obtained by deleting 𝐯𝑗 from ℬ︀ does not span 𝑉.
  3. (iii)ℬ︀ is linearly independent, and for every 𝐰∈𝑉, the list ℬ︀,𝐰 is linearly dependent.

Proof.standard

Uses. Proposition 1.6.2 (Bases are independent spanning lists), Lemma 1.5.10 (Linear dependence lemma), Proposition 1.5.14 (Appending a vector), Theorem 1.5.5 (Independence is decided at zero)

Hint 1. Prove (i) ⇔ (ii) and (i) ⇔ (iii). In each, one half of the definition of a basis is common to both statements.
Hint 2. For (ii) ⇒ (i), suppose ℬ︀ were dependent and apply Lemma 1.5.10. For (i) ⇒ (ii), if deleting 𝐯𝑗 leaves a spanning list, write 𝐯𝑗 as a combination of the others.
Hint 3. For (iii), use Proposition 1.5.14: for independent ℬ︀, the list ℬ︀,𝐰 is independent exactly when 𝐰∉span(ℬ︀).
Sketch. (i) ⇒ (ii): if the list without 𝐯𝑗 spans 𝑉, then 𝐯𝑗=∑𝑖≠𝑗𝑏𝑖𝐯𝑖, and the coefficients 𝑏𝑖 and −1 form a dependence relation of ℬ︀. (ii) ⇒ (i): if ℬ︀ were dependent, Lemma 1.5.10 would delete an entry without changing the span 𝑉. (i) ⇔ (iii): for independent ℬ︀, by Proposition 1.5.14, ℬ︀,𝐰 is dependent for every 𝐰 exactly when every 𝐰 lies in span(ℬ︀), that is, when ℬ︀ spans 𝑉.

Throughout we use Proposition 1.6.2: (i) says that ℬ︀ spans 𝑉 and is independent. Write ℬ︀𝑗 for ℬ︀ with 𝐯𝑗 deleted.

(i) ⇒ (ii). Suppose that ℬ︀ is a basis, and suppose that ℬ︀𝑗 spans 𝑉 for some 𝑗. Then 𝐯𝑗∈span(ℬ︀𝑗), say 𝐯𝑗=∑𝑖≠𝑗𝑏𝑖𝐯𝑖. The linear combination of ℬ︀ with coefficient 𝑏𝑖 on 𝐯𝑖 for 𝑖≠𝑗 and −1 on 𝐯𝑗 represents 𝐯𝑗−𝐯𝑗=𝟎, and it is nontrivial. This contradicts the independence of ℬ︀ (Theorem 1.5.5). So no ℬ︀𝑗 spans 𝑉.

(ii) ⇒ (i). Suppose (ii). Then ℬ︀ spans 𝑉, and it remains to show that ℬ︀ is independent. If it were dependent, Lemma 1.5.10 would give an index 𝑗 with span(ℬ︀𝑗)=span(ℬ︀)=𝑉, contradicting (ii).

(i) ⇔ (iii). Both statements include the independence of ℬ︀, so assume it. By Proposition 1.5.14, for 𝐰∈𝑉 the list ℬ︀,𝐰 is dependent if and only if 𝐰∈span(ℬ︀). So ℬ︀,𝐰 is dependent for every 𝐰∈𝑉 if and only if 𝑉⊆span(ℬ︀), that is, if and only if ℬ︀ spans 𝑉. □

In (ii), deleting one entry suffices: if some sublist of ℬ︀ shorter than ℬ︀ spans 𝑉, then so does any ℬ︀𝑗 containing it, since enlarging a list can only enlarge its span (Corollary 1.3.20(b)). So (ii) says that ℬ︀ is a spanning list from which nothing can be removed, and (iii) says that ℬ︀ is an independent list to which nothing can be added. These are statements about removing and adding entries, not about lengths. In Section 4.1 they become statements about lengths: every independent list is at most as long as every spanning list (Lemma 4.1.2).

1.6.4Coordinates

Choosing a basis of 𝑉 amounts to choosing a coordinate system for 𝑉. The lecture marks the next definition as important, and it is the reason bases are worth having: every vector of 𝑉 gets a name in 𝐹𝑛, and the name determines the vector.

Definition 1.6.14 (Coordinates). Let ℬ︀=𝐯1,…,𝐯𝑛 be a basis of 𝑉, and let 𝐯∈𝑉. Let 𝑎1,…,𝑎𝑛 be the coefficients of the unique linear combination of ℬ︀ that represents 𝐯, so that 𝐯=𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛. The coordinate vector of 𝐯 with respect to ℬ︀, or the ℬ︀-coordinates of 𝐯, is

[𝐯]ℬ︀=(𝑎1⋮𝑎𝑛)∈𝐹𝑛,

and 𝑎𝑖 is the 𝑖-th coordinate of 𝐯 with respect to ℬ︀. The function 𝑉→𝐹𝑛, 𝐯↦[𝐯]ℬ︀, is the coordinate map of ℬ︀.

For 𝑛=0, that is, for the basis () of {𝟎}, we use the convention that 𝐹0={𝟎} consists of the empty column, so that [𝟎]()=𝟎. With it, everything below holds for 𝑛=0 as well.

The definition makes sense because ℬ︀ is a basis: some linear combination represents 𝐯 since ℬ︀ spans, and only one does since ℬ︀ is independent. Read in reverse, it says that for every column (𝑎1,…,𝑎𝑛)∈𝐹𝑛,

[𝐯]ℬ︀=(𝑎1,…,𝑎𝑛)if and only if𝐯=𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛.
(1.6.1)

The forward direction is the definition. For the backward direction, if the combination with coefficients 𝑎1,…,𝑎𝑛 represents 𝐯, then it is the combination representing 𝐯, by uniqueness. This is how coordinates are computed in practice: to find [𝐯]ℬ︀, find any linear combination of ℬ︀ that represents 𝐯. For instance, [𝐯𝑗]ℬ︀=𝐞𝑗, since 𝐯𝑗 is the combination with coefficient 1 on 𝐯𝑗 and 0 elsewhere, and [𝟎]ℬ︀=𝟎.

In the standard bases, coordinates are the familiar numbers. By the proof of Proposition 1.6.7, the coordinate vector of 𝐱∈𝐹𝑛 in the standard basis is 𝐱 itself. That of 𝐴∈𝐹𝑚×𝑛 is

(𝑎11,𝑎12,…,𝑎1𝑛,𝑎21,…,𝑎𝑚𝑛)∈𝐹𝑚𝑛,

the entries of 𝐴 read row by row. That of 𝑎0+𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛 is (𝑎0,𝑎1,…,𝑎𝑛)∈𝐹𝑛+1, the list of its coefficients; note the shift, as the 𝑖-th coordinate of a polynomial is its coefficient 𝑎𝑖−1. For other bases, coordinates take some work to compute, and they carry information that the entries do not show directly.

Example 1.6.15 (Coordinates in the plane). In ℝ2, let ℬ︀=𝐯1,𝐯2=(1,1),(−1,1). Solving 𝑎(1,1)+𝑏(−1,1)=(𝑥,𝑦), that is, 𝑎−𝑏=𝑥 and 𝑎+𝑏=𝑦, gives the unique solution 𝑎=(𝑥+𝑦)/2, 𝑏=(𝑦−𝑥)/2. So ℬ︀ is a basis, and

[(𝑥,𝑦)]ℬ︀=((𝑥+𝑦)/2(𝑦−𝑥)/2).

For 𝐰=(1,3) this gives [𝐰]ℬ︀=(2,1): indeed 𝐰=2𝐯1+𝐯2. The standard coordinates (1,3) say how to reach 𝐰 along the horizontal and vertical grid lines: one step right, three steps up. The ℬ︀-coordinates say how to reach it along the tilted grid of lines parallel to 𝐯1 and 𝐯2: two steps along 𝐯1, then one along 𝐯2.

The basis 𝐯1,𝐯2=(1,1),(−1,1) and 𝐰=(1,3)=2𝐯1+𝐯2, so [𝐰]ℬ︀=(2,1). In the interactive version, the coefficients that the explorer reports for 𝐰 are its ℬ︀-coordinates; drag 𝐰 to see them change. Drag 𝐯2 onto the line through 𝐯1: the list becomes dependent, 𝐰 gets many representations or none, and coordinates no longer make sense.

The order of the entries of ℬ︀ matters. The list 𝐯2,𝐯1 is also a basis, and in it the coordinates of 𝐰 are (1,2). This is one reason bases are lists rather than sets.

Coordinates name every vector of 𝑉, and different vectors get different names. The lecture records this as an observation.

Proposition 1.6.16 (The coordinate map is a bijection). Let ℬ︀=𝐯1,…,𝐯𝑛 be a basis of 𝑉. The coordinate map 𝑉→𝐹𝑛, 𝐯↦[𝐯]ℬ︀, is a bijection. Its inverse is

𝐹𝑛→𝑉,(𝑎1,…,𝑎𝑛)↦𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛.

Proof.routine

Hint 1. Call the proposed inverse Φ. A function with a two-sided inverse is a bijection. Check Φ([𝐯]ℬ︀)=𝐯 and [Φ(𝐚)]ℬ︀=𝐚.
Hint 2. The first identity is the definition of [𝐯]ℬ︀. For the second, which linear combination of ℬ︀ represents Φ(𝐚)?
Sketch. Let Φ(𝑎1,…,𝑎𝑛)=∑𝑎𝑖𝐯𝑖. By definition, [𝐯]ℬ︀ lists coefficients representing 𝐯, so Φ([𝐯]ℬ︀)=𝐯. The combination with coefficients 𝑎𝑖 represents Φ(𝐚), so by uniqueness [Φ(𝐚)]ℬ︀=𝐚 ((1.6.1)). So the two maps are inverse to each other.
Let Φ:𝐹𝑛→𝑉 be the map (𝑎1,…,𝑎𝑛)↦𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛. For 𝐯∈𝑉 with [𝐯]ℬ︀=(𝑎1,…,𝑎𝑛), we have 𝐯=𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛 by Definition 1.6.14, that is, Φ([𝐯]ℬ︀)=𝐯. For 𝐚=(𝑎1,…,𝑎𝑛)∈𝐹𝑛, the combination with coefficients 𝑎1,…,𝑎𝑛 represents Φ(𝐚), so [Φ(𝐚)]ℬ︀=𝐚 by (1.6.1). So Φ is a two-sided inverse of the coordinate map, and both maps are bijections. □

For a fixed basis the correspondence is perfect, but it depends heavily on the basis, as the lecture’s example shows.

Example 1.6.17 (One polynomial, two bases). In ℝ[𝑥]≤2, let ℬ︀=1,𝑥,𝑥2 be the standard basis and let 𝒞︀=1,1+𝑥,1+𝑥+𝑥2. To see that 𝒞︀ is a basis, solve

𝑎⋅1+𝑏(1+𝑥)+𝑐(1+𝑥+𝑥2)=(𝑎+𝑏+𝑐)+(𝑏+𝑐)𝑥+𝑐𝑥2=𝑝0+𝑝1𝑥+𝑝2𝑥2.

Comparing coefficients, 𝑐=𝑝2, then 𝑏=𝑝1−𝑝2, then 𝑎=𝑝0−𝑝1, and these values do solve the equation. So every polynomial of degree at most 2 is represented by exactly one linear combination of 𝒞︀, and

[𝑝0+𝑝1𝑥+𝑝2𝑥2]𝒞︀=(𝑝0−𝑝1𝑝1−𝑝2𝑝2),while[𝑝0+𝑝1𝑥+𝑝2𝑥2]ℬ︀=(𝑝0𝑝1𝑝2).

For 𝑝=𝑥+𝑥2,

[𝑥+𝑥2]ℬ︀=(011),[𝑥+𝑥2]𝒞︀=(−101),

and indeed 𝑥+𝑥2=−1+0(1+𝑥)+(1+𝑥+𝑥2). The same vector has different coordinates in different bases, and the column (0,1,1) names 𝑥+𝑥2 in ℬ︀ but names (1+𝑥)+(1+𝑥+𝑥2)=2+2𝑥+𝑥2 in 𝒞︀. How [𝐯]ℬ︀ and [𝐯]𝒞︀ are related for two bases is the subject of Section 4.5.

Over ℝ, the basis 1,𝑖 of ℂ (Example 1.6.5) gives [𝑎+𝑏𝑖](1,𝑖)=(𝑎,𝑏). This is the identification of ℂ with the plane ℝ2, and Proposition 1.6.16 makes it a bijection.

Exercise 1.6.18.routine Let 𝒯︀=1,𝑥−1,𝑥2−2𝑥+1 in 𝐹[𝑥]≤2.

  1. (a)Show that 𝒯︀ is a basis of 𝐹[𝑥]≤2.
  2. (b)Show that [𝑎+𝑏𝑥+𝑐𝑥2]𝒯︀=(𝑎+𝑏+𝑐,𝑏+2𝑐,𝑐).
  3. (c)Explain why the first coordinate of [𝑝]𝒯︀ is 𝑝(1) for every 𝑝∈𝐹[𝑥]≤2.

Solution.

Uses. Exercise 1.3.33, Proposition 1.5.24 (Distinct degrees), Proposition 1.6.2 (Bases are independent spanning lists), (1.6.1), Proposition 1.2.18 (Degree and evaluation versus the operations)

Hint 1. For (a), the entries have degrees 0,1,2. Use Exercise 1.3.33 and Proposition 1.5.24.
Hint 2. For (b), by (1.6.1) it suffices to expand the combination with the proposed coefficients and check that it gives 𝑎+𝑏𝑥+𝑐𝑥2.
Hint 3. For (c), evaluate 𝑝=𝛼+𝛽(𝑥−1)+𝛾(𝑥2−2𝑥+1) at 1.
Sketch. (a) Degrees 0,1,2: spanning by Exercise 1.3.33, independence by Proposition 1.5.24. (b) Expanding (𝑎+𝑏+𝑐)+(𝑏+2𝑐)(𝑥−1)+𝑐(𝑥2−2𝑥+1) gives 𝑎+𝑏𝑥+𝑐𝑥2. (c) Evaluation respects linear combinations, and the second and third entries of 𝒯︀ vanish at 1.

(a) The entries of 𝒯︀ have degrees 0, 1, and 2. So 𝒯︀ spans 𝐹[𝑥]≤2 by Exercise 1.3.33(a), and it is independent by Proposition 1.5.24. By Proposition 1.6.2, it is a basis.

(b) Expanding,

(𝑎+𝑏+𝑐)⋅1+(𝑏+2𝑐)(𝑥−1)+𝑐(𝑥2−2𝑥+1)=(𝑎+𝑏+𝑐−𝑏−2𝑐+𝑐)+(𝑏+2𝑐−2𝑐)𝑥+𝑐𝑥2=𝑎+𝑏𝑥+𝑐𝑥2.

By (1.6.1), [𝑎+𝑏𝑥+𝑐𝑥2]𝒯︀=(𝑎+𝑏+𝑐,𝑏+2𝑐,𝑐).

(c) Write [𝑝]𝒯︀=(𝛼,𝛽,𝛾), so 𝑝=𝛼+𝛽(𝑥−1)+𝛾(𝑥2−2𝑥+1). By Proposition 1.2.18(c), evaluation at 1 respects sums and scalar multiples, so

𝑝(1)=𝛼+𝛽(1−1)+𝛾(1−2+1)=𝛼.

(In (b), this is the identity 𝑝(1)=𝑎+𝑏+𝑐.) Similarly, over ℝ the second coordinate 𝑏+2𝑐 is the derivative of 𝑝 at 1. These are the first terms of the Taylor expansion of 𝑝 around 1.

Coordinates respect linear combinations

The coordinate map is a bijection, and it is compatible with the vector space operations: adding in 𝑉 and then taking coordinates gives the same column as taking coordinates and then adding in 𝐹𝑛. This is what makes coordinates useful for computation.

Proposition 1.6.19 (Coordinates respect linear combinations). Let ℬ︀ be a basis of 𝑉 of length 𝑛.

  1. (a)For all 𝐱,𝐲∈𝑉, [𝐱+𝐲]ℬ︀=[𝐱]ℬ︀+[𝐲]ℬ︀.
  2. (b)For all 𝑐∈𝐹 and 𝐱∈𝑉, [𝑐𝐱]ℬ︀=𝑐[𝐱]ℬ︀.
  3. (c)For all 𝑘≥0, all 𝐱1,…,𝐱𝑘∈𝑉, and all 𝑐1,…,𝑐𝑘∈𝐹,

    [𝑐1𝐱1+⋯+𝑐𝑘𝐱𝑘]ℬ︀=𝑐1[𝐱1]ℬ︀+⋯+𝑐𝑘[𝐱𝑘]ℬ︀.

On each left side the operations are those of 𝑉, and on each right side those of 𝐹𝑛.

Proof.routine

Uses. Definition 1.6.14 (Coordinates), (1.6.1), Lemma 1.3.9 (Arithmetic of linear combinations), Definition 1.2.4 (The space 𝐹𝑛), (1.3.1)

Techniques. Induction on the length of a list (Technique 1.6.9)

Hint 1. By (1.6.1), to show [𝐰]ℬ︀=(𝑑1,…,𝑑𝑛) it suffices to exhibit 𝐰 as ∑𝑑𝑖𝐯𝑖.
Hint 2. For (a), write 𝐱=∑𝑎𝑖𝐯𝑖 and 𝐲=∑𝑏𝑖𝐯𝑖, and combine the two sums with Lemma 1.3.9. Do (b) the same way.
Hint 3. For (c), induct on 𝑘. Split off the last term 𝑐𝑘𝐱𝑘 and apply (a), (b), and the inductive hypothesis.
Sketch. If [𝐱]ℬ︀=(𝑎𝑖) and [𝐲]ℬ︀=(𝑏𝑖), then 𝐱+𝐲=∑(𝑎𝑖+𝑏𝑖)𝐯𝑖 and 𝑐𝐱=∑(𝑐𝑎𝑖)𝐯𝑖 by Lemma 1.3.9, so by (1.6.1) the coordinates are (𝑎𝑖+𝑏𝑖) and (𝑐𝑎𝑖), which are [𝐱]ℬ︀+[𝐲]ℬ︀ and 𝑐[𝐱]ℬ︀. For (c), induct on 𝑘: the empty sum is 𝟎 with coordinates 𝟎, and [𝐮+𝑐𝑘𝐱𝑘]ℬ︀=[𝐮]ℬ︀+𝑐𝑘[𝐱𝑘]ℬ︀ by (a) and (b).

Write ℬ︀=𝐯1,…,𝐯𝑛.

(a) Let [𝐱]ℬ︀=(𝑎1,…,𝑎𝑛) and [𝐲]ℬ︀=(𝑏1,…,𝑏𝑛), so that 𝐱=∑𝑖𝑎𝑖𝐯𝑖 and 𝐲=∑𝑖𝑏𝑖𝐯𝑖. By Lemma 1.3.9(a),

𝐱+𝐲=∑𝑖=1𝑛𝑎𝑖𝐯𝑖+∑𝑖=1𝑛𝑏𝑖𝐯𝑖=∑𝑖=1𝑛(𝑎𝑖+𝑏𝑖)𝐯𝑖.

So the combination with coefficients 𝑎1+𝑏1,…,𝑎𝑛+𝑏𝑛 represents 𝐱+𝐲, and by (1.6.1),

[𝐱+𝐲]ℬ︀=(𝑎1+𝑏1⋮𝑎𝑛+𝑏𝑛)=(𝑎1⋮𝑎𝑛)+(𝑏1⋮𝑏𝑛)=[𝐱]ℬ︀+[𝐲]ℬ︀,

where the middle equality is the definition of addition in 𝐹𝑛 (Definition 1.2.4).

(b) With [𝐱]ℬ︀=(𝑎1,…,𝑎𝑛) as before, Lemma 1.3.9(b) gives 𝑐𝐱=∑𝑖(𝑐𝑎𝑖)𝐯𝑖. So [𝑐𝐱]ℬ︀=(𝑐𝑎1,…,𝑐𝑎𝑛)=𝑐[𝐱]ℬ︀, by (1.6.1) and the definition of scalar multiplication in 𝐹𝑛.

(c) We induct on 𝑘. For 𝑘=0 both sides are empty sums: the left side is [𝟎]ℬ︀=𝟎, and the right side is 𝟎∈𝐹𝑛. Suppose that (c) holds for combinations of length 𝑘, and let 𝐮=𝑐1𝐱1+⋯+𝑐𝑘𝐱𝑘. By (1.3.1), then (a), then (b) and the inductive hypothesis,

[𝑐1𝐱1+⋯+𝑐𝑘+1𝐱𝑘+1]ℬ︀=[𝐮+𝑐𝑘+1𝐱𝑘+1]ℬ︀=[𝐮]ℬ︀+[𝑐𝑘+1𝐱𝑘+1]ℬ︀=(𝑐1[𝐱1]ℬ︀+⋯+𝑐𝑘[𝐱𝑘]ℬ︀)+𝑐𝑘+1[𝐱𝑘+1]ℬ︀,

as desired. □

The lecture calls (c) the “Mega-Prop”: the coordinate map respects linear combinations. Functions between vector spaces with this property are the linear maps of Section 2.1 (Definition 2.1.1), and the induction in (c) shows in general that (a) and (b) are enough to check (Theorem 2.1.3). So the coordinate map of a basis is a linear map, and by Proposition 1.6.16 it is a bijection. Such a map is an isomorphism (Section 4.5): once a basis of length 𝑛 is chosen, 𝑉 and 𝐹𝑛 are the same vector space with different names for the vectors.

The practical consequence is that every question about linear combinations in 𝑉 can be asked in 𝐹𝑛 instead.

Proposition 1.6.20 (Coordinates translate questions about 𝑉 into 𝐹𝑛). Let ℬ︀ be a basis of 𝑉 of length 𝑛, and let 𝐱1,…,𝐱𝑘,𝐰∈𝑉. For all 𝑐1,…,𝑐𝑘∈𝐹,

𝑐1𝐱1+⋯+𝑐𝑘𝐱𝑘=𝐰if and only if𝑐1[𝐱1]ℬ︀+⋯+𝑐𝑘[𝐱𝑘]ℬ︀=[𝐰]ℬ︀.

Consequently:

  1. (a)𝐱1,…,𝐱𝑘 is linearly independent in 𝑉 if and only if [𝐱1]ℬ︀,…,[𝐱𝑘]ℬ︀ is linearly independent in 𝐹𝑛;
  2. (b)𝐰∈span(𝐱1,…,𝐱𝑘) if and only if [𝐰]ℬ︀∈span([𝐱1]ℬ︀,…,[𝐱𝑘]ℬ︀);
  3. (c)𝐱1,…,𝐱𝑘 spans 𝑉 if and only if [𝐱1]ℬ︀,…,[𝐱𝑘]ℬ︀ spans 𝐹𝑛. In particular, 𝐱1,…,𝐱𝑘 is a basis of 𝑉 if and only if [𝐱1]ℬ︀,…,[𝐱𝑘]ℬ︀ is a basis of 𝐹𝑛.

Proof.routine

Uses. Proposition 1.6.19 (Coordinates respect linear combinations), Proposition 1.6.16 (The coordinate map is a bijection), Theorem 1.5.5 (Independence is decided at zero), Definition 1.3.10 (Span), Proposition 1.6.2 (Bases are independent spanning lists)

Hint 1. For the displayed equivalence, apply the coordinate map to the left equation, and use that it is injective for the converse.
Hint 2. Then (a) is the case 𝐰=𝟎, and (b) is a restatement. For (c), every vector of 𝐹𝑛 is [𝐰]ℬ︀ for some 𝐰∈𝑉.
Sketch. By Proposition 1.6.19(c), [∑𝑐𝑖𝐱𝑖]ℬ︀=∑𝑐𝑖[𝐱𝑖]ℬ︀, and the coordinate map is injective, so ∑𝑐𝑖𝐱𝑖=𝐰 exactly when the coordinates agree. So the two lists have the same linear relations (take 𝐰=𝟎), and 𝐰 is in one span exactly when [𝐰]ℬ︀ is in the other. Since the coordinate map is surjective, (b) for all 𝐰 gives (c).

By Proposition 1.6.19(c), [𝑐1𝐱1+⋯+𝑐𝑘𝐱𝑘]ℬ︀=𝑐1[𝐱1]ℬ︀+⋯+𝑐𝑘[𝐱𝑘]ℬ︀. The coordinate map is injective (Proposition 1.6.16), so two vectors of 𝑉 are equal if and only if their coordinate vectors are. Applying this to ∑𝑖𝑐𝑖𝐱𝑖 and 𝐰 proves the displayed equivalence.

(a) Since [𝟎]ℬ︀=𝟎, the case 𝐰=𝟎 says that the two lists have exactly the same linear relations. So one has only the trivial relation if and only if the other does, and (a) follows from Theorem 1.5.5.

(b) By the displayed equivalence, some 𝑐1,…,𝑐𝑘 satisfy the left equation if and only if they satisfy the right one.

(c) Suppose that the 𝐱𝑖 span 𝑉, and let 𝐲∈𝐹𝑛. The coordinate map is surjective, so 𝐲=[𝐰]ℬ︀ for some 𝐰∈𝑉. Since 𝐰∈span(𝐱1,…,𝐱𝑘), (b) gives 𝐲∈span([𝐱1]ℬ︀,…,[𝐱𝑘]ℬ︀). Conversely, if the coordinate vectors span 𝐹𝑛, then for every 𝐰∈𝑉, [𝐰]ℬ︀ lies in their span, so 𝐰∈span(𝐱1,…,𝐱𝑘) by (b). The last statement follows from (a), (c), and Proposition 1.6.2. □

Example 1.6.21 (Testing polynomials through their coordinates). In 𝐹[𝑥]≤2, consider 1+𝑥+𝑥2, 1+2𝑥+3𝑥2, 1+4𝑥+9𝑥2. Their coordinate vectors in the standard basis are (1,1,1),(1,2,3),(1,4,9). In Exercise 1.5.29 we reduced a linear relation among these columns to 2𝑐=0, using steps that are valid over every field, so the columns are independent when 1+1≠0. When 1+1=0, the last two columns are both (1,0,1), so they are dependent. By Proposition 1.6.20(a), the three polynomials are linearly independent if and only if 1+1≠0 in 𝐹. Nothing about polynomials was used beyond their coordinates. In the same way, questions about matrices in 𝐹𝑚×𝑛 become questions about columns in 𝐹𝑚𝑛, and Section 3.1 solves such questions systematically.
Exercise 1.6.22.routine Let ℬ︀=𝐯1,…,𝐯𝑛 and 𝒞︀=𝐰1,…,𝐰𝑛 be bases of 𝑉 such that [𝐯]ℬ︀=[𝐯]𝒞︀ for every 𝐯∈𝑉. Show that ℬ︀=𝒞︀.

Solution.

Uses. Definition 1.6.14 (Coordinates), (1.6.1)

Hint 1. Which vector of 𝑉 has ℬ︀-coordinates 𝐞𝑗?
Hint 2. Compute [𝐯𝑗]𝒞︀ using the hypothesis, and read it in reverse.
Sketch. [𝐯𝑗]𝒞︀=[𝐯𝑗]ℬ︀=𝐞𝑗, so 𝐯𝑗=𝐰𝑗 by (1.6.1).
Fix 𝑗. Since 𝐯𝑗 is represented by the combination of ℬ︀ with coefficient 1 on 𝐯𝑗 and 0 elsewhere, [𝐯𝑗]ℬ︀=𝐞𝑗. By hypothesis [𝐯𝑗]𝒞︀=𝐞𝑗 as well, which by Definition 1.6.14 means 𝐯𝑗=0𝐰1+⋯+1𝐰𝑗+⋯+0𝐰𝑛=𝐰𝑗. This holds for every 𝑗, and the lists have the same length, so ℬ︀=𝒞︀.

1.6.5Finite and infinite dimension

Theorem 1.6.10 produces a basis from any spanning list. It applies exactly to the spaces that have a spanning list.

Definition 1.6.23 (Finite-dimensional). A vector space 𝑉 is finite-dimensional if some list in 𝑉 spans 𝑉. Otherwise 𝑉 is infinite-dimensional.

The name anticipates Section 4.1, where the dimension of a finite-dimensional space is defined as the common length of its bases (Definition 4.1.5). Every space in Section 1.6.2 is finite-dimensional, as are {𝟎} (spanned by ()), ℂ over ℝ, and the span of any list.

Corollary 1.6.24 (Bases exist in finite dimensions). Every finite-dimensional vector space has a basis. More precisely, every spanning list of 𝑉 contains a basis of 𝑉 as a sublist.

Proof.routine

Uses. Definition 1.6.23 (Finite-dimensional), Theorem 1.6.10 (Every spanning list contains a basis)

Hint 1. What does the definition of finite-dimensional provide?
Hint 2. Apply Theorem 1.6.10 to it.
Sketch. A finite-dimensional space has a spanning list, and by Theorem 1.6.10 that list has a sublist which is a basis.
If 𝑉 is finite-dimensional, some list ℒ︀ spans 𝑉. By Theorem 1.6.10, some sublist of ℒ︀ is a basis of 𝑉. The same argument applies to every spanning list of 𝑉. □

Not every vector space is finite-dimensional. The basic example is 𝐹[𝑥], and the reason is the degree.

Proposition 1.6.25 (No finite list spans 𝐹[𝑥]). For every list 𝑝1,…,𝑝𝑘 in 𝐹[𝑥], span(𝑝1,…,𝑝𝑘)≠𝐹[𝑥]. So 𝐹[𝑥] is infinite-dimensional.

Proof.routine

Uses. Example 1.4.9 (Polynomials), Proposition 1.4.14 (The span is the smallest subspace containing a list), Definition 1.2.16 (Degree)

Hint 1. Every linear combination of 𝑝1,…,𝑝𝑘 has degree at most the largest of the degrees deg𝑝𝑖. Find a polynomial of larger degree.
Hint 2. Let 𝑑 be the largest of 0,deg𝑝1,…,deg𝑝𝑘. Then every 𝑝𝑖 lies in the subspace 𝐹[𝑥]≤𝑑. What does Proposition 1.4.14 say about the span?
Sketch. With 𝑑=max(0,deg𝑝1,…,deg𝑝𝑘), all 𝑝𝑖 lie in the subspace 𝐹[𝑥]≤𝑑, hence so does their span (Proposition 1.4.14). But 𝑥𝑑+1∉𝐹[𝑥]≤𝑑.
Let 𝑑 be the largest of the integers 0,deg𝑝1,…,deg𝑝𝑘, where an entry deg𝑝𝑖=−∞ (for 𝑝𝑖=𝟎) does not affect the maximum, and 𝑑=0 if 𝑘=0. Then 𝑝1,…,𝑝𝑘∈𝐹[𝑥]≤𝑑, which is a subspace of 𝐹[𝑥] (Example 1.4.9). By Proposition 1.4.14(b), span(𝑝1,…,𝑝𝑘)⊆𝐹[𝑥]≤𝑑. The polynomial 𝑥𝑑+1 has degree 𝑑+1>𝑑, so it is not in 𝐹[𝑥]≤𝑑, and hence not in span(𝑝1,…,𝑝𝑘). So no list spans 𝐹[𝑥], and 𝐹[𝑥] is infinite-dimensional by Definition 1.6.23. □

So 𝐹[𝑥] has no basis in our sense, since a basis is a finite list that spans. Other infinite-dimensional spaces are ℝ over ℚ (Exercise 1.3.45) and the space of finitely supported functions on an infinite set. Function spaces such as ℝℝ and 𝐶[0,1] are infinite-dimensional too, but proving it is easier with the tools of Section 4.1, which show that a subspace of a finite-dimensional space is finite-dimensional (Proposition 4.1.21).

Remark 1.6.26 (Thinning down and growing up). Proposition 1.6.13 suggests two ways to reach a basis. Thinning down: start with a spanning list and delete redundant entries, as in Theorem 1.6.10. Growing up: start with an independent list and, as long as it does not span 𝑉, append a vector outside its span, which keeps it independent by Proposition 1.5.14. By Proposition 1.6.13, either process can only stop at a basis.

The difference is that thinning always stops, because a list has only finitely many entries to delete, while growing need not stop. In 𝐹[𝑥] it never stops, whatever vectors are appended, because no list spans 𝐹[𝑥] (Proposition 1.6.25). For instance, starting from the empty list and appending 1, then 𝑥, then 𝑥2, and so on, every stage 1,𝑥,…,𝑥𝑛 is independent (Example 1.5.7), and there is always a next power of 𝑥 outside its span. In a finite-dimensional space growing does stop, because an independent list can never be longer than a spanning list (Lemma 4.1.2). That is how Section 4.1 proves that every independent list extends to a basis (Theorem 4.1.16). In infinite dimensions, making “grow forever” produce a basis needs set theory, which the next aside describes.

Aside (Bases of infinite-dimensional spaces).Beyond 21-242 Allowing bases to be infinite subsets fixes the problem. A subset 𝐵⊆𝑉 is called a basis (or Hamel basis) of 𝑉 if every vector of 𝑉 is represented by exactly one linear combination of finitely many distinct elements of 𝐵, up to terms with coefficient 0. Equivalently, 𝐵 is linearly independent (Aside (Independent sets)) and spans 𝑉 (Aside (Spans of infinite sets)). The set {1,𝑥,𝑥2,…} is a basis of 𝐹[𝑥] in this sense, and the coordinates of a polynomial with respect to it are its coefficient sequence, which is how Definition 1.2.13 defined 𝐹[𝑥] in the first place. Every vector space has a basis in this sense, but the proof uses Zorn’s lemma and gives no way to write one down for ℝ over ℚ or for ℝℝ (Section 15.1).

Exercises

Exercise 1.6.27.routine Decide whether each list is a basis of the given space, and justify your answer.

  1. (a)(1,2,0),(0,1,2),(2,0,1) in 𝐹3. (The answer depends on 𝐹.)
  2. (b)1+𝑥2,𝑥−𝑥2,2+𝑥+𝑥2 in ℝ[𝑥]≤2.
  3. (c)𝑈11,𝑈12+𝑈21,𝑈22 in ℝ2×2.

Solution.

Uses. Definition 1.6.1 (Basis), Proposition 1.6.2 (Bases are independent spanning lists), Theorem 1.5.5 (Independence is decided at zero), Proposition 1.1.17 (No zero divisors), Example 1.4.11 (Matrices)

Hint 1. For (a), solve 𝑎(1,2,0)+𝑏(0,1,2)+𝑐(2,0,1)=(𝑥,𝑦,𝑧) by expressing 𝑎 in terms of 𝑐, then 𝑏, and substituting into the last equation. Which element of 𝐹 do you need to divide by?
Hint 2. For (b), look for a way to write 2+𝑥+𝑥2 using the other two entries. For (c), which matrices can a combination of these three be?
Sketch. (a) The equations give 9𝑐=4𝑥−2𝑦+𝑧, and cyclically for 𝑎 and 𝑏. If 3≠0 in 𝐹, there is exactly one solution, so the list is a basis. If 3=0, the three vectors add up to (3,3,3)=𝟎. (b) No: 2+𝑥+𝑥2=2(1+𝑥2)+(𝑥−𝑥2). (c) No: the combinations are the symmetric matrices, and 𝑈12 is not symmetric. The list is a basis of the symmetric matrices, though.

(a) For (𝑥,𝑦,𝑧)∈𝐹3, the equation 𝑎(1,2,0)+𝑏(0,1,2)+𝑐(2,0,1)=(𝑥,𝑦,𝑧) reads

𝑎+2𝑐=𝑥,2𝑎+𝑏=𝑦,2𝑏+𝑐=𝑧.

Any solution has 𝑎=𝑥−2𝑐, then 𝑏=𝑦−2𝑎=𝑦−2𝑥+4𝑐, and then the third equation becomes 2𝑦−4𝑥+8𝑐+𝑐=𝑧, that is,

9𝑐=4𝑥−2𝑦+𝑧.

Suppose 3≠0 in 𝐹. Then 9=3⋅3≠0 by Proposition 1.1.17, so 𝑐=(4𝑥−2𝑦+𝑧)/9, and then

𝑎=𝑥+4𝑦−2𝑧9,𝑏=−2𝑥+𝑦+4𝑧9.

So there is at most one solution. These values are a solution: for instance 𝑎+2𝑐=(𝑥+4𝑦−2𝑧+8𝑥−4𝑦+2𝑧)/9=𝑥, and the other two equations check the same way, as the formulas are cyclic shifts of each other. So every vector of 𝐹3 has exactly one representation, and the list is a basis (Definition 1.6.1).

Suppose 3=0 in 𝐹, as in 𝔽3. Then (1,2,0)+(0,1,2)+(2,0,1)=(3,3,3)=𝟎 is a dependence relation, so the list is not a basis.

(b) Not a basis: 2(1+𝑥2)+(𝑥−𝑥2)=2+𝑥+𝑥2, so 2(1+𝑥2)+(𝑥−𝑥2)−(2+𝑥+𝑥2)=𝟎 is a dependence relation.

(c) Not a basis. Every linear combination

𝑎𝑈11+𝑏(𝑈12+𝑈21)+𝑑𝑈22=(𝑎𝑏𝑏𝑑)

has equal off-diagonal entries, so 𝑈12 is not in the span, and the list does not span ℝ2×2. (The display also shows that each symmetric matrix (𝑎𝑏𝑏𝑑) is represented by exactly one combination, so the list is a basis of the subspace 𝑆 of symmetric matrices of Example 1.4.11.)

Exercise 1.6.28.routine
  1. (a)Show that ℬ︀=(1,1,1),(0,1,1),(0,0,1) is a basis of 𝐹3, find [(𝑥,𝑦,𝑧)]ℬ︀, and find the vector 𝐯∈𝐹3 with [𝐯]ℬ︀=(1,2,3).
  2. (b)In 𝐹2×2, let

    𝒞︀=𝑈11,𝑈11+𝑈12,𝑈11+𝑈12+𝑈21,𝑈11+𝑈12+𝑈21+𝑈22.

    Show that 𝒞︀ is a basis and find [𝐴]𝒞︀ for 𝐴=(𝑝𝑞𝑟𝑠).

Solution.

Uses. Definition 1.6.1 (Basis), Definition 1.6.14 (Coordinates), (1.6.1)

Hint 1. Solve for the coefficients directly. In (a), the combination 𝑎(1,1,1)+𝑏(0,1,1)+𝑐(0,0,1) is (𝑎,𝑎+𝑏,𝑎+𝑏+𝑐).
Hint 2. In (b), write the combination with coefficients 𝛼,𝛽,𝛾,𝛿 as a single matrix and solve from the bottom right entry up.
Sketch. (a) (𝑎,𝑎+𝑏,𝑎+𝑏+𝑐)=(𝑥,𝑦,𝑧) has the unique solution (𝑥,𝑦−𝑥,𝑧−𝑦), which is [(𝑥,𝑦,𝑧)]ℬ︀; and 𝐯=(1,1+2,1+2+3)=(1,3,6). (b) The combination is (𝛼+𝛽+𝛾+𝛿𝛽+𝛾+𝛿𝛾+𝛿𝛿), so [𝐴]𝒞︀=(𝑝−𝑞,𝑞−𝑟,𝑟−𝑠,𝑠).

(a) The combination with coefficients 𝑎,𝑏,𝑐 represents (𝑎,𝑎+𝑏,𝑎+𝑏+𝑐). This equals (𝑥,𝑦,𝑧) if and only if 𝑎=𝑥, 𝑏=𝑦−𝑥, and 𝑐=𝑧−𝑦. So each vector has exactly one representation, ℬ︀ is a basis, and

[(𝑥,𝑦,𝑧)]ℬ︀=(𝑥,𝑦−𝑥,𝑧−𝑦).

By (1.6.1), the vector with coordinates (1,2,3) is 1(1,1,1)+2(0,1,1)+3(0,0,1)=(1,3,6).

(b) The combination with coefficients 𝛼,𝛽,𝛾,𝛿 represents

(𝛼+𝛽+𝛾+𝛿𝛽+𝛾+𝛿𝛾+𝛿𝛿).

This equals (𝑝𝑞𝑟𝑠) if and only if 𝛿=𝑠, 𝛾=𝑟−𝑠, 𝛽=𝑞−𝑟, and 𝛼=𝑝−𝑞. So every 𝐴∈𝐹2×2 has exactly one representation, 𝒞︀ is a basis, and [𝐴]𝒞︀=(𝑝−𝑞,𝑞−𝑟,𝑟−𝑠,𝑠).

Exercise 1.6.29.routine For which 𝑐∈ℝ is 1+𝑥2,𝑥+𝑥2,1+𝑥+𝑐𝑥2 a basis of ℝ[𝑥]≤2? Work with coordinate vectors.

Solution.

Uses. Proposition 1.6.20 (Coordinates translate questions about 𝑉 into 𝐹𝑛), Definition 1.6.1 (Basis)

Hint 1. By Proposition 1.6.20, the list is a basis exactly when (1,0,1),(0,1,1),(1,1,𝑐) is a basis of ℝ3.
Hint 2. Solve 𝑎(1,0,1)+𝑏(0,1,1)+𝑑(1,1,𝑐)=(𝑥,𝑦,𝑧). You will need to divide by 𝑐−2.
Sketch. The coordinate vectors are (1,0,1),(0,1,1),(1,1,𝑐). The equations 𝑎+𝑑=𝑥, 𝑏+𝑑=𝑦, 𝑎+𝑏+𝑐𝑑=𝑧 give (𝑐−2)𝑑=𝑧−𝑥−𝑦, which has a unique solution for every right side exactly when 𝑐≠2. For 𝑐=2, 1+𝑥+2𝑥2=(1+𝑥2)+(𝑥+𝑥2).

In the standard basis 1,𝑥,𝑥2 the coordinate vectors are (1,0,1), (0,1,1), and (1,1,𝑐). By Proposition 1.6.20(c), the polynomials form a basis of ℝ[𝑥]≤2 if and only if these columns form a basis of ℝ3. The equation 𝑎(1,0,1)+𝑏(0,1,1)+𝑑(1,1,𝑐)=(𝑥,𝑦,𝑧) reads

𝑎+𝑑=𝑥,𝑏+𝑑=𝑦,𝑎+𝑏+𝑐𝑑=𝑧.

Any solution has 𝑎=𝑥−𝑑 and 𝑏=𝑦−𝑑, and then the last equation becomes (𝑐−2)𝑑=𝑧−𝑥−𝑦.

If 𝑐≠2, this forces 𝑑=(𝑧−𝑥−𝑦)/(𝑐−2), and then 𝑎 and 𝑏 are determined; conversely, these values solve all three equations. So every column has exactly one representation, and the list is a basis.

If 𝑐=2, the columns satisfy (1,0,1)+(0,1,1)−(1,1,2)=𝟎, so they are dependent, and so are the polynomials: 1+𝑥+2𝑥2=(1+𝑥2)+(𝑥+𝑥2). So the list is a basis exactly when 𝑐≠2.

Exercise 1.6.30.routine
  1. (a)Find the error in the following argument.

    Claim. Every spanning list of 𝑉 contains a basis of 𝑉.

    Proof. We induct on the length 𝑘 of the spanning list ℒ︀. If 𝑘=0, then ℒ︀=() spans 𝑉, so 𝑉={𝟎}, and () is a basis of 𝑉. Suppose the claim holds for spanning lists of length 𝑘, and let ℒ︀=𝐯1,…,𝐯𝑘+1 span 𝑉. If ℒ︀ is independent, it is a basis. Otherwise, delete its last entry. The list 𝐯1,…,𝐯𝑘 has length 𝑘, so by the inductive hypothesis it contains a basis of 𝑉, which is also a sublist of ℒ︀.

  2. (b)Repair the argument.

Solution.

Uses. Lemma 1.5.10 (Linear dependence lemma), Example 1.5.11 (Which entries are redundant), Theorem 1.6.10 (Every spanning list contains a basis)

Techniques. Induction on the length of a list (Technique 1.6.9)

Hint 1. The inductive hypothesis is about spanning lists of length 𝑘. Is 𝐯1,…,𝐯𝑘 one?
Hint 2. Test the step on the dependent spanning list (1,0),(2,0),(0,1) of ℝ2.
Sketch. The inductive hypothesis applies only to lists that span 𝑉, and deleting the last entry of a dependent spanning list can destroy spanning: (1,0),(2,0),(0,1) spans ℝ2, but (1,0),(2,0) does not. The repair deletes the entry 𝐯𝑗 given by Lemma 1.5.10, which keeps the span equal to 𝑉.

(a) The inductive hypothesis is a statement about lists of length 𝑘 that span 𝑉. The argument applies it to 𝐯1,…,𝐯𝑘 without checking that this list spans 𝑉, and it need not. In ℝ2, the list (1,0),(2,0),(0,1) spans ℝ2 and is dependent (Example 1.5.11), but deleting its last entry leaves (1,0),(2,0), whose span is the first axis. The claim itself is true (Theorem 1.6.10); only the choice of the deleted entry is wrong.

(b) Since ℒ︀ is dependent, Lemma 1.5.10 gives an index 𝑗 such that deleting 𝐯𝑗 from ℒ︀ does not change the span. The resulting list has length 𝑘 and spans span(ℒ︀)=𝑉, so the inductive hypothesis applies to it, and the rest of the argument goes through. (In the example, the lemma deletes (2,0).)

Exercise 1.6.31.routine The list ℒ︀=(1,0),(0,1),(1,1) spans ℝ2. A student defines [𝐯]ℒ︀∈ℝ3 to be “the coefficients of a linear combination of ℒ︀ that represents 𝐯”, and concludes that 𝐯↦[𝐯]ℒ︀ is a function ℝ2→ℝ3 satisfying [𝐱+𝐲]ℒ︀=[𝐱]ℒ︀+[𝐲]ℒ︀, by the proof of Proposition 1.6.19.

  1. (a)What is wrong with the definition, and which step of the proof of Proposition 1.6.19(a) fails for ℒ︀?
  2. (b)Let 𝑐:ℝ2→ℝ3 be any function such that 𝑐(𝐯) is the list of coefficients of some linear combination of ℒ︀ representing 𝐯, for every 𝐯. Show that 𝑐 is injective but not surjective.

Solution.

Uses. Definition 1.6.14 (Coordinates), (1.6.1), Non-example 1.6.4 (One property without the other)

Hint 1. How many linear combinations of ℒ︀ represent 𝟎? What does “the coefficients” refer to?
Hint 2. For (b), consider Φ(𝑎,𝑏,𝑑)=𝑎(1,0)+𝑏(0,1)+𝑑(1,1). Then Φ(𝑐(𝐯))=𝐯. Which two elements of ℝ3 does Φ send to 𝟎?
Sketch. (a) ℒ︀ is dependent, so a vector has many representations, and “the” coefficients do not name one column; the proof’s step “so the coordinates of 𝐱+𝐲 are 𝑎𝑖+𝑏𝑖” needs the backward direction of (1.6.1), which uses uniqueness. (b) Φ∘𝑐 is the identity, so 𝑐 is injective. Both (0,0,0) and (1,1,−1) represent 𝟎, but 𝑐(𝟎) is only one of them, and the other is 𝑐(𝐯) for no 𝐯.

(a) The list ℒ︀ is dependent (Non-example 1.6.4), so a vector of ℝ2 is represented by many linear combinations of ℒ︀; for instance (1,1) has coefficients (1,1,0) and (0,0,1). So “the coefficients” does not specify a column, and the student has not defined a function. In the proof of Proposition 1.6.19(a), the step that fails is the last one: from “𝐱+𝐲=∑(𝑎𝑖+𝑏𝑖)𝐯𝑖” it concludes that (𝑎𝑖+𝑏𝑖) is the coordinate vector of 𝐱+𝐲. That is the backward direction of (1.6.1), which holds because a basis allows only one representation. For ℒ︀ the column (𝑎𝑖+𝑏𝑖) is one representation among many, and it need not be the one the student’s rule picks for 𝐱+𝐲.

(b) Let Φ:ℝ3→ℝ2, Φ(𝑎,𝑏,𝑑)=𝑎(1,0)+𝑏(0,1)+𝑑(1,1). The hypothesis on 𝑐 says Φ(𝑐(𝐯))=𝐯 for every 𝐯∈ℝ2. If 𝑐(𝐯)=𝑐(𝐯′), then 𝐯=Φ(𝑐(𝐯))=Φ(𝑐(𝐯′))=𝐯′, so 𝑐 is injective.

Now Φ(0,0,0)=𝟎 and Φ(1,1,−1)=(1,0)+(0,1)−(1,1)=𝟎. Let 𝐚 be whichever of these two columns differs from 𝑐(𝟎). If 𝐚=𝑐(𝐯) for some 𝐯, then 𝐯=Φ(𝑐(𝐯))=Φ(𝐚)=𝟎, so 𝐚=𝑐(𝟎), contradicting the choice of 𝐚. So 𝐚 is not a value of 𝑐, and 𝑐 is not surjective. By contrast, the coordinate map of a basis is a bijection (Proposition 1.6.16).

Exercise 1.6.32.standard Let 𝑛≥1, and let 𝑆⊆𝐹𝑛×𝑛 be the subspace of symmetric matrices, those with 𝑎𝑗𝑖=𝑎𝑖𝑗 for all 𝑖,𝑗 (Example 1.4.11). Let 𝐾 be the set of 𝐴∈𝐹𝑛×𝑛 with 𝑎𝑗𝑖=−𝑎𝑖𝑗 for all 𝑖,𝑗.

  1. (a)Find a basis of 𝑆 of length 𝑛(𝑛+1)/2.
  2. (b)Suppose that 1+1≠0 in 𝐹. Find a basis of 𝐾 of length 𝑛(𝑛−1)/2.
  3. (c)What are 𝐾 and a basis of 𝐾 when 𝐹=𝔽2?

Solution.

Uses. Definition 1.6.1 (Basis), Definition 1.6.8 (Standard bases), Proposition 1.1.17 (No zero divisors), Theorem 1.4.3 (Subspace criterion)

Hint 1. A symmetric matrix is determined by its entries on and above the diagonal. For each position (𝑖,𝑗) with 𝑖<𝑗, use 𝑈𝑖𝑗+𝑈𝑗𝑖.
Hint 2. For (b), what does 𝑎𝑖𝑖=−𝑎𝑖𝑖 say when 1+1≠0? For (c), what is −1 in 𝔽2?
Sketch. (a) 𝑈𝑖𝑖 (1≤𝑖≤𝑛) and 𝑈𝑖𝑗+𝑈𝑗𝑖 (𝑖<𝑗): a combination with coefficients 𝑐 has entries 𝑐𝑖𝑖 on the diagonal and 𝑐𝑖𝑗 in both positions (𝑖,𝑗) and (𝑗,𝑖), so each symmetric 𝐴 is represented exactly by 𝑐= its entries on and above the diagonal. Count 𝑛+𝑛(𝑛−1)/2. (b) (1+1)𝑎𝑖𝑖=0 forces a zero diagonal; use 𝑈𝑖𝑗−𝑈𝑗𝑖, 𝑖<𝑗. (c) In 𝔽2, −𝑎=𝑎, so 𝐾=𝑆, with the basis from (a).

(a) Consider the list consisting of the 𝑈𝑖𝑖 for 1≤𝑖≤𝑛 and the 𝑈𝑖𝑗+𝑈𝑗𝑖 for 1≤𝑖<𝑗≤𝑛, in any fixed order. Each entry is symmetric. A linear combination with coefficient 𝑐𝑖𝑖 on 𝑈𝑖𝑖 and 𝑐𝑖𝑗 on 𝑈𝑖𝑗+𝑈𝑗𝑖 is the matrix with diagonal entries 𝑐𝑖𝑖 and with 𝑐𝑖𝑗 in both positions (𝑖,𝑗) and (𝑗,𝑖) for 𝑖<𝑗. So it equals a given 𝐴∈𝑆 if and only if 𝑐𝑖𝑗=𝑎𝑖𝑗 for all 𝑖≤𝑗; these values work because 𝑎𝑗𝑖=𝑎𝑖𝑗. Every 𝐴∈𝑆 is represented by exactly one combination, and the list is a basis of 𝑆 (Definition 1.6.1). Its length is 𝑛+𝑛(𝑛−1)/2=𝑛(𝑛+1)/2.

(b) The set 𝐾 is a subspace by Theorem 1.4.3: the zero matrix satisfies 0=−0, and the conditions 𝑎𝑗𝑖=−𝑎𝑖𝑗 are preserved by entrywise sums and scalar multiples. For 𝐴∈𝐾, the condition with 𝑗=𝑖 gives 𝑎𝑖𝑖=−𝑎𝑖𝑖, that is, (1+1)𝑎𝑖𝑖=0, so 𝑎𝑖𝑖=0 by Proposition 1.1.17. Consider the matrices 𝑈𝑖𝑗−𝑈𝑗𝑖 for 𝑖<𝑗, which lie in 𝐾. A combination with coefficients 𝑐𝑖𝑗 has zero diagonal, 𝑐𝑖𝑗 in position (𝑖,𝑗), and −𝑐𝑖𝑗 in position (𝑗,𝑖), for 𝑖<𝑗. It equals 𝐴∈𝐾 if and only if 𝑐𝑖𝑗=𝑎𝑖𝑗 for all 𝑖<𝑗: the diagonal entries of 𝐴 are 0, and 𝑎𝑗𝑖=−𝑎𝑖𝑗. So this list of length 𝑛(𝑛−1)/2 is a basis of 𝐾.

(c) In 𝔽2, −𝑎=𝑎 for every 𝑎, so the condition 𝑎𝑗𝑖=−𝑎𝑖𝑗 is the condition 𝑎𝑗𝑖=𝑎𝑖𝑗, and 𝐾=𝑆. A basis is the one from (a), of length 𝑛(𝑛+1)/2. The argument of (b) breaks down because (1+1)𝑎𝑖𝑖=0 holds for every 𝑎𝑖𝑖; for instance 𝑈11∈𝐾.

Exercise 1.6.33.standard Let 𝑍⊆𝐹3×3 be the set of matrices in which every row and every column sums to 0. For 𝑘,𝑙∈{1,2}, let

𝑍𝑘𝑙=𝑈𝑘𝑙−𝑈𝑘3−𝑈3𝑙+𝑈33.

Show that 𝒵︀=𝑍11,𝑍12,𝑍21,𝑍22 is a basis of 𝑍, and that for 𝐴∈𝑍,

[𝐴]𝒵︀=(𝑎11,𝑎12,𝑎21,𝑎22).

Solution.

Uses. Definition 1.6.1 (Basis), (1.6.1), Definition 1.6.8 (Standard bases), Theorem 1.4.3 (Subspace criterion)

Hint 1. A matrix in 𝑍 is determined by its top-left 2×2 block. Express the entries in row 3 and column 3 in terms of that block.
Hint 2. Compute every entry of ∑𝑘,𝑙≤2𝑐𝑘𝑙𝑍𝑘𝑙. Its top-left block is (𝑐𝑘𝑙).
Sketch. Each 𝑍𝑘𝑙 lies in 𝑍. The combination ∑𝑐𝑘𝑙𝑍𝑘𝑙 has top-left block (𝑐𝑘𝑙), so at most one combination represents a given 𝐴, with 𝑐𝑘𝑙=𝑎𝑘𝑙. That one works: its entries in column 3, row 3, and the corner are −(𝑐𝑘1+𝑐𝑘2), −(𝑐1𝑙+𝑐2𝑙), and ∑𝑐𝑘𝑙, and for 𝐴∈𝑍 the zero row and column sums give exactly these values.

First, 𝑍 is a subspace of 𝐹3×3: the zero matrix lies in it, and if every row and column of 𝐴 and of 𝐵 sums to 0, the same holds for 𝐴+𝐵 and 𝑐𝐴, since sums of entries respect the entrywise operations (Theorem 1.4.3). Each 𝑍𝑘𝑙 lies in 𝑍: its nonzero entries are 1 in positions (𝑘,𝑙) and (3,3) and −1 in positions (𝑘,3) and (3,𝑙), so every row and every column contains either no nonzero entry or one 1 and one −1.

Let 𝑀=∑𝑘,𝑙∈{1,2}𝑐𝑘𝑙𝑍𝑘𝑙. Its entry in position (𝑘,𝑙) with 𝑘,𝑙≤2 is 𝑐𝑘𝑙, its entry (𝑘,3) is −(𝑐𝑘1+𝑐𝑘2), its entry (3,𝑙) is −(𝑐1𝑙+𝑐2𝑙), and its entry (3,3) is 𝑐11+𝑐12+𝑐21+𝑐22.

Now let 𝐴∈𝑍. If 𝑀=𝐴, comparing the top-left blocks gives 𝑐𝑘𝑙=𝑎𝑘𝑙, so at most one combination represents 𝐴. Conversely, take 𝑐𝑘𝑙=𝑎𝑘𝑙. Since rows 1 and 2 of 𝐴 sum to 0, 𝑎𝑘3=−(𝑎𝑘1+𝑎𝑘2), which is the (𝑘,3) entry of 𝑀. Since columns 1 and 2 sum to 0, 𝑎3𝑙=−(𝑎1𝑙+𝑎2𝑙), the (3,𝑙) entry of 𝑀. Since row 3 sums to 0,

𝑎33=−(𝑎31+𝑎32)=(𝑎11+𝑎21)+(𝑎12+𝑎22),

the (3,3) entry of 𝑀. So 𝑀=𝐴. Every 𝐴∈𝑍 is represented by exactly one linear combination, the list is a basis of 𝑍 (Definition 1.6.1), and by (1.6.1) the coordinates of 𝐴 are (𝑎11,𝑎12,𝑎21,𝑎22).

Exercise 1.6.34.standard Let 𝑛≥1, and let 𝑝0,…,𝑝𝑛∈𝐹[𝑥]≤𝑛.

  1. (a)Show that if deg𝑝𝑘=𝑘 for each 𝑘, then 𝑝0,…,𝑝𝑛 is a basis of 𝐹[𝑥]≤𝑛.
  2. (b)Show that if no 𝑝𝑘 has degree 𝑛, then 𝑝0,…,𝑝𝑛 is not a basis of 𝐹[𝑥]≤𝑛.
  3. (c)Find a basis of 𝐹[𝑥]≤𝑛 all of whose entries have degree 𝑛.

Solution.

Uses. Exercise 1.3.33, Proposition 1.5.24 (Distinct degrees), Example 1.4.9 (Polynomials), Proposition 1.4.14 (The span is the smallest subspace containing a list), Proposition 1.3.18 (Comparing spans), Example 1.3.11 (Small spans)

Hint 1. For (a), see Exercise 1.3.33 and Proposition 1.5.24. For (b), which subspace contains every 𝑝𝑘?
Hint 2. For (c), start with 𝑥𝑛 and add 𝑥𝑛 to each lower power of 𝑥.
Sketch. (a) Spanning by Exercise 1.3.33, independence by Proposition 1.5.24. (b) All 𝑝𝑘 lie in the subspace 𝐹[𝑥]≤𝑛−1, so their span does too, and 𝑥𝑛 is missing. (c) 𝑥𝑛,𝑥𝑛+1,𝑥𝑛+𝑥,…,𝑥𝑛+𝑥𝑛−1: each 𝑥𝑘=(𝑥𝑛+𝑥𝑘)−𝑥𝑛 is in the span, and in a relation the coefficient of 𝑥𝑘 for 𝑘<𝑛 is the coefficient of 𝑥𝑛+𝑥𝑘.

(a) The list spans 𝐹[𝑥]≤𝑛 by Exercise 1.3.33(a). Its entries are nonzero (they have degrees 𝑘≥0) and have distinct degrees, so it is independent by Proposition 1.5.24. So it is a basis.

(b) Each 𝑝𝑘 has degree at most 𝑛 and not equal to 𝑛, so 𝑝𝑘∈𝐹[𝑥]≤𝑛−1, a subspace (Example 1.4.9). By Proposition 1.4.14(b), span(𝑝0,…,𝑝𝑛)⊆𝐹[𝑥]≤𝑛−1, which does not contain 𝑥𝑛. So the list does not span 𝐹[𝑥]≤𝑛.

(c) Let 𝑞𝑛=𝑥𝑛 and 𝑞𝑘=𝑥𝑛+𝑥𝑘 for 0≤𝑘<𝑛, and consider 𝑞𝑛,𝑞0,𝑞1,…,𝑞𝑛−1. Each entry has degree 𝑛, since 𝑘<𝑛.

Spanning. 𝑥𝑛=𝑞𝑛 and 𝑥𝑘=𝑞𝑘−𝑞𝑛 for 𝑘<𝑛, so 1,𝑥,…,𝑥𝑛 lie in the span, and the span is 𝐹[𝑥]≤𝑛 by Proposition 1.3.18 and Example 1.3.11.

Independence. Suppose that 𝑐𝑞𝑛+∑𝑘=0𝑛−1𝑐𝑘𝑞𝑘=𝟎. The left side is

(𝑐+𝑐0+⋯+𝑐𝑛−1)𝑥𝑛+𝑐0+𝑐1𝑥+⋯+𝑐𝑛−1𝑥𝑛−1.

Its coefficient of 𝑥𝑘 for 𝑘<𝑛 is 𝑐𝑘, so every 𝑐𝑘=0, and then its coefficient of 𝑥𝑛 is 𝑐=0. So the list is a basis. Degrees alone therefore do not decide whether a list is a basis: (a) is a sufficient condition, not a necessary one.

Exercise 1.6.35.standard Prove or disprove each statement.

  1. (a)If ℬ︀ is a basis of 𝑉 and 𝑈 is a subspace of 𝑉, then some sublist of ℬ︀ is a basis of 𝑈.
  2. (b)If ℬ︀ and 𝒞︀ are bases of 𝑉 and 𝑉≠{𝟎}, then the concatenation ℬ︀,𝒞︀ is not a basis of 𝑉.
  3. (c)If 𝐯1,…,𝐯𝑛 is a basis of 𝑉 and 𝑐1,…,𝑐𝑛∈𝐹 are nonzero, then 𝑐1𝐯1,…,𝑐𝑛𝐯𝑛 is a basis of 𝑉.
  4. (d)If ℒ︀ is a list in 𝑉 such that every vector of 𝑉 is represented by at most one linear combination of ℒ︀, then ℒ︀ is a basis of 𝑉.
  5. (e)If ℒ︀ spans 𝑉, then exactly one sublist of ℒ︀ is a basis of 𝑉.

Solution.

Uses. Proposition 1.6.2 (Bases are independent spanning lists), Corollary 1.5.13 (Independence, one entry at a time), Proposition 1.5.18 (Operations that preserve independence), Definition 1.5.1 (Linear independence), Example 1.6.11 (Sifting a list of polynomials)

Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)

Hint 1. Test (a) with the standard basis of ℝ2 and a line that is not an axis. For (b), the first entry of 𝒞︀ comes after all of ℬ︀.
Hint 2. For (d), what does “at most one” say about vectors outside the span? For (e), look at Example 1.6.11.
Sketch. (a) False: 𝑈=span((1,1)) in ℝ2 contains no sublist of 𝐞1,𝐞2 that spans it. (b) True: 𝒞︀≠() and its first entry lies in span(ℬ︀)=𝑉, so Corollary 1.5.13 makes ℬ︀,𝒞︀ dependent. (c) True: scaling by nonzero scalars preserves span and independence (Proposition 1.5.18(b)). (d) False: “at most one” is independence; 𝐞1 in ℝ2. (e) False: (1,0),(0,1),(1,1) contains three bases of ℝ2.

(a) False. In ℝ2, let ℬ︀=𝐞1,𝐞2 and 𝑈=span((1,1)). The sublists of ℬ︀ are (), 𝐞1, 𝐞2, and ℬ︀. The last three contain 𝐞1 or 𝐞2, which are not in 𝑈 (they are not multiples of (1,1)), so they are not lists in 𝑈 at all; and () spans {𝟎}≠𝑈.

(b) True. Since 𝑉≠{𝟎}, neither ℬ︀ nor 𝒞︀ is the empty list (it spans only {𝟎}). Let 𝐰 be the first entry of 𝒞︀. In ℬ︀,𝒞︀ the entries before 𝐰 are those of ℬ︀, and 𝐰∈𝑉=span(ℬ︀). So ℬ︀,𝒞︀ is dependent by Corollary 1.5.13, and it is not a basis.

(c) True. Replacing 𝐯𝑗 by 𝑐𝑗𝐯𝑗 with 𝑐𝑗≠0 preserves both the span and independence (Proposition 1.5.18(b)). Doing this for 𝑗=1,…,𝑛 in turn produces a list that spans 𝑉 and is independent, which is a basis by Proposition 1.6.2.

(d) False. Every vector outside span(ℒ︀) is represented by no combination, so the hypothesis says exactly that every vector of span(ℒ︀) is represented by at most one combination, which is independence (Definition 1.5.1). Independent lists need not span: in ℝ2, the list 𝐞1 satisfies the hypothesis and is not a basis.

(e) False. In ℝ2, the spanning list (1,0),(0,1),(1,1) has the three sublists (1,0),(0,1) and (1,0),(1,1) and (0,1),(1,1), each of which is a basis (check spanning and independence as in Example 1.6.3(a)). See also Example 1.6.11.

Exercise 1.6.36.standard Let ℬ︀=𝐯1,…,𝐯𝑛 be a basis of 𝑉, let 𝐰∈𝑉 with [𝐰]ℬ︀=(𝑎1,…,𝑎𝑛), and fix 𝑗. Let ℬ︀′ be the list obtained from ℬ︀ by replacing 𝐯𝑗 with 𝐰.

  1. (a)Show that ℬ︀′ is a basis of 𝑉 if and only if 𝑎𝑗≠0.
  2. (b)Deduce that if 𝐰≠𝟎, then 𝐰 can replace some entry of ℬ︀ so that the result is still a basis.

Solution.

Uses. Proposition 1.6.2 (Bases are independent spanning lists), Corollary 1.3.19 (Equal spans), Theorem 1.5.5 (Independence is decided at zero), Proposition 1.6.16 (The coordinate map is a bijection), Exercise 1.3.34

Hint 1. If 𝑎𝑗=0, then 𝐰 is a combination of the other entries of ℬ︀′. If 𝑎𝑗≠0, solve 𝐰=∑𝑎𝑖𝐯𝑖 for 𝐯𝑗.
Hint 2. For independence when 𝑎𝑗≠0, substitute 𝐰=∑𝑖𝑎𝑖𝐯𝑖 into a relation of ℬ︀′ and use the independence of ℬ︀.
Hint 3. For (b), which column is [𝟎]ℬ︀?
Sketch. If 𝑎𝑗=0, then 𝐰=∑𝑖≠𝑗𝑎𝑖𝐯𝑖, which gives a relation of ℬ︀′ with coefficient −1 on 𝐰. If 𝑎𝑗≠0, then 𝐯𝑗=𝑎𝑗−1(𝐰−∑𝑖≠𝑗𝑎𝑖𝐯𝑖), so ℬ︀′ spans 𝑉; and a relation ∑𝑖≠𝑗𝑐𝑖𝐯𝑖+𝑐𝐰=𝟎 becomes ∑𝑖≠𝑗(𝑐𝑖+𝑐𝑎𝑖)𝐯𝑖+𝑐𝑎𝑗𝐯𝑗=𝟎, so 𝑐𝑎𝑗=0, 𝑐=0, and then all 𝑐𝑖=0. (b) [𝐰]ℬ︀≠𝟎 since the coordinate map is injective, so some 𝑎𝑗≠0.

(a) Write 𝐰=𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛.

Suppose 𝑎𝑗=0. Then 𝐰=∑𝑖≠𝑗𝑎𝑖𝐯𝑖, and the combination of ℬ︀′ with coefficients 𝑎𝑖 on 𝐯𝑖 (𝑖≠𝑗) and −1 on 𝐰 represents 𝟎. It is nontrivial, so ℬ︀′ is dependent and not a basis.

Suppose 𝑎𝑗≠0. Spanning. Solving for 𝐯𝑗,

𝐯𝑗=𝑎𝑗−1𝐰+∑𝑖≠𝑗(−𝑎𝑗−1𝑎𝑖)𝐯𝑖∈span(ℬ︀′).

The other entries of ℬ︀ are entries of ℬ︀′, so ℬ︀⊆span(ℬ︀′), and also ℬ︀′⊆𝑉=span(ℬ︀). By Corollary 1.3.19, span(ℬ︀′)=span(ℬ︀)=𝑉. (This is also Exercise 1.3.34, after moving 𝐯𝑗 to the end; its hypothesis that 𝐰 is not in the span of the other entries holds because 𝑎𝑗≠0 and coordinates are unique.) Independence. Suppose ∑𝑖≠𝑗𝑐𝑖𝐯𝑖+𝑐𝐰=𝟎. Substituting for 𝐰 and collecting terms,

∑𝑖≠𝑗(𝑐𝑖+𝑐𝑎𝑖)𝐯𝑖+𝑐𝑎𝑗𝐯𝑗=𝟎.

Since ℬ︀ is independent, 𝑐𝑎𝑗=0, so 𝑐=0 because 𝑎𝑗≠0, and then 𝑐𝑖=𝑐𝑖+𝑐𝑎𝑖=0 for all 𝑖≠𝑗. So ℬ︀′ is independent, and it is a basis by Proposition 1.6.2.

(b) Since [𝟎]ℬ︀=𝟎 and the coordinate map is injective (Proposition 1.6.16), 𝐰≠𝟎 implies [𝐰]ℬ︀≠𝟎, so 𝑎𝑗≠0 for some 𝑗. By (a), replacing 𝐯𝑗 with 𝐰 gives a basis. Repeating such replacements is the idea behind the exchange lemma of Section 4.1 (Lemma 4.1.2).

Exercise 1.6.37.standard Let 𝑓:𝑉→𝐹𝑛 be a bijection that respects linear combinations:

𝑓(𝑐1𝐱1+⋯+𝑐𝑘𝐱𝑘)=𝑐1𝑓(𝐱1)+⋯+𝑐𝑘𝑓(𝐱𝑘)

for all 𝑘≥0, all 𝐱𝑖∈𝑉, and all 𝑐𝑖∈𝐹. Show that there is exactly one basis 𝒞︀ of 𝑉 such that 𝑓(𝐯)=[𝐯]𝒞︀ for every 𝐯∈𝑉. In other words, the coordinate maps of bases are exactly the bijections 𝑉→𝐹𝑛 that respect linear combinations.

Solution.

Uses. Definition 1.6.1 (Basis), (1.6.1), Proposition 1.6.19 (Coordinates respect linear combinations), Proposition 1.6.16 (The coordinate map is a bijection)

Hint 1. If 𝑓=[⋅]𝒞︀ with 𝒞︀=𝐜1,…,𝐜𝑛, then 𝑓(𝐜𝑗)=𝐞𝑗. So there is only one candidate for 𝒞︀.
Hint 2. Let 𝐜𝑗=𝑓−1(𝐞𝑗). To show 𝒞︀ is a basis, write 𝑓(𝐯)=(𝑎1,…,𝑎𝑛)=∑𝑎𝑖𝐞𝑖 and apply 𝑓−1, using that 𝑓 respects linear combinations.
Sketch. Uniqueness: [𝐜𝑗]𝒞︀=𝐞𝑗 forces 𝐜𝑗=𝑓−1(𝐞𝑗). Existence: with this 𝒞︀, 𝑓(∑𝑏𝑖𝐜𝑖)=∑𝑏𝑖𝐞𝑖=(𝑏1,…,𝑏𝑛). Since 𝑓 is injective, ∑𝑏𝑖𝐜𝑖=𝐯 holds exactly when (𝑏1,…,𝑏𝑛)=𝑓(𝐯); so each 𝐯 has exactly one representation, with coefficients 𝑓(𝐯).

Uniqueness. Suppose 𝒞︀=𝐜1,…,𝐜𝑛 is a basis with 𝑓(𝐯)=[𝐯]𝒞︀ for all 𝐯. Then 𝑓(𝐜𝑗)=[𝐜𝑗]𝒞︀=𝐞𝑗, so 𝐜𝑗=𝑓−1(𝐞𝑗) for each 𝑗. So 𝒞︀ is determined by 𝑓.

Existence. Let 𝐜𝑗=𝑓−1(𝐞𝑗) and 𝒞︀=𝐜1,…,𝐜𝑛. For all 𝑏1,…,𝑏𝑛∈𝐹, since 𝑓 respects linear combinations,

𝑓(𝑏1𝐜1+⋯+𝑏𝑛𝐜𝑛)=𝑏1𝐞1+⋯+𝑏𝑛𝐞𝑛=(𝑏1,…,𝑏𝑛).

Let 𝐯∈𝑉. Since 𝑓 is injective, ∑𝑖𝑏𝑖𝐜𝑖=𝐯 holds if and only if 𝑓(∑𝑖𝑏𝑖𝐜𝑖)=𝑓(𝐯), that is, if and only if (𝑏1,…,𝑏𝑛)=𝑓(𝐯). So exactly one linear combination of 𝒞︀ represents 𝐯, namely the one with coefficients 𝑓(𝐯). Hence 𝒞︀ is a basis (Definition 1.6.1) and [𝐯]𝒞︀=𝑓(𝐯) (Definition 1.6.14).

Conversely, every coordinate map is a bijection that respects linear combinations, by Proposition 1.6.16 and Proposition 1.6.19(c). In the language of Section 4.5, the coordinate maps 𝑉→𝐹𝑛 are the isomorphisms 𝑉→𝐹𝑛.

Exercise 1.6.38.standard Let 𝐹 be a finite field with 𝑞 elements, and let 𝑛≥1.

  1. (a)Show that a list in 𝐹𝑛 is a basis of 𝐹𝑛 if and only if it is linearly independent and has length 𝑛.
  2. (b)How many bases does 𝐹𝑛 have? List all bases of 𝔽22.

Solution.

Uses. Exercise 1.5.43, Proposition 1.6.2 (Bases are independent spanning lists), Proposition 1.6.7 (Standard bases)

Hint 1. By Exercise 1.5.43(a), an independent list of length 𝑘 spans a set of exactly 𝑞𝑘 elements. How many elements does 𝐹𝑛 have?
Hint 2. For (b), (a) turns the count of bases into the count of independent lists of length 𝑛, which Exercise 1.5.43(b) computes.
Sketch. (a) If ℒ︀ is independent of length 𝑘, then |span(ℒ︀)|=𝑞𝑘, while |𝐹𝑛|=𝑞𝑛. So an independent list spans 𝐹𝑛 exactly when 𝑞𝑘=𝑞𝑛, that is, 𝑘=𝑛. (b) (𝑞𝑛−1)(𝑞𝑛−𝑞)⋯(𝑞𝑛−𝑞𝑛−1). For 𝔽22 this is 3⋅2=6: the ordered pairs of distinct vectors among (1,0),(0,1),(1,1).

(a) 𝐹𝑛 has 𝑞𝑛 elements. Let ℒ︀ be an independent list of length 𝑘. By Exercise 1.5.43(a), span(ℒ︀) has 𝑞𝑘 elements. Since span(ℒ︀)⊆𝐹𝑛, it equals 𝐹𝑛 if and only if 𝑞𝑘=𝑞𝑛, which holds if and only if 𝑘=𝑛, because 𝑞≥2. So an independent list spans 𝐹𝑛 exactly when its length is 𝑛. By Proposition 1.6.2, the bases of 𝐹𝑛 are the independent lists of length 𝑛.

(b) By (a) and Exercise 1.5.43(b), 𝐹𝑛 has exactly

(𝑞𝑛−1)(𝑞𝑛−𝑞)(𝑞𝑛−𝑞2)⋯(𝑞𝑛−𝑞𝑛−1)

bases. For 𝑞=2 and 𝑛=2 this is (4−1)(4−2)=6. An independent list of length 2 in 𝔽22 consists of a nonzero vector and a vector outside its span; the span of a nonzero 𝐯 is {𝟎,𝐯}. So the bases are the ordered pairs of distinct vectors from (1,0),(0,1),(1,1):

(1,0),(0,1)(0,1),(1,0)(1,0),(1,1)(1,1),(1,0)(0,1),(1,1)(1,1),(0,1).

Part (a) shows that over a finite field every basis of 𝐹𝑛 has length 𝑛. Section 4.1 proves this over every field (Theorem 4.1.1), where counting elements is not available.

Exercise 1.6.39.hard Let 𝑋={0,1,2,…}, so that ℝ𝑋 is the space of real sequences 𝐬=(𝑠0,𝑠1,𝑠2,…), and let

𝑉={𝐬∈ℝ𝑋|𝑠𝑘+2=𝑠𝑘+1+𝑠𝑘for all𝑘≥0}.
  1. (a)Show that 𝑉 is a subspace of ℝ𝑋, and that if 𝐬∈𝑉 and 𝑠0=𝑠1=0, then 𝐬=𝟎.
  2. (b)Let 𝐠,𝐟∈𝑉 be the sequences with 𝑔0=1,𝑔1=0 and 𝑓0=0,𝑓1=1. (So 𝐟=(0,1,1,2,3,5,…) is the Fibonacci sequence.) Show that 𝐠,𝐟 is a basis of 𝑉, and that [𝐬](𝐠,𝐟)=(𝑠0,𝑠1).
  3. (c)Let 𝜑=(1+5)/2 and 𝜓=(1−5)/2, the roots of 𝑡2=𝑡+1. Show that the geometric sequences 𝐚=(𝜑𝑘)𝑘≥0 and 𝐛=(𝜓𝑘)𝑘≥0 form a basis of 𝑉. By finding [𝐟](𝐚,𝐛), prove that

    𝑓𝑘=𝜑𝑘−𝜓𝑘5for all𝑘≥0.

Solution.

Uses. Theorem 1.4.3 (Subspace criterion), Definition 1.6.1 (Basis), (1.6.1), Proposition 1.6.2 (Bases are independent spanning lists), induction on 𝑘

Hint 1. For (a), check the subspace criterion one condition at a time. For the second claim, prove by induction on 𝑘 that 𝑠𝑘=𝑠𝑘+1=0.
Hint 2. For (b), given 𝐬∈𝑉, the sequence 𝐬−𝑠0𝐠−𝑠1𝐟 lies in 𝑉. What are its first two terms?
Hint 3. For (c), 𝜑𝑘+2=𝜑𝑘𝜑2=𝜑𝑘(𝜑+1). To represent 𝐬, choose 𝛼,𝛽 with 𝛼+𝛽=𝑠0 and 𝛼𝜑+𝛽𝜓=𝑠1, and argue as in (b).
Sketch. (a) The recurrence is preserved by sums and multiples, and the zero sequence satisfies it; if 𝑠0=𝑠1=0, induction gives 𝑠𝑘=0 for all 𝑘. (b) 𝐬−𝑠0𝐠−𝑠1𝐟∈𝑉 starts 0,0, so it is 𝟎; and a combination 𝑐𝐠+𝑑𝐟 starts 𝑐,𝑑, so the coefficients are forced. (c) 𝐚,𝐛∈𝑉 because 𝜑2=𝜑+1 and 𝜓2=𝜓+1. Since 𝜑≠𝜓, the system 𝛼+𝛽=𝑠0, 𝛼𝜑+𝛽𝜓=𝑠1 has exactly one solution, and by (a) the coefficients represent 𝐬. For 𝐟: 𝛼=1/5, 𝛽=−1/5.

(a) The zero sequence satisfies 0=0+0. If 𝐬,𝐭∈𝑉 and 𝑐∈ℝ, then 𝑠𝑘+2+𝑡𝑘+2=(𝑠𝑘+1+𝑡𝑘+1)+(𝑠𝑘+𝑡𝑘) and 𝑐𝑠𝑘+2=𝑐𝑠𝑘+1+𝑐𝑠𝑘 for all 𝑘, since the operations of ℝ𝑋 are termwise. So 𝑉 is a subspace by Theorem 1.4.3. Now let 𝐬∈𝑉 with 𝑠0=𝑠1=0. We show by induction on 𝑘 that 𝑠𝑘=𝑠𝑘+1=0. For 𝑘=0 this is the hypothesis. If 𝑠𝑘=𝑠𝑘+1=0, then 𝑠𝑘+2=𝑠𝑘+1+𝑠𝑘=0, so 𝑠𝑘+1=𝑠𝑘+2=0. Hence 𝑠𝑘=0 for all 𝑘, and 𝐬=𝟎.

(b) (The sequences 𝐠 and 𝐟 exist and are unique: choose the first two terms and define the rest by the recurrence.) Let 𝐬∈𝑉 and 𝑐,𝑑∈ℝ. The combination 𝑐𝐠+𝑑𝐟 has first two terms 𝑐 and 𝑑. So if it represents 𝐬, then 𝑐=𝑠0 and 𝑑=𝑠1. Conversely, 𝐭=𝐬−𝑠0𝐠−𝑠1𝐟 lies in 𝑉, since 𝑉 is a subspace, and 𝑡0=𝑠0−𝑠0=0, 𝑡1=𝑠1−𝑠1=0. By (a), 𝐭=𝟎, that is, 𝐬=𝑠0𝐠+𝑠1𝐟. So 𝐬 is represented by exactly one combination, 𝐠,𝐟 is a basis of 𝑉, and [𝐬](𝐠,𝐟)=(𝑠0,𝑠1).

(c) Since 𝜑2=𝜑+1, we get 𝜑𝑘+2=𝜑𝑘𝜑2=𝜑𝑘+1+𝜑𝑘 for all 𝑘, so 𝐚∈𝑉; likewise 𝐛∈𝑉. Let 𝐬∈𝑉. A combination 𝛼𝐚+𝛽𝐛 has first two terms 𝛼+𝛽 and 𝛼𝜑+𝛽𝜓. The system

𝛼+𝛽=𝑠0,𝛼𝜑+𝛽𝜓=𝑠1

has exactly one solution, because 𝜑−𝜓=5≠0: subtracting 𝜓 times the first equation from the second gives 𝛼=(𝑠1−𝜓𝑠0)/5, and then 𝛽=𝑠0−𝛼. For these 𝛼,𝛽, the sequence 𝐬−𝛼𝐚−𝛽𝐛 lies in 𝑉 and starts with 0,0, so it is 𝟎 by (a). For any other 𝛼,𝛽, the combination differs from 𝐬 in one of the first two terms. So 𝐬 has exactly one representation, and 𝐚,𝐛 is a basis of 𝑉.

For 𝐟, 𝑠0=0 and 𝑠1=1 give 𝛼=1/5 and 𝛽=−1/5. So [𝐟](𝐚,𝐛)=(1/5,−1/5), which means 𝐟=(𝐚−𝐛)/5. Comparing 𝑘-th terms, 𝑓𝑘=(𝜑𝑘−𝜓𝑘)/5.

The same space has two useful bases. In 𝐠,𝐟 the coordinates are the initial values, and in 𝐚,𝐛 the recurrence acts on each basis vector by a single multiplication, which is what makes the closed formula possible. Choosing such a basis is the idea of diagonalization (Section 7.4).

Exercise 1.6.40.hard Let 𝑆⊆𝐹3×3 be the set of matrices whose three row sums and three column sums are all equal; for 𝐴∈𝑆, write 𝑠(𝐴) for this common value. Let 𝑍⊆𝑆 and 𝒵︀=𝑍11,𝑍12,𝑍21,𝑍22 be as in Exercise 1.6.33, the case 𝑠(𝐴)=0.

  1. (a)Show that 𝑆 is a subspace of 𝐹3×3, that 𝐼,𝑍11,𝑍12,𝑍21,𝑍22 is a basis of 𝑆, where 𝐼=𝑈11+𝑈22+𝑈33, and that for 𝐴∈𝑆 with 𝑠=𝑠(𝐴),

    [𝐴](𝐼,𝒵︀)=(𝑠,𝑎11−𝑠,𝑎12,𝑎21,𝑎22−𝑠).
  2. (b)Let 𝐽 be the matrix all of whose entries are 1. Find [𝐽](𝐼,𝒵︀), and determine for which fields 𝐽∈𝑍.
  3. (c)A permutation matrix has exactly one entry 1 in each row and each column, and 0 elsewhere. Show that the six 3×3 permutation matrices span 𝑆, and find a dependence relation among them.

Solution.

Uses. Exercise 1.6.33, Theorem 1.4.3 (Subspace criterion), Definition 1.6.1 (Basis), (1.6.1), Proposition 1.3.18 (Comparing spans), Proposition 1.4.14 (The span is the smallest subspace containing a list)

Hint 1. For (a), if 𝐴∈𝑆 has common sum 𝑠, what are the row and column sums of 𝐴−𝑠𝐼?
Hint 2. For uniqueness in (a), compute the first row sum of 𝑐0𝐼+∑𝑐𝑘𝑙𝑍𝑘𝑙; then use the uniqueness in Exercise 1.6.33.
Hint 3. For (c), it is enough to write 𝐼 and the four 𝑍𝑘𝑙 as combinations of permutation matrices. Each 𝑍𝑘𝑙 is a difference of two of them. For the relation, add up the three permutation matrices that place the 1 of row 1 in different columns “cyclically”.
Sketch. (a) Line sums are preserved by sums and scalar multiples, so 𝑆 is a subspace. For 𝐴∈𝑆 with sum 𝑠, 𝐴−𝑠𝐼∈𝑍, so 𝐴=𝑠𝐼+∑(𝐴−𝑠𝐼)𝑘𝑙𝑍𝑘𝑙 by Exercise 1.6.33. Conversely, the first row sum of 𝑐0𝐼+∑𝑐𝑘𝑙𝑍𝑘𝑙 is 𝑐0, which forces 𝑐0=𝑠, and then the 𝑐𝑘𝑙 are the 𝒵︀-coordinates of 𝐴−𝑠𝐼. (b) 𝑠(𝐽)=3, so [𝐽]=(3,−2,1,1,−2); 𝐽∈𝑍 iff 3=0 in 𝐹. (c) With 𝑇𝑘 the permutation matrix fixing position 𝑘 and 𝐶,𝐶′ the two cyclic ones: 𝑍11=𝐼−𝑇2, 𝑍22=𝐼−𝑇1, 𝑍12=𝑇3−𝐶′, 𝑍21=𝑇3−𝐶. Relation: 𝐼+𝐶+𝐶′=𝐽=𝑇1+𝑇2+𝑇3.

(a) Subspace. The zero matrix lies in 𝑆 with 𝑠=0. If 𝐴,𝐵∈𝑆 and 𝑐∈𝐹, then every row and column of 𝐴+𝐵 sums to 𝑠(𝐴)+𝑠(𝐵), and every row and column of 𝑐𝐴 sums to 𝑐𝑠(𝐴), because sums of entries respect the entrywise operations. So 𝑆 is a subspace by Theorem 1.4.3. The matrix 𝐼 lies in 𝑆 with 𝑠(𝐼)=1, and each 𝑍𝑘𝑙 lies in 𝑍⊆𝑆.

Existence. Let 𝐴∈𝑆 with 𝑠=𝑠(𝐴). Every row and column of 𝐴−𝑠𝐼 sums to 𝑠−𝑠=0, so 𝐴−𝑠𝐼∈𝑍. By Exercise 1.6.33,

𝐴−𝑠𝐼=∑𝑘,𝑙∈{1,2}(𝐴−𝑠𝐼)𝑘𝑙𝑍𝑘𝑙,

where (𝐴−𝑠𝐼)𝑘𝑙 is 𝑎𝑘𝑙−𝑠 for 𝑘=𝑙 and 𝑎𝑘𝑙 for 𝑘≠𝑙. So 𝐴 is represented with the coefficients claimed.

Uniqueness. Suppose 𝐴=𝑐0𝐼+∑𝑘,𝑙𝑐𝑘𝑙𝑍𝑘𝑙. Every row of a matrix in 𝑍 sums to 0, so the first row of the right side sums to 𝑐0, and hence 𝑐0=𝑠. Then ∑𝑘,𝑙𝑐𝑘𝑙𝑍𝑘𝑙=𝐴−𝑠𝐼, and the uniqueness in Exercise 1.6.33 gives 𝑐𝑘𝑙=(𝐴−𝑠𝐼)𝑘𝑙. So every 𝐴∈𝑆 has exactly one representation, 𝐼,𝒵︀ is a basis of 𝑆, and the coordinates are as stated ((1.6.1)).

(b) Every row and column of 𝐽 sums to 3=1+1+1, so 𝐽∈𝑆 with 𝑠(𝐽)=3, and by (a)

[𝐽](𝐼,𝒵︀)=(3,1−3,1,1,1−3)=(3,−2,1,1,−2).

The matrix 𝐽 lies in 𝑍 exactly when its line sums are 0, that is, when 3=0 in 𝐹, as in 𝔽3. In that case its first coordinate is 0, and its coordinates are (0,1,1,1,1).

(c) Each permutation matrix lies in 𝑆, with every line sum equal to 1. There are six of them: 𝐼; the two “cyclic” ones

𝐶=𝑈12+𝑈23+𝑈31,𝐶′=𝑈13+𝑈21+𝑈32;

and the three that keep exactly one 1 of 𝐼 in place,

𝑇1=𝑈11+𝑈23+𝑈32,𝑇2=𝑈13+𝑈22+𝑈31,𝑇3=𝑈12+𝑈21+𝑈33.

Comparing entries,

𝑍11=𝐼−𝑇2,𝑍22=𝐼−𝑇1,𝑍12=𝑇3−𝐶′,𝑍21=𝑇3−𝐶.

For instance, 𝐼−𝑇2=(𝑈11+𝑈22+𝑈33)−(𝑈13+𝑈22+𝑈31)=𝑈11−𝑈13−𝑈31+𝑈33=𝑍11. So the basis 𝐼,𝒵︀ of 𝑆 lies in the span of the permutation matrices, and 𝑆⊆ that span by Proposition 1.3.18. Conversely, the permutation matrices lie in the subspace 𝑆, so their span is contained in 𝑆 (Proposition 1.4.14). Hence they span 𝑆.

The matrices 𝐼,𝐶,𝐶′ have their 1′s in disjoint positions covering all nine, and so do 𝑇1,𝑇2,𝑇3. Hence

𝐼+𝐶+𝐶′=𝐽=𝑇1+𝑇2+𝑇3,

and 𝐼+𝐶+𝐶′−𝑇1−𝑇2−𝑇3=0 is a dependence relation, with coefficient 1 on 𝐼, over every field. So six matrices span 𝑆, which has a basis of length 5, and they are dependent; Section 4.1 shows that this had to happen.

Exercise 1.6.41.hard Let 𝐾 be a subfield of a field 𝐸, and let 𝑉 be a vector space over 𝐸; regard 𝐸 and 𝑉 as vector spaces over 𝐾 by restricting scalars (Proposition 1.2.19). Suppose that 𝛼1,…,𝛼𝑚 is a basis of 𝐸 over 𝐾 and 𝐯1,…,𝐯𝑛 is a basis of 𝑉 over 𝐸.

  1. (a)Show that the 𝑚𝑛 vectors 𝛼𝑖𝐯𝑗, listed as

    𝛼1𝐯1,…,𝛼𝑚𝐯1,𝛼1𝐯2,…,𝛼𝑚𝐯2,…,𝛼1𝐯𝑛,…,𝛼𝑚𝐯𝑛,

    form a basis of 𝑉 over 𝐾.

  2. (b)Write down the resulting basis of ℂ2 over ℝ, and the coordinates of (1+2𝑖,3−𝑖) in it.

Solution.

Uses. Proposition 1.2.19 (Restriction of scalars), Proposition 1.6.2 (Bases are independent spanning lists), Theorem 1.5.5 (Independence is decided at zero), Definition 1.2.1 (Vector space), Lemma 1.3.9 (Arithmetic of linear combinations)

Hint 1. For spanning, write 𝐯=∑𝑗𝑎𝑗𝐯𝑗 with 𝑎𝑗∈𝐸, and then write each 𝑎𝑗 as a 𝐾-combination of the 𝛼𝑖.
Hint 2. For independence, group a 𝐾-relation ∑𝑖,𝑗𝑏𝑖𝑗𝛼𝑖𝐯𝑗=𝟎 as ∑𝑗(∑𝑖𝑏𝑖𝑗𝛼𝑖)𝐯𝑗=𝟎. Use independence over 𝐸, then over 𝐾.
Sketch. Spanning: 𝐯=∑𝑗𝑎𝑗𝐯𝑗 with 𝑎𝑗=∑𝑖𝑏𝑖𝑗𝛼𝑖, 𝑏𝑖𝑗∈𝐾, so 𝐯=∑𝑖,𝑗𝑏𝑖𝑗(𝛼𝑖𝐯𝑗) by (A6) and (A8). Independence: a 𝐾-relation regroups as ∑𝑗𝑐𝑗𝐯𝑗=𝟎 with 𝑐𝑗=∑𝑖𝑏𝑖𝑗𝛼𝑖∈𝐸; independence of the 𝐯𝑗 over 𝐸 gives each 𝑐𝑗=0, and independence of the 𝛼𝑖 over 𝐾 gives each 𝑏𝑖𝑗=0. (b) (1,0),(𝑖,0),(0,1),(0,𝑖), and coordinates (1,2,3,−1).

Scalar multiplication of 𝐾 on 𝑉 is that of 𝐸, restricted to 𝐾, and the same holds on 𝐸, where it is multiplication in 𝐸. So the vector space axioms of 𝑉 over 𝐸 apply whenever the scalars lie in 𝐾 or 𝐸.

(a) Spanning. Let 𝐯∈𝑉. Since 𝐯1,…,𝐯𝑛 spans 𝑉 over 𝐸, 𝐯=∑𝑗𝑎𝑗𝐯𝑗 with 𝑎𝑗∈𝐸. Since 𝛼1,…,𝛼𝑚 spans 𝐸 over 𝐾, each 𝑎𝑗=∑𝑖𝑏𝑖𝑗𝛼𝑖 with 𝑏𝑖𝑗∈𝐾. By (A8) and (A6) in the 𝐸-vector space 𝑉,

𝑎𝑗𝐯𝑗=(∑𝑖=1𝑚𝑏𝑖𝑗𝛼𝑖)𝐯𝑗=∑𝑖=1𝑚𝑏𝑖𝑗(𝛼𝑖𝐯𝑗),

so 𝐯=∑𝑗=1𝑛∑𝑖=1𝑚𝑏𝑖𝑗(𝛼𝑖𝐯𝑗) is a 𝐾-linear combination of the list.

Independence. Suppose that ∑𝑗=1𝑛∑𝑖=1𝑚𝑏𝑖𝑗(𝛼𝑖𝐯𝑗)=𝟎 with all 𝑏𝑖𝑗∈𝐾. Regrouping with the same axioms, ∑𝑗𝑐𝑗𝐯𝑗=𝟎, where 𝑐𝑗=∑𝑖𝑏𝑖𝑗𝛼𝑖∈𝐸. Since 𝐯1,…,𝐯𝑛 is independent over 𝐸, every 𝑐𝑗=0 (Theorem 1.5.5). So for each 𝑗, ∑𝑖𝑏𝑖𝑗𝛼𝑖=0 is a 𝐾-relation of 𝛼1,…,𝛼𝑚, and independence over 𝐾 gives 𝑏𝑖𝑗=0 for all 𝑖. So the list is independent over 𝐾, and it is a basis by Proposition 1.6.2.

(b) Take 𝐾=ℝ, 𝐸=ℂ with basis 1,𝑖 (Example 1.6.5), and 𝑉=ℂ2 with the standard basis 𝐞1,𝐞2 over ℂ. The basis of (a) is

(1,0),(𝑖,0),(0,1),(0,𝑖).

Since (1+2𝑖,3−𝑖)=1(1,0)+2(𝑖,0)+3(0,1)+(−1)(0,𝑖) with real coefficients, its coordinates are (1,2,3,−1) by (1.6.1). In general, the coordinates of a vector of ℂ𝑛 in this basis over ℝ list the real and imaginary parts of its entries.

Exercise 1.6.42.challenge Let 𝑛≥1, and let 𝑉=𝔽2𝑋 be the space of all functions 𝑋→𝔽2, where 𝑋=𝔽2𝑛. For a subset 𝑆⊆{1,…,𝑛}, let 𝑚𝑆∈𝑉 be the function

𝑚𝑆(𝑦1,…,𝑦𝑛)=∏𝑖∈𝑆𝑦𝑖,

with 𝑚∅=1 (the constant function). Show that the 2𝑛 functions 𝑚𝑆, listed in any order, form a basis of 𝑉. Deduce that every function 𝔽2𝑛→𝔽2 can be written in exactly one way as a sum of distinct products 𝑦𝑖1𝑦𝑖2⋯𝑦𝑖𝑟 with 𝑖1<⋯<𝑖𝑟 (allowing the empty product 1).

Solution.

Uses. Exercise 1.5.43, Proposition 1.6.2 (Bases are independent spanning lists), Definition 1.2.9 (Function spaces), Proposition 1.3.18 (Comparing spans)

Hint 1. Count: 𝑉 has 22𝑛 elements, and the list has length 2𝑛. By Exercise 1.5.43(a), it is enough to show that the list spans 𝑉.
Hint 2. For 𝐚∈𝑋, let 𝛿𝐚 be 1 at 𝐚 and 0 elsewhere. Every 𝑓 is a combination of the 𝛿𝐚. Show that 𝛿𝐚(𝐲)=∏𝑖=1𝑛(𝑦𝑖+𝑎𝑖+1).
Hint 3. Expand that product of 𝑛 binomials. Each term is a constant times ∏𝑖∈𝑆𝑦𝑖 for some 𝑆.
Sketch. Every 𝑓=∑𝐚𝑓(𝐚)𝛿𝐚. In 𝔽2, 𝑦𝑖+𝑎𝑖+1=1 exactly when 𝑦𝑖=𝑎𝑖, so 𝛿𝐚(𝐲)=∏𝑖((𝑎𝑖+1)+𝑦𝑖), and expanding gives ∑𝑆(∏𝑖∉𝑆(𝑎𝑖+1))𝑚𝑆(𝐲). So the 𝑚𝑆 span 𝑉. The span of a list of length 2𝑛 then has 22𝑛 elements, so by Exercise 1.5.43(a) the list is independent, hence a basis. The coordinates in this basis give the unique expression.

Write 𝑁=2𝑛 for the number of subsets 𝑆, and fix a listing 𝑚𝑆1,…,𝑚𝑆𝑁. The space 𝑉 has 2𝑁 elements, since a function 𝑋→𝔽2 chooses one of two values at each of the 𝑁 points of 𝑋.

Spanning. For 𝐚∈𝑋, let 𝛿𝐚∈𝑉 be 1 at 𝐚 and 0 elsewhere. Every 𝑓∈𝑉 satisfies 𝑓=∑𝐚∈𝑋𝑓(𝐚)𝛿𝐚, since both sides take the value 𝑓(𝐲) at each 𝐲 (only the term with 𝐚=𝐲 contributes). So by Proposition 1.3.18 it suffices to show that each 𝛿𝐚 lies in the span of the 𝑚𝑆.

In 𝔽2, the element 𝑦𝑖+𝑎𝑖+1 is 1 if 𝑦𝑖=𝑎𝑖 and 0 if 𝑦𝑖≠𝑎𝑖 (as 𝑎𝑖+𝑎𝑖=0 and 1+1=0). A product of elements of 𝔽2 is 1 exactly when every factor is 1, so

𝛿𝐚(𝐲)=∏𝑖=1𝑛((𝑎𝑖+1)+𝑦𝑖)for all𝐲∈𝑋.

Expanding a product of 𝑛 sums (𝑢𝑖+𝑦𝑖) by distributivity (induction on 𝑛) gives the sum, over all subsets 𝑆⊆{1,…,𝑛}, of the products that take 𝑦𝑖 from the factors with 𝑖∈𝑆 and 𝑢𝑖 from the others:

∏𝑖=1𝑛(𝑢𝑖+𝑦𝑖)=∑𝑆⊆{1,…,𝑛}(∏𝑖∉𝑆𝑢𝑖)(∏𝑖∈𝑆𝑦𝑖).

With 𝑢𝑖=𝑎𝑖+1, this says that 𝛿𝐚=∑𝑆𝑐𝑆𝑚𝑆 with 𝑐𝑆=∏𝑖∉𝑆(𝑎𝑖+1)∈𝔽2, an identity of functions because it holds at every 𝐲. So the list spans 𝑉.

Independence. By Exercise 1.5.43(a), a list of length 𝑁 over 𝔽2 is independent if and only if its span has exactly 2𝑁 elements. Our list has length 𝑁, and its span is 𝑉, which has 2𝑁 elements. So the list is independent, and it is a basis by Proposition 1.6.2.

The deduction. For 𝑓∈𝑉, Definition 1.6.1 gives exactly one list of coefficients 𝑐𝑆∈𝔽2 with 𝑓=∑𝑆𝑐𝑆𝑚𝑆. Over 𝔽2 a coefficient is 0 or 1, so this says that 𝑓 is the sum of the 𝑚𝑆 with 𝑐𝑆=1, and the set of these 𝑆 is uniquely determined. For instance, for 𝑛=2, the function that is 1 exactly at (0,0) is 𝛿(0,0)=(1+𝑦1)(1+𝑦2)=1+𝑦1+𝑦2+𝑦1𝑦2. This unique expression is the algebraic normal form of a Boolean function.

More practice

The practice bank has 77 exercises on this section’s topics.