0% found this document useful (0 votes)
109 views18 pages

Linear Dependence and Independence (Chapter. 4) : Column Space

The document discusses the column space of a matrix A, which is the vector subspace of Rn spanned by the columns of A. It defines linear dependence and independence of vectors, explaining that a set of vectors is linearly dependent if they can be written as a linear combination where at least one coefficient is non-zero. It provides examples of linearly dependent and independent sets of vectors in R2 and R3. The document contrasts linear dependence with linear independence, defining the latter as when the only solution to a linear combination of vectors being equal to zero is when all coefficients are zero.

Uploaded by

adarshananda51
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
109 views18 pages

Linear Dependence and Independence (Chapter. 4) : Column Space

The document discusses the column space of a matrix A, which is the vector subspace of Rn spanned by the columns of A. It defines linear dependence and independence of vectors, explaining that a set of vectors is linearly dependent if they can be written as a linear combination where at least one coefficient is non-zero. It provides examples of linearly dependent and independent sets of vectors in R2 and R3. The document contrasts linear dependence with linear independence, defining the latter as when the only solution to a linear combination of vectors being equal to zero is when all coefficients are zero.

Uploaded by

adarshananda51
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Last lecture: Examples and the column space of a matrix

Suppose that A is an n × m matrix.

Definition The column space of A is the vector subspace


Col(A) of Rn which is spanned by the columns of A.

That is, ifSpan


A = a1, a2, . . . , am then Col(A) =
a ,a ,...,a

Linear dependence and independence (chapter. 4)


• If V is any vector space then V = Span(V ).

• Clearly, we can find smaller sets of vectors which


span V .

• This lecture we will use the notions of linear


independence and linear dependence to find the
smallest sets of vectors which span V .

• It turns out that there are many “smallest sets” of


vectors which span V , and that the number of
vectors in these sets is always the same.

This number is the dimension of V .


Linear dependence—motivation Let lecture we saw that

the two sets of vectors , 12 3 55


, and
9
3 , 7 , 13

, ,
1
2 , 53 , 0
1 do not span R 3.
3 7
2

• T he proble m is th at
5 1 3
9 = 2 + 5 and
13 3 7
2
0 = 1 3 .
1 3 2 − 5
2 3 7

• Therefo re,
1 3 5 1 3
Span 2 , 5 , 9 = 2 , 5
3 7 13 3 7
Span
and
1 3 0 1 3
Span 2 , 5 , 1 2 , 5 .
3 7 2 3 7
= Span

• Notice that we can rewrite the two equations


above in the following form:
2 2 1+ 5
3 − 59 = 0
0 and
3 7 13 0
1 3 0 0
3 2 − 5 − 1 =
3 7 2
This is the key observation about spanning sets.
Definition
Suppose that V is a vector space and that x1, x2, . . . , xk
are vectors in V .
The set of vectors {x1, x2, . . . , xk} is linearly dependent

if
r1x1 + r2x2 + · · · + rkxk = 0
for some r1, r2, . . . , rk ∈ R where at least one of r1, r2, . . . ,
rk is non–zero.

Example

2 21 +3 5 −5 9 =0 0 and
3 7 13 0

1 3 0 0

− − = 0
0 ,
3 23the two57sets of 12vectors ,
1 35
So 59 , 2 , 7 and
13 3

1 , 2 , 5 are linearly dependent.


2 3 7
, ,
0 1 3

Question Suppose that x, y ∈ V . When are x and y


linearly dependent?
Question What do linearly dependent vectors look like
in R2 and R3?
Example
" # " # " #
0
Let x = 1
2 y = 3
2 and z = 4 . Is {x1, x2, x3}
3 1 8
linearly dependent?

We have to determine whether or not we can find real


numbers r, s, t, which are not all zero, such that
rx + sy + tz = 0.

To find all possible r, s, t we have to solve the augmented


