Original English by Jim Hefferon — selected foundation sections. The original mathematics and supplied answers below are preserved. This is a partial-book reading edition, not the complete book or an Everyday-English rewrite.

Source revision df2262e089a02651c127f1dd12649c4622ee1383; CC BY-SA 2.5 option, with original component credits retained. This is not an Everyday-English rewrite. The complete source section is included. Cross-section links use the bound sibling readers; keep those files when reading offline.

Original-source findings, preserved and explained separately

Thirteen scoped notes from the conversion checks; original text and formulas remain unchanged. These notes are not an exhaustive audit or human review.

  1. Source note 1: In the {1+x,1-x} example, R2 - R1 yields -2c2 = 0, not +2c2 = 0. The conclusion of independence is unchanged.
  2. Source note 2: The general echelon-matrix statement needs the qualification nonzero rows. An echelon matrix with a zero row supplies an immediate counterexample. The displayed example itself has no zero row.
  3. Source note 3: When isolating v from 0 = c1 s1 + ... + cn sn + c(n+1) v, each displayed coefficient of si needs a minus sign. The span-membership conclusion remains valid.
  4. Source note 4: The first equation in the spanning-set reduction contains a plus sign in the empty c4 column, printing two successive plus signs. The intended first equation is c1 + c3 + 3c5 = 0.
  5. Source note 5: In the polynomial exercise answer, the stated row operations give the last pivot -152/13, not -128/13. The independence conclusion remains correct.
  6. Source note 6: In the three-row-vector exercise, the operation producing the zero third row must be R3 - (4/7)R2, not R3 + (4/7)R2. The final dependence vector is correct.
  7. Source note 7: The union example defines S and T but its last sentence calls them S1 and S2. These are the same displayed sets; their union is dependent.
  8. Source note 8: The question labels its proposed direction as if, but the proposed implication from an independent union to trivial intersection is the only-if direction. This note corrects the direction label only; it supplies no answer.
  9. Source note 9: The supplied answer reverses the names if and only if: trivial intersection implies an independent union is the if direction; the reverse is only if. The corrected criterion and proof substance are unchanged.
  10. Source note 10: The two-by-two determinant argument needs unique solution, not solution; every homogeneous system has a zero solution. Its combined fraction also needs denominator a, not d.
  11. Source note 11: The three-by-three elimination step needs the negative multiplier -((ah-bg)/a) on row 2 to clear row 3. The displayed final pivot is the result of this subtraction.
  12. Source note 12: In the a != 0, ae-bd = 0 case, the proof describes singularity while calling it nonsingularity. After the row swap the system is nonsingular exactly when both ah-bg and af-cd are nonzero, equivalently when the determinant is nonzero. Either factor zero, and the subsequent equal-zero calculation, establish singularity.
  13. Source note 13: For the two vectors in R3, dependence requires ae-bd = ah-gb = dh-ge = 0. Equality of these three minors without the final zero condition is insufficient.

Source-preserving rebuild, navigation, source packaging and current deterministic checks: OpenAI Codex — GPT-6 Astra, Ultra effort. Jim Hefferon remains the author of the mathematics. Earlier intermediate-conversion runtime identity is not established by its retained receipts and is not reassigned to this rebuild. No human review or exhaustive proof certification is claimed.

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 { a + b x ∣ a , b ∈ ℝ } is spanned by the set { 1 , x } . 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 { 1 , 2 x } and { 1 , x , 2 x } .

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 { 1 , x , 2 x } 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 { 1 , x , 2 x } is not minimal because removing the 2 x to get { 1 , x } 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 { 1 , x , 2 x } with the span of { 1 , x } and note that 2 x 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 0 = 0 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 40  cm and 15  cm and another at − 50  cm and 25  cm, and we then computed the value of those masses. Had we instead gotten the second balance at 20  cm and 7.5  cm then Gauss’s Method on the resulting two-equations, two-unknowns system would not have yielded a solution, it would have yielded a 0 = 0 equation along with an equation containing a free variable. Intuitively, the problem is that ( 20 7.5 ) is half of ( 40 15 ) , that is, ( 20 7.5 ) is in the span of the set { ( 40 15 ) } 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 v → to be a “repeat” of the vectors in a set  S if v → ∈ [ S ] so that it depends on, that is, is expressible in terms of, elements of the set v → = c 1 s → 1 + ⋯ + c n s → n .

Lemma 1.2 Where V is a vector space, S is a subset of that space, and v → is an element of that space, [ S ∪ { v → } ] = [ S ] if and only if v → ∈ [ S ] .

Proof Half of the if and only if is immediate: if v → ∉ [ S ] then the sets are not equal because v → ∈ [ S ∪ { v → } ] .

For the other half assume that v → ∈ [ S ] so that v → = c 1 s → 1 + ⋯ + c n s → n for some scalars  c i and vectors s → i ∈ S . We will use mutual containment to show that the sets [ S ∪ { v → } ] and [ S ] are equal. The containment [ S ∪ { v → } ] ⊇ [ S ] is clear.

To show containment in the other direction let w → be an element of  [ S ∪ { v → } ] . Then w → is a linear combination of elements of S ∪ { v → } , which we can write as w → = c n + 1 s → n + 1 + ⋯ + c n + k s → n + k + c n + k + 1 v → . (Possibly some of the s → i ’s from w → ’s equation are the same as some of those from v → ’s equation but that does not matter.) Expand v → .

w → = c n + 1 s → n + 1 + ⋯ + c n + k s → n + k + c n + k + 1 ⋅ ( c 1 s → 1 + ⋯ + c n s → n )

Recognize the right hand side as a linear combination of linear combinations of vectors from  S . Thus w → ∈ [ S ] .

QED

The discussion at the section’s opening involved removing vectors, not adding them.

Corollary 1.3 For v → ∈ S , omitting that vector does not shrink the span if and only if that vector is dependent on other vectors in the set. That is, [ S ] = [ S − { v → } ] if and only if v → ∈ [ S − { v → } ] .

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 { s → 0 , … , s → n } is independent if there is no equality s → i = c 0 s → 0 + … + c i − 1 s → i − 1 + c i + 1 s → i + 1 + … + c n s → n . The definition’s use of the word ‘others’ means that writing s → i as a linear combination via s → i = 1 ⋅ s → i does not count.

Observe that, although this way of writing one vector as a combination of the others

s → 0 = c 1 s → 1 + c 2 s → 2 + ⋯ + c n s → n

visually sets off s → 0 , algebraically there is nothing special about that vector in that equation. For any s → i with a coefficient c i that is non- 0 , we can rewrite to isolate s → i .

s → i = ( 1 / c i ) s → 0 + ⋯ + ( − c i − 1 / c i ) s → i − 1 + ( − c i + 1 / c i ) s → i + 1 + ⋯ + ( − c n / c i ) s → n

When we don’t want to single out any vector we will instead say that s → 0 , s → 1 , … , s → n 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 S of a vector space is linearly independent if and only if among its elements the only linear relationship c 1 s → 1 + ⋯ + c n s → n = 0 → is the trivial one, c 1 = 0 , … , c n = 0 (where s → i ≠ s → j when i ≠ j ) .

