Jump to content

Linear independence – "Math for Non-Geeks"

From Wikibooks, open books for an open world

Motivation

[edit | edit source]

Basic motivation

[edit | edit source]

Maybe, you learned about vectors in school, where they were drawn as arrows in the plane or in space. Both a plane and space are vector spaces. But how do they differ?

A spontaneous answer could be: "The plane is two-dimensional, and the space is three-dimensional". But this brings us immediately to further questions:

  • What is the dimension of a vector space?
  • How can we define it?

In the definition of the vector space the term "dimension" does not occur...


Intuition of a dimension

[edit | edit source]
A sphere is a three-dimensional object

The term "dimension" describes in how many independent directions geometric objects can be extended in a space. The objects can also move in just as many independent directions in space ("degrees of freedom of motion").

The plane has two dimensions - the width and the length. It is flat, no object of the plane can reach out of it "into height". A sphere as a three-dimensional object cannot be part of the plane. In contrast, the space with length, width and height has three dimensions. A sphere can thus be part of space.

We summarize: The dimension intuitively corresponds to the number of independent directions into which a geometric object can expand or move. So, for the definition of dimension, we need to answer the following questions:

  • What is a direction in a vector space?
  • When are two directions independent?
  • How can the number of independent directions be determined?

Derivation of the Definition

[edit | edit source]

What is a direction within a vector space?

[edit | edit source]

Let's take the vector space of the plane as an example. We can represent a direction with an arrow:

Arrow that highlights one direction in the plane
Arrow that highlights one direction in the plane

Now, an arrow is nothing but a vector. So with the help of vectors, directions can be represented. Here we must not use the zero vector. As an arrow of length zero, it has no direction. We can generalize this to arbitrary vector spaces:

Important!

Every vector not equal to the zero vector represents a direction in a vector space.

The direction in which the vector points is α⋅v:α∈ℝ}, that is, the span span⁡({v}) of the vector v. To this span belong all extensions αv of the direction vector v and thus describes the straight line, which is spanned by v:

A straight line described by the vector v
A straight line described by the vector v

From the line to the plane

[edit | edit source]

To get from the straight line to the plane, we need not only one vector but several, more precisely at least two vectors (v,w). This is intuitively obvious, because a plane can be spanned unambiguously only with two vectors. Therefore, we need a further, linearly independent vector. What does "independent" mean in this case? First, we notice that the new vector must not be the zero vector. This vector does not give any direction. Furthermore, the new vector must also not be a multiple of the original vector, i.e. w≠αv . This also holds for reflections of straight line vectors, represented by multiplication with a negative factor.


We conclude: The new vector w is independent of the direction vector v exactly when the latter is not on the straight line. So we need w≠αv for all real numbers α. Hence, the new vector must not be in the span of the other one. The two spans have only the zero point as intersection.

From the plane to space

[edit | edit source]

We have just seen that we can characterize a plane by two independent vectors. Now we want to go from the plane to space. Here, we also have to add an independent direction. But what is a direction independent of the plane?

The new vector must not be the zero vector, because this vector does not indicate a direction. The new vector must also not lie in the plane, because in that case, no new direction would be described. Only if the new vector does not lie in the plane, it will point in a new, independent direction:

How can we formulate this insight mathematically? Let v and w be the two direction vectors spanning the plane. This plane is then equal to the set {αv+βw:α,β∈ℝ}. Hence, the plane is the set of all sums αv+βw for real numbers α,β∈ℝ. In order for the new vector u not to be in the plane, it must be u≠αv+βw for all α,β∈ℝ. Thus, u in independent of <ma

Question: We had first required that the new vector u must not be the zero vector. Why is it sufficient that u≠αv+βw for all α,β∈ℝ? And why does this imply u≠0 ?

For α=β=0 we have αv+βw=0. Since also for α=β=0 the new vector u shall not be equal to αv+βw , we have u≠0.

Question: Is it sufficient that u is no multiple of v or w ?

No, take for example u=12v+12w. If v is independent of w , then u is neither a stretched version of v , nor one of w. However, this vector lies in the plane spanned by v and w , so it does not point into a direction independent of v and w.

A first criterion for linear independence

[edit | edit source]

Let's summarize: To describe a straight line we needed a vector v not being the zero vector. In the transition from the straight line to the plane, we had to add a vector v independent of w. Independence of w from v means that w does not lie in the line described by v . So we need to have w≠αv for all α∈ℝ.

In the second step, we added a new direction u to the plane, which is independent of the two vectors v and w. Here independence manifests itself in the fact that u is not in the plane spanned by v and w . Hence, we need u≠αv+βw for all real numbers α and β. We can generalise this to an arbitrary number of vectors (but it is not so easy to visualize anymore):

Important!

The vector w is independent of the vectors v1,v2…vn, if w≠λ1v1+λ2v2+…+λnvn for all λ1,λ2,…λn∈ℝ.

In the above description, the sum λ1v1+λ2v2+…+λnvn appears. Such a sum is called linear combination of the vectors v1 to vn . We may also say that w is linearly independent if w∉span⁡{v1,...,vn}. The description can be changed to:

Important!