matrix equation:
" 1 3 0 # " 1 3 0 0 #
0 0 − R− 0 −4 4 0
: R
= :=R
2 2 − −−3R
2
− R− − −
2

4 −2R−→
1 #
3 1 8 0 3 3 1
0 −8 8 0
"
− R− 1 3 0 0
3: 0 −4 4 0
− − − −
= R 3
0 0 0 0
−−−2R−→
2
So this set of equations has a non–zero solution.
Therefore, {x, y , z} is a line arly dep ende nt
" # " # " # "
1 3 0 0
To be explicit, 2 − 2 − 4 = 0 .
3 1 8 0
3
s et of vectors.
#
Linear dependence–Example II
Example Consider the polynomials p(x) = 1+3x+2x2,
q(x) = 3 + x + 2x2 and r(x) = 2x + x2 in P2.
Is {p(x), q(x), r(x)} linearly dependent?
We have to decide whether we can find real numbers
r, s, t, which are not all zero, such that
rp(x) + sq(x) + tr(x) = 0.
That is:
0 = r(1 + 3x + 2x2) + s(3 + x + 2x2) + t(2x + x2)
= (r +3s)+(3r +s +2t)x+(2r +2s +t)x2.
This corresponds to solving the following system of
linear equations
r +3 =0
s
3r +s +2t = 0
2r +2 +t = 0
1 3 0 s R2:=R2−3R1

1 3 0
3 1 2 0 −8 2
2 2 1 − − 0 −4 1
−R − − −
1 3 0
−R− −:=−
2
3: = R 3
0 0 0
0 −4 1 − − −→
2− − 2R
− R− 1

−R−→
3

Hence, {p(x), q(x), r(x)} is linearly dependent.


Linear independence
In fact, we do not care so much about linear
dependence as about its opposite linear
independence:
Definition
Suppose that V is a vector space.
The set of vectors{x1, x2, . . . , xk } in V is
linearly independent if the only scalars
r1, r2, . . . , rk ∈ R such that

r1x1 + r2x2 + · · · + rkxk = 0

are r1 = r2 = · · · = rk = 0.
(That is, {x1, . . . , xk} is not linearly dependent!)

• If {x1, x2, . . . , xk }are linearly independent then


it is not possible to write any of these vectors as a
linear combination of the remaining vectors.

For example, if x1 = r2x2 + r3x3 +· · · + rkxk


then
−x1 +r2 x2 +r3 x3 +· · ·+rk xk = 0
=⇒ all of these coefficients must be zero!!??!!
Linear independence—examples
The following sets of vectors are all linearly independent:
, ,
• [1] is a linearly independent subset of R.
, ,
• 1
0
, 0
is a linearly independent subset
1
2
R.
of
, , ,
• 1
10 , 0
0 0 is a linearly independent
0
0 1
subset of R3. ,
•, 1 0 0
0
0 1 0 0 is a linearly independent
0 , 0 , 1 , 0
0 0 4 0 1
subset of R .
" 10# " 01# " 0# " 0 #
, , . . . , . , . , is a linearly
• . 1 0
., 0 0 1
0
independent subset of Rm.

• {1} is a linearly independent subset of P0.

• {1, x} is a linearly independent subset of P1.


• {1, x, x2} is a linearly independent subset of P2.
• {1, x, x , . . . , x } is a linearly independent subset
2 n

of Pn.

Linear independence—example 2
Example
" # " # " #
Let x = 1
2 y= 3
2 and z = 2
5
.
3 9 −1

Is the set {x1, x2, x3} linearly independent?

We have to determine whether or not we can find real


numbers r, s, t, which are not all zero, such that rx +
sy + tz = 0.
Once again, to find all possible r, s, t we have to solve
the
" augmented matrix equation: " #
1 3 5 0 # := −2R 1 3 5 0
R
R
2 2 1 — −
2 2 2 − −
0 — − —— —
3 9 −1 R 16
− R− 3−→
: = −
0 − − − −− 1
R 3
3: = R 3 −
− −→
3R 1

