A vector space has two operations, and each of them combines at most two vectors. Applying them over and over to finitely many vectors produces sums , and every expression built from the with the two operations can be brought into this form (Lemma 1.3.9). Two questions about these sums run through the rest of the book: which vectors they produce, and in how many ways. This section answers the first question with the span; the second leads to linear independence in Section 1.5. We begin by making “finitely many vectors ” precise, in a form where the order is fixed and repetitions are allowed.
Definition 1.3.1(List). Let be a set and let be an integer. A list of length in is a function . Writing for its value at , we write the list as
without parentheses, and call its -th entry. Two lists are equal when they have the same length and the same -th entry for every . Lists are named by calligraphic letters, as in , and is the length of . For the domain is empty, and there is exactly one function from the empty set to . It is the empty list, written .
So a list is a finite sequence. Defining it as a function settles what equality of lists means, and it makes the empty list an ordinary list rather than an exception. A list of length one is written , and a list of length two . Columns in keep their parentheses, so is a list of length two in , and alone is a list of length one.
Example 1.3.2(Lists versus sets). In , the lists and are different, since their first entries differ, while the sets and are equal. In any vector space, is a list of length . It is different from the list of length and from the empty list , although as sets.
We work with lists because a linear combination gives each entry its own coefficient. In the list , the vector receives two coefficients, and produces in a way that the set cannot record. This kind of redundancy is what linear independence detects (Section 1.5), and the order of a list will fix the order of coordinates (Section 1.6).
We write if for some . For a subset , we write if every entry of lies in .
For a list , the concatenation is the list of length . In particular, is with appended.
A sublist of is a list with . It is obtained by deleting some entries and keeping the rest in order. A reordering of is a list , where is a bijection from to itself.
Definition 1.3.4(Linear combination). Let be a list in . A linear combination of is an expression
where are its coefficients. Two linear combinations of are the same exactly when their coefficients are the same. Carrying out the operations of in the expression produces a vector of , and we say that the linear combination represents that vector. The empty list has exactly one linear combination, the empty sum, and it represents .
To carry out the operations, compute each term and add the terms from left to right:
(1.3.1)
By (A1) and (A2), neither the order nor the grouping of the terms affects the result; the argument is the one for sums in a field (Section 1.1.2). The empty sum must be if the recursion is to give .
The definition separates two things that everyday usage runs together: the expression, which is determined by its coefficients once is fixed, and the vector it represents. Formally, a linear combination of is just its list of coefficients . When we write , the equation says that the linear combination on the right represents . We also say “ is a linear combination of ” to mean that some linear combination of represents . This phrase is standard and harmless, as long as we keep track of which object is meant. The next example shows why the distinction matters.
Example 1.3.5(One vector, many representations). In , let . The linear combinations
are different, because their coefficients differ, but both represent . So “the linear combination equal to ” does not name a single linear combination of . By contrast, in the vector is represented by exactly one linear combination of : the combination represents , which is only if and . Lists with this uniqueness property are the linearly independent ones (Section 1.5).
Exercise 1.3.6.routine For the list of Example 1.3.5, find all linear combinations of that represent , and all that represent . How are the two families related?
Hint 1. Compute the vector represented by an arbitrary linear combination , one coordinate at a time.
Hint 2. The second coordinate is always the negative of the first, so a single equation constrains . Which coefficient does not appear in it?
Sketch. The combination represents . It represents exactly when , and exactly when , with and free in both cases. Adding the coefficients of each representation of to those of one representation of gives all representations of .
By the coordinatewise operations, the linear combination with coefficients represents
The second coordinate is the negative of the first. So the combination represents exactly when , and it represents exactly when ; the coefficient plays no role. Hence the linear combinations representing are those with coefficients
and those representing are those with coefficients for . The first family is obtained from the single representation with coefficients by adding the coefficients of each member of the second: .Exercise 1.3.40 shows that this is a general phenomenon.
Example 1.3.7(Standard lists). For , let be the column with in position and elsewhere. For every ,
because by the coordinatewise operations, the -th coordinate of the right side is . So every vector of is a linear combination of , the standard basis of (Definition 1.6.8).
In ,Notation 1.2.15 says that the polynomial with coefficients is represented by the linear combination of the list . The coefficients of the polynomial and those of the linear combination coincide.
Example 1.3.8(Is a vector a linear combination?). Is a linear combination of ? An arbitrary linear combination represents
For this to be , we need ,, and . The first two equations force , so no linear combination works, and the answer is no. In contrast, .
The answer depends on the field. Read in , the same coordinates give the vector , and the equations become ,, and . These hold, since in . Indeed, in .
In general, deciding whether is a linear combination of means deciding whether the equation can be solved for the coefficients. In this is a system of linear equations, and Section 3.1 develops the general method (Technique 3.1.9).
Computing with linear combinations relies on the following rules.
Lemma 1.3.9(Arithmetic of linear combinations). Let be a list in , and let . Then
(a);
(b);
(c).
Here each sum denotes the vector that the linear combination represents.
Hint 1. Use induction on , splitting off the last term of each sum as in (1.3.1).
Hint 2. In the inductive step of (a), regroup as and apply (A8) to the second part. For (b), apply (A7) and then (A6).
Sketch. Induction on . For every sum is , and ,. In the inductive step, write each sum as the sum of its first terms plus its last term. Then (a) follows by regrouping with (A1) and (A2) and applying (A8) to the last terms, (b) follows from (A7) and (A6), and (c) from .
For a list of scalars , write , and write and for the lists with entries and . By (1.3.1), and . We use induction on .
For all the sums are empty. Then (a) reads , which is (A3); (b) reads , which is Proposition 1.2.33; and (c) reads .
Now suppose that (a)–(c) hold for lists of length , and consider a list of length . For (a),
Together with (Proposition 1.2.34), the lemma rewrites any expression built from with addition, subtraction, and scalar multiplication as a single linear combination of . For example, reading and as the linear combinations of with coefficients and ,
Definition 1.3.10(Span). The span of a list in is the set of vectors represented by linear combinations of :
We also write for . In particular, , since the only linear combination of the empty list represents .
So means that there are scalars with . To show that is in the span, exhibit the scalars. To show that it is not, show that no choice of scalars works. Usually this means finding a property that every vector of the span has and lacks. In Example 1.3.8, every vector of the span has middle coordinate equal to the sum of the outer two, and does not.
Example 1.3.11(Small spans).One vector. is the set of multiples of . In with , it is the line through and . In it is , since the only scalars are and .
Zero. by Proposition 1.2.33. So the lists ,, and are different, but they have the same span.
Standard lists. By Example 1.3.7, . Similarly : a linear combination has no nonzero coefficients beyond position , so it has degree at most , and conversely Definition 1.2.16 describes as the set of such combinations.
Functions. In , the identity shows that every shift of the sine function lies in . The constant function does not: if as functions, then evaluating at and at gives and , a contradiction.
Figure 1.3.1. The faint lines are the combinations of and in which or is an integer. Every vector of appears to be a combination of and ; for instance, .
Figure 1.3.1 suggests that two vectors pointing in different directions span the whole plane; Exercise 1.3.37 makes this precise.
Definition 1.3.12(Spanning list). A list in spans, and is a spanning list of , if .
By Example 1.3.11, spans , the list spans , and the empty list spans the zero space . A spanning list may contain entries that are not needed: also spans . Spanning lists without such entries are the bases of Section 1.6.
Describing a span explicitly means proving that two sets are equal: the span, whose elements are the vectors that some linear combination represents, and a set described in another way, typically by equations. Such proofs follow a fixed pattern, built from two moves.
Technique 1.3.13(Fix an arbitrary element and chase it). To prove , let be an arbitrary element of . Unpack the definition of until is described concretely, manipulate that description until it matches the definition of , and conclude that . Since was arbitrary, .
Reach for it for every containment between sets defined by properties. Once both definitions are written out, the proof has a fixed shape: the first line is “let ”, the next uses the definition of , and the last uses the definition of . For spans, unpacking produces scalars (“let , say ”), and repacking means exhibiting scalars. The canonical example is each half of Example 1.3.15.
Reach for it whenever a claim says that two sets are equal. The two containments usually need different ideas, and one is often much easier than the other. For a span, “” is a computation with an arbitrary linear combination, while “” requires constructing coefficients for each element of . A common mistake is to prove one containment carefully and forget the other (Exercise 1.3.30). The canonical example is Example 1.3.15.
Hint 1. Write out both definitions. What does an element of look like, and what condition defines ?
Hint 2. For , compute an arbitrary linear combination coordinatewise. For , you need coefficients for , and one entry of suffices.
Sketch. Every linear combination of represents , which lies in . Conversely, .
We proceed by double containment.
. Let . Then some linear combination of represents , so for some ,
The second coordinate of is , the negative of the first, so .
. Let . By the definition of ,, so
This linear combination of represents , so , as desired. □
The two containments needed different kinds of argument. The first was a computation that applies to every linear combination at once. The second needed one well-chosen linear combination for each element of , and it used only the entry . The other two entries of contribute nothing to the span, and Example 1.3.21 explains why without computing anything.
The span of is the line , and is not on it. In the interactive version, is replaced by , which has the same span. Drag an entry off the line: the span becomes all of , and the explorer shows coefficients that represent .
A span is usually an infinite set, so comparing two spans element by element means checking infinitely many vectors. The results of this subsection reduce such a comparison to finitely many checks.
Proposition 1.3.17(A list lies in its span). Let be a list in . Then , and for each . That is, .
Hint 1. Membership in a span is shown by exhibiting coefficients.
Hint 2. Use the coefficients for . For , use the coefficient on and on every other entry.
Sketch., and is represented by the combination with coefficient in position and elsewhere, since and .
By Lemma 1.3.9(c), the linear combination with all coefficients represents , so . Now fix , and consider the linear combination with and for . Its terms are , by (A5), and for , by Proposition 1.2.32. Adding copies of changes nothing, by (A3), so this linear combination represents , and .□
Intuition(Recipes of recipes). Think of a linear combination of as a recipe that says how much of each to use. Suppose that every entry of has a recipe in terms of . A linear combination of is then a recipe whose ingredients are themselves recipes, and expanding it gives a recipe in terms of . For instance, if and , then
So as soon as the finitely many entries of lie in , every vector of does.
Proposition 1.3.18(Comparing spans). Let and be lists in . Then if and only if .
Let , say with . By Lemma 1.3.9(b), for each . Adding these vectors one at a time with Lemma 1.3.9(a), that is, by induction on , gives
(For both sides are , by Lemma 1.3.9(c).) So is represented by the linear combination of with coefficients , and . Since was arbitrary, , as desired. □
The forward direction is Proposition 1.3.17. The backward direction is the useful one: to show that one span contains another, it suffices to check the finitely many entries of one list. Section 1.4 gives a second proof. There we show that is the smallest subspace of containing the entries of (Proposition 1.4.14), and the backward direction follows at once.
Corollary 1.3.19(Equal spans). Let and be lists in . Then if and only if and .
Hint 1. Each part compares the spans of two lists. By Corollary 1.3.19, it suffices to check that the entries of each list lie in the span of the other, and Proposition 1.3.17 handles the entries the two lists share.
Hint 2. For (d), write in terms of the new entries: , and .
Sketch. (a) The two lists have the same entries. (b) . (c) If , then every entry of lies in , and is a sublist of ; conversely . (d) The new entry is a linear combination of , and is a linear combination of the new list because and .
(c) Suppose that . The entries of are the , which lie in by Proposition 1.3.17, and , which lies there by assumption. So by Proposition 1.3.18. Conversely, is a sublist of , so by (b). Now suppose instead that . Then by Proposition 1.3.17. The last statement of (c) follows, since and the entries of lie in by Proposition 1.3.17.
(d) Let be with replaced by , where or . The entries of other than are entries of , and is a linear combination of : the one with coefficient on and elsewhere, or the one with coefficient on , on , and elsewhere (this uses ). So . In the other direction, the entries of other than are entries of , and
by (A6) and (A5), or by (A2), (A8), Proposition 1.2.32, and (A3). Since , and since is still an entry of (as ), these are linear combinations of . So , and Corollary 1.3.19 finishes the proof. □
Combining (a) and (c): the entry can be deleted from without changing the span exactly when lies in the span of the remaining entries. (Reorder so that comes last, and apply (c).) Parts (a) and (d) are the three moves of row reduction, applied to the entries of a list: swap two entries, scale an entry by a nonzero scalar, and add a multiple of one entry to another. Section 3.3 performs them on the rows of a matrix. Both hypotheses in (d) are needed: scaling by , or replacing by , turns into , and in this shrinks to the line .
Example 1.3.21(A span that is a line, again). In , the third entry is and the first is . By Corollary 1.3.20(c), together with (a) to move entries to the end, we may delete , since it lies in , and then delete . Hence
which is the set of Example 1.3.15. Two observations about entries have replaced the double containment.
The first move adds the second entry to the first, the second scales the second entry by , and the third adds the first entry to the second. Each move preserves the span, provided that in , which holds exactly when . So over ,,, or ,.
Over the conclusion is false. There , so is the list , and by Corollary 1.3.20(c) and Example 1.3.11. This set does not contain the vector of . The move that fails is the scaling by . Testing the claim over (Technique 1.2.38) is how one notices that the hypothesis in (d) is doing real work.
Remark 1.3.23(What the span forgets). By Corollary 1.3.20, the span of a list depends neither on the order of the entries, nor on repetitions, nor on entries that lie in the span of the others. In particular, it depends only on the set of entries (Exercise 1.3.24), and lists of different lengths can have the same span. The span also does not record how many linear combinations represent each of its vectors. Section 1.5 shows that some entry of a list lies in the span of the other entries exactly when some vector of its span has more than one representation.
Exercise 1.3.24.routine Let and be lists in with the same set of entries; that is, if and only if . Show that .
Hint 1. Use Corollary 1.3.19. Each is visibly a linear combination of the .
Hint 2. Recover from two consecutive partial sums.
Sketch. is the combination of the with coefficients in positions and after. Conversely and for .
Write and . Each is represented by the linear combination of with coefficient on and on the remaining entries, so . Conversely, , and for ,
by Proposition 1.2.30(a). So each is a linear combination of , with coefficient on , on , and elsewhere, and . By Corollary 1.3.19, the spans are equal.
Aside(Spans of infinite sets).Beyond 21-242 Every linear combination has finitely many terms. A vector space only adds two vectors at a time, and an infinite sum would need a notion of convergence, which a general vector space does not have. For an arbitrary subset , possibly infinite, one defines as the set of vectors represented by linear combinations of finite lists in ; the empty list is allowed, so . For a finite set , this is the span of any list whose set of entries is (Exercise 1.3.24). For example, , since each polynomial is a linear combination of for some , while no finite list spans (Section 1.6). Spanning sets of this kind are the subject of Section 15.1.
Hint 1. For (a), compute the vector represented by and compare its middle coordinate with the outer ones.
Hint 2. For the other containment in (a), the coefficients can be read off from the first and third coordinates. Then (b) is a matter of checking the equation .
Sketch. (a) satisfies ; conversely, if , then . (b) fails the equation since ; satisfies it, and .
(a) Let . We proceed by double containment. An element of is represented by some linear combination
and its middle coordinate is twice the first plus the third. So . Conversely, let . Then
so . Hence .
(b) For we have , so by (a). For we have , so , and the proof of (a) gives the representation .
Hint 1. The combination represents . Run through the nine choices of , reducing modulo .
Hint 2. For (b), is the sum of the other two entries. Rewrite an arbitrary combination of as a combination of and use that the nine vectors in (a) are distinct.
Sketch. (a) The span consists of the vectors :. It contains (,) but not . (b) . There are combinations; represents , which is exactly when and , giving combinations, one for each .
(a) The combination with coefficients represents . Running through and reducing modulo :
with in each row. These nine vectors are distinct, because the first coordinate determines and the third determines (as forces ). The vector appears, with and . The vector does not: and force , and then .
(b) In ,, so the third entry of lies in , and by Corollary 1.3.20(c). A linear combination of is determined by its three coefficients, so there are of them. By Lemma 1.3.9, the one with coefficients represents
By (a), the combinations of represent distinct vectors for distinct coefficients, and is represented by the coefficients . So represents exactly when and . For each there is exactly one such and , so exactly linear combinations of represent : those with coefficients , then , and . The same count holds for each of the nine vectors of the span, and .
Hint 1. For (a), if some entry is nonzero, what does Proposition 1.3.17 say? If all entries are , compare with the empty list.
Hint 2. For (b), the forward direction gives for some . Rule out separately in the cases and .
Sketch. (a) exactly when every entry is , the empty list included; these are also exactly the lists that span . (b) If with , then , so the spans agree. Conversely gives ; if then , so and anyway.
(a) If some entry of is nonzero, then by Proposition 1.3.17, so . If every entry of is (this includes the empty list), then , so by Proposition 1.3.18, and by Proposition 1.3.17. So exactly when all entries of are . A list in the zero space has all its entries equal to , so by what we just showed, every list in spans it: ,,, and so on.
(b) Suppose with . Then , and by (A6) and (A5). So the spans are equal by Corollary 1.3.19.
Conversely, suppose . Then by Proposition 1.3.17, so for some . If we are done. If , then , so , and therefore by (a). Then , with .
Proof. Two linear combinations of are the same exactly when they have the same coefficients (Definition 1.3.4). The two sides of the hypothesis are equal, so their coefficients are equal.
(b)Show that the claim is false in general, and that it is true for and in .
Hint 1. What does the equation assert: that two expressions are the same, or that two vectors are equal?
Hint 2. For a counterexample, take .
Sketch. The equation says that the two linear combinations represent the same vector, not that they are the same linear combination. With ,. For , the two sides are and .
(a) The hypothesis is an equation between vectors: it says that the two linear combinations represent the same vector. The argument reads it as saying that the two linear combinations are the same, which is what the claim asserts. So the argument assumes its conclusion.
(b) Let (for instance in ), and take . Then , but . For and , the two sides represent and , and these columns are equal only if and . The lists for which the claim holds are the linearly independent ones (Section 1.5).
Hint 1. The argument proves a containment. Which one, and is it the one with content?
Hint 2. For (b), solve and for and . Which field element do you divide by?
Sketch. (a) It shows only , which holds for any list in ; the containment is missing. (b) . (c) Over , and the span is . Over ,, so the formula of (b) works and the span is .
(a) The argument proves , which holds for every list in because the operations of produce elements of . The containment is never addressed, and it is the one with content.
(b) It remains to show . Let , and set and . Then
so lies in the span.
(c) In ,, so the list is , and its span is by Corollary 1.3.20(c) and Example 1.3.11. This is not ; for instance, is missing. The proof of (b) breaks down because it divides by . In , and , so with and ,
since in . So the list spans .
Exercise 1.3.31.standard Work in the real vector space of functions .
Hint 1. One containment is a degree count, via Proposition 1.3.18 and . For the other, it suffices to show that each with lies in .
Hint 2. Induct on . If has leading coefficient , then has degree less than , and .
Sketch. (a) Each lies in , giving . For , induct on : is a nonzero constant, so . If and with and , then , so , and the lower powers are there by induction. (b) .
(a) Write . We prove by induction on , and in each case by double containment.
. By Proposition 1.3.18, it suffices to show for . For , has degree , so is a nonzero constant and . Now let , and assume . Let be the leading coefficient of , and let . The coefficients of in positions are , and so is its coefficient in position , so , say . Then
using Lemma 1.3.9. For ,, by the inductive hypothesis and Corollary 1.3.20(b). This completes the induction.
(b) Following the proof of (a) from the top degree down, and . So
Check: .
Exercise 1.3.34.standard Let be a list in , and let with . Show that
In other words, can be exchanged for without changing the span.
Hint 1. A linear combination of the concatenation has one coefficient for each entry of and one for each entry of .
Hint 2. By (A2), the sum over the concatenation can be grouped as (the terms from ) plus (the terms from ).
Sketch. The combination of with coefficients represents , by grouping the terms. So the vectors it represents are exactly the sums , both containments included.
Let and , and let be the set on the right. A linear combination of has coefficients , and by (1.3.1) and (A2) the vector it represents is
(If or , the corresponding sum is , and the identity holds by (A1) and (A3).) We use this identity for both containments.
. An element of the left side is represented by some such combination, and the identity writes it as with and .
. Let and , say and . By the identity, the combination of with coefficients represents , so .
Hint 2. If , show that every vector in the span satisfies and . Then find a vector of that violates one of these equations.
Hint 3. For (b), compute when . Conversely, if and , try .
Sketch. (a) and , so if then lie in the span. If , every satisfies and ; if the span is , and otherwise one of , violates an equation with a nonzero coefficient. (b) gives ; conversely, with gives , and with , it gives and .
If , then . Otherwise one of these two equations has a nonzero coefficient. If or , the vector gives and , one of which is nonzero, so is not in the span. If or , then similarly gives and , and is not in the span. Either way, does not span .
(b) If , say , then , so the list does not span by (a). Conversely, suppose the list does not span, so by (a). If , then gives
If , then because , and forces ; then . Either way .
The quantity is the determinant of the matrix with columns and (Theorem 5.1.13).
Exercise 1.3.38.standard Let be a finite field with elements.
Hint 2. For (b), use Exercise 1.3.37(b). First show that a spanning list has . Then count the choices of outside , which has exactly elements.
Hint 3. For (c), a list in spans exactly when it has two different nonzero entries. Count the complement.
Sketch. (a) has at most elements. (b) If , then . For each of the nonzero , the multiples of are distinct vectors, and must avoid them: choices. (c) A list of length fails to span exactly when its nonzero entries are all equal: lists. So span.
(a) For , has at most elements, and has elements.
(b) If , then by Corollary 1.3.20(a) and (c), which is not by (a). So a spanning list has , and there are such . For each of them, Exercise 1.3.37(b) says that spans exactly when . The vectors ,, are distinct by Corollary 1.2.36(b), so has exactly elements, and there are choices for . In total, lists of length span . For this is .
(c) Let be a list of length in . If has two different nonzero entries , then , so spans by Exercise 1.3.37(b), and so does , by Corollary 1.3.20(a) and (b). Otherwise all nonzero entries of equal a single vector (or there are none), and , which is not . The lists of the second kind are the zero list , and, for each of the nonzero vectors , the lists with entries in other than the zero list. That makes lists. Since there are lists of length , exactly of them span .
Exercise 1.3.39.standard Let be a finite field with elements, and let be a list of length in .
(a)Show that has at most elements.
(b)Deduce that no list of length less than spans .
Hint 1. How many linear combinations does have? Each element of the span is represented by at least one of them.
Hint 2. For (b), compare with the number of elements of .
Sketch. (a) A linear combination of is determined by its coefficients, so there are of them, and is the set of vectors they represent. (b) has elements when .
(a) A linear combination of is determined by its list of coefficients , so has exactly linear combinations (for , exactly one). The span is the set of vectors represented by them, and each linear combination represents exactly one vector. So has at most elements.
(b) has elements. If has length , then has at most elements by (a), so .
The statement of (b) holds over every field, but over an infinite field counting is useless, and the proof needs the theory of dimension (Section 4.1).
Exercise 1.3.40.hard Let be a finite field with elements, and let be a list in . For , let be the number of linear combinations of that represent .
(a)Show that for every .
(b)Deduce that . In particular, divides .
(c)If with prime, show that has elements for some integer .
Hint 1. Fix one representation of . If represents , what does represent?
Hint 2. Show that is a bijection from the representations of to the representations of . For (b), sort the linear combinations by the vector they represent.
Sketch. (a) If , then sends representations of to representations of , with inverse , by Lemma 1.3.9. (b) Each of the linear combinations represents exactly one vector of the span, and each vector of the span is represented times. (c) A divisor of is a power of .
(a) Let , and fix coefficients with . If represents , then by Lemma 1.3.9(a),
So maps the representations of to the representations of , and maps back. These maps are inverse to each other, so both sets have the same number of elements: .
(b) As in Exercise 1.3.39, has exactly linear combinations, and each represents exactly one vector, which lies in . Grouping them by the vector they represent and using (a),
(c) By (b), divides . By unique factorization, the positive divisors of are with .
The bijection in (a) is the same idea as Proposition 3.1.19: all representations of are one of them plus a representation of .
Hint 1. For (a), express in terms of the other two differences.
Hint 2. For (b), try the standard vectors in and add up coordinates.
Hint 3. For (c), if , recover and from and the differences.
Sketch. (a) , and each difference lies in . (b) False: for in , every difference has coordinate sum , hence so does every combination, but does not. (c) If equality holds, . If , then and , so .
Exercise 1.3.42.hard Let , let , and let be the vector with in position and elsewhere. For a positive integer , write ( terms) in , as in Exercise 1.2.45. Show that spans if and only if in .
Hint 1. Add up all the . Each coordinate of the sum is a sum of ones.
Hint 2. If , get and then each . If , compute the sum of the coordinates of an arbitrary combination .
Sketch.. If , then and lie in the span. If , the vector has coordinates with , whose sum is , while has coordinate sum .
Let . Each coordinate of is a sum of ones and one zero, so .
Suppose . Then , and so lies in the span for each . By Proposition 1.3.18, .
Suppose . An element of the span is for some ; let . The -th coordinate of is the sum of the with , which is . So the sum of the coordinates of is
The coordinates of sum to , so is not in the span, and the list does not span .
For example, over the list always spans, while over it spans exactly when is even, and over exactly when is not a multiple of .
Exercise 1.3.43.hard Let . Let be a list of all vectors in with exactly two coordinates equal to and all others , and define similarly with three coordinates equal to .
Hint 1. For (a), combine ,, and to isolate a multiple of .
Hint 2. For (b), the sum of the coordinates of a sum of vectors is the sum of their coordinate sums. For the other containment, pair up the coordinates equal to .
Hint 3. For (c), the sum of two vectors of that share two positions lies in . Then handle vectors with an odd number of ones by adding .
Sketch. (a) . (b) Each entry of has coordinate sum , so every combination does; a vector with ones is a sum of entries of . (c) For ,, so the span contains ; a vector with coordinate sum is with . For , and the span is .
The entries of are the vectors with , and those of are with . By Corollary 1.3.20(a), the order in which they are listed does not affect the spans.
(a) Fix , and choose and so that are distinct, which is possible since . Then
(b) For , write . Then and , by the coordinatewise operations and the field axioms. Let . We proceed by double containment.
Each entry of has . So for a linear combination , applying the two rules for term by term (by induction on the number of terms) gives . Hence .
Conversely, let , and let be the positions where . Then is the sum of ones, which is in exactly when is even, say . Then
is a sum of entries of (and if ), so .
(c) Let . For , choose and so that are distinct. In ,, so
So , and by Proposition 1.3.18 and (b), every with lies in . Now let , and let , an entry of . Then , so , and is a sum of two elements of , written as combinations of . By Lemma 1.3.9(a), . So spans .
For , the only vector with three coordinates equal to is , so by Example 1.3.11. The pairing trick needs a fourth position.
Exercise 1.3.44.standard Regard as a vector space over (Example 1.2.20). Show that . You may use that ,, and are irrational.
Hint 2. The squared equation is . If , solve for . Otherwise treat and separately.
Sketch. If with rational, then . If , is rational. If , is rational. If , then is rational. Each case is impossible.
Over ,. Suppose that with . Squaring gives
If , then is rational, a contradiction. So or . If , then is rational, a contradiction. If , then , and multiplying by gives , which is rational, a contradiction. Hence .
Over instead of , contains every real number. The span depends on the field of scalars, a theme of Section 1.5.
Exercise 1.3.45.hardBeyond 21-242 Show that no finite list spans as a vector space over . (Use countability.)
Hint 1. How many linear combinations with rational coefficients does a list of length have?
Hint 2. The span is the image of the countable set under the map that sends coefficients to the vector they represent.
Sketch. The span of over is the image of under . A finite product of countable sets is countable, and so is the image of a countable set, while is uncountable.
Let . (Vectors here are real numbers, so we do not write them in bold.) The map sending to has image , by Definition 1.3.10. The set is countable, being a finite product of countable sets (for it has one element), and the image of a countable set under any map is countable. So is countable. Since is uncountable, .
The same argument shows that over of any countable set is countable, so every spanning set of over is uncountable (Aside (Spans of infinite sets)).
Exercise 1.3.46.challenge A row of lamps, each on or off, is recorded as a vector , with when lamp is on. Pressing lamp switches lamp and its neighbors and (those that exist). That is, it adds to , where .
(a)Show that every configuration can be switched entirely off by pressing lamps if and only if spans .
(b)Show that this happens if and only if is not of the form .
Hint 1. For (a), pressing lamps in any order adds a sum of ’s, and pressing a lamp twice does nothing. Over , what are the linear combinations of ?
Hint 2. Work out by hand. For and , look for a set of positions such that every has an even number of ones in .
Hint 3. For , take . For the other , show , walk along the row from the left end to get , then come back.
Sketch. (a) The reachable configurations from are , and over these sums are exactly the linear combinations of the ; means . (b) If , the parity of the lamps in positions not divisible by is unchanged by every press, since each meets those positions in or places, while has parity . If or , then are in the span, supplies whichever of is missing, and going back with gives all .
(a) Pressing lamps one after another adds the corresponding ’s, and since addition in is commutative and , the result of any sequence of presses from is , where is the set of lamps pressed an odd number of times. Every subset arises. Since the only scalars in are and , the linear combinations of represent exactly the sums . Finally, in if and only if . So can be switched off if and only if , and every configuration can be switched off if and only if the list spans .
(b) For , spans . From now on let , so and .
Case . For , let , where is the set of not divisible by . Then . We claim for every . For , the positions are three consecutive integers, exactly one of which is divisible by , so . For , positions and both lie in . For , positions and both lie in . So vanishes on each , hence on every sum of them, hence on the span. Since , is not in the span.
Case or , with . First, . Next, if , then , so lamp has a right neighbor, and
So , and by induction on , the vectors lie in the span. If , this gives , and then . If , it gives , and then . In both cases and lie in the span, and for in turn, does too. So every lies in the span, and the list spans by Proposition 1.3.18.
Since every has exactly one of the forms ,,, this proves (b). Small cases are how one finds : for the two presses are equal, , and the invariant is ; for it is .
More practice
The practice bank has 44 exercises on this section’s topics.