The vector w is independent of the vectors v1,v2…vn, if w cannot be written as a linear combination of the vectors v1 to vn.

Here we have clarified when a vector is independent of other vectors. Is this sufficient to describe the independence of vectors?! Take the following three vectors a, b and c as an example:

Three vectors lying in one plane
Three vectors lying in one plane

Since no vector is a multiple of another vector, the three vectors, seen in pairs, point in independent directions. For example a is independent of b and cis independent of a. So the three vectors are not independent of each other because they all lie in one plane. We have c=a+b and so c is independent of a and b. Accordingly, we have to impose linear independence between a, b and c:

  • a is independent of b and c: We have a≠βb+γc for all β,γ∈ℝ.
  • b is independent of a and c: We have b≠αa+γc for all α,γ∈ℝ.
  • c is independent of a and b: We have c≠αa+βb for all α,β∈ℝ.

It should be emphasised at this point that it is necessary to require all three conditions. If we were to waive the last two conditions, the first requirement would guarantee that the vector a is linearly independent of the vectors b and c, but it is not clear from this requirement that b and c are linearly independent of each other. This does not have to be fulfilled, which would mean that the three vectors would again not be linearly independent of each other.

Therefore, none of the three vectors must be able to be represented as a linear combination of the other two vectors. Otherwise, at least one of the vectors is dependent on the other vectors. We can generalise this to any number of vectors:


Definition (Second criterion for linear independence)

Some vectors v1 to vn are linearly independent if none of the vectors can be written as a linear combination of the other vectors. This means that the following must apply:

  • v1≠λ2v2+λ3v3+…+λnvn for all λ2,λ3,…λn∈ℝ.
  • v2≠λ1v1+λ3v3+…+λnvn for all λ1,λ3,…λn∈ℝ.
  • ...
  • vn≠λ1v1+λ2v2+…+λn−1vn−1 for all λ1,λ2,…λn−1∈ℝ.

So v1 to vn are linearly independent, if vi≠∑j≠iλjvj for all i∈{1,2,…,n} and λj∈ℝ.

From the first criterion to the formal definition

[edit | edit source]

With our first criterion, which we found above, we have already found a suitable definition for linear independence of vectors. In the following, we will try to find a more concise equivalent criterion, with which we can examine the linear independence of vectors more easily.

Vectors are independent if no vector can be represented as a linear combination of the other vectors. From this we will derive another criterion for linear independence, which is less computationally demanding. Let us take vectors v1, v2 to vn from a vector space V that are not independent. So there is one vector that can be represented by the others. Let v1 be this vector. There are thus stretching factors (scalars) λ2 to λn, such that v1=λ2v2+λ3v3+…+λnvn We can transform this equation by computing −v1 on both sides (0V is the zero vector of the vector space V): 0V=−v1+λ2v2+λ3v3+…+λnvn This is a so-called nontrivial linear combination of the zero vector. A nontrivial linear combination of the zero vector is a linear combination with the result 0V where at least one coefficient is not equal to 0. For λ1=λ2=…=λn=0 we would trivially λ1v1+λ2v2+λ3v3+…+λnvn=0V. This is the so-called trivial linear combination of the zero vector, where all coefficients are equal to 0. You can always form this trivial linear combination, no matter which vectors v1 to vn you choose. So it does not carry information. If v1 to vn are dependent, there is at least one non-trivial linear combination of the zero vector (as we saw above) in addition to the trivial linear combination. So:

Important!

If v1 to vn are linearly dependent, then the zero vector can be represented by at least one non-trivial linear combination of v1 to vn.

In other words:

Important!

v1,…,vn linearly dependent ⟹ There exists a non-trivial linear combination of 0V using v1,…,vn

Now we can apply the principle of contraposition: A⟹B holds if and only if ¬B⟹¬A. So:

Important!

There is no non-trivial linear combination of 0V using v1,…,vn⟹v1,…,vn are linearly independent

With this we have found a criterion for linear independence. If the zero vector can only be represented trivially by a linear combination of v1 to vn, then these vectors are linearly independent. However, this criterion can also be used as a definition of linear independence. To do this, we need to show the converse direction of the above implication. If there is a non-trivial linear combination of the zero vector, then the vectors under consideration are linearly dependent.

So let v1 to vn be vectors for which there exists a non-trivial linear combination of the zero vector. This means, there are coefficients (scalars) λ1 to λn, such that λ1v1+…+λnvn=0V where at least one of the coefficients λ1 to λn is not 0. Let λi be this coefficient. Then

0V=λ1v1+λ2v2+…+λivi+…+λnvn

Since λi≠0 we can multiply both sides by −λi−1=−1λi . Then,

0V=−λ1λiv1−λ2λiv2−…−vi−…−λnλivn

On both sides we can now add vi:

vi=−λ1λiv1−λ2λiv2−…−λi−1λivi−1−λi+1λivi+1−…−λnλivn

Thus vi can be represented as a linear combination of the other vectors and hence the vectors v1 to vn are linearly dependent. This proves that the following definition of linear independence is equivalent to the first one:

Definition (Second criterion for linear independence)