R2:= − 1 R2
4
0 4 8 0 1 3 5 0 0 1 −2 0
0 0 16 0
" 0 0 1 0 #
Hence, rx + sy + tz = 0 only if r = s = t = 0.
Therefore, {x1, x2, x3 is a linearly independent subset
of R3. }
Linear independence—example"3 #
Example
" # " # " #
Let x1 1 1 1= 3
5
11 2 2 x4
= x2 = x3
3 1 5=
7
1 4 2
and
Is {x1, x2, x3, x4 } linear dependent or linearly indepen-
dent?

Again, we have to solve the corresponding system of lin-


ear equations:
" # " #
1 1−R
1 3 R3=R3−R1 0112
R21=R
222 5 1 01 21 01 23
1315 −−−−−−
R4=R4−R1 0314
1427
−→"
R3 =R3 −2R2
#
R4 =R4 −3R2 1 1 1 3
0 1 1 2
−−−−−−− 0 0 −2 −2
0 0 −2 −2
−→ "1 1 #
1 3
0 1 1 2
− R− − = − R−
4
0 0 —2 −2
0 0 0 0
−−−R→
4 3

Hence, after much work, we see that {x1, x2, x3, x4 is


linearly dependent. }
Linear independence—example 4
Example
Let X = { sin x, cos x} F.
Is X linearly
⊂ dependent or linearly independent?
Suppose that s sin x + t cos x = 0.
Notice that this equation holds for all x ∈ R, so
x=0: s·0+t·1 =0
x = π2 : s·1+t·0 =0
Therefore, we must have s = 0 = t.
Hence, {sin x, cos x} is linearly independent.
What happens if we tweak this example by a little bit?
Example Is {cos x, sin x, x} is linearly independent?
If s cos x + t sin x + r = 0 then
x=0: s·0+t·1+r·0 =0
x = π2 : s · 1 + t · 0 + r · π2 =0
x= π
4 : s· √1 +t· √1 + r 4· π
=0
2 2

Therefore, {cos x, sin x, x} is linearly independent.


Linear independence—last example
Example
Show that X = {ex, e2x, e3x is a linearly independent
subset of F. }
Suppose that rex + se2x + te3x = 0.
Then:
x=0 r+s+t = 0,
x=1 re + se2 + te3 =
0, x = 2 re2 + se4 + te6 =
0,
So we have to solve the matrix equation:
" # " #
1 1 1 R2:= 1
R2 1 1 1
e e2 e3 −−−−−− e
1 e e2
−→
" 1e
2
R3:= R3 1 e2 e4
e2 e4 e6 2
#
4

R2:=R2−R1 1 1 1
−−−−−−−
2
0 e−1 e −1
R3:=R3−R1
0 e −1 e −1
−→
R2:= 1e R−2 1 " #
−−−−− − − 10 11 e+1 1
−→
e2 1 #
R3:= 1− R3 0 1 e2+1
"
− −− −
R 3 :=
−R−→
2

3−
− R−
1 1 1 0 0 e2−e
0 1 e+1

Therefore, {ex, e2x, e3x is a set of linearly independent


functions in} the vector space F.
The Basis of a Vector Space:
We now combine the ideas of spanning sets and
linear independence.
Definition Suppose that V is a vector space.
A basis of V is a set of vectors {x1, x2, . . . , xk } in V
such that
• V = Span(x1, x2, . . . , xk and
• {x1, x2, . . . , xk} is linearly independent.
Examples
,
• 1
0
, 0
is a basis of
1

,
R2.1 ,
• 0 , 10 , 00 is a basis of R3.
0
0 1

1
" # " # " #
" 0# 0
1
0 0
,
•, ,..., . , . is a basis of Rm.
., . 1 0
0 0 1
0
• {1, x, x2} is a basis of P2.
• {1, x, x2, . . . , xn} is a basis of Pn.

• In general, if W is a vector subspace of V then the


challenge is to find a basis for W .

You might also like