Linear Independence
The prior section shows how to understand a vector space as a span, as an unrestricted linear combination of some of its elements. For example, the space of linear polynomials is spanned by the set . The prior section also showed that a space can have many sets that span it. Two more sets that span the space of linear polynomials are and .
At the end of that section we described some spanning sets as ‘minimal’ but we never precisely defined that word. We could mean that a spanning set is minimal if it contains the smallest number of members of any set with the same span, so that is not minimal because it has three members while we can give two-element sets spanning the same space. Or we could mean that a spanning set is minimal when it has no elements that we can remove without changing the span. Under this meaning is not minimal because removing the to get leaves the span unchanged.
The first sense of minimality appears to be a global requirement, in that to check if a spanning set is minimal we seemingly must look at all the sets that span and find one with the least number of elements. The second sense of minimality is local since we need to look only at the set and consider the span with and without various elements. For instance, using the second sense we could compare the span of with the span of and note that is a “repeat” in that its removal doesn’t shrink the span.
In this section we will use the second sense of ‘minimal spanning set’ because of this technical convenience. However, the most important result of this book is that the two senses coincide. We will prove that in the next section.
Definition and Examples
We saw “repeats” in the first chapter. There, Gauss’s Method turned them into equations.
Example 1.1 Recall the Statics example from Chapter One’s opening. We got two balances with the pair of unknown-mass objects, one at cm and cm and another at cm and cm, and we then computed the value of those masses. Had we instead gotten the second balance at cm and cm then Gauss’s Method on the resulting two-equations, two-unknowns system would not have yielded a solution, it would have yielded a equation along with an equation containing a free variable. Intuitively, the problem is that is half of , that is, is in the span of the set and so is repeated data. We would have been trying to solve a two-unknowns problem with essentially only one piece of information.
We take to be a “repeat” of the vectors in a set if so that it depends on, that is, is expressible in terms of, elements of the set .
Lemma 1.2 Where is a vector space, is a subset of that space, and is an element of that space, if and only if .
Proof Half of the if and only if is immediate: if then the sets are not equal because .
For the other half assume that so that for some scalars and vectors . We will use mutual containment to show that the sets and are equal. The containment is clear.
To show containment in the other direction let be an element of . Then is a linear combination of elements of , which we can write as . (Possibly some of the ’s from ’s equation are the same as some of those from ’s equation but that does not matter.) Expand .
Recognize the right hand side as a linear combination of linear combinations of vectors from . Thus .
QED
The discussion at the section’s opening involved removing vectors, not adding them.
Corollary 1.3 For , omitting that vector does not shrink the span if and only if that vector is dependent on other vectors in the set. That is, if and only if .
Thus, to know whether removing a vector will decrease the span, we need to know whether the vector is a linear combination of others in the set.
Definition 1.4 In any vector space, a set of vectors is linearly independent if none of its elements is a linear combination of the others from the set.1 Otherwise the set is linearly dependent.
Thus the set is independent if there is no equality . The definition’s use of the word ‘others’ means that writing as a linear combination via does not count.
Observe that, although this way of writing one vector as a combination of the others
visually sets off , algebraically there is nothing special about that vector in that equation. For any with a coefficient that is non-, we can rewrite to isolate .
When we don’t want to single out any vector we will instead say that are in a linear relationship and put all of the vectors on the same side. The next result rephrases the linear independence definition in this style. It is how we usually compute whether a finite set is dependent or independent.
Lemma 1.5 A subset of a vector space is linearly independent if and only if among its elements the only linear relationship is the trivial one, (where when ) .
Proof If is linearly independent then no vector is a linear combination of other vectors from , so there is no linear relationship where some of the ’s have nonzero coefficients.
If is not linearly independent then some is a linear combination of other vectors from . Subtracting from both sides gives a relationship involving a nonzero coefficient, the in front of .
QED
Example 1.6 In the vector space of two-wide row vectors, the two-element set is linearly independent. To check this, take
and solve the resulting system.
Both and are zero. So the only linear relationship between the two given row vectors is the trivial relationship.
In the same vector space, the set is linearly dependent since we can satisfy with and .
Example 1.7 The set is linearly independent in , the space of quadratic polynomials with real coefficients, because
gives
since polynomials are equal only if their coefficients are equal. Thus, the only linear relationship between these two members of is the trivial one.
Remark 1.8 The lemma specifies that when because of course if some vector appears twice then we can get a nontrivial , by taking the associated coefficients to be and . Besides, if some vector appears more than once in an expression then we can always combine the coefficients.
Note that the lemma allows the opposite of appearing more than once, that some vectors from don’t appear at all. For instance, if is infinite then because linear relationships involve only finitely many vectors, any such relationship leaves out many of ’s vectors. However, note also that if is finite then where convenient we can take a combination to contain each of ’s vectors once and only once. If a vector is missing then we can add it by using a coefficient of .
Example 1.9 The rows of this matrix
form a linearly independent set. This is easy to check for this case but also recall that Lemma One.III.2.5 shows that the rows of any echelon form matrix make a linearly independent set.
Example 1.10 In , where
the set is linearly dependent because this is a relationship
where not all of the scalars are zero (the fact that some of the scalars are zero doesn’t matter).
That example illustrates why, although Definition 1.4 is a clearer statement of what independence means, Lemma 1.5 is better for computations. Working straight from the definition, someone trying to compute whether is linearly independent would start by setting and concluding that there are no such and . But knowing that the first vector is not dependent on the other two is not enough. This person would have to go on to try , in order to find the dependence , . Lemma 1.5 gets the same conclusion with only one computation.
Example 1.11 The empty subset of a vector space is linearly independent. There is no nontrivial linear relationship among its members as it has no members.
Example 1.12 In any vector space, any subset containing the zero vector is linearly dependent. One example is, in the space of quadratic polynomials, the subset . It is linearly dependent because is a nontrivial relationship, since not all of the coefficients are zero.
There is a subtle point that we shall see a number of times and that bears on the prior example. It is about the trivial sum, the sum of the empty set. One way to see how to define the trivial sum is to consider the progression , followed by , followed by . The difference between the sum of three vectors and the sum of two is . Then the difference between the sum of two and the sum of one is . In next passing to the trivial sum, the sum of zero-many vectors, we can expect to subtract . So we define the sum of zero-many vectors to be the zero vector.
The relation with the prior example is that if the zero vector is in a set then that set has an element that is a combination of a subset of other vectors from the set, specifically, the zero vector is a combination of the empty subset. Even the set is linearly dependent, because is the sum of the empty set and the empty set is a subset of .
Remark 1.13 The definition of linear independence, Definition 1.4, refers to a ‘set’ of vectors. Sets are the most familiar kind of collection and in practice everyone uses the word ‘set’ in this context. But to be complete, we will note that sets are not quite the right kind of collection for this purpose.
Recall that a set is a collection with two properties: (i) order does not matter, so that the set equals the set , and (ii) duplicates collapse, so that the set equals the set .
Now consider this matrix reduction.
On the left the set of matrix rows is linearly dependent. On the right the set of rows is . Because duplicates collapse, that equals the set , which is linearly independent. This is a problem because Gauss’s Method should preserve linear dependence.
That is, strictly speaking, we need a type of collection where duplicates do not collapse. A collection where order does not matter and duplicates don’t collapse is a multiset.
However, while insisting on being completely correct has advantages, departing from the standard terminology of ‘set’ would have pitfalls of its own, so we will continue to use that word. Later, we shall occasionally need to take combinations without letting duplicates collapse and we shall do that without further comment.
Corollary 1.14 A set is linearly independent if and only if for any , its removal shrinks the span .
Proof This follows from Corollary 1.3. If is linearly independent then none of its vectors is dependent on the other elements, so removal of any vector will shrink the span. If is not linearly independent then it contains a vector that is dependent on other elements of the set, and removal of that vector will not shrink the span.
QED
So a spanning set is minimal if and only if it is linearly independent.
The prior result addresses removing elements from a linearly independent set. The next one adds elements.
Lemma 1.15 Suppose that is linearly independent and that . Then the set is linearly independent if and only if .
Proof We will show that is not linearly independent if and only if .
Suppose first that . Express as a combination . Rewrite that . Since , it does not equal any of the so this is a nontrivial linear dependence among the elements of . Thus that set is not linearly independent.
Now suppose that is not linearly independent and consider a nontrivial dependence among its members . If then that is a dependence among the elements of , but we are assuming that is independent, so . Rewrite the equation as to get
QED
Example 1.16 This subset of is linearly independent.
The span of is the -axis. Here are two supersets, one that is linearly dependent and the other independent.
dependent: independent:
We got the dependent superset by adding a vector from the -axis and so the span did not grow. We got the independent superset by adding a vector that isn’t in , because it has a nonzero component, causing the span to grow.
For the independent set
the span is the -plane. Here are two supersets.
dependent: independent:
As above, the additional member of the dependent superset comes from , the -plane, while the added member of the independent superset comes from outside of that span.
Finally, consider this independent set
with . We can get a linearly dependent superset.
dependent:
But there is no linearly independent superset of . One way to see that is to note that for any vector that we would add to , the equation
has a solution , , and . Another way to see it is that we cannot add any vectors from outside of the span because that span is .
Corollary 1.17 In a vector space, any finite set has a linearly independent subset with the same span.
Proof If is linearly independent then itself satisfies the statement, so assume that it is linearly dependent.
By the definition of dependent, contains a vector that is a linear combination of the others. Define the set . By Corollary 1.3 the span does not shrink .
If is linearly independent then we are done. Otherwise iterate: take a vector that is a linear combination of other members of and discard it to derive such that . Repeat this until a linearly independent set appears; one must appear eventually because is finite and the empty set is linearly independent. (Formally, this argument uses induction on the number of elements in . Exercise 1.42 asks for the details.)
QED
Thus if we have a set that is linearly dependent then we can, without changing the span, pare down by discarding what we have called “repeat” vectors.
Example 1.18 This set spans (the check is routine) but is not linearly independent.
We will calculate which vectors to drop in order to get a subset that is independent but has the same span. This linear relationship
gives a system
whose solution set has this parametrization.
Set and to get an instance of ().
This shows that the vector from that we’ve associated with is in the span of the set of ’s vector and ’s vector. We can discard ’s fifth vector without shrinking the span.
Similarly, set , and to get an instance of () that shows we can discard ’s third vector without shrinking the span. Thus this set has the same span as .
The check that it is linearly independent is routine.
Corollary 1.19 A subset of a vector space is linearly dependent if and only if some is a linear combination of the vectors , …, listed before it.
Proof Consider , , , etc. Some index is the first one with linearly dependent, and there .
QED
The proof of Corollary 1.17 describes producing a linearly independent set by shrinking, by taking subsets. And the proof of Corollary 1.19 describes finding a linearly dependent set by taking supersets. We finish this subsection by considering how linear independence and dependence interact with the subset relation between sets.
Lemma 1.20 Any subset of a linearly independent set is also linearly independent. Any superset of a linearly dependent set is also linearly dependent.
Proof Both are clear.
QED
Restated, subset preserves independence and superset preserves dependence.
Those are two of the four possible cases. The third case, whether subset preserves linear dependence, is covered by Example 1.18, which gives a linearly dependent set with one subset that is linearly dependent and another that is independent. The fourth case, whether superset preserves linear independence, is covered by Example 1.16, which gives cases where a linearly independent set has both an independent and a dependent superset. This table summarizes.
| independent | must be independent | may be either |
| dependent | may be either | must be dependent |
Example 1.16 has something else to say about the interaction between linear independence and superset. It names a linearly independent set that is maximal in that it has no supersets that are linearly independent. By Lemma 1.15 a linearly independent set is maximal if and only if it spans the entire space, because that is when all the vectors in the space are already in the span. This nicely complements Lemma 1.14, that a spanning set is minimal if and only if it is linearly independent.
Exercises
Exercise 1.21 Worked answer
Recommended. Decide whether each subset of is linearly dependent or linearly independent.
Answer. For each of these, when the subset is independent you must prove it, and when the subset is dependent you must give an example of a dependence.
It is dependent. Considering
gives this linear system.
Gauss’s Method
yields a free variable, so there are infinitely many solutions. For an example of a particular dependence we can set to be, say, . Then we get and .
It is dependent. The linear system that arises here
has infinitely many solutions. We can get a particular solution by taking to be, say, , and back-substituting to get the resulting and .
It is linearly independent. The system
has only the solution and . (We could also have gotten the answer by inspection—the second vector is obviously not a multiple of the first, and vice versa.)
It is linearly dependent. The linear system
has more unknowns than equations, and so Gauss’s Method must end with at least one variable free (there can’t be a contradictory equation because the system is homogeneous, and so has at least the solution of all zeroes). To exhibit a combination, we can do the reduction
and take, say, . Then we have that , , and .
Exercise 1.22 Worked answer
Recommended. Which of these subsets of are linearly dependent and which are independent?
Answer. In the cases of independence, you must prove that it is independent. Otherwise, you must exhibit a dependence. (Here we give a specific dependence but others are possible.)
This set is independent. Setting up the relation gives a linear system
with only one solution: , , and .
This set is independent. We can see this by inspection, straight from the definition of linear independence. Obviously neither is a multiple of the other.
This set is linearly independent. The linear system reduces in this way
to show that there is only the solution , , and .
This set is linearly dependent. The linear system
must, after reduction, end with at least one variable free (there are more variables than equations, and there is no possibility of a contradictory equation because the system is homogeneous). We can take the free variables as parameters to describe the solution set. We can then set the parameter to a nonzero value to get a nontrivial linear relation.
Exercise 1.23 Worked answer
Determine if each set is linearly independent in the natural space.
Answer.
The natural vector space is . Set up the equation
and consider the resulting homogeneous system.
This has the unique solution, that , . So it is linearly independent.
The natural vector space is the set of three-wide row vectors. The equation
gives rise to a linear system
with infinitely many solutions, that is, more than just the trivial solution.
So the set is linearly dependent. One dependence comes from setting , giving and .
Without having to set up a system we can see that the second element of the set is a multiple of the first (namely, times the first).
Exercise 1.24 Worked answer
Recommended. Prove that each set is linearly independent in the vector space of all functions from to .
and
and
and
Answer. Let be the zero function , which is the additive identity in the vector space under discussion.
This set is linearly independent. Consider . Plugging in and gives a linear system
with the unique solution , .
This set is linearly independent. Consider and plug in and to get
which obviously gives , .
This set is also linearly independent. Considering and plugging in and
gives that and .
Exercise 1.25 Worked answer
Recommended. Which of these subsets of the space of real-valued functions of one real variable is linearly dependent and which is linearly independent? (We have abbreviated some constant functions; e.g., in the first item, the ‘’ stands for the constant function .)
Answer. In each case, if the set is independent then you must prove that and if it is dependent then you must exhibit a dependence.
This set is dependent. The familiar relation shows that is satisfied by and .
This set is independent. Consider the relationship (that ‘’ is the zero function). Taking three suitable points such as , , gives a system
whose only solution is , , and .
By inspection, this set is independent. Any dependence is not possible since the cosine function is not a multiple of the identity function (we are applying Corollary 1.19).
By inspection, we spot that there is a dependence. Because , we get that is satisfied by and .
This set is dependent. The easiest way to see that is to recall the trigonometric relationship . (Remark. A person who doesn’t recall this, and tries some ’s, simply never gets a system leading to a unique solution, and never gets to conclude that the set is independent. Of course, this person might wonder if they simply never tried the right set of ’s, but a few tries will lead most people to look instead for a dependence.)
This set is dependent, because it contains the zero object in the vector space, the zero polynomial.
Exercise 1.26 Worked answer
Does the equation show that this set of functions is a linearly dependent subset of the set of all real-valued functions with domain the interval of real numbers between and ?
Answer. No, that equation is not a linear relationship. In fact this set is independent, as the system arising from taking to be , and shows.
Exercise 1.27 Worked answer
Is the -plane subset of the vector space linearly independent?
Answer. No. Here are two members of the plane where the second is a multiple of the first.
(Another reason that the answer is “no” is the the zero vector is a member of the plane and no set containing the zero vector is linearly independent.)
Exercise 1.28 Worked answer
Recommended. Show that the nonzero rows of an echelon form matrix form a linearly independent set.
Answer. We have already showed this: the Linear Combination Lemma and its corollary state that in an echelon form matrix, no nonzero row is a linear combination of the others.
Exercise 1.29 Worked answer
Show that if the set is linearly independent then so is the set .
What is the relationship between the linear independence or dependence of and the independence or dependence of ?
Answer.
Assume that is linearly independent, so that any relationship leads to the conclusion that , , and .
Consider the relationship . Rewrite it to get . Taking to be , taking to be , and taking to be we have this system.
Conclusion: the ’s are all zero, and so the set is linearly independent.
The second set is dependent
whether or not the first set is independent.
Exercise 1.30 Worked answer
Example 1.11 shows that the empty set is linearly independent.
When is a one-element set linearly independent?
How about a set with two elements?
Answer.
A singleton set is linearly independent if and only if . For the ‘if’ direction, with , we can apply Lemma 1.5 by considering the relationship and noting that the only solution is the trivial one: . For the ‘only if’ direction, just recall that Example 1.12 shows that is linearly dependent, and so if the set is linearly independent then .
(Remark. Another answer is to say that this is the special case of Lemma 1.15 where .)
A set with two elements is linearly independent if and only if neither member is a multiple of the other (note that if one is the zero vector then it is a multiple of the other). This is an equivalent statement: a set is linearly dependent if and only if one element is a multiple of the other.
The proof is easy. A set is linearly dependent if and only if there is a relationship with either or (or both). That holds if and only if or (or both).
Exercise 1.31 Worked answer
In any vector space , the empty set is linearly independent. What about all of ?
Answer. This set is linearly dependent set because it contains the zero vector.
Exercise 1.32 Worked answer
Show that if is linearly independent then so are all of its proper subsets: , , , ,, , and . Is that ‘only if’ also?
Answer. Lemma 1.20 gives the ‘if’ half. The converse (the ‘only if’ statement) does not hold. An example is to consider the vector space and these vectors.
Exercise 1.33 Worked answer
Show that this
is a linearly independent subset of .
Show that
is in the span of by finding and giving a linear relationship.
Show that the pair is unique.
Assume that is a subset of a vector space and that is in , so that is a linear combination of vectors from . Prove that if is linearly independent then a linear combination of vectors from adding to is unique (that is, unique up to reordering and adding or taking away terms of the form ). Thus as a spanning set is minimal in this strong sense: each vector in is a combination of elements of a minimum number of times—only once.
Prove that it can happen when is not linearly independent that distinct linear combinations sum to the same vector.
Answer.
The linear system arising from
has the unique solution and .
The linear system arising from
has the unique solution and .
Suppose that is linearly independent. Suppose that we have both and (where the vectors are members of ). Now,
can be rewritten in this way.
Possibly some of the ’s equal some of the ’s; we can combine the associated coefficients (i.e., if then can be rewritten as ). That equation is a linear relationship among distinct (after the combining is done) members of the set . We’ve assumed that is linearly independent, so all of the coefficients are zero. If is such that does not equal any then is zero. If is such that does not equal any then is zero. In the final case, we have that and so .
Therefore, the original two sums are the same, except perhaps for some or terms that we can neglect.
This set is not linearly independent:
and these two linear combinations give the same result
Thus, a linearly dependent set might have indistinct sums.
In fact, this stronger statement holds: if a set is linearly dependent then it must have the property that there are two distinct linear combinations that sum to the same vector. Briefly, where then multiplying both sides of the relationship by two gives another relationship. If the first relationship is nontrivial then the second is also.
Exercise 1.34 Worked answer
Prove that a polynomial gives rise to the zero function if and only if it is the zero polynomial. (Comment. This question is not a Linear Algebra matter but we often use the result. A polynomial gives rise to a function in the natural way: .)
Answer. In this ‘if and only if’ statement, the ‘if’ half is clear—if the polynomial is the zero polynomial then the function that arises from the action of the polynomial must be the zero function . For ‘only if’ we write . Plugging in zero gives that . Taking the derivative and plugging in zero gives that . Similarly we get that each is zero, and is the zero polynomial.
Exercise 1.35 Worked answer
Return to Section 1.2 and redefine point, line, plane, and other linear surfaces to avoid degenerate cases.
Answer. The work in this section suggests that we should define an -dimensional non-degenerate linear surface as the span of a linearly independent set of vectors.
Exercise 1.36 Worked answer
Show that any set of four vectors in is linearly dependent.
Is this true for any set of five? Any set of three?
What is the most number of elements that a linearly independent subset of can have?
Answer.
For any , …, ,
yields a linear system
that has infinitely many solutions (Gauss’s Method leaves at least two variables free). Hence there are nontrivial linear relationships among the given members of .
Any set five vectors is a superset of a set of four vectors, and so is linearly dependent.
With three vectors from , the argument from the prior item still applies, with the slight change that Gauss’s Method now only leaves at least one variable free (but that still gives infinitely many solutions).
The prior item shows that no three-element subset of is independent. We know that there are two-element subsets of that are independent—one is
and so the answer is two.
Exercise 1.37 Worked answer
Is there a set of four vectors in such that any three form a linearly independent set?
Exercise 1.38 Worked answer
Must every linearly dependent set have a subset that is dependent and a subset that is independent?
Answer. Yes. Fix any vector space , and let be a linearly dependent subset of . For a subset of that is dependent we can take itself. For a subset of that is independent we can take the empty set.
Exercise 1.39 Worked answer
In what is the biggest linearly independent set you can find? The smallest? The biggest linearly dependent set? The smallest? (‘Biggest’ and ‘smallest’ mean that there are no supersets or subsets with the same property.)
Answer. In the biggest linearly independent set has four vectors. There are many examples of such sets, this is one.
To see that no set with five or more vectors can be independent, set up
and note that the resulting linear system
has four equations and five unknowns, so Gauss’s Method must end with at least one variable free, so there are infinitely many solutions, and so the above linear relationship among the four-tall vectors has more solutions than just the trivial solution.
The smallest linearly independent set is the empty set.
The biggest linearly dependent set is . The smallest is .
Exercise 1.40 Worked answer
Recommended. Linear independence and linear dependence are properties of sets. We can thus naturally ask how the properties of linear independence and dependence act with respect to the familiar elementary set relations and operations. In this body of this subsection we have covered the subset and superset relations. We can also consider the operations of intersection, complementation, and union.
How does linear independence relate to intersection: can an intersection of linearly independent sets be independent? Must it be?
How does linear independence relate to complementation?
Show that the union of two linearly independent sets can be linearly independent.
Show that the union of two linearly independent sets need not be linearly independent.
Answer.
The intersection of two linearly independent sets must be linearly independent as it is a subset of the linearly independent set (as well as the linearly independent set also, of course).
The complement of a linearly independent set is linearly dependent as it contains the zero vector.
A simple example in is these two sets.
A somewhat subtler example, again in , is these two.
We must produce an example. One, in , is
since the linear dependence of is easy to see.
Exercise 1.41 Worked answer
Continued from prior exercise. What is the interaction between the property of linear independence and the operation of union?
We might conjecture that the union of linearly independent sets is linearly independent if and only if their spans have a trivial intersection . What is wrong with this argument for the ‘if’ direction of that conjecture? “If the union is linearly independent then the only solution to is the trivial one , …, . So any member of the intersection of the spans must be the zero vector because in each scalar is zero.”
Give an example showing that the conjecture is false.
Find linearly independent sets and so that the union of and is linearly independent, but the union is not linearly independent.
Characterize when the union of two linearly independent sets is linearly independent, in terms of the intersection of spans.
Answer.
Lemma 1.5 requires that the vectors be distinct. But we could have that the union is linearly independent with some equal to some .
One example in is these two.
An example from is these sets.
The union of two linearly independent sets is linearly independent if and only if their spans of and have a trivial intersection . To prove that, assume that and are linearly independent subsets of some vector space.
For the ‘only if’ direction, assume that the intersection of the spans is trivial . Consider the set and consider the linear relationship . Subtracting gives . The left side of that equation sums to a vector in , and the right side is a vector in . Therefore, since the intersection of the spans is trivial, both sides equal the zero vector. Because is linearly independent, all of the ’s are zero. Because is linearly independent so also is linearly independent, and therefore all of the ’s are zero. Thus, the original linear relationship among members of only holds if all of the coefficients are zero. Hence, is linearly independent.
For the ‘if’ half we can make the same argument in reverse. Suppose that the union is linearly independent. Consider a linear relationship among members of and . Note that no is equal to a so that is a combination of distinct vectors, as required by Lemma 1.5. So the only solution is the trivial one , …, . Since any vector in the intersection of the spans we can write , and it must be the zero vector because each scalar is zero.
Exercise 1.42 Worked answer
For Corollary 1.17,
fill in the induction for the proof;
give an alternate proof that starts with the empty set and builds a sequence of linearly independent subsets of the given finite set until one appears with the same span as the given set.
Answer.
We do induction on the number of vectors in the finite set .
The base case is that has no elements. In this case is linearly independent and there is nothing to check—a subset of that has the same span as is itself.
For the inductive step assume that the theorem is true for all sets of size , , …, in order to prove that it holds when has elements. If the -element set is linearly independent then the theorem is trivial, so assume that it is dependent. By Corollary 1.19 there is an that is a linear combination of other vectors in . Define and note that has the same span as by Corollary 1.3. The set has elements and so the inductive hypothesis applies to give that it has a linearly independent subset with the same span. That subset of is the desired subset of .
Here is a sketch of the argument. We have left out the induction argument details.
If the finite set is empty then there is nothing to prove. If then the empty subset will do.
Otherwise, take some nonzero vector and define . If then we are finished with this proof by noting that is linearly independent.
If not, then there is a nonzero vector (if every is in then ). Define . If then we are finished by using Theorem 1.19 to show that is linearly independent.
Repeat the last paragraph until a set with a big enough span appears. That must eventually happen because is finite, and will be reached at worst when we have used every vector from .
Exercise 1.43 Worked answer
With a some calculation we can get formulas to determine whether or not a set of vectors is linearly independent.
Show that this subset of
is linearly independent if and only if .
Show that this subset of
is linearly independent iff .
When is this subset of
linearly independent?
This is an opinion question: for a set of four vectors from , must there be a formula involving the sixteen entries that determines independence of the set? (You needn’t produce such a formula, just decide if one exists.)
Answer.
Assuming first that ,
gives
which has a solution if and only if (we’ve assumed in this case that , and so back substitution yields a unique solution).
The case is also not hard—break it into the and subcases and note that in these cases .
Comment. An earlier exercise showed that a two-vector set is linearly dependent if and only if either vector is a scalar multiple of the other. We could also use that to make the calculation.
The equation
expresses a homogeneous linear system. We proceed by writing it in matrix form and applying Gauss’s Method.
We first reduce the matrix to upper-triangular. Assume that . With that, we can clear down the first column.
Then we get a in the second row, second column entry. (Assuming for the moment that , in order to do the row reduction step.)
Then, under the assumptions, we perform the row operation to get this.
Therefore, the original system is nonsingular if and only if the above entry is nonzero (this fraction is defined because of the assumption). It equals zero if and only if the numerator is zero.
We next worry about the assumptions. First, if but then we swap
and conclude that the system is nonsingular if and only if either or . That’s the same as asking that their product be zero:
(in going from the first line to the second we’ve applied the case assumption that by substituting for ). Since we are assuming that , we have that . With we can rewrite this to fit the form we need: in this and case, the given system is nonsingular when , as required.
The remaining cases have the same character. Do the but case and the and but case by first swapping rows and then going on as above. The , , and case is easy—a set with a zero vector is linearly dependent, and the formula comes out to equal zero.
It is linearly dependent if and only if either vector is a multiple of the other. That is, it is not independent iff
(or both) for some scalars and . Eliminating and in order to restate this condition only in terms of the given letters , , , , , , we have that it is not independent—it is dependent—iff .
Dependence or independence is a function of the indices, so there is indeed a formula (although at first glance a person might think the formula involves cases: “if the first component of the first vector is zero then …”, this guess turns out not to be correct).
Exercise 1.44 Worked answer
Recommended.
Prove that a set of two perpendicular nonzero vectors from is linearly independent when .
What if ? ?
Generalize to more than two vectors.
Answer. Recall that two vectors from are perpendicular if and only if their dot product is zero.
Assume that and are perpendicular nonzero vectors in , with . With the linear relationship , apply to both sides to conclude that . Because we have that . A similar application of shows that .
Two vectors in are perpendicular if and only if at least one of them is zero.
We define to be a trivial space, and so both and are the zero vector.
The right generalization is to look at a set of vectors that are mutually orthogonal (also called pairwise perpendicular): if then is perpendicular to . Mimicking the proof of the first item above shows that such a set of nonzero vectors is linearly independent.
Exercise 1.45 Worked answer
Consider the set of functions from the interval to .
Show that this set is a vector space under the usual operations.
Recall the formula for the sum of an infinite geometric series: for all . Why does this not express a dependence inside of the set (in the vector space that we are considering)? (Hint. Review the definition of linear combination.)
Show that the set in the prior item is linearly independent.
This shows that some vector spaces exist with linearly independent subsets that are infinite.
Answer.
This check is routine.
The summation is infinite (has infinitely many summands). The definition of linear combination involves only finite sums.
No nontrivial finite sum of members of adds to the zero object: assume that
(any finite sum uses a highest power, here ). Multiply both sides by to conclude that each coefficient is zero, because a polynomial describes the zero function only when it is the zero polynomial.
Exercise 1.46 Worked answer
Show that, where is a subspace of , if a subset of is linearly independent in then is also linearly independent in . Is that ‘only if’?
Answer. It is both ‘if’ and ‘only if’.
Let be a subset of the subspace of the vector space . The assertion that any linear relationship among members of must be the trivial relationship , …, is a statement that holds in if and only if it holds in , because the subspace inherits its addition and scalar multiplication operations from .