The vectors v1,…,vn are linearly independent if the only linear combination of them resulting in the zero vector is the trivial linear combination, i.e. if we have α1,…,αn∈K with 0V=∑i=1nαivi, the αi=0 must hold for all i∈{1,…,n}.

If there is at least one non-trivial linear combination of the zero vector, the considered vectors are linearly dependent.

Definition of a family

[edit | edit source]

We have talked above about several vectors v1,…,vn being linearly independent. But what is this "collection" of vectors v1,…,vn from a mathematical point of view? We already know the notion of a set. So it is obvious to understand M={v1,…,vn} also as a set. Does this view intuitively fit linear independence? Actually, it turns out problematic, if we have two equal vectors v,v with v≠0. Both point in the same direction and span no two independent directions. Thus, they are intuitively linearly dependent. And indeed, one can be written as a linear combination of the other as v=1⋅v. Thus, the vectors v,v are also strictly mathematically linearly dependent. However, a set may only contain different elements. That is, the set containing v and v is M={v,v}={v}. So the set M contains only one element and does not capture duplications of vectors.

So we need a new mathematical term that also captures duplications. This is the concept of family:


Definition (family)

A family (ai)i∈I of elements from a set A consists of an index set I, such that every index i∈I gets assigned an element ai∈A.

If I a finite set, we call it a finite family.

If I⊆J, then one calls (ai)i∈I a sub-family of (ai)i∈J. Conversely, (ai)i∈J is then called a super-family of (ai)i∈I.

Formally, a family can be seen as a mapping of the index set I into the set A. In contrast to sets, elements may occur more than once in families, namely if they belong to different indices.

If the set I is countable, the elements of the family can be numbered: (a1,a2,…). However, the index set I may also be uncountable, e.g. I=ℝ. In this case (ai)i∈ℝ cannot be written as a sequence (a1,a2,…). The term family thus contains all sequences, and includes even larger "collections" of mathematical objects.

So when we say the vectors v and v are linearly dependent we can express it by saying that the family (vi)i∈{1,2} with v1=v2=v is linearly dependent.

Often one writes (with slight abuse of notation) (ai)⊆A if the ai are elements of A and it is clear from the context what the index set I looks like. Similarly, a∈(ai) means that there is an i∈I with ai=a.

With this we can rewrite the second definition of linear independence:


Definition (Second criterion for linear independence, new version)

The family (v1,…,vn) of vectors is linearly independent if the only linear combination representing the zero vector is the trivial linear combination, i.e. if α1,…,αn∈K with 0V=∑i=1nαivi, then αi=0 for all i∈{1,…,n}.

General definition of linear independence

[edit | edit source]

Motivation

[edit | edit source]

We have learned above two definitions for the fact that finitely many vectors v1,…,vn∈V are linearly independent:

  1. A somewhat unwieldy: vectors are independent if no vector vk can be written as a linear combination of the others. So vk=λ1v1+…+λk−1vk−1+λk+1vk+1+…+λnvn must not occur.
  2. A somewhat more compact one: The zero vector 0V can only be represented as a trivial linear combination. So 0V=λ1v1+…+λnvn implies λ1=…=λn=0.


So far we have only considered finitely many vectors. What happens with infinitely many vectors? Can there even be an infinite number of linearly independent vectors? We would need a vector space that has infinitely many linearly independent directions. We know intuitively that the vector space ℝ2 has at most two and the ℝ3 at most three independent directions. So we need a much "bigger" vector space to get infinitely many independent directions. So we consider a vector space V where every vector has infinitely many coordinates: v=(x1,x2,…) with x1,x2,…∈ℝ. Accordingly, v corresponds to a real sequence (xi)i∈ℕ and V is the sequences vector space, or sequence space.

In ℝd we have the linearly independent unit vectors (1,0,…,0),(0,1,…,0),…,(0,…,0,1). We can continue this construction and obtain for i∈ℕ the vectors ei=(0,…,0,1,0,…) with the 1 at the i-th place and otherwise 0.

The infinitely many vectors e1,e2,… form a family (ei)i∈ℕ. This family intuitively represents "infinitely many different directions" in V and is thus intuitively linearly independent. So it makes sense to define linear independence for infinitely many vectors in such a way that (ei)i∈ℕ is a linearly independent family. The "somewhat unwieldy definition 1." above would be suitable for this in principle: We could simply copy it and say "a family of vectors (vi)i∈ℕ is linearly independent if no vi can be written as a linear combination of the others". In fact, in (ei)i∈ℕ none of the ei can be written as a linear combination of the other vectors. Therefore, the definition already makes sense at this point. However, there are infinitely many ei and thus infinitely many conditions!

We prefer to consider the "somewhat more compact definition 2.": "Vectors (vi)i∈ℕ are linearly independent if 0V can only be represented by the trivial linear combination." What does this formulation mean explicitly in this example? We are given a linear combination of 0V∈V. Linear combinations are finite, that is, we have finitely many vectors ei1,…,ein and λ1,…,λn∈ℝ such that

0V=λ1ei1+…+λnein.

We now have to show that all λi=0, since then the linear combination of 0V∈V above is trivial. This works in exactly the same way as in ℝd, except that here we have to compare infinitely many entries.

