Professional Documents
Culture Documents
LA5 LC
LA5 LC
Indira Mishra
IIIT Bhopal
Feb 7, 2024
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 1 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 2 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 2 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 3 / 26
Linear Combination
x = α1 x1 + α2 x2 + · · · + αn xn
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 3 / 26
Linear Combination
x = α1 x1 + α2 x2 + · · · + αn xn
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 3 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 4 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 4 / 26
Linear Combination
Let
c1 (1, 2, 1) + c2 (1, 0, 2) + c3 (1, 1, 0) = (2, 1, 5)
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 4 / 26
Linear Combination
c1 + c2 + c3 = 2
2c1 + 0c2 + c3 = 1
c1 + 2c2 + 0 · c3 = 5
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 5 / 26
Linear Combination
c1 + c2 + c3 = 2
2c1 + 0c2 + c3 = 1
c1 + 2c2 + 0 · c3 = 5
⇐⇒
1 1 1 c1 2
2 0 1 c2 = 1
1 2 0 c3 5
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 5 / 26
Linear Combination
c1 + c2 + c3 = 2
2c1 + 0c2 + c3 = 1
c1 + 2c2 + 0 · c3 = 5
⇐⇒
1 1 1 c1 2
2 0 1 c2 = 1
1 2 0 c3 5
⇒ c1 = 1, c2 = 2, c3 = −1
⇒ x = 1 · x1 + 2 · x2 − 1 · x3 .
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 5 / 26
Linear Combination
c1 + c2 + c3 = 2
2c1 + 0c2 + c3 = 1
c1 + 2c2 + 0 · c3 = 5
⇐⇒
1 1 1 c1 2
2 0 1 c2 = 1
1 2 0 c3 5
⇒ c1 = 1, c2 = 2, c3 = −1
⇒ x = 1 · x1 + 2 · x2 − 1 · x3 .
Or (2, 1, 5) = (1, 2, 1) + 2(1, 0, 2) − 1(1, 1, 0).
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 5 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 6 / 26
Linear Combination
Let S = {x1 , x2 , . . . , xn }
span(S) = {c1 x1 + c2 x2 + . . . cn xn | c1 , c2 , . . . , cn ∈ R}
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 6 / 26
Linear Combination
Example: Let S = {(1, 1, 0, 1), (1, −1, 0, 1), (0, 1, 2, 1)}. Determine
whether.
(a). x = (2, 3, 2, 3) and
(b). y = (0, 1, 2, 3)
belong to span(S) or not.
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 7 / 26
Linear Combination
Example: Let S = {(1, 1, 0, 1), (1, −1, 0, 1), (0, 1, 2, 1)}. Determine
whether.
(a). x = (2, 3, 2, 3) and
(b). y = (0, 1, 2, 3)
belong to span(S) or not.
Solution: a). x belong to span(S) if and only if x is a linear
combination of S.
consider the system
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 7 / 26
Linear Combination
1 5
1 1 0 2 1 0 2 2
0 1 −1
2 − 12
−R1 −R2 0 1 −1
2 − 12 R − 1 R3
−−1−−4−→
0 −−−→
0 2 2 0 0 2 2 R2 + 14 R3
0 0 1 1 0 0 1 1
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 8 / 26
Linear Combination
1 0 0 2 1 0 0 2
0 1 0 0 R3 −2R4 0 1 0 0 −
R3 →R4
−− − −−→ 0 0 0 0 −−−−→
0 0 2 2
0 0 1 1 0 0 1 1
1 0 0 2
0 1 0 0 Thus system has solution:
0 0 1 1 c1 = 2, c2 = 0, c3 = 1.
0 0 0 0
Thus
Hence x ∈ span(S).
Exercise: (b).
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 9 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 10 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 10 / 26
Linear Combination
Example 1: Let
S = {e1 = (1, 0, 0), e2 = (0, 1, 0), e3 = (0, 0, 1)} ⊆ R3 .
Any vector x = (x1 , x2 , x3 ) ∈ R3 can be written as
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 11 / 26
Linear Combination
Example
2: Let
1 , 0, . . . 0) ⊆ Rn . Then any
S = e1 , e2 , . . . , en | ej = (0, . . . , 0, |{z}
j th
x = (x1 , x2 , . . . , xn ) ∈ Rn can be written as
x = x1 e1 + x2 e2 + · · · + xn en .
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 12 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 13 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 13 / 26
Linear Combination
p(x) = a0 + a1 x + a2 x2 + · · · + an xn
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 13 / 26
Linear Combination
p(x) = a0 + a1 x + a2 x2 + · · · + an xn
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 13 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 14 / 26
Linear Combination
1 1 1 a
b R1 +R2
0 −1 −1/2 − −−−→
2 −a R3 +R2
0 1 −1 c−a
b
1 0 1/2 2 R (− 23 )
0 −1 −1/2 b
− a −−3−−− →
2 −R2
0 0 −3/2 2b + c − 2a
1 0 0 2b + c − a
0 1 0 a − 2b
(4a−b−2c)
0 0 1 3
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 15 / 26
Linear Combination
(c+2b−2a)
1 0 0 3
R1 −R3 /3
−−−−−−→ 0 1 0
(a−c−b)
3
R2 −R3 /2
4a−b−2c
0 0 1 3
Thus
R3 = span{(1, 2, 1), (1, 0, 2), (1, 1, 0)}.
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 16 / 26
Linear Combination
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 17 / 26
Linearly independent/dependent sets
c1 x1 + c2 x2 + . . . + cm xm = 0
Linearly independent:
c1 x1 + c2 x2 + · · · + cm xm = 0 ⇒ c1 = 0, c2 = 0, · · · cm = 0.
Linearly dependent:
c1 x1 + c2 x2 + · · · + cm xm = 0 ⇒ cj 6= 0, for some j.
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 18 / 26
Linearly independent/dependent sets
Remark: Linearly independent means any vector from the set can not
be written as linear combination of other vectors of the set.
Example 1:
a. S = {(1, 2), (2, 4)}
⇒ c1 = 2, c2 = −1, c3 = 0.
Thus linearly dependent vectors.
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 19 / 26
Linearly independent/dependent sets
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 20 / 26
Linearly independent/dependent sets
c1 · x1 + c2 x2 + c3 x3 = 0.
1 0 1 0 1 0 0 0
0 1 1 0 0 1 0 0
→ ··· → .
1 1 1 0 0 0 1 0
2 2 3 0 0 0 0 0
Therefore c1 = 0, c2 = 0, c3 = 0, and thus x1 , x2 and x3 are linearly
independent.
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 21 / 26
Linearly independent/dependent sets
c1 x1 + c2 x2 + c3 x3 + c4 x4 = 0.
1 1 −3 2 0 1 0 −1 1 0
2 −2 2 0 0 → · · · 0 1 −2 1 0 .
−1 1 −1 0 0 0 0 0 0 0
c2 = +2c3 − c4
c1 = c3 − c4 .
let c4 = t, c3 = s, then c2 = 2s − t, c1 = s − t. Thus above system has
nontrivial solutions. Hence {x1 , x2 , x3 , x4 } are linearly dependent.
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 22 / 26
Linearly independent/dependent sets
Check that
Thus in case of linear dependency any vector from the set can be
written as linear combination of other vectors of the set.
Here x3 and x4 can be written as linear combination of x1 and x2 .
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 23 / 26
Linearly independent/dependent sets
Remarks:
Any set containing zero vector is linearly dependent.
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 24 / 26
Linearly independent/dependent sets
Indira Mishra (IIIT Bhopal) Linear Combination and Span Feb 7, 2024 25 / 26
Thank You