Linear Dependence and Basis in Vector Spaces, Slides of Mathematics

The concept of linear dependence and independence of vectors in a vector space, using the example of R3. It explains how to determine linear dependence using the concept of a span and a homogeneous system, and provides a theorem stating that a set of non-zero vectors is linearly dependent if and only if one of the vectors can be expressed as a linear combination of the preceding vectors. The document also covers the concept of a basis, which is a minimal spanning set of vectors for a vector space.

Typology: Slides

2021/2022

Uploaded on 09/27/2022

kaety
kaety 🇬🇧

4.8

(8)

222 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
18. Linear Independence
Consider a plane Pthat includes the origin in R3and a collection {u, v, w}
of non-zero vectors in P. If no two of u, v and ware parallel, then certainly
P= span{u, v, w}. But any two vectors determines a plane, so we should
be able to span the plane using only two vectors. Then we could choose
two of the vectors in {u,v , w}whose span is P, and express the other as
a linear combination of those two. Suppose uand vspan P. Then there
exist constants d1, d2(not all zero) such that w=d1u+d2v. Since wcan
be expressed in terms of uand vwe say that it is not independent. In other
words, the relationship
c1u+c2v+c3w= 0 ciR,some ci6= 0
expresses the fact that u, v, w are not all independent.
Definition We say that the vectors v1, v2, . . . , vnare linearly dependent if
there exist constants c1, c2, . . . , cnnot all zero such that
c1v1+c2v2+. . . +cnvn= 0.
Otherwise, the vectors v1, v2, . . . , vnare linearly independent.
Example Consider the following vectors in R3:
v1=
0
0
1
, v2=
1
2
1
, v3=
1
2
3
.
Are they linearly independent?
We need to see whether the system
c1v1+c2v2+c3v3= 0.
has any solutions for c1, c2, c3. We can rewrite this as a homogeneous system:
v1v2v3
c1
c2
c3
= 0
This system has solutions if and only if the matrix M=v1v2v3is
singular, so we should find the determinant of M.
det M= det
0 1 1
0 2 2
1 1 3
= det 1 1
2 2!= 0.
1
pf3
pf4
pf5

Partial preview of the text

Download Linear Dependence and Basis in Vector Spaces and more Slides Mathematics in PDF only on Docsity!

18. Linear Independence

Consider a plane P that includes the origin in R^3 and a collection {u, v, w} of non-zero vectors in P. If no two of u, v and w are parallel, then certainly P = span{u, v, w}. But any two vectors determines a plane, so we should be able to span the plane using only two vectors. Then we could choose two of the vectors in {u, v, w} whose span is P , and express the other as a linear combination of those two. Suppose u and v span P. Then there exist constants d^1 , d^2 (not all zero) such that w = d^1 u + d^2 v. Since w can be expressed in terms of u and v we say that it is not independent. In other words, the relationship

c^1 u + c^2 v + c^3 w = 0 ci^ ∈ R, some ci^6 = 0

expresses the fact that u, v, w are not all independent.

Definition We say that the vectors v 1 , v 2 ,... , vn are linearly dependent if there exist constants c 1 , c 2 ,... , cn not all zero such that

c^1 v 1 + c^2 v 2 +... + cnvn = 0.

Otherwise, the vectors v 1 , v 2 ,... , vn are linearly independent.

Example Consider the following vectors in R^3 :

v 1 =

  

   ,^ v 2 =

  

   ,^ v 3 =

  

  .

Are they linearly independent? We need to see whether the system

c^1 v 1 + c^2 v 2 + c^3 v 3 = 0.

has any solutions for c 1 , c 2 , c 3. We can rewrite this as a homogeneous system:

( v 1 v 2 v 3

)

 

c^1 c^2 c^3

  = 0

This system has solutions if and only if the matrix M =

( v 1 v 2 v 3

) is

singular, so we should find the determinant of M.

det M = det

 

  = det

( 1 1 2 2

) = 0.

Then solutions exist. At this point we know that the vectors are linearly dependent. If we need to, we can find coefficients that demonstrate linear independence by solving the system of equations:  

  ∼

 

  ∼

 

 .