What do we have to do now to get a general definition for general families and general vector spaces? The "somewhat more compact definition 2." carries over almost literally: "A family (vi)i∈I of vectors is linearly independent if 0V can only be represented by the trivial linear combination." For the written out implication, we can make use of our language of families: We replace the double indices by the word "sub-family".


Definition

[edit | edit source]
Definition (Linear dependence and independence of vectors)

Let K be a field, V be a K-vector space and (vi)i∈I⊆V a family of vectors from V.

(vi)i∈I is called linearly independent, if for every finite sub-family (vj)j∈J and all λj∈K with j∈J the following holds: ∑j∈Jλjvj=0V⟹λj=0 for all j∈J A family (vi)i∈I⊆V is called linearly dependent, if it is not linearly independent.

Warning

Linear combinations of elements of a set always consist of finitely many summands, even if the set is infinite.

E.g. the family (ex,1,x,x2,…) is linearly independent in the vector space Fun⁡(ℝ,ℝ), although ex=∑k=0∞xkk!. This is because the exponential function is not a finite linear combination of the monomials.

Hint

You may often find the term "linearly independent set" instead of "linearly independent family". We have already considered above that it makes more sense to use families here, because unlike sets, families also cover duplications of elements. From every set M one can construct the family (m)m∈M. Thus, the term "linearly (in)dependent" carries over to sets. Linearly independent families do not contain a vector twice. Families without double elements correspond to sets via the above construction. If we want to have a family of linearly independent vectors (e.g. in the preconditions of a set), we can also ask for a set of linearly independent vectors. If we want to test whether a family of vectors is linearly independent, we cannot first convert it into a set. Because there, doublings disappear and cause linear dependence.

Hint

The definition of linear (in)dependence refers to subfamilies of a vector space. These may contain vectors several times and may even be uncountable.

For finite families, we alternatively talk about the elements, i.e. the statement "The family (v1,v2,…vn) is linearly (in)dependent" becomes "v1,v2,…vn are linearly (in)dependent".

Implications of the definition

[edit | edit source]

Re-formulating the definition for finite sub-families

[edit | edit source]

We have a definition of linear independence for arbitrary subfamilies of a vector space V. Does this agree with our old definition for finite subfamilies? Intuitively, they should agree for finite subfamilies, since we derived the general definition from our old definition. The following theorem actually proves this:

Theorem (Linear independence for finitely many vectors)
  1. The vectors v1,…,vn∈V are linearly independent if and only if λ1v1+⋯+λnvn=0V with λ1,…,λn∈K implies λ1=⋯=λn=0.
  2. The vectors v1,…,vn∈V are linearly dependent if and only if there are λ1 to λn not all equal to 0 , such that λ1v1+⋯λnvn=0V.
Proof (Linear independence for finitely many vectors)

We first prove the first statement. We have to establish an equivalence.

Let (v1,…,vn) be linearly independent. By the definition of linear independence we obtain that for every finite sub-family (vj)j∈J of (v1,…,vn) and for all scalars λj∈K with j∈J we have:

∑j∈Jλj⋅vj=0V ⟹ λj=0 for all j∈J

(v1,…,vn) is a finite sub-family of itself. Therefore, for all λ1,…,λn∈K from λ1v1+⋯+λnvn=0V, we get that λi=0 for all i∈{1,…,n}.

Conversely, assume that for all λ1,…,λn∈K from λ1v1+⋯+λnvn=0V it follows that λ1=⋯=λn=0. We would like to show that (v1,…,vn) is linearly independent. So let (vj)j∈J be a finite sub-family of (v1,…,vn). That means J⊆{1,…,n}. Let λj∈K with j∈J be scalars with

∑j∈Jλj⋅vj=0V.

We extend this sum so that it covers all i∈{1,…,n}. This is done by defining λi:=0 for all i∈J∖{1,…,n}. Then

0V=∑j∈Jλj⋅vj ↓ add 0V=∑j∈Jλj⋅vj+0V ↓ 0V=∑i∈J∖{1,…,n}0⋅vi=∑j∈Jλj⋅vj+∑i∈J∖{1,…,n}0⋅vi ↓ 0=λi=∑j∈Jλj⋅vj+∑i∈J∖{1,…,n}λi⋅vi=∑k∈{1,…,n}λk⋅vk.

It follows from our premise that λ1=…=λn=0 and hence λj=0 for all j∈J. So (v1,…,vn) is linearly independent.

The second statement is exactly the logical contraposition of the first. For we have shown A⟺B with the two statements

A="(v1,…,vn) is linearly independent"
B= "∀λ1,…,λn∈K:λ1v1+⋯+λnvn=0V⟹λ1=⋯=λn=0"

The second point is the statement ¬A⟺¬B. But this is equivalent to A⟺B and thus equivalent to the first statement.

Reducing the definition to finite sub-families

[edit | edit source]

We have defined linear independence for any family (vi)i∈I of vectors, so also for infinitely many vectors. But in the definition we only need to show a statement for finite subfamilies (vj)j∈J: For all λj∈K with j∈J we need the following:

∑j∈Jλjvj=0V⟹λj=0 for all j∈J