Proof If S is linearly independent then no vector s → i is a linear combination of other vectors from S , so there is no linear relationship where some of the s → ’s have nonzero coefficients.

If S is not linearly independent then some s → i is a linear combination s → i = c 1 s → 1 + ⋯ + c i − 1 s → i − 1 + c i + 1 s → i + 1 + ⋯ + c n s → n of other vectors from S . Subtracting s → i from both sides gives a relationship involving a nonzero coefficient, the − 1 in front of s → i .

QED

Example 1.6 In the vector space of two-wide row vectors, the two-element set { ( 40 15 ) , ( − 50 25 ) } is linearly independent. To check this, take

c 1 ⋅ ( 40 15 ) + c 2 ⋅ ( − 50 25 ) = ( 0 0 )

and solve the resulting system.

40 c 1 − 50 c 2 = 0 15 c 1 + 25 c 2 = 0 ⟶ − ( 15 / 40 ) ρ 1 + ρ 2 ( 40 c 1 − 50 c 2 = 0 ( 175 / 4 ) c 2 = 0

Both c 1 and c 2 are zero. So the only linear relationship between the two given row vectors is the trivial relationship.

In the same vector space, the set { ( 40 15 ) , ( 20 7.5 ) } is linearly dependent since we can satisfy c 1 ⋅ ( 40 15 ) + c 2 ⋅ ( 20 7.5 ) = ( 0 0 ) with c 1 = 1 and c 2 = − 2 .

Example 1.7 The set { 1 + x , 1 − x } is linearly independent in 𝒫 2 , the space of quadratic polynomials with real coefficients, because

0 + 0 x + 0 x 2 = c 1 ( 1 + x ) + c 2 ( 1 − x ) = ( c 1 + c 2 ) + ( c 1 − c 2 ) x + 0 x 2

gives

c 1 + c 2 = 0 c 1 − c 2 = 0 ⟶ − ρ 1 + ρ 2 ( c 1 + c 2 = 0 2 c 2 = 0

since polynomials are equal only if their coefficients are equal. Thus, the only linear relationship between these two members of 𝒫 2 is the trivial one.

Remark 1.8 The lemma specifies that s → i ≠ s → j when i ≠ j because of course if some vector  s → appears twice then we can get a nontrivial c 1 s → 1 + ⋯ + c n s → n = 0 → , by taking the associated coefficients to be 1 and  − 1 . 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  S don’t appear at all. For instance, if  S is infinite then because linear relationships involve only finitely many vectors, any such relationship leaves out many of S ’s vectors. However, note also that if  S is finite then where convenient we can take a combination c 1 s → 1 + ⋯ + c n s → n to contain each of S ’s vectors once and only once. If a vector is missing then we can add it by using a coefficient of  0 .

Example 1.9 The rows of this matrix

A = ( 2 3 1 0 0 − 1 0 − 2 0 0 0 1 )

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 ℝ 3 , where

v → 1 = ( 3 4 5 ) v → 2 = ( 2 9 2 ) v → 3 = ( 4 18 4 )

the set S = { v → 1 , v → 2 , v → 3 } is linearly dependent because this is a relationship

0 ⋅ v → 1 + 2 ⋅ v → 2 − 1 ⋅ v → 3 = 0 →

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 S is linearly independent would start by setting v → 1 = c 2 v → 2 + c 3 v → 3 and concluding that there are no such c 2 and c 3 . 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 v → 2 = c 1 v → 1 + c 3 v → 3 , in order to find the dependence c 1 = 0 , c 3 = 1 / 2 . 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 𝒫 2 of quadratic polynomials, the subset { 1 + x , x + x 2 , 0 } . It is linearly dependent because 0 ⋅ v → 1 + 0 ⋅ v → 2 + 1 ⋅ 0 → = 0 → 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 v → 1 + v → 2 + v → 3 , followed by v → 1 + v → 2 , followed by v → 1 . The difference between the sum of three vectors and the sum of two is v → 3 . Then the difference between the sum of two and the sum of one is v → 2 . In next passing to the trivial sum, the sum of zero-many vectors, we can expect to subtract  v → 1 . 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 S = { 0 → } is linearly dependent, because 0 → is the sum of the empty set and the empty set is a subset of  S .

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 { 1 , 2 } equals the set { 2 , 1 } , and (ii) duplicates collapse, so that the set { 1 , 1 , 2 } equals the set { 1 , 2 } .

Now consider this matrix reduction.

( 1 1 1 2 2 2 1 2 3 ) ⟶ ( 1 / 2 ) ρ 2 ( ( 1 1 1 1 1 1 1 2 3 )

On the left the set of matrix rows { ( 1 1 1 ) , ( 2 2 2 ) , ( 1 2 3 ) } is linearly dependent. On the right the set of rows is { ( 1 1 1 ) , ( 1 1 1 ) , ( 1 2 3 ) } . Because duplicates collapse, that equals the set { ( 1 1 1 ) , ( 1 2 3 ) } , 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 S is linearly independent if and only if for any v → ∈ S , its removal shrinks the span [ S − { v } ] ⊊ [ S ] .

Proof This follows from Corollary 1.3. If S is linearly independent then none of its vectors is dependent on the other elements, so removal of any vector will shrink the span. If S 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 S is linearly independent and that v → ∉ S . Then the set S ∪ { v → } is linearly independent if and only if v → ∉ [ S ] .

Proof We will show that S ∪ { v → } is not linearly independent if and only if v → ∈ [ S ] .

Suppose first that v → ∈ [ S ] . Express v → as a combination v → = c 1 s → 1 + ⋯ + c n s → n . Rewrite that 0 → = c 1 s → 1 + ⋯ + c n s → n − 1 ⋅ v → . Since v → ∉ S , it does not equal any of the s → i so this is a nontrivial linear dependence among the elements of S ∪ { v → } . Thus that set is not linearly independent.

Now suppose that S ∪ { v → } is not linearly independent and consider a nontrivial dependence among its members 0 → = c 1 s → 1 + ⋯ + c n s → n + c n + 1 ⋅ v → . If c n + 1 = 0 then that is a dependence among the elements of  S , but we are assuming that  S is independent, so c n + 1 ≠ 0 . Rewrite the equation as v → = ( c 1 / c n + 1 ) s → 1 + ⋯ + ( c n / c n + 1 ) s → n to get v → ∈ [ S ]

QED

Example 1.16 This subset of ℝ 3 is linearly independent.

S = { ( 1 0 0 ) }

The span of S is the x -axis. Here are two supersets, one that is linearly dependent and the other independent.

dependent: { ( 1 0 0 ) , ( − 3 0 0 ) } independent: { ( 1 0 0 ) , ( 0 1 0 ) }

We got the dependent superset by adding a vector from the x -axis and so the span did not grow. We got the independent superset by adding a vector that isn’t in [ S ] , because it has a nonzero y  component, causing the span to grow.

For the independent set

S = { ( 1 0 0 ) , ( 0 1 0 ) }

the span [ S ] is the x y -plane. Here are two supersets.

dependent: { ( 1 0 0 ) , ( 0 1 0 ) , ( 3 − 2 0 ) } independent: { ( 1 0 0 ) , ( 0 1 0 ) , ( 0 0 1 ) }

As above, the additional member of the dependent superset comes from [ S ] , the x y -plane, while the added member of the independent superset comes from outside of that span.

Finally, consider this independent set

S = { ( 1 0 0 ) , ( 0 1 0 ) , ( 0 0 1 ) }

with [ S ] = ℝ 3 . We can get a linearly dependent superset.

dependent: { ( 1 0 0 ) , ( 0 1 0 ) , ( 0 0 1 ) , ( 2 − 1 3 ) }

But there is no linearly independent superset of S . One way to see that is to note that for any vector that we would add to S , the equation

( x y z ) = c 1 ( 1 0 0 ) + c 2 ( 0 1 0 ) + c 3 ( 0 0 1 )

has a solution c 1 = x , c 2 = y , and c 3 = z . Another way to see it is that we cannot add any vectors from outside of the span [ S ] because that span is ℝ 3 .

Corollary 1.17 In a vector space, any finite set has a linearly independent subset with the same span.

Proof If S = { s → 1 , … , s → n } is linearly independent then S itself satisfies the statement, so assume that it is linearly dependent.

By the definition of dependent, S contains a vector v → 1 that is a linear combination of the others. Define the set S 1 = S − { v → 1 } . By Corollary 1.3 the span does not shrink [ S 1 ] = [ S ] .

If S 1 is linearly independent then we are done. Otherwise iterate: take a vector v → 2 that is a linear combination of other members of S 1 and discard it to derive S 2 = S 1 − { v → 2 } such that [ S 2 ] = [ S 1 ] . Repeat this until a linearly independent set S j appears; one must appear eventually because S is finite and the empty set is linearly independent. (Formally, this argument uses induction on the number of elements in S . 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 ℝ 3 (the check is routine) but is not linearly independent.

S = { ( 1 0 0 ) , ( 0 2 0 ) , ( 1 2 0 ) , ( 0 − 1 1 ) , ( 3 3 0 ) }

We will calculate which vectors to drop in order to get a subset that is independent but has the same span. This linear relationship

c 1 ( 1 0 0 ) + c 2 ( 0 2 0 ) + c 3 ( 1 2 0 ) + c 4 ( 0 − 1 1 ) + c 5 ( 3 3 0 ) = ( 0 0 0 ) ( ∗ )

gives a system

c 1 + c 3 + + 3 c 5 = 0 2 c 2 + 2 c 3 − c 4 + 3 c 5 = 0 c 4 = 0

whose solution set has this parametrization.

{ ( c 1 c 2 c 3 c 4 c 5 ) = c 3 ( − 1 − 1 1 0 0 ) + c 5 ( − 3 − 3 / 2 0 0 1 ) ∣ c 3 , c 5 ∈ ℝ }

Set c 5 = 1 and  c 3 = 0 to get an instance of ( ∗ ).

− 3 ⋅ ( 1 0 0 ) − 3 2 ⋅ ( 0 2 0 ) + 0 ⋅ ( 1 2 0 ) + 0 ⋅ ( 0 − 1 1 ) + 1 ⋅ ( 3 3 0 ) = ( 0 0 0 )

This shows that the vector from S that we’ve associated with  c 5 is in the span of the set of c 1 ’s vector and c 2 ’s vector. We can discard S ’s fifth vector without shrinking the span.

Similarly, set c 3 = 1 , and c 5 = 0 to get an instance of ( ∗ ) that shows we can discard S ’s third vector without shrinking the span. Thus this set has the same span as S .

{ ( 1 0 0 ) , ( 0 2 0 ) , ( 0 − 1 1 ) }

The check that it is linearly independent is routine.

Corollary 1.19 A subset S = { s → 1 , … , s → n } of a vector space is linearly dependent if and only if some s i → is a linear combination of the vectors s → 1 , …, s → i − 1 listed before it.

Proof Consider S 0 = { } , S 1 = { s 1 → } , S 2 = { s → 1 , s → 2 } , etc. Some index i ≥ 1 is the first one with S i − 1 ∪ { s → i } linearly dependent, and there s → i ∈ [ S i − 1 ] .

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 S 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.

S ^ ⊂ S S ^ ⊃ S
S independent S ^ must be independent S ^ may be either
S dependent S ^ may be either S ^ 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

  1. Exercise 1.21 Worked answer

    Recommended. Decide whether each subset of ℝ 3 is linearly dependent or linearly independent.

    1. { ( 1 − 3 5 ) , ( 2 2 4 ) , ( 4 − 4 14 ) }

    2. { ( 1 7 7 ) , ( 2 7 7 ) , ( 3 7 7 ) }

    3. { ( 0 0 − 1 ) , ( 1 0 4 ) }

    4. { ( 9 9 0 ) , ( 2 0 1 ) , ( 3 5 − 4 ) , ( 12 12 − 1 ) }

    Back to Exercise 1.21

    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.

    1. It is dependent. Considering

      c 1 ( 1 − 3 5 ) + c 2 ( 2 2 4 ) + c 3 ( 4 − 4 14 ) = ( 0 0 0 )

      gives this linear system.

      c 1 + 2 c 2 + 4 c 3 = 0 − 3 c 1 + 2 c 2 − 4 c 3 = 0 5 c 1 + 4 c 2 + 14 c 3 = 0

      Gauss’s Method

      ( 1 2 4 0 − 3 2 − 4 0 5 4 14 0 ) ⟶ − 5 ρ 1 + ρ 3 3 ρ 1 + ρ 2 ( ⟶ ( 3 / 4 ) ρ 2 + ρ 3 ( ( 1 2 4 0 0 8 8 0 0 0 0 0 )

      yields a free variable, so there are infinitely many solutions. For an example of a particular dependence we can set c 3 to be, say, 1 . Then we get c 2 = − 1 and c 1 = − 2 .

    2. It is dependent. The linear system that arises here

      ( 1 2 3 0 7 7 7 0 7 7 7 0 ) ⟶ − 7 ρ 1 + ρ 3 − 7 ρ 1 + ρ 2 ( ⟶ − ρ 2 + ρ 3 ( ( 1 2 3 0 0 − 7 − 14 0 0 0 0 0 )

      has infinitely many solutions. We can get a particular solution by taking c 3 to be, say, 1 , and back-substituting to get the resulting c 2 and c 1 .

    3. It is linearly independent. The system

      ( 0 1 0 0 0 0 − 1 4 0 ) ⟶ ρ 1 ↔ ρ 2 ( ⟶ ρ 3 ↔ ρ 1 ( ( − 1 4 0 0 1 0 0 0 0 )

      has only the solution c 1 = 0 and c 2 = 0 . (We could also have gotten the answer by inspection—the second vector is obviously not a multiple of the first, and vice versa.)

    4. It is linearly dependent. The linear system

      ( 9 2 3 12 0 9 0 5 12 0 0 1 − 4 − 1 0 )

      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

      ⟶ − ρ 1 + ρ 2 ( ⟶ ( 1 / 2 ) ρ 2 + ρ 3 ( ( 9 2 3 12 0 0 − 2 2 0 0 0 0 − 3 − 1 0 )

      and take, say, c 4 = 1 . Then we have that c 3 = − 1 / 3 , c 2 = − 1 / 3 , and c 1 = − 31 / 27 .

  2. Exercise 1.22 Worked answer

    Recommended. Which of these subsets of 𝒫 3 are linearly dependent and which are independent?

    1. { 3 − x + 9 x 2 , 5 − 6 x + 3 x 2 , 1 + 1 x − 5 x 2 }

    2. { − x 2 , 1 + 4 x 2 }

    3. { 2 + x + 7 x 2 , 3 − x + 2 x 2 , 4 − 3 x 2 }

    4. { 8 + 3 x + 3 x 2 , x + 2 x 2 , 2 + 2 x + 2 x 2 , 8 − 2 x + 5 x 2 }

    Back to Exercise 1.22

    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.)

    1. This set is independent. Setting up the relation c 1 ( 3 − x + 9 x 2 ) + c 2 ( 5 − 6 x + 3 x 2 ) + c 3 ( 1 + 1 x − 5 x 2 ) = 0 + 0 x + 0 x 2 gives a linear system

      ( 3 5 1 0 − 1 − 6 1 0 9 3 − 5 0 ) ⟶ − 3 ρ 1 + ρ 3 ( 1 / 3 ) ρ 1 + ρ 2 ( ⟶ 3 ρ 2 ( ⟶ − ( 12 / 13 ) ρ 2 + ρ 3 ( ( 3 5 1 0 0 − 13 4 0 0 0 − 128 / 13 0 )

      with only one solution: c 1 = 0 , c 2 = 0 , and c 3 = 0 .

    2. 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.

    3. This set is linearly independent. The linear system reduces in this way

      ( 2 3 4 0 1 − 1 0 0 7 2 − 3 0 ) ⟶ − ( 7 / 2 ) ρ 1 + ρ 3 − ( 1 / 2 ) ρ 1 + ρ 2 ( ⟶ − ( 17 / 5 ) ρ 2 + ρ 3 ( ( 2 3 4 0 0 − 5 / 2 − 2 0 0 0 − 51 / 5 0 )

      to show that there is only the solution c 1 = 0 , c 2 = 0 , and c 3 = 0 .

    4. This set is linearly dependent. The linear system

      ( 8 0 2 8 0 3 1 2 − 2 0 3 2 2 5 0 )

      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.

  3. Exercise 1.23 Worked answer

    Determine if each set is linearly independent in the natural space.

    1. { ( 1 2 0 ) , ( − 1 1 0 ) }

    2. { ( 1 3 1 ) , ( − 1 4 3 ) , ( − 1 11 7 ) }

    3. { ( 5 4 1 2 ) , ( 0 0 0 0 ) , ( 1 0 − 1 4 ) }

    Back to Exercise 1.23

    Answer.

    1. The natural vector space is ℝ 3 . Set up the equation

      ( 0 0 0 ) = c 1 ( 1 2 0 ) + c 2 ( − 1 1 0 )

      and consider the resulting homogeneous system.

      ( 1 − 1 0 2 1 0 0 0 0 ) ⟶ − 2 ρ 1 + ρ 2 ( ( 1 − 1 0 0 3 0 0 0 0 )

      This has the unique solution, that c 1 = 0 , c 2 = 0 . So it is linearly independent.

    2. The natural vector space is the set of three-wide row vectors. The equation

      ( 0 0 0 ) = c 1 ( 1 3 1 ) + c 2 ( − 1 4 3 ) + c 3 ( − 1 11 7 )

      gives rise to a linear system

      ( 1 − 1 − 1 0 3 4 11 0 1 3 7 0 ) ⟶ − ρ 1 + ρ 3 − 3 ρ 1 + ρ 2 ( ( 1 − 1 − 1 0 0 7 14 0 0 4 8 0 ) ⟶ ( 4 / 7 ) ρ 2 + ρ 3 ( ( 1 − 1 − 1 0 0 7 14 0 0 0 0 0 )

      with infinitely many solutions, that is, more than just the trivial solution.

      { ( c 1 c 2 c 3 ) = ( − 1 − 2 1 ) c 3 ∣ c 3 ∈ ℝ }

      So the set is linearly dependent. One dependence comes from setting c 3 = 2 , giving c 1 = − 2 and c 2 = − 4 .

    3. Without having to set up a system we can see that the second element of the set is a multiple of the first (namely, 0 times the first).

  4. Exercise 1.24 Worked answer

    Recommended. Prove that each set { f , g } is linearly independent in the vector space of all functions from ℝ + to ℝ .

    1. f ( x ) = x and g ( x ) = 1 / x

    2. f ( x ) = cos ⁡ ( x ) and g ( x ) = sin ⁡ ( x )

    3. f ( x ) = e x and g ( x ) = ln ⁡ ( x )

    Back to Exercise 1.24

    Answer. Let Z : ℝ + → ℝ be the zero function Z ( x ) = 0 , which is the additive identity in the vector space under discussion.

    1. This set is linearly independent. Consider c 1 ⋅ f ( x ) + c 2 ⋅ g ( x ) = Z ( x ) . Plugging in x = 1 and x = 2 gives a linear system

      c 1 ⋅ 1 + c 2 ⋅ 1 = 0 c 1 ⋅ 2 + c 2 ⋅ ( 1 / 2 ) = 0

      with the unique solution c 1 = 0 , c 2 = 0 .

    2. This set is linearly independent. Consider c 1 ⋅ f ( x ) + c 2 ⋅ g ( x ) = Z ( x ) and plug in x = π and x = π / 2 to get

      c 1 ⋅ ( − 1 ) + c 2 ⋅ 0 = 0 c 1 ⋅ 0 + c 2 ⋅ 1 = 0

      which obviously gives c 1 = 0 , c 2 = 0 .

    3. This set is also linearly independent. Considering c 1 ⋅ f ( x ) + c 2 ⋅ g ( x ) = Z ( x ) and plugging in x = 1 and x = e

      c 1 ⋅ e + c 2 ⋅ 0 = 0 c 1 ⋅ e e + c 2 ⋅ 1 = 0

      gives that c 1 = 0 and c 2 = 0 .

  5. 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 ‘ 2 ’ stands for the constant function f ( x ) = 2 .)

    1. { 2 , 4 sin 2 ⁡ ( x ) , cos 2 ⁡ ( x ) }

    2. { 1 , sin ⁡ ( x ) , sin ⁡ ( 2 x ) }

    3. { x , cos ⁡ ( x ) }

    4. { ( 1 + x ) 2 , x 2 + 2 x , 3 }

    5. { cos ⁡ ( 2 x ) , sin 2 ⁡ ( x ) , cos 2 ⁡ ( x ) }

    6. { 0 , x , x 2 }

    Back to Exercise 1.25

    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.

    1. This set is dependent. The familiar relation sin 2 ⁡ ( x ) + cos 2 ⁡ ( x ) = 1 shows that 2 = c 1 ⋅ ( 4 sin 2 ⁡ ( x ) ) + c 2 ⋅ ( cos 2 ⁡ ( x ) ) is satisfied by c 1 = 1 / 2 and c 2 = 2 .

    2. This set is independent. Consider the relationship c 1 ⋅ 1 + c 2 ⋅ sin ⁡ ( x ) + c 3 ⋅ sin ⁡ ( 2 x ) = 0 (that ‘ 0 ’ is the zero function). Taking three suitable points such as x = π , x = π / 2 , x = π / 4 gives a system

      c 1 = 0 c 1 + c 2 = 0 c 1 + ( 2 / 2 ) c 2 + c 3 = 0

      whose only solution is c 1 = 0 , c 2 = 0 , and c 3 = 0 .

    3. By inspection, this set is independent. Any dependence cos ⁡ ( x ) = c ⋅ x is not possible since the cosine function is not a multiple of the identity function (we are applying Corollary 1.19).

    4. By inspection, we spot that there is a dependence. Because ( 1 + x ) 2 = x 2 + 2 x + 1 , we get that c 1 ⋅ ( 1 + x ) 2 + c 2 ⋅ ( x 2 + 2 x ) = 3 is satisfied by c 1 = 3 and c 2 = − 3 .

    5. This set is dependent. The easiest way to see that is to recall the trigonometric relationship cos 2 ⁡ ( x ) − sin 2 ⁡ ( x ) = cos ⁡ ( 2 x ) . (Remark. A person who doesn’t recall this, and tries some x ’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 x ’s, but a few tries will lead most people to look instead for a dependence.)

    6. This set is dependent, because it contains the zero object in the vector space, the zero polynomial.

  6. Exercise 1.26 Worked answer

    Does the equation sin 2 ⁡ ( x ) / cos 2 ⁡ ( x ) = tan 2 ⁡ ( x ) show that this set of functions { sin 2 ⁡ ( x ) , cos 2 ⁡ ( x ) , tan 2 ⁡ ( x ) } is a linearly dependent subset of the set of all real-valued functions with domain the interval ( − π / 2. . π / 2 ) of real numbers between − π / 2 and π / 2 ) ?

    Back to Exercise 1.26

    Answer. No, that equation is not a linear relationship. In fact this set is independent, as the system arising from taking x to be 0 , π / 6 and π / 4 shows.

  7. Exercise 1.27 Worked answer

    Is the x y -plane subset of the vector space ℝ 3 linearly independent?

    Back to Exercise 1.27

    Answer. No. Here are two members of the plane where the second is a multiple of the first.

    ( 1 0 0 ) , ( 2 0 0 )

    (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.)

  8. Exercise 1.28 Worked answer

    Recommended. Show that the nonzero rows of an echelon form matrix form a linearly independent set.

    Back to Exercise 1.28

    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.

  9. Exercise 1.29 Worked answer

    1. Show that if the set { u → , v → , w → } is linearly independent then so is the set { u → , u → + v → , u → + v → + w → } .

    2. What is the relationship between the linear independence or dependence of { u → , v → , w → } and the independence or dependence of { u → − v → , v → − w → , w → − u → } ?

    Back to Exercise 1.29

    Answer.

    1. Assume that { u → , v → , w → } is linearly independent, so that any relationship d 0 u → + d 1 v → + d 2 w → = 0 → leads to the conclusion that d 0 = 0 , d 1 = 0 , and d 2 = 0 .

      Consider the relationship c 1 ( u → ) + c 2 ( u → + v → ) + c 3 ( u → + v → + w → ) = 0 → . Rewrite it to get ( c 1 + c 2 + c 3 ) u → + ( c 2 + c 3 ) v → + ( c 3 ) w → = 0 → . Taking d 0 to be c 1 + c 2 + c 3 , taking d 1 to be c 2 + c 3 , and taking d 2 to be c 3 we have this system.

      c 1 + c 2 + c 3 = 0 c 2 + c 3 = 0 c 3 = 0

      Conclusion: the c ’s are all zero, and so the set is linearly independent.

    2. The second set is dependent

      1 ⋅ ( u → − v → ) + 1 ⋅ ( v → − w → ) + 1 ⋅ ( w → − u → ) = 0 →

      whether or not the first set is independent.

  10. Exercise 1.30 Worked answer

    Example 1.11 shows that the empty set is linearly independent.

    1. When is a one-element set linearly independent?

    2. How about a set with two elements?

    Back to Exercise 1.30

    Answer.

    1. A singleton set { v → } is linearly independent if and only if v → ≠ 0 → . For the ‘if’ direction, with v → ≠ 0 → , we can apply Lemma 1.5 by considering the relationship c ⋅ v → = 0 → and noting that the only solution is the trivial one:  c = 0 . For the ‘only if’ direction, just recall that Example 1.12 shows that { 0 → } is linearly dependent, and so if the set { v → } is linearly independent then v → ≠ 0 → .

      (Remark. Another answer is to say that this is the special case of Lemma 1.15 where S = ∅ .)

    2. 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 { v → 1 , v → 2 } is linearly dependent if and only if there is a relationship c 1 v → 1 + c 2 v → 2 = 0 → with either c 1 ≠ 0 or c 2 ≠ 0 (or both). That holds if and only if v → 1 = ( − c 2 / c 1 ) v → 2 or v → 2 = ( − c 1 / c 2 ) v → 1 (or both).

  11. Exercise 1.31 Worked answer

    In any vector space V , the empty set is linearly independent. What about all of V ?

    Back to Exercise 1.31

    Answer. This set is linearly dependent set because it contains the zero vector.

  12. Exercise 1.32 Worked answer

    Show that if { x → , y → , z → } is linearly independent then so are all of its proper subsets:  { x → , y → } , { x → , z → } , { y → , z → } , { x → } , { y → } , { z → } , and { } . Is that ‘only if’ also?

    Back to Exercise 1.32

    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 ℝ 2 and these vectors.

    x → = ( 1 0 ) , y → = ( 0 1 ) , z → = ( 1 1 )

  13. Exercise 1.33 Worked answer

    1. Show that this

      S = { ( 1 1 0 ) , ( − 1 2 0 ) }

      is a linearly independent subset of ℝ 3 .

    2. Show that

      ( 3 2 0 )

      is in the span of S by finding c 1 and c 2 giving a linear relationship.

      c 1 ( 1 1 0 ) + c 2 ( − 1 2 0 ) = ( 3 2 0 )

      Show that the pair c 1 , c 2 is unique.

    3. Assume that S is a subset of a vector space and that v → is in [ S ] , so that v → is a linear combination of vectors from S . Prove that if S is linearly independent then a linear combination of vectors from S adding to v → is unique (that is, unique up to reordering and adding or taking away terms of the form 0 ⋅ s → ). Thus S as a spanning set is minimal in this strong sense: each vector in [ S ] is a combination of elements of S a minimum number of times—only once.

    4. Prove that it can happen when S is not linearly independent that distinct linear combinations sum to the same vector.

    Back to Exercise 1.33

    Answer.

    1. The linear system arising from

      c 1 ( 1 1 0 ) + c 2 ( − 1 2 0 ) = ( 0 0 0 )

      has the unique solution c 1 = 0 and c 2 = 0 .

    2. The linear system arising from

      c 1 ( 1 1 0 ) + c 2 ( − 1 2 0 ) = ( 3 2 0 )

      has the unique solution c 1 = 8 / 3 and c 2 = − 1 / 3 .

    3. Suppose that S is linearly independent. Suppose that we have both v → = c 1 s → 1 + ⋯ + c n s → n and v → = d 1 t → 1 + ⋯ + d m t → m (where the vectors are members of S ). Now,

      c 1 s → 1 + ⋯ + c n s → n = v → = d 1 t → 1 + ⋯ + d m t → m

      can be rewritten in this way.

      c 1 s → 1 + ⋯ + c n s → n − d 1 t → 1 − ⋯ − d m t → m = 0 →

      Possibly some of the s → ’s equal some of the t → ’s; we can combine the associated coefficients (i.e., if s → i = t → j then ⋯ + c i s → i + ⋯ − d j t → j − ⋯ can be rewritten as ⋯ + ( c i − d j ) s → i + ⋯ ). That equation is a linear relationship among distinct (after the combining is done) members of the set S . We’ve assumed that S is linearly independent, so all of the coefficients are zero. If i is such that s → i does not equal any t → j then c i is zero. If j is such that t → j does not equal any s → i then d j is zero. In the final case, we have that c i − d j = 0 and so c i = d j .

      Therefore, the original two sums are the same, except perhaps for some 0 ⋅ s → i or 0 ⋅ t → j terms that we can neglect.

    4. This set is not linearly independent:

      S = { ( 1 0 ) , ( 2 0 ) } ⊂ ℝ 2

      and these two linear combinations give the same result

      ( 0 0 ) = 2 ⋅ ( 1 0 ) − 1 ⋅ ( 2 0 ) = 4 ⋅ ( 1 0 ) − 2 ⋅ ( 2 0 )

      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 c 1 s → 1 + ⋯ + c n s → n = 0 → then multiplying both sides of the relationship by two gives another relationship. If the first relationship is nontrivial then the second is also.

  14. 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:  x ↦ c n x n + ⋯ + c 1 x + c 0 .)

    Back to Exercise 1.34

    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 x ↦ 0 . For ‘only if’ we write p ( x ) = c n x n + ⋯ + c 0 . Plugging in zero p ( 0 ) = 0 gives that c 0 = 0 . Taking the derivative and plugging in zero p ′ ( 0 ) = 0 gives that c 1 = 0 . Similarly we get that each c i is zero, and p is the zero polynomial.

  15. Exercise 1.35 Worked answer

    Return to Section 1.2 and redefine point, line, plane, and other linear surfaces to avoid degenerate cases.

    Back to Exercise 1.35

    Answer. The work in this section suggests that we should define an n -dimensional non-degenerate linear surface as the span of a linearly independent set of n vectors.

  16. Exercise 1.36 Worked answer

    1. Show that any set of four vectors in ℝ 2 is linearly dependent.

    2. Is this true for any set of five? Any set of three?

    3. What is the most number of elements that a linearly independent subset of ℝ 2 can have?

    Back to Exercise 1.36

    Answer.

    1. For any a 1 , 1 , …, a 2 , 4 ,

      c 1 ( a 1 , 1 a 2 , 1 ) + c 2 ( a 1 , 2 a 2 , 2 ) + c 3 ( a 1 , 3 a 2 , 3 ) + c 4 ( a 1 , 4 a 2 , 4 ) = ( 0 0 )

      yields a linear system

      a 1 , 1 c 1 + a 1 , 2 c 2 + a 1 , 3 c 3 + a 1 , 4 c 4 = 0 a 2 , 1 c 1 + a 2 , 2 c 2 + a 2 , 3 c 3 + a 2 , 4 c 4 = 0

      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 ℝ 2 .

    2. Any set five vectors is a superset of a set of four vectors, and so is linearly dependent.

      With three vectors from ℝ 2 , 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).

    3. The prior item shows that no three-element subset of ℝ 2 is independent. We know that there are two-element subsets of ℝ 2 that are independent—one is

      { ( 1 0 ) , ( 0 1 ) }

      and so the answer is two.

  17. Exercise 1.37 Worked answer

    Is there a set of four vectors in ℝ 3 such that any three form a linearly independent set?

    Back to Exercise 1.37

    Answer. Yes; here is one.

    { ( 1 0 0 ) , ( 0 1 0 ) , ( 0 0 1 ) , ( 1 1 1 ) }

  18. Exercise 1.38 Worked answer

    Must every linearly dependent set have a subset that is dependent and a subset that is independent?

    Back to Exercise 1.38

    Answer. Yes. Fix any vector space  V , and let S be a linearly dependent subset of  V . For a subset of  S that is dependent we can take  S itself. For a subset of  S that is independent we can take the empty set.

  19. Exercise 1.39 Worked answer

    In ℝ 4 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.)

    Back to Exercise 1.39

    Answer. In ℝ 4 the biggest linearly independent set has four vectors. There are many examples of such sets, this is one.

    { ( 1 0 0 0 ) , ( 0 1 0 0 ) , ( 0 0 1 0 ) , ( 0 0 0 1 ) }

    To see that no set with five or more vectors can be independent, set up

    c 1 ( a 1 , 1 a 2 , 1 a 3 , 1 a 4 , 1 ) + c 2 ( a 1 , 2 a 2 , 2 a 3 , 2 a 4 , 2 ) + c 3 ( a 1 , 3 a 2 , 3 a 3 , 3 a 4 , 3 ) + c 4 ( a 1 , 4 a 2 , 4 a 3 , 4 a 4 , 4 ) + c 5 ( a 1 , 5 a 2 , 5 a 3 , 5 a 4 , 5 ) = ( 0 0 0 0 )

    and note that the resulting linear system

    a 1 , 1 c 1 + a 1 , 2 c 2 + a 1 , 3 c 3 + a 1 , 4 c 4 + a 1 , 5 c 5 = 0 a 2 , 1 c 1 + a 2 , 2 c 2 + a 2 , 3 c 3 + a 2 , 4 c 4 + a 2 , 5 c 5 = 0 a 3 , 1 c 1 + a 3 , 2 c 2 + a 3 , 3 c 3 + a 3 , 4 c 4 + a 3 , 5 c 5 = 0 a 4 , 1 c 1 + a 4 , 2 c 2 + a 4 , 3 c 3 + a 4 , 4 c 4 + a 4 , 5 c 5 = 0

    has four equations and five unknowns, so Gauss’s Method must end with at least one c 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 ℝ 4 . The smallest is { 0 → } .

  20. 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.

    1. How does linear independence relate to intersection: can an intersection of linearly independent sets be independent? Must it be?

    2. How does linear independence relate to complementation?

    3. Show that the union of two linearly independent sets can be linearly independent.

    4. Show that the union of two linearly independent sets need not be linearly independent.

    Back to Exercise 1.40

    Answer.

    1. The intersection of two linearly independent sets S ∩ T must be linearly independent as it is a subset of the linearly independent set S (as well as the linearly independent set T also, of course).

    2. The complement of a linearly independent set is linearly dependent as it contains the zero vector.

    3. A simple example in ℝ 2 is these two sets.

      S = { ( 1 0 ) } T = { ( 0 1 ) }

      A somewhat subtler example, again in ℝ 2 , is these two.

      S = { ( 1 0 ) } T = { ( 1 0 ) , ( 0 1 ) }

    4. We must produce an example. One, in ℝ 2 , is

      S = { ( 1 0 ) } T = { ( 2 0 ) }

      since the linear dependence of S 1 ∪ S 2 is easy to see.

  21. Exercise 1.41 Worked answer

    Continued from prior exercise. What is the interaction between the property of linear independence and the operation of union?

    1. We might conjecture that the union S ∪ T of linearly independent sets is linearly independent if and only if their spans have a trivial intersection [ S ] ∩ [ T ] = { 0 → } . What is wrong with this argument for the ‘if’ direction of that conjecture? “If the union S ∪ T is linearly independent then the only solution to c 1 s → 1 + ⋯ + c n s → n + d 1 t → 1 + ⋯ + d m t → m = 0 → is the trivial one c 1 = 0 , …, d m = 0 . So any member of the intersection of the spans must be the zero vector because in c 1 s → 1 + ⋯ + c n s → n = d 1 t → 1 + ⋯ + d m t → m each scalar is zero.”

    2. Give an example showing that the conjecture is false.

    3. Find linearly independent sets S and T so that the union of S − ( S ∩ T ) and T − ( S ∩ T ) is linearly independent, but the union S ∪ T is not linearly independent.

    4. Characterize when the union of two linearly independent sets is linearly independent, in terms of the intersection of spans.

    Back to Exercise 1.41

    Answer.

    1. Lemma 1.5 requires that the vectors s → 1 , … , s → n , t → 1 , … , t → m be distinct. But we could have that the union S ∪ T is linearly independent with some s → i equal to some t → j .

    2. One example in ℝ 2 is these two.

      S = { ( 1 0 ) } T = { ( 1 0 ) , ( 0 1 ) }

    3. An example from ℝ 2 is these sets.

      S = { ( 1 0 ) , ( 0 1 ) } T = { ( 1 0 ) , ( 1 1 ) }

    4. The union of two linearly independent sets S ∪ T is linearly independent if and only if their spans of S and T − ( S ∩ T ) have a trivial intersection [ S ] ∩ [ T − ( S ∩ T ) ] = { 0 → } . To prove that, assume that S and T are linearly independent subsets of some vector space.

      For the ‘only if’ direction, assume that the intersection of the spans is trivial [ S ] ∩ [ T − ( S ∩ T ) ] = { 0 → } . Consider the set S ∪ ( T − ( S ∩ T ) ) = S ∪ T and consider the linear relationship c 1 s → 1 + ⋯ + c n s → n + d 1 t → 1 + ⋯ + d m t → m = 0 → . Subtracting gives c 1 s → 1 + ⋯ + c n s → n = − d 1 t → 1 − ⋯ − d m t → m . The left side of that equation sums to a vector in [ S ] , and the right side is a vector in [ T − ( S ∩ T ) ] . Therefore, since the intersection of the spans is trivial, both sides equal the zero vector. Because S is linearly independent, all of the c ’s are zero. Because T is linearly independent so also is T − ( S ∩ T ) linearly independent, and therefore all of the d ’s are zero. Thus, the original linear relationship among members of S ∪ T only holds if all of the coefficients are zero. Hence, S ∪ T is linearly independent.

      For the ‘if’ half we can make the same argument in reverse. Suppose that the union S ∪ T is linearly independent. Consider a linear relationship among members of S and T − ( S ∩ T ) . c 1 s → 1 + ⋯ + c n s → n + d 1 t → 1 + ⋯ + d m t → m = 0 → Note that no s → i is equal to a t → j so that is a combination of distinct vectors, as required by Lemma 1.5. So the only solution is the trivial one c 1 = 0 , …, d m = 0 . Since any vector v → in the intersection of the spans [ S ] ∩ [ T − ( S ∩ T ) ] we can write v → = c 1 s → 1 + ⋯ + c n s → n = − d 1 t → 1 − ⋯ − d m t → m , and it must be the zero vector because each scalar is zero.

  22. Exercise 1.42 Worked answer

    For Corollary 1.17,

    1. fill in the induction for the proof;

    2. 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.

    Back to Exercise 1.42

    Answer.

    1. We do induction on the number of vectors in the finite set S .

      The base case is that S has no elements. In this case S is linearly independent and there is nothing to check—a subset of S that has the same span as S is S itself.

      For the inductive step assume that the theorem is true for all sets of size n = 0 , n = 1 , …, n = k in order to prove that it holds when S has n = k + 1 elements. If the k + 1 -element set S = { s → 0 , … , s → k } is linearly independent then the theorem is trivial, so assume that it is dependent. By Corollary 1.19 there is an s → i that is a linear combination of other vectors in S . Define S 1 = S − { s → i } and note that S 1 has the same span as S by Corollary 1.3. The set S 1 has k elements and so the inductive hypothesis applies to give that it has a linearly independent subset with the same span. That subset of S 1 is the desired subset of S .

    2. Here is a sketch of the argument. We have left out the induction argument details.

      If the finite set S is empty then there is nothing to prove. If S = { 0 → } then the empty subset will do.

      Otherwise, take some nonzero vector s → 1 ∈ S and define S 1 = { s → 1 } . If [ S 1 ] = [ S ] then we are finished with this proof by noting that S 1 is linearly independent.

      If not, then there is a nonzero vector s → 2 ∈ S − [ S 1 ] (if every s → ∈ S is in [ S 1 ] then [ S 1 ] = [ S ] ). Define S 2 = S 1 ∪ { s → 2 } . If [ S 2 ] = [ S ] then we are finished by using Theorem 1.19 to show that S 2 is linearly independent.

      Repeat the last paragraph until a set with a big enough span appears. That must eventually happen because S is finite, and [ S ] will be reached at worst when we have used every vector from S .

  23. 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.

    1. Show that this subset of ℝ 2

      { ( a c ) , ( b d ) }

      is linearly independent if and only if a d − b c ≠ 0 .

    2. Show that this subset of ℝ 3

      { ( a d g ) , ( b e h ) , ( c f i ) }

      is linearly independent iff a e i + b f g + c d h − h f a − i d b − g e c ≠ 0 .

    3. When is this subset of ℝ 3

      { ( a d g ) , ( b e h ) }

      linearly independent?

    4. This is an opinion question: for a set of four vectors from ℝ 4 , 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.)

    Back to Exercise 1.43

    Answer.

    1. Assuming first that a ≠ 0 ,

      x ( a c ) + y ( b d ) = ( 0 0 )

      gives

      a x + b y = 0 c x + d y = 0 ⟶ − ( c / a ) ρ 1 + ρ 2 ( a x + b y = 0 ( − ( c / a ) b + d ) y = 0

      which has a solution if and only if 0 ≠ − ( c / a ) b + d = ( − c b + a d ) / d (we’ve assumed in this case that a ≠ 0 , and so back substitution yields a unique solution).

      The a = 0 case is also not hard—break it into the c ≠ 0 and c = 0 subcases and note that in these cases a d − b c = 0 ⋅ d − b c .

      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.

    2. The equation

      c 1 ( a d g ) + c 2 ( b e h ) + c 3 ( c f i ) = ( 0 0 0 )

      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 a ≠ 0 . With that, we can clear down the first column.

      ⟶ ( 1 / a ) ρ 1 ( ( 1 b / a c / a 0 d e f 0 g h i 0 ) ⟶ − g ρ 1 + ρ 3 − d ρ 1 + ρ 2 ( ( 1 b / a c / a 0 0 ( a e − b d ) / a ( a f − c d ) / a 0 0 ( a h − b g ) / a ( a i − c g ) / a 0 )

      Then we get a 1 in the second row, second column entry. (Assuming for the moment that a e − b d ≠ 0 , in order to do the row reduction step.)

      ⟶ ( a / ( a e − b d ) ) ρ 2 ( ( 1 b / a c / a 0 0 1 ( a f − c d ) / ( a e − b d ) 0 0 ( a h − b g ) / a ( a i − c g ) / a 0 )

      Then, under the assumptions, we perform the row operation ( ( a h − b g ) / a ) ρ 2 + ρ 3 to get this.

      ( 1 b / a c / a 0 0 1 ( a f − c d ) / ( a e − b d ) 0 0 0 ( a e i + b g f + c d h − h f a − i d b − g e c ) / ( a e − b d ) 0 )

      Therefore, the original system is nonsingular if and only if the above 3 , 3 entry is nonzero (this fraction is defined because of the a e − b d ≠ 0 assumption). It equals zero if and only if the numerator is zero.

      We next worry about the assumptions. First, if a ≠ 0 but a e − b d = 0 then we swap

      ( 1 b / a c / a 0 0 0 ( a f − c d ) / a 0 0 ( a h − b g ) / a ( a i − c g ) / a 0 ) ⟶ ρ 2 ↔ ρ 3 ( ( 1 b / a c / a 0 0 ( a h − b g ) / a ( a i − c g ) / a 0 0 0 ( a f − c d ) / a 0 )

      and conclude that the system is nonsingular if and only if either a h − b g = 0 or a f − c d = 0 . That’s the same as asking that their product be zero:

      a h a f − a h c d − b g a f + b g c d = 0 a h a f − a h c d − b g a f + a e g c = 0 a ( h a f − h c d − b g f + e g c ) = 0

      (in going from the first line to the second we’ve applied the case assumption that a e − b d = 0 by substituting a e for b d ). Since we are assuming that a ≠ 0 , we have that h a f − h c d − b g f + e g c = 0 . With a e − b d = 0 we can rewrite this to fit the form we need: in this a ≠ 0 and a e − b d = 0 case, the given system is nonsingular when h a f − h c d − b g f + e g c − i ( a e − b d ) = 0 , as required.

      The remaining cases have the same character. Do the a = 0 but d ≠ 0 case and the a = 0 and d = 0 but g ≠ 0 case by first swapping rows and then going on as above. The a = 0 , d = 0 , and g = 0 case is easy—a set with a zero vector is linearly dependent, and the formula comes out to equal zero.

    3. It is linearly dependent if and only if either vector is a multiple of the other. That is, it is not independent iff

      ( a d g ) = r ⋅ ( b e h ) or ( b e h ) = s ⋅ ( a d g )

      (or both) for some scalars r and s . Eliminating r and s in order to restate this condition only in terms of the given letters a , b , d , e , g , h , we have that it is not independent—it is dependent—iff a e − b d = a h − g b = d h − g e .

    4. 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).

  24. Exercise 1.44 Worked answer

    Recommended.

    1. Prove that a set of two perpendicular nonzero vectors from ℝ n is linearly independent when n > 1 .

    2. What if n = 1 ? n = 0 ?

    3. Generalize to more than two vectors.

    Back to Exercise 1.44

    Answer. Recall that two vectors from ℝ n are perpendicular if and only if their dot product is zero.

    1. Assume that v → and w → are perpendicular nonzero vectors in ℝ n , with n > 1 . With the linear relationship c v → + d w → = 0 → , apply v → to both sides to conclude that c ⋅ ‖ v → ‖ 2 + d ⋅ 0 = 0 . Because v → ≠ 0 → we have that c = 0 . A similar application of w → shows that d = 0 .

    2. Two vectors in ℝ 1 are perpendicular if and only if at least one of them is zero.

      We define ℝ 0 to be a trivial space, and so both v → and w → are the zero vector.

    3. The right generalization is to look at a set { v → 1 , … , v → n } ⊆ ℝ k of vectors that are mutually orthogonal (also called pairwise perpendicular): if i ≠ j then v → i is perpendicular to v → j . Mimicking the proof of the first item above shows that such a set of nonzero vectors is linearly independent.

  25. Exercise 1.45 Worked answer

    Consider the set of functions from the interval ( − 1 … 1 ) ⊆ ℝ to ℝ .

    1. Show that this set is a vector space under the usual operations.

    2. Recall the formula for the sum of an infinite geometric series: 1 + x + x 2 + ⋯ = 1 / ( 1 − x ) for all x ∈ ( − 1. .1 ) . Why does this not express a dependence inside of the set { g ( x ) = 1 / ( 1 − x ) , f 0 ( x ) = 1 , f 1 ( x ) = x , f 2 ( x ) = x 2 , … } (in the vector space that we are considering)? (Hint. Review the definition of linear combination.)

    3. 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.

    Back to Exercise 1.45

    Answer.

    1. This check is routine.

    2. The summation is infinite (has infinitely many summands). The definition of linear combination involves only finite sums.

    3. No nontrivial finite sum of members of { g , f 0 , f 1 , … } adds to the zero object: assume that

      c 0 ⋅ ( 1 / ( 1 − x ) ) + c 1 ⋅ 1 + ⋯ + c n ⋅ x n = 0

      (any finite sum uses a highest power, here n ). Multiply both sides by 1 − x to conclude that each coefficient is zero, because a polynomial describes the zero function only when it is the zero polynomial.

  26. Exercise 1.46 Worked answer

    Show that, where S is a subspace of V , if a subset T of S is linearly independent in S then T is also linearly independent in V . Is that ‘only if’?

    Back to Exercise 1.46

    Answer. It is both ‘if’ and ‘only if’.

    Let T be a subset of the subspace S of the vector space V . The assertion that any linear relationship c 1 t → 1 + ⋯ + c n t → n = 0 → among members of T must be the trivial relationship c 1 = 0 , …, c n = 0 is a statement that holds in S if and only if it holds in V , because the subspace S inherits its addition and scalar multiplication operations from V .

References cited in this section


  1. See also Remark 1.13.↩︎