1.6Bases and coordinates
In a vector is its list of entries: is the linear combination , and no other linear combination of represents it. A basis of a vector space is a list that does for what 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 .
So is a basis when, for every , the equation
has exactly one solution . “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.
Uses. Definition 1.6.1 (Basis), Definition 1.3.12 (Spanning list), Definition 1.5.1 (Linear independence), Definition 1.3.10 (Span)
() Suppose that is a basis of . Every is represented by some linear combination of , so . The span consists of vectors of , so . Every vector of 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 , 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
- (a)In , consider . For , the equation
reads and . Adding and subtracting, any solution has and , and these values are a solution. So each is represented by exactly one linear combination, and is a basis of . The same computation works over any field with . Over the list is not a basis: there , and a list with a repeated entry is dependent (Proposition 1.5.15). - (b)Let
. The list spans (Exercise 1.3.16). It is independent, because is only if . So it is a basis of the plane , a vector space in its own right (Definition 1.4.1). - (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.
- (a)In , the list is linearly independent, because
, which is only if . It does not span : every vector of its span has third coordinate equal to the sum of the first two, and does not. So the vector has no representation at all. - (b)In , the list spans , as its sublist already does. It is dependent, since
. So every vector has many representations: .
Whether a list is a basis depends on the field, since both spanning and independence do.
Uses. Proposition 1.6.2 (Bases are independent spanning lists), Exercise 1.3.32, Proposition 1.5.24 (Distinct degrees)
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.
- (a)In , the list is a basis, where has in position and elsewhere.
(b)In , let be the matrix with in position and elsewhere. The matrices , listed row by row as
form a basis.
- (c)In , the list is a basis.
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)
(a) By the coordinatewise operations, the linear combination with coefficients represents
(b) By the entrywise operations, the entry of is
(c) By Notation 1.2.15,
The notation does not record , which is always clear from the context: in and in . 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 matrix, and the matrix units of are the , so (b) contains (a).
The standard bases have lengths , , and , 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 . 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: , the empty list is independent, and the empty sum is . In the inductive step, take a list of length , 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.
Used in 20 places and 1 practice exercise
Theorem 1.6.10, Proposition 1.6.19, Exercise 1.6.30, Exercise 1.7.10, Exercise 1.7.11, Problem 1.17, Theorem 2.1.3, Exercise 2.6.50, Lemma 4.1.2, Theorem 4.1.16, Corollary 4.1.35, Proposition 4.7.30, Exercise 4.7.61, Corollary 6.2.13, Corollary 6.3.6, Theorem 6.4.15, Exercise 6.4.62, Exercise 6.6.19, Proposition 7.1.22, Proposition 7.1.27; 1 practice exercise.
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.
Once an independent sublist with the same span is found, the rest is formal. The entries of lie in the subspace (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 by Proposition 1.6.2, and if spans , then . 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).
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)
We prove by induction on that every list of length in has a linearly independent sublist with the same span.
Base case. If , 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 . If is independent, take . Otherwise, by Lemma 1.5.10 there is an index such that the list
satisfies
Proof (a shortest sublist).
Uses. Lemma 1.5.10 (Linear dependence lemma), Notation 1.3.3
Techniques. Extremal choice and minimal counterexamples (Technique 1.5.9)
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).
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)
Let , and write
We show by induction on that . For both sides are . Let and assume
- If is kept, then
. The entries of are entries of , so they lie in (Proposition 1.3.17). Conversely, lie in , and is an entry of . By Corollary 1.3.19, . - If is deleted, then and , so by Corollary 1.3.20(c). Hence
.
For this gives
For independence, let be a kept entry. The entries of that come before it form , whose span is , and 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 , let
We sift. The entry is nonzero, so it is kept. Next, lies in and is deleted. Every vector of
equals only if , , and , which is impossible. So is kept, and sifting produces
a basis of . Here is all of , because , , and lie in (Proposition 1.3.18). So is a basis of .
Other sublists of are bases too. For instance, is independent and spans , 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.
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)
Length or . The span of is . The span of a single vector consists of its multiples. If both and were multiples of , say and , then and would give and , while would give . So no sublist of length or spans .
Length or . The four sublists of length have the dependence relations
The whole list contains the dependent sublist , so it is dependent by Corollary 1.5.17. None of these is a basis.
Length . The pair is dependent. For each of the other five pairs , namely
the number is respectively, which is nonzero. So each of them spans by Exercise 1.3.37(a). Neither vector of the pair is a multiple of the other: a multiple of has second coordinate , a multiple of has first coordinate , and a multiple of or 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 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.
- (i) is a basis of .
- (ii) spans , and for every , the list obtained by deleting from does not span .
- (iii) is linearly independent, and for every , the list is linearly dependent.
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)
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 , say
(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
(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 . So is dependent for every if and only if , 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 be a basis of , and let . Let be the coefficients of the unique linear combination of that represents , so that
and is the -th coordinate of with respect to . The function , , is the coordinate map of .
For , that is, for the basis of , we use the convention that consists of the empty column, so that . With it, everything below holds for 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 ,
The forward direction is the definition. For the backward direction, if the combination with coefficients 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 on and 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
the entries of read row by row. That of
Example 1.6.15 (Coordinates in the plane). In , let
For this gives : indeed . The standard coordinates 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 and : two steps along , then one along .
The order of the entries of matters. The list is also a basis, and in it the coordinates of are . 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 be a basis of . The coordinate map , , is a bijection. Its inverse is
Uses. Definition 1.6.14 (Coordinates), (1.6.1)
Techniques. Uniqueness via two candidates (Technique 1.1.8)
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 , let be the standard basis and let
Comparing coefficients, , then , then , and these values do solve the equation. So every polynomial of degree at most is represented by exactly one linear combination of , and
For ,
and indeed
Over , the basis of (Example 1.6.5) gives
Exercise 1.6.18. Let
- (a)Show that is a basis of .
- (b)Show that
. - (c)Explain why the first coordinate of is for every .
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)
(a) The entries of have degrees , , and . So spans 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,
By (1.6.1),
(c) Write
(In (b), this is the identity .) Similarly, over the second coordinate is the derivative of at . These are the first terms of the Taylor expansion of around .
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 .
- (a)For all ,
. - (b)For all and , .
(c)For all , all , and all ,
On each left side the operations are those of , and on each right side those of .
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)
Write .
(a) Let
So the combination with coefficients
where the middle equality is the definition of addition in (Definition 1.2.4).
(b) With
(c) We induct on . For both sides are empty sums: the left side is , and the right side is . Suppose that (c) holds for combinations of length , and let
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 . For all ,
Consequently:
- (a) is linearly independent in if and only if
is linearly independent in ; - (b)
if and only if ; - (c) spans if and only if
spans . In particular, is a basis of if and only if is a basis of .
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)
By Proposition 1.6.19(c),
(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 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
Uses. Definition 1.6.14 (Coordinates), (1.6.1)
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.
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.
Uses. Definition 1.6.23 (Finite-dimensional), Theorem 1.6.10 (Every spanning list contains a basis)
Not every vector space is finite-dimensional. The basic example is , and the reason is the degree.
Uses. Example 1.4.9 (Polynomials), Proposition 1.4.14 (The span is the smallest subspace containing a list), Definition 1.2.16 (Degree)
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 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 , then , then , and so on, every stage 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.
Exercises
Exercise 1.6.27. Decide whether each list is a basis of the given space, and justify your answer.
- (a)
in . (The answer depends on .) - (b)
in . - (c)
in .
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)
(a) For , the equation
Any solution has , then
Suppose in . Then by Proposition 1.1.17, so , and then
So there is at most one solution. These values are a solution: for instance
Suppose in , as in . Then
(b) Not a basis:
(c) Not a basis. Every linear combination
has equal off-diagonal entries, so is not in the span, and the list does not span . (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.)
- (a)Show that
is a basis of , find , and find the vector with . (b)In , let
Show that is a basis and find for .
Uses. Definition 1.6.1 (Basis), Definition 1.6.14 (Coordinates), (1.6.1)
(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 is
(b) The combination with coefficients represents
This equals if and only if , , , and . So every has exactly one representation, is a basis, and
Uses. Proposition 1.6.20 (Coordinates translate questions about into ), Definition 1.6.1 (Basis)
In the standard basis the coordinate vectors are , , and . By Proposition 1.6.20(c), the polynomials form a basis of if and only if these columns form a basis of . The equation
Any solution has and , and then the last equation becomes .
If , this forces
If , the columns satisfy
(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 , then spans , so , and is a basis of . Suppose the claim holds for spanning lists of length , and let span . If is independent, it is a basis. Otherwise, delete its last entry. The list has length , so by the inductive hypothesis it contains a basis of , which is also a sublist of .
- (b)Repair the argument.
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)
(a) The inductive hypothesis is a statement about lists of length that span . The argument applies it to without checking that this list spans , and it need not. In , the list spans and is dependent (Example 1.5.11), but deleting its last entry leaves , 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 , so the inductive hypothesis applies to it, and the rest of the argument goes through. (In the example, the lemma deletes .)
Exercise 1.6.31. The list
- (a)What is wrong with the definition, and which step of the proof of Proposition 1.6.19(a) fails for ?
- (b)Let 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.
Uses. Definition 1.6.14 (Coordinates), (1.6.1), Non-example 1.6.4 (One property without the other)
(a) The list is dependent (Non-example 1.6.4), so a vector of is represented by many linear combinations of ; for instance has coefficients and . 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 “
(b) Let ,
Now and
Exercise 1.6.32. Let , and let be the subspace of symmetric matrices, those with for all (Example 1.4.11). Let be the set of with for all .
- (a)Find a basis of of length .
- (b)Suppose that in . Find a basis of of length .
- (c)What are and a basis of when ?
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)
(a) Consider the list consisting of the for and the for , 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
(b) The set is a subspace by Theorem 1.4.3: the zero matrix satisfies , and the conditions are preserved by entrywise sums and scalar multiples. For , the condition with gives , that is, , so 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 , and . So this list of length is a basis of .
(c) In , for every , so the condition is the condition , and . A basis is the one from (a), of length . The argument of (b) breaks down because holds for every ; for instance .
Exercise 1.6.33. Let be the set of matrices in which every row and every column sums to . For , let
Show that
Uses. Definition 1.6.1 (Basis), (1.6.1), Definition 1.6.8 (Standard bases), Theorem 1.4.3 (Subspace criterion)
First, is a subspace of : the zero matrix lies in it, and if every row and column of and of sums to , the same holds for and , since sums of entries respect the entrywise operations (Theorem 1.4.3). Each lies in : its nonzero entries are in positions and and in positions and , so every row and every column contains either no nonzero entry or one and one .
Let
Now let . If , comparing the top-left blocks gives , so at most one combination represents . Conversely, take . Since rows and of sum to ,
the 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 .
Exercise 1.6.34. Let , and let
- (a)Show that if for each , then is a basis of .
- (b)Show that if no has degree , then is not a basis of .
- (c)Find a basis of all of whose entries have degree .
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)
(a) The list spans by Exercise 1.3.33(a). Its entries are nonzero (they have degrees ) 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 , a subspace (Example 1.4.9). By Proposition 1.4.14(b),
(c) Let and for , and consider
Spanning. and for , so lie in the span, and the span is by Proposition 1.3.18 and Example 1.3.11.
Independence. Suppose that
Its coefficient of for is , so every , and then its coefficient of is . 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. Prove or disprove each statement.
- (a)If is a basis of and is a subspace of , then some sublist of is a basis of .
- (b)If and are bases of and , then the concatenation is not a basis of .
- (c)If is a basis of and are nonzero, then is a basis of .
- (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 .
- (e)If spans , then exactly one sublist of is a basis of .
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)
(a) False. In , let and . The sublists of are , , , and . The last three contain or , which are not in (they are not multiples of ), 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 . So is dependent by Corollary 1.5.13, and it is not a basis.
(c) True. Replacing by with preserves both the span and independence (Proposition 1.5.18(b)). Doing this for in turn produces a list that spans and is independent, which is a basis by Proposition 1.6.2.
(d) False. Every vector outside is represented by no combination, so the hypothesis says exactly that every vector of is represented by at most one combination, which is independence (Definition 1.5.1). Independent lists need not span: in , the list satisfies the hypothesis and is not a basis.
(e) False. In , the spanning list has the three sublists and and , 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. Let be a basis of , let with
- (a)Show that is a basis of if and only if .
- (b)Deduce that if , then can replace some entry of so that the result is still a basis.
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
(a) Write
Suppose . Then , and the combination of with coefficients on () and on represents . It is nontrivial, so is dependent and not a basis.
Suppose . Spanning. Solving for ,
The other entries of are entries of , so , and also . By Corollary 1.3.19,
Since is independent, , so because , and then
(b) Since and the coordinate map is injective (Proposition 1.6.16), implies , so 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. Let be a bijection that respects linear combinations:
for all , 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.
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)
Uniqueness. Suppose is a basis with for all . Then
Existence. Let and . For all , since respects linear combinations,
Let . Since is injective, holds if and only if
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. Let be a finite field with elements, and let .
- (a)Show that a list in is a basis of if and only if it is linearly independent and has length .
- (b)How many bases does have? List all bases of .
Uses. Exercise 1.5.43, Proposition 1.6.2 (Bases are independent spanning lists), Proposition 1.6.7 (Standard bases)
(a) has elements. Let be an independent list of length . By Exercise 1.5.43(a), has elements. Since , it equals if and only if , which holds if and only if , because . 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
bases. For and this is . An independent list of length in 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 :
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. Let , so that is the space of real sequences
- (a)Show that is a subspace of , and that if and , then .
- (b)Let be the sequences with and . (So
is the Fibonacci sequence.) Show that is a basis of , and that . (c)Let and , the roots of . Show that the geometric sequences and form a basis of . By finding , prove that
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
(a) The zero sequence satisfies . If and , then
(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 and . Conversely, lies in , since is a subspace, and , . By (a), , that is, . So is represented by exactly one combination, is a basis of , and
(c) Since , we get
has exactly one solution, because : subtracting times the first equation from the second gives , and then . For these , the sequence lies in and starts with , 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 , and give and . So
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. Let be the set of matrices whose three row sums and three column sums are all equal; for , write for this common value. Let and
(a)Show that is a subspace of , that
is a basis of , where , and that for with , - (b)Let be the matrix all of whose entries are . Find , and determine for which fields .
- (c)A permutation matrix has exactly one entry in each row and each column, and elsewhere. Show that the six permutation matrices span , and find a dependence relation among them.
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)
(a) Subspace. The zero matrix lies in with . 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 , and each lies in .
Existence. Let with . Every row and column of sums to , so . By Exercise 1.6.33,
where is for and for . So is represented with the coefficients claimed.
Uniqueness. Suppose
(b) Every row and column of sums to , so with , and by (a)
The matrix lies in exactly when its line sums are , that is, when in , as in . In that case its first coordinate is , and its coordinates are .
(c) Each permutation matrix lies in , with every line sum equal to . There are six of them: ; the two “cyclic” ones
and the three that keep exactly one of in place,
Comparing entries,
For instance,
The matrices have their ′s in disjoint positions covering all nine, and so do . Hence
and
Exercise 1.6.41. 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 is a basis of over and is a basis of over .
(a)Show that the vectors , listed as
form a basis of over .
- (b)Write down the resulting basis of over , and the coordinates of in it.
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)
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 spans over , with . Since spans over , each
so
Independence. Suppose that
(b) Take , with basis (Example 1.6.5), and with the standard basis over . The basis of (a) is
Since
Exercise 1.6.42. Let , and let be the space of all functions , where . For a subset , let be the function
with (the constant function). Show that the functions , listed in any order, form a basis of . Deduce that every function can be written in exactly one way as a sum of distinct products with (allowing the empty product ).
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)
Write for the number of subsets , and fix a listing . The space has elements, since a function chooses one of two values at each of the points of .
Spanning. For , let be at and elsewhere. Every satisfies
In , the element is if and if (as and ). A product of elements of is exactly when every factor is , so
Expanding a product of sums by distributivity (induction on ) gives the sum, over all subsets , of the products that take from the factors with and from the others:
With , this says that with
Independence. By Exercise 1.5.43(a), a list of length over is independent if and only if its span has exactly elements. Our list has length , and its span is , which has 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 with . Over a coefficient is or , so this says that is the sum of the with , and the set of these is uniquely determined. For instance, for , the function that is exactly at is
More practice
The practice bank has 77 exercises on this section’s topics.