In the previous theorem we have seen that this statement is exactly linear independence of (vj)j∈J.

Theorem (Criterion with finitely many sub-families)
  1. A family (vi)i∈I⊆V is linearly independent if and only if every finite sub-family (vj)j∈J is linearly independent.
  2. A family (vi)i∈I⊆V is linearly dependent if and only if it contains a finite linearly dependent sub-family (vj)j∈J.
Proof (Criterion with finitely many sub-families)

First we prove the first statement. We have to establish an equivalence. Let (vi)i∈I be a linearly independent family of vectors from V. We show that every finite sub-family of (vi)i∈I is linearly independent.

Let for this (vj)j∈J be a finite sub-family of (vi)i∈I. From our definition of linear independence it follows that for all scalars λj∈K with j∈J the following holds: ∑j∈Jλj⋅vj=0V ⟹ λj=0 for all j∈J Using the previous theorem , we get that (vj)j∈J is linearly independent.

Conversely, let every finite subfamily of (vi)i∈I be linearly independent. We show that (vi)i∈I. Let for this (vj)j∈J a finite subfamily of (vi)i∈I. We want to show that for all scalars λj∈K with j∈J the following holds: ∑j∈Jλj⋅vj=0V ⟹ λj=0 for all j∈J According to our premise, (vj)j∈J is linearly independent. So it follows again with the previous theorem that for all scalars λj∈K with j∈J

∑j∈Jλj⋅vj=0V ⟹ λj=0 for all j∈J

holds.

The second statement is exactly the logical contraposition of the first. For we have shown A⟺B with the two statements

A="(vi)i∈I is linearly independent"
B= "every finite sub-family of (vi)i∈I is linearly independent"

The second point is the statement ¬A⟺¬B. But this is equivalent to A⟺B and thus equivalent to the first statement.


Overview

[edit | edit source]

The following properties can be derived from the definition of linear independence with a few proof steps. Let K be a field and V a K-vector space:

  1. Every sub-family of a family of linearly independent vectors is linearly independent. Conversely, every super-family of a family of linearly dependent vectors is again linearly dependent.
  2. Let v∈V be a single vector. Then v is linearly independent if and only if v≠0V. So "almost always". Conversely, every family (no matter how large) is linearly dependent as soon as it contains the zero vector.
  3. Let v,w∈V. The vectors v and w are linearly dependent if and only if there is a λ∈K with the property w=λ⋅v or v=λ⋅w.
  4. If a family of vectors is linearly dependent, one of them can be represented as a linear combination of the others.

Sub-families of linear independent vectors are linearly independent

[edit | edit source]

A linearly independent family remains linearly independent if you take away vectors. Linear dependence, on the other hand, is preserved if you add more vectors. Intuitively, the addition of vectors tends to "destroy" linear independence and cannot be restored by adding more vectors.

Theorem
  1. Every sub-family of a family of linearly independent vectors is again linearly independent.
  2. Every super-family of a family of linearly dependent vectors is again linearly dependent.
Proof

We start with the first statement. Let B⊆V be a family of linearly independent vectors from V and A⊆B any sub-family of B. Let v1,…,vk∈A and λ1,…,λk∈K with

0V=λ1v1+…+λkvk.

Since A⊆B , the vectors v1,…,vk are also in B. And as B is linearly independent, we have that λ1=λ2=…=λk=0. So A is linearly independent.

From this we deduce the second statement. Let A⊆V a family of linearly dependent vectors from V and B any super-family of A. Assume that B is linearly independent. Then, we have with the previous statement that also A, as a sub-family of B, is linearly independent. But this is a contradiction because A is linearly dependent.

Families including the zero vector are linearly independent

[edit | edit source]

When is a family with exactly one vector linearly independent? This question is easy to answer: whenever this vector is not the zero vector. Conversely, every family with the zero vector is linearly dependent. Including the one that contains only the zero vector itself.

Theorem (Families including the zero vector are linearly independent)
  1. The zero vector is linearly dependent.
  2. If v∈V is linearly dependent, then v=0V.
  3. A family of vectors containing the zero vector is always linearly dependent.
Proof (Families including the zero vector are linearly independent)
  1. We have that 1K⋅0V=0V. There is therefore a non-trivial linear combination of the vector 0V, which has 0V as a result. Hence, 0V is linearly independent.
  2. If v∈V is linearly dependent, then there are λ≠0∈K with λ⋅v=0V. Since λ≠0, there is a multiplicative inverse λ−1∈K. Multiplying the equation λ⋅v=0V by λ−1 we get v=λ−1λv=λ−10V=0V. So v must be the zero vector 0V.
  3. This assertion follows simply from 1. and the theorem about the linear dependence of superfamilies of linearly dependent families.

Two vectors are linearly dependent if one is a stretched version of the other

[edit | edit source]

When is a family with two vectors linearly independent? We can answer the question by saying when the opposite is the case. So when are two vectors linearly dependent? Linear dependence of two vectors holds if and only if both "lie on a straight line", i.e. one vector is a stretched version of the other.

Theorem

Let v,w∈V. The vectors v and w are linearly dependent if and only if there is a λ∈K with w=λ⋅v or v=λ⋅w.

