1.4 Linear Independence
A spanning list tells us that every vector of a space
can be built. It says nothing about waste. The list
1.4.1. Redundant vectors
The previous section gave a way to shorten a list: if a vector lies in the span of the others, we may delete it without changing the span (Theorem 1.3.5). Call such a vector redundant. We want a test for “this list has no redundant vector”.
A first guess is that a vector is wasted when it
repeats the direction of another one, so the test would
be “no vector is a scalar multiple of another”. This
guess fails. In
A second guess is correct but clumsy: “no vector is a
linear combination of the others”. For a list of length
A list is independent when the only way to build the zero vector from it is the trivial way.
1.4.2. Definition and examples
Let
In words: the hypothesis is an arbitrary linear
combination that happens to equal
The definition also dictates how every independence proof starts. It is a “for all” statement about coefficients, so we take arbitrary coefficients and assume the hypothesis:
Let
Between “Let” and “hence”, the work is to turn one
vector equation into scalar equations. How we do that
depends on what
Show that each list is linearly independent.
- (a)
in . - (b)
in . - (c)
in . - (d)
in the space of all functions .
Solution.
- (a) Let
. The left side is the vector , and . Comparing entries, . Hence the list is independent. - (b) Let
, where is the zero polynomial, the polynomial with every coefficient . Two polynomials are equal exactly when all their coefficients agree (Definition 0.8.1). Comparing the coefficients of gives . Hence the list is independent. - (c) Let
. Comparing entries, and . Adding the two equations gives , so since in ; then . Hence the list is independent. - (d) Let
, where is the zero function. Equality of functions means equality at every point (Definition 0.4.1), so for every . We may choose convenient points. At : , so . At : , so . Hence the list is independent.
In (d) we did not need the equation at every point, only at two well-chosen ones. That is the general move for functions: choose good points, where most terms vanish. Note the logic. Evaluating at a point can only prove independence; if the equations at our chosen points had allowed non-zero solutions, we would have learned nothing, and would have to try other points or another method.
The degenerate cases are worth settling once, because they come up inside every later argument.
Let
- (a) A list
with some . - (b) A list
of length one. - (c) A list
with a repeat: for some .
Solution.
- (a) Dependent. Take
and every other coefficient . By Theorem 1.1.5 and Theorem 1.1.6, every term is , so the combination is , and the coefficient is not zero. - (b) Independent if
and only if
. If , use (a). If , let ; by Theorem 1.1.9, or , and the second is false, so . - (c) Dependent. Take
, , and every other coefficient . The combination is by Theorem 1.1.7, since , and .
Now the non-example, by a minimal change. Add one
vector to the independent list
Quick check. Is the list
Solution. No. Let
Two more kinds of question come up constantly: lists that depend on a parameter, and lists of matrices. The method does not change.
- (a) For which
is the list in linearly independent? - (b) Is the list
in linearly independent?
Solution.
(a) Let
. Comparing entries gives , and . The first two give and ; substituting into the third, .If
, then , so by Theorem 0.7.1, and then . The list is independent.If
, the equations hold for every ; taking gives with coefficients not all zero. The list is dependent.So the list is independent exactly when
. Notice the shape of the argument: the parameter ends up as a factor multiplying one unknown, and the only question is when that factor can be zero.(b) Let
. The left side is . Two matrices are equal when their entries agree (Definition 0.9.1), so , and ; hence too. The list is independent.For matrices, “compare entries” turns one matrix equation into four scalar equations, one per entry.
1.4.3. Why lists, and why this definition
Remark. Why lists, not
sets. In a set, repeats disappear:
For an arbitrary subset
Why “all
Warning. “Not all zero” is
not “all non-zero”. A dependence relation needs
one non-zero coefficient, not every
coefficient non-zero. The list
Warning. Pairwise
independence is not independence. Checking
pairs is not enough. In the list
1.4.4. The Linear Dependence Lemma
The definition says that a dependent list has a relation. It does not say which vector is redundant, and the discussion at the start of the section only found a redundant vector where the coefficient was non-zero. The next lemma makes a definite choice, and chooses it so that the redundant vector depends only on vectors before it in the list. This one-directional form is what later proofs need, because they build lists from left to right.
Let
- (1) there is an
index
with . For this means , so if , then ; - (2) for any such
, removing does not change the span:
Idea. Take a relation with
coefficients not all zero. We want to solve for one
vector in terms of the vectors before it, so we need a
vector whose coefficient is non-zero and which comes
after every other vector with a
non-zero coefficient. That is the
largest index
Proof.
Since the list is dependent, there are
, not all zero, with . The set is non-empty and finite, so it has a largest element; call it . Then , and for every . By Theorem 1.1.5 the terms with are , so Adding the negative of to both sides gives . Since and is a field, has an inverse (Definition 0.7.1). Multiplying both sides by , and using on the left, and (Theorem 1.1.7) with the distributive laws on the right, we get Hence . When the right side is the empty sum, so ; therefore if , then .Let
be any index with , and let . Each of is an entry of , so by monotonicity (Proposition 1.3.4 (2)) , and hence . By Theorem 1.3.5, inserting back into at position does not change the span. That is, , as claimed.
The index
In
Solution. First relation:
Second relation:
So
The lemma only locates vectors that depend on
earlier ones. Here
Read the other way round, part (1) is a test for independence that works left to right.
Remark. Independence, one
vector at a time. A list
Combining the two parts of the lemma gives a clean statement about spans alone: a list is dependent exactly when it contains a vector that can be thrown away for free.
Let
Proof.
So a spanning list that is dependent can always be shortened and still span. Repeating this until the list becomes independent is the idea behind the next section’s proof that every finite spanning list contains a basis.
1.4.5. Unique representations
Independence was introduced to rule out waste. Its
most useful consequence is about uniqueness. If a vector
could be built from a list in two different ways,
subtracting the two recipes would give a non-trivial way
to build
Let
- (a)
is linearly independent; - (b) every
has exactly one representation as a linear combination: if , then for every .
Proof. (a
(b
Every vector of a span has at least
one representation, by definition of the span;
independence is what makes it at most
one. For a dependent list uniqueness fails: with the
list
1.4.6. Polynomials of distinct degrees
For polynomials there is a test that needs no
equations at all. The list
Let
Idea. Put the polynomials in order of increasing degree. If the list were dependent, the Linear Dependence Lemma would give a polynomial lying in the span of the ones before it. Those all have smaller degree, so their span consists of polynomials of smaller degree, and cannot contain it.
Proof. A linear relation among the
Suppose, for a contradiction, that the list is
dependent. Since
Both hypotheses matter. The zero polynomial must be
excluded, because a list containing
1.4.7. Independence depends on the field
The same set can be a vector space over two fields, and the answer to “independent?” can change with the field, because the field decides which coefficients are allowed.
Warning. Always ask:
independent over which field? In
A second example of the same phenomenon:
1.4.8. Exercises
A. Check your understanding
- (a) Define what it
means for a list
in a vector space over to be linearly independent, and what it means for it to be linearly dependent. - (b) Determine whether the following statement is true: “a list of vectors is linearly dependent if and only if one of its vectors is a scalar multiple of another.” Justify your answer.
- (c) Is the empty
list linearly independent? Is the list
? - (d) Determine
whether the following statement is true: “if
is linearly dependent, then .” Justify your answer. - (e) To prove that a
list of functions
is independent, what does “ ” mean, and what is a standard way to extract scalar equations?
Solution.
- (a) It is
independent if for all
, implies . It is dependent if there are , not all zero, with . - (b) False. The list
in is dependent, since the third vector is the sum of the first two, but no vector is a multiple of another. (The “if” direction is true: with gives the relation with coefficient .) - (c) The empty list
is independent: there are no coefficients, so the
condition holds vacuously. The list
is dependent: with coefficient (Example (Degenerate Lists)). - (d) False. Take
, , in . The list is dependent, since . But every combination of has second entry , so . Theorem 1.4.1 only promises some ; here . - (e) It means the
zero function: the combination takes the value
at every point. Evaluating at well-chosen points turns it into scalar equations for the coefficients.
B. Practice
Determine which of the following lists are linearly independent. Justify your answer.
- (a)
in . - (b)
in . - (c)
in . - (d)
in . - (e)
in , where and .
Solution.
- (a) Dependent. Since
, we have , with coefficients not all zero. - (b) Independent. Let
. Comparing entries: , , . The first two give and ; then the third gives , so , and hence . - (c) Independent. Let
. The left side is . Comparing coefficients (Definition 0.8.1): , , . Adding the first and third gives , so , and then . - (d) Dependent. The
first two matrices add up to the third, so
is the zero matrix. - (e) Independent. Let
, the zero function. Then for every . At : . At : , so . Subtracting the first equation gives , and then .
For which
Solution. Let
If
If
Hence the list is linearly independent exactly when
A sub-list of
- (a) Prove that every sub-list of a linearly independent list is linearly independent.
- (b) Deduce that if some sub-list of a list is linearly dependent, then the whole list is linearly dependent.
Solution.
- (a) Let
be independent, and let . Define if for some (the indices are distinct, so this is well defined), and otherwise. By Theorem 1.1.5 the extra terms are , so . By independence, every ; in particular every . Hence the sub-list is independent. - (b) This is the contrapositive of (a): if the whole list were independent, every sub-list would be independent by (a).
C. Going deeper
Let
- (a) Suppose
. Prove that is linearly independent. - (b) Suppose
. Prove that is linearly dependent, and give an example of an independent list over , so that the statement is not vacuous. - (c) Which property
of
did (a) use that lacks? Deduce that (a) holds over every field in which .
Solution.
- (a) Let
. Expanding and regrouping with the axioms of Definition 1.1.1 gives . By independence of , , and . The first two give and , and then the third gives . Since in , , and hence . This proves independence. - (b) Over
, using in and Theorem 1.1.5. The coefficients are , so the list is dependent. For an example, in is independent by the argument of Example (Independent Lists in Four Families) (a), which works over any field. - (c) Part (a) divided
by
, that is, used , to pass from to . In , . In any field with , the element has an inverse, and the proof of (a) goes through word for word.
Let
Solution. Let
For the example, take
Regard
Hint: you may use without proof that
Solution. Let
If
Case 1:
Case 2:
In both cases
Over