Then c^3 = μ, c^2 = −μ, and c^3 = − 2 μ. Then set μ = 1 and obtain:

c^1 v 1 + c^2 v 2 + c^3 v 3 = 0 ⇒ − 2 v 1 − v 2 + v 3 = 0.

Theorem (Linear Dependence). A set of non-zero vectors {v 1 ,... , vn} is linearly dependent if and only if one of the vectors vk is expressible as a linear combination of the preceeding vectors.

Proof. The theorem is an if and only if statement, so there are two things to show.

i. First, we show that if vk = c^1 v 1 +... ck−^1 vk− 1 then the set is linearly dependent. This is easy. We just rewrite the assumption:

c^1 v 1 +... ck−^1 vk− 1 − vk + 0vk+1 +... + 0vn = 0.

This is a vanishing linear combination of the vectors {v 1 ,... , vn} with not all coefficients equal to zero, so {v 1 ,... , vn} is a linearly dependent set.

ii. Now, we show that linear dependence implies that there exists k for which vk is a linear combination of the vectors {v 1 ,... , vk− 1 }. The assumption says that

c^1 v 1 + c^2 v 2 +... + cnvn = 0.

Take k to be the largest number for which ck is not equal to zero. Then: c^1 v 1 + c^2 v 2 +... + ck−^1 vk− 1 + ckvk = 0.

This tells us that k > 1, since otherwise we would have c^1 v 1 = 0 ⇒ v 1 = 0, contradicting the assumption that none of the vi are the zero vector.

Example In the above example, we found that v 4 = v 1 + v 2. In this case, any expression for a vector as a linear combination involving v 4 can be turned into a combination without v 4 by making the substitution v 4 = v 1 + v 2. Then:

S = span{1 + t, 1 + t^2 , t + t^2 , 2 + t + t^2 , 1 + t + t^2 } = span{1 + t, 1 + t^2 , t + t^2 , 1 + t + t^2 }.

Now we can notice that 1 + t + t^2 = 12 ([1 + t] + [1 + t^2 ] + [t + t^2 ]). Then the vector 1 + t + t^2 = v 5 is also extraneous, since it can be expressed as a linear combination of the remaining three vecotrs, v 1 , v 2 , v 3. Then

S = span{1 + t, 1 + t^2 , t + t^2 }.

Now there are no (non-zero) solutions to the linear system

c^1 (1 + t) + c^2 (1 + t^2 ) + c^3 (t + t^2 ) = 0.

Then the remaining vectors {1 + t, 1 + t^2 , t + t^2 } are linearly independent, and span the vector space S. Then these vectors are a minimal spanning set, which is called a basis for S.

Definition Given a vector space S and a set B of vectors such that:

  • span B = S, and
  • There exists no subset A ⊂ B such that span A = S,

then B is called a basis of S.

Example Let B^3 be the space of 3 × 1 bit-valued matrices (i.e., column vectors). Is the following set linearly independent?

 

  ,

 

  ,

 

 

If the set is linearly dependent, then we can find non-zero solutions to the system:

c^1

 

  + c 2

 

  + c 3

 

  = 0,

which becomes the linear system  

 

 

c^1 c^2 c^3

  = 0.

Solutions exist if and only if the determinant of the matrix is non-zero. But:

det

 

  = 1 det

( 0 1 1 1

) − 1 det

( 1 0 0 1

) = − 1 − 1 = 1 + 1 = 0

Then non-trivial solutions exist, and the set is thus not linearly independent.

Remark Do you see any similarity between these vectors and the vectors in P 2 (t) in the previous example?

References

  • Hefferon, Chapter Two, Section II: Linear Independence
  • Hefferon, Chapter Two, Section III.1: Basis

Wikipedia:

  • Linear Independence
  • Basis

Review Questions

  1. Let Bn^ be the space of n × 1 bit-valued matrices (i.e., column vectors).

i. How many different vectors are there in Bn. ii. Find a collection S of vectors that span B^3 and are linearly in- dependent. In other words, find a basis of B^3. iii. Write each other vector in B^3 as a linear combination of the vectors in the set S that you chose. iv. Would it be possible to span B^3 with only two vectors?