Proof

We need to prove the following two implications:

  1. ∃ λ∈K: w=λ⋅v⟹v and w are linearly dependent
  2. v and w are linearly dependent ⟹∃ λ∈K: w=λ⋅v

Proof step: First implication

If one of the two vectors is the zero vector, then according to the previous theorem, v and w are linearly dependent. So let v≠0V and w≠0V. Further, let λ∈K be chosen such that w=λ⋅v. This is w.l.o.g. possible, because if it cannot be done, we swap the labels of the two vectors. So we use v instead of w and w instead of v. According to the premise, there must exist a λ∈K, such that the equation with the new labels holds.

Now we have that 1⋅w+(−λ)⋅v=0V. So we have the zero vector represented as a non-trivial linear combination. This means that v and w are linearly dependent.

Proof step: Second implication

Let v and w be linearly dependent. Then, by definition, there is a non-trivial linear combination of the zero vector. Thus, there exist α,β∈K such that α and β are both non-zero and the equation α⋅v+β⋅w=0V holds. We consider the case where β≠0K. Then, from the equation β⋅w=−α⋅v we conclude

β⋅w=−α⋅v ↓multiply both sides with β−1w=β−1⋅(−α⋅v) ↓associative law of scalar multiplication=−(β−1α)⋅v ↓set λ:=−(β−1α)=λ⋅v

However, if β=0K , then we need to have α≠0K. Analogously to the calculation above you can then get v=λ⋅w with λ=−(α−1β).

With linear dependence, one vector is a linear combination of the others

[edit | edit source]

For finitely many vectors, we started with the definition that vectors are linearly dependent if one of the vectors can be written as a linear combination of the others (first definition). We have already seen that this definition is equivalent to the null vector being able to be written as a linear combination of the vectors (second definition). For the general definition with possibly infinitely many vectors, we have used the version with the zero vector (the second) as our definition. And one can indeed show that even in the general case the first definition is equivalent to it:

Theorem

Let V be a K-vector space and let v1,v2,…,vn,w∈V be linearly dependent vectors, but (v1,v2,…,vn) being linearly independent. Then, there exist λ1,λ2,…,λn∈K such that w=∑i=1nλivi.

How to get to the proof?

Because of the linear dependence of v1,v2,…,vn,w there exist α1,α2,…,αn,μ∈K not equal to 0 , such that ∑i=1nαivi+μw=0. We want to write w as a linear combination of the vi . That means, we want to solve the equation ∑i=1nαivi+μw=0 for w . We can transform this equation into

μw=−(∑i=1nαivi).

Now we want to divide by μ. This only works if μ≠0. So we show that the case μ=0 cannot occur. Suppose μ=0. Then, we have

0V=∑i=1nαivi.

We know that v1,v2,…,vn are linearly independent. So all αi are equal to 0. Hence, all α1,α2,…,αn,μ are equal to 0. That is a contradiction. Therefore μ=0 cannot occur.

Proof

Since v1,v2,…,vn,w∈V are linearly dependent, there exist α1,α2,…,αn,μ∈K with ∑i=1nαivi+μw=0, where not all α1,α2,…,αn are equal 0 . Hence,

μw=−(∑i=1nαivi)

We first show μ≠0. Assume that μ=0. Then, we would have

0V=∑i=1nαivi+0⋅w=∑i=1nαivi.

By linear independence of vi we have αi=0K for all i∈{1,…,n}. But this is not possible, since αi,μ are not all equal to 0. So we have μ≠0. We can hence divide by μ and the linear combination we are looking for is

w=−(∑i=1nαiμvi)=∑i=1n(−αiμ)vi

now set λi:=(−αiμ). Then, w=∑i=1nλivi , which is what we wanted to show.

Linear independence and unique linear combinations

[edit | edit source]

In this section, we will take a closer look at the connection between linear independence and linear combinations. To do this, we recall what it means that the vectors v1,…,vn are linearly dependent or independent. Suppose the vectors v1,…,vn are linearly dependent. From our definition of linear independence, we know that there must then be a non-trivial zero representation, since at least one scalar λi≠0 for some 1≤i≤n. We illustrate this with the following example


Example (Linear independence and non-trivial representation of 0)

Let us consider the vectors (1,0,0)T,(1,1,12)T,(0,2,1)T∈ℝ3. These are linearly dependent, since

(1112)=1⋅(100)+12⋅(021)

By transforming this equation we obtain a representation of the zero vector:

(000)=1⋅(100)−1⋅(1112)+12⋅(021)

In addition to this representation, there is also the so-called trivial representation of the zero vector, in which every pre-factor is equal to zero:

(000)=0⋅(100)+0⋅(1112)+0⋅(021)

Because of the linear dependence, the zero vector can be represented in two ways via a linear combination.

Regardless of whether the considered family of vectors is linearly independent or not, there is always the trivial zero representation, in which all scalars λ1,...,λn have the value 0:

0=0⋅v1+...+0⋅vn

In case of linear dependence of the vectors, the representation of the zero is no longer unambiguous. We can summarise our results so far in a theorem and generalise them:

Theorem (Linear independence and unique linear combination)

Let V be a vector space and M⊆V.

All linear combinations of vectors from M are unique ⟺M linearly independent.

Proof (Linear independence and unique linear combination)

We show the contraposition:

There is a linear combination of vectors from M that is not unique ⟺M is linearly dependent.

"⟹" We assume there was a v∈V, such that at least two different representations of v are possible using vectors from M:

Let v=λ1v1+…+λnvn with λ1,...,λn∈K and v=μ1v1+…+μnvm with μ1,...,μv∈K and v1,…,vn∈M. Subtraction of the two equations gives

0V=(λ1−μ1)⋅v1+…+(λn−μn)⋅vn

Since the representations of v are different, there is at least one factor λi−μi≠0 for 1≤i≤n. Hence, the vectors v1,...,vn are linearly dependent by definition and thus M is also linearly dependent.

"⟸" If M is linearly independent, then M contains a linearly independent subset v1…,vn.

Then, apart from the trivial representation of zero 0V, there is at least one more: because of the linear dependence, there are factors λi that are not all zero, with

λ1v1+…+λnvn=0V

So we have shown that there are then two representations of 0V as linear combinations of these vectors. Thus, linear combinations are not unique.

Exercises

[edit | edit source]

Exercise 1

[edit | edit source]
Exercise (Linear independence)

Show that the vectors (1,1,0)T,(0,1,0)T,(0,1,1)T∈ℝ3 are linearly independent.

Solution (Linear independence)

We have to show that the zero vector can only be represented trivially by the given vectors. This means that the following equation with the real numbers ρ1,ρ2,ρ3∈ℝ only has the solutions ρ1=ρ2=ρ3=0:

ρ1⋅(110)+ρ2⋅(010)+ρ3⋅(011)=(000)

This implies:

ρ1⋅(110)+ρ2⋅(010)+ρ3⋅(011)=(000)↓ scalar multiplication⟹(ρ1ρ10)+(0ρ20)+(0ρ3ρ3)=(000)↓ vector addition⟹(ρ1ρ1+ρ2+ρ3ρ3)=(000)

Now, two column vectors are equal if every component is equal. So the following equations must hold:

ρ1=0ρ1+ρ2+ρ3=0ρ3=0

We hence have ρ1=ρ3=0. Plugging this into ρ1+ρ2+ρ3=0 , we obtain ρ2=0. With this we have shown that from the equation ρ1⋅(1,1,0)T+ρ2⋅(0,1,0)T+ρ3⋅(0,1,1)T=(0,0,0)T we get that all coefficients ρ1, ρ2 and ρ3 are equal to 0. Thus, the three vectors are linearly independent.

Exercise 2

[edit | edit source]
Exercise (Linear dependence)

Show that the following set M of four vectors is linearly dependent:

M={(100),(010),(001),(111)}

Solution (Linear dependence)

By definition, the vectors (1,0,0)T,(0,1,0)T,(0,0,1)T and (1,1,1)T are linearly dependent if and only if we can find a nontrivial linear combination of zero. Such a combination is for example given by

(100)+(010)+(001)−(111)=0

Therefore, the vectors are linearly dependent.

Solution (Lineare dependence, alternative)

Vectors are linearly dependent if one of them can be represented as a linear combination of the other ones. Now the vector (1,1,1)T can be represented as a linear combination of the others:

(111)=(100)+(010)+(001)

Thus, the vectors are linearly dependent.

Exercise 3

[edit | edit source]
Exercise (Trigonometrical polynomials)

Let f:ℝ→ℝ with f(x)=f(x+2π) for all x∈ℝ. That means, f is a 2π-periodic function. We consider the set Abb2π(ℝ,ℝ) of 2π-periodic functions. These form an ℝ-vector space.

Are the functions cos⁡(0⋅x),cos⁡(1⋅x),cos⁡(2⋅x) linearly independent?

How to get to the proof? (Trigonometrical polynomials)

We investigate how to write the zero function as a linear combination of the three functions. To do this, we determine the values of λ1,λ2,λ3 in the equation λ1cos⁡(0)+λ2cos⁡(x)+λ3cos⁡(2x)=0. We can do this by inserting three different values for x and then solving the resulting system of equations.

Values for which we explicitly know the exact values of the cosine are suitable for this - for example 0,π2 and π. For those, we know cos⁡(0)=cos⁡(2π)=1,cos⁡(π2)=0 and cos⁡(π)=−1.

Solution (Trigonometrical polynomials)

Let λ1,λ2,λ3∈ℝ, such that

λ1cos⁡(0⋅x)+λ2cos⁡(1⋅x)+λ3cos⁡(2⋅(x))=0

for all x∈ℝ . We would like to establish λ1=λ2=λ3=0 . Plugging in for x the values 0,π2 and π , we obtain the following system of equations for λi:

x=π2:λ1−λ3=0x=π:λ1−λ2+λ3=0x=0:λ1+λ2+λ3=0

The system of equations can now be solved in different ways. We transform the first equation and get λ1=λ3. We can substitute this into the second equation and get λ1−λ2+λ1=0, so 2λ1=λ2. If we now substitute our results into the third equation, we have λ1+2λ1+λ1=0. This is equivalent to λ1=0 . From the other equations, we conclude λ2=λ3=0.

Thus, we have uniquely determined the coefficients λ1,λ2 and λ3. That is, there is no non-trivial linear combination of the 0. The functions are therefore linearly independent.

Exercise 4

[edit | edit source]
Exercise (Linear (in-)dependence?)

Prove or disprove the following statement:

Let u,v,w∈ℝ3. The set {u,v,w} is linearly dependent if and only if each of the vectors is a linear combination of the other two.

How to get to the proof? (Linear (in-)dependence?)

For the set to be linearly dependent, it is sufficient if two of the three vectors are multiples of each other, while the third can be linearly independent of the two. With this consideration we can construct a counterexample.

Solution (Linear (in-)dependence?)

The statement is not correct. We consider the set

{(100),(200),(001)}

Then we can represent the zero vector as a non-trivial linear combination of the three vectors:

(000)=−2⋅(100)+(200)+0⋅(001)

Thus, the set is linearly dependent. However, the vector (0,0,1)T is not a linear combination of the other two.

Exercise 5

[edit | edit source]
Exercise (Linearly independent vectors in Kn)

Prove: Within the vector space Kn of n-tuples over the field K , the vectors e1=(1,0,0,…,0)T, e2=(0,1,0,…,0)T up to en:=(0,0,0,…,1)T are linearly independent.

Solution (Linearly independent vectors in Kn)

We have to show that we can uniquely represent the zero vector as a linear combination of the vectors e1,...,en. So let us consider the linear combination of the vectors with λi∈K for 1≤i≤n. We need to have

(00⋮0)=!λ1⋅(10⋮0)+λ2⋅(01⋮0)+...+λn⋅(00⋮1)

We can interpret this as a linear system of equations as

0=λ10=λ2⋮0=λn

Thus, we have shown that the λi are uniquely determined and 0. After defining the linear independence, we have shown that the vectors are linearly independent.

Exercise 6

[edit | edit source]
Exercise (Linearly independent vectors and endomorphisms)

Let K be a field and F:V→V an endomorphism of the K-vector space V. Let v∈V, such that for a fixed natural number n, we have: Fi(v)≠0 for i=1,...,n and Fn+1(v)=0. Here, Fi(v)=F(F(...(F(v))...)) means that the i-fold application of F onto the vector v. Prove that then the vectors v,F(v),...,Fn(v) are linearly independent.

How to get to the proof? (Linearly independent vectors and endomorphisms)

We need to show that for λ0,…,λn∈K with

λ0v+λ1F(v)+…+λnFn(v)=0

we already have λ0=…=λn=0 . We can try to get the individual λi from this equation: We know that Fn+1(v)=0 . If we now apply F to this equation, we get

0=F(0)=F(λ0v+λ1F(v)+…+λnFn(v))=λ0F(v)+λ1F2(v)+…+λnFn+1(v)=λ0F(v)+λ1F2(v)+…+λn−1Fn(v).

We have thus eliminated one summand. With this we have reduced our problem to a case with n summands. That is, by proceeding with induction, we can now infer the statement.

Solution (Linearly independent vectors and endomorphisms)

We perform an induction over n to iterate the idea of reducing the number of vectors one-by-one.

Theorem whose validity shall be proven for n∈ℕ bewiesen werden soll:

If v∈V with Fi(v)≠0 for all i≤n and Fn+1(v)=0, then v,F(v),…,Fn(v) is linearly independent.

1. Base case:

We need to show that v and F(v) are linearly independent, if F2(v)=0 and F(v)≠0 hold. That means we have to show that for λ,μ∈K with λ⋅v+μ⋅F(v)=0 we already have λ=μ=0 . Now,

0=F(0)=F(λ⋅v+μ⋅F(v))=λ⋅F(v)+μ⋅F2(v)=λ⋅F(v)

Since F(v)≠0 , we have λ=0. So by choice of λ and μ, we also have μ⋅F(v)=0. With the same argument, we now have μ=0.

2. Inductive step:

2a. Inductive hypothesis:

If v∈V with Fi(v)≠0 for all i≤n and Fn+1(v)=0, then v,F(v),…,Fn(v) is linearly independent.

2b. Induction theorem:

If v∈V with Fi(v)≠0 for all i≤n+1 and Fn+2(v)=0, then v,F(v),…,Fn+1(v) is linearly independent.

2c. Proof of induction step:

Let λ0,…,λn+1∈K, such that λ0⋅v+λ1⋅F(v)+…+λn+1⋅Fn+1(v)=0 . Then,

0=F(0)=F(λ0⋅v+λ1⋅F(v)+…+λn+1⋅Fn+1(v))=λ0⋅F(v)+λ1⋅F2(v)+…+λn+1⋅Fn+2(v)=λ0⋅F(v)+…+λn⋅Fn+1(v)

Applying the induction assumption to F(v) , we get that λ0=…=λn=0 . Hence, λn+1Fn+1(v)=0. Since Fn+1(v)≠0 , we also have λn+1=0. So v,F(v),…,Fn+1(v) is linearly independent.