Chapter 2
Chapter 2
1
A vector space V over a field F
α + β = β + α, for all α, β ∈ V ;
α + (β + γ) = (α + β) + γ, for allα, β, γ ∈ V ;
2
contd.
(c) there is a unique vector 0 ∈ V called the zero vector such that
α + 0 = α, for all α ∈ V ;
3
Example 1 : The Euclidean space ⟨Rn , R, +, .⟩
V = Rn = {(x1 , x2 , . . . , xn ) : xi ∈ R} and F = R.
α + β = (x1 + y1 , x2 + y2 , . . . , xn + yn )
and . : F × V −→ V as
4
Verification
(a)
α + β = (x1 + y1 , x2 + y2 , . . . , xn + yn )
= (y1 + x1 , y2 + x2 , . . . , yn + xn )
= β + α.
α + (β + γ) = (x1 , x2 , . . . , xn ) + (y1 + z1 , y2 + z2 , . . . , yn + zn )
= (x1 + y1 + z1 , x2 + y2 + z2 , . . . , xn + yn + zn )
= (x1 + y1 , x2 + y2 , . . . , xn + yn ) + (z1 , z2 , . . . , zn )
= (α + β) + γ.
5
contd.
(c1 c2 ) · α = (c1 c2 x1 , c1 c2 x2 , . . . , c1 c2 xn )
= c1 · (c2 x1 , c2 x2 , . . . , c2 xn )
= c1 · (c2 · α).
6
contd.
c(α + β) = c(x1 + y1 , x2 + y2 , . . . , xn + yn )
= (c · (x1 + y1 ), c · (x2 + y2 ), . . . , c · (xn + yn ))
= (cx1 + cy1 , cx2 + cy2 , . . . , cxn + cyn ))
= cα + cβ.
V = F n = {(x1 , x2 , . . . , xn ) : xi ∈ F } .
α + β = (x1 + y1 , x2 + y2 , . . . , xn + yn )
and . : F × V −→ V as
and
[cA]ij = [caij ].
9
Example 4: The set of all real valued continuous functions
defined on [0, 1]
· : R × V −→ V
10
Example 5: The space of polynomial functions over a field
Assignment
11
Problem 1
and
c(x, y ) = (cx, y )
12
Note 1
0 = 0 + 0, (additive identity)
c0 = c(0 + 0), c ∈F
13
Note 1 contd.
0 = c0 + 0, (Existence of inverse)
0 = c0 (additive identity )
c0 = 0 for all c ∈ F .
14
Note 2
15
Note 3
cα = 0
=⇒ c −1 (cα) = c −1 0 = 0
=⇒ 1.α = 0 Reason : c −1 c = 1
16
Linear Combination
Definition
Let V be a vector space over a field F . A vector β ∈ V is said to
be a linear combination of vectors α1 , α2 , . . . , αn in V if there exist
scalars c1 , c2 , . . . , cn in F such that
n
X
β = c1 α1 + c2 α2 + . . . + cn αn = ci αi .
i=1
17
Problem 2
(x, y , z) = aα + bβ + cγ
(x, y , z) = (a, a + b, a + b + c)
18
Problem 3
19
Problem 4
Let R be the real field. Find all vectors in R3 that are linear
combination of (1, 0, −1), (0, 1, 1) and (1, 1, 1).
Solution: Objective is to find all linear combinations of vectors
(1, 0, −1), (0, 1, 1) and (1, 1, 1).
That is, find all (x, y , z) such that there exist a, b, c ∈ R such that
−1 1 1 c z
=⇒ AX = Y
20
Problem 4 contd.
−1 1 1 0 1 2 0 0 1 0 0 1
21
Subspace
Definition
Let V be a vector space over a field F . A subspace of V is a subset
W of V which itself a vector space over F with the operations of
vector addition and scalar multiplication defined on V .
22
Examples of subspaces
23
Theorem 1
∀ α, β ∈ W , c ∈ F =⇒ cα + β ∈ W .
Proof:
Case 1: Suppose that W is a subspace of V . So, W is a vector
space over the field F . Thus, if c ∈ F and α ∈ W , then cα ∈ W
(closed under scalar multiplication). Again, as W is closed under
vector addition, for any vector β ∈ W one has cα + β ∈ W . Hence
∀ α, β ∈ W , c ∈ F =⇒ cα + β ∈ W .
24
Theorem 1 contd.
∀ α, β ∈ W , c ∈ F =⇒ cα + β ∈ W . − − − −(1)
25
Examples of subspaces
By Theorem 1, W is a subspace of F n .
26
Examples contd.
This implies
∀ X1 , X2 ∈ S, c ∈ F =⇒ cX1 + X2 ∈ S.
27
Theorem 2
28
The subspace spanned by S
29
L(S)= the set of all linear combinations of vectors in S
30
Lemma
31
Theorem 3
W ∗ = L(S) − − − (a)
32
Theorem 3 contd.
34
Note 1 contd. (back to chapter one !)
1
S = a(1, 0, 0, 0, 0) + b(0, 3, 1, 0, 0) + c(0, − , 0, −2, 1) : a, b, c ∈ R
2
1
= Span of (1, 0, 0, 0, 0), (0, 3, 1, 0, 0), (0, − , 0, −2, 1) .
2
35
Problem
2x1 − x2 + 34 x3 − x4 =0
2
x1 + 3 x3 − x5 = 0
9x1 − 3x2 + 6x3 − 3x4 − 3x5 = 0
36
Row space and Column space of a matrix
37
Example
" #
1 0 0
Let A =
0 1 0
where
! ! !
1 0 0
R1 = (1, 0, 0), R2 = (0, 1, 0), C1 = , C2 = , C3 =
0 1 0
Row space of A
Column Space of A
( ! ! ! ) ( !)
1 0 0 a
= a +b +c : a, b, c ∈ F = . 38
0 1 0 b
Observations
39
Observations cont...
" # x
a11 a12 a13
AX = y
a21 a22 a23
z
" #
a11 x + a12 y + a13 z
=
a21 x + a22 y + a23 z
! ! !
a11 a12 a13
=x +y +z
a21 a22 a23
Definition:
Let V be a vector space over the field F . A subset
S = {α1 , α2 , . . . , αn } of V is said to be linearly dependent if there
exist scalars c1 , c2 , . . . , cn ∈ F , ci ̸= 0 for at least one i, such that
c1 α1 + c2 α2 + . . . + cn αn = 0.
Definition:
A set which is not linearly dependent is called a linearly independent
set.
In other words, if c1 α1 + c2 α2 + . . . + cn αn = 0, then
c1 = c2 = · · · = cn = 0.
41
Note
42
Problem 1
43
Problem 2
=⇒ (c1 , c2 , c3 ) = (0, 0, 0)
=⇒ c1 = c2 = c3 = 0.
44
Note
Note:
{e1 = (1, 0, 0, . . . , 0, 0), e2 = (0, 1, 0, . . . , 0, 0) . . . , en = (0, 0, 0, . . . , 0, 1)}
is a linearly independent subset of F n .
45
Applications
46
Basis
Definition:
Let V be a vector space over the field F . A non-empty set B ⊆ V
is a basis for V if
Definition:
A vector space V is called finite dimensional if it has a finite basis.
47
Example-1
The set B =
{e1 = (1, 0, 0, . . . , 0, 0), e2 = (0, 1, 0, . . . , 0, 0) . . . , en = (0, 0, 0, . . . , 0, 1)}
is a basis of Rn .
Verification:
Claim 1: B is a linearly independent set in Rn .
Consider
=⇒ (c1 , c2 , . . . , cn ) = (0, 0, . . . , 0)
=⇒ c1 = c2 = · · · = cn = 0
=⇒ B is a L.I . set.
48
Example-1 contd.
=⇒ (x1 , x2 , . . . , xn ) = x1 e1 + x2 e2 + . . . + xn en
we get that
span B = Rn .
49
Example-2
The set B =
{e1 = (1, 0, 0, . . . , 0, 0), e2 = (0, 1, 0, . . . , 0, 0) . . . , en = (0, 0, 0, . . . , 0, 1)}
is a basis of the vector space F n , where F is a field.
50
Example-3
The set B = {(0, 1, 1), (1, 0, 1), (1, 1, 0)} is a basis for R3 .
Verification:
Claim 1: B is a linearly independent set in R3 .
Consider
=⇒ (c2 + c3 , c1 + c3 , c1 + c2 ) = (0, 0, 0)
=⇒ c2 + c3 = 0, c1 + c3 = 0, c1 + c2 = 0
=⇒ (c2 + c3 , c1 + c3 , c1 + c2 ) = (x, y , z)
=⇒ c2 + c3 = x, c1 + c3 = y , c1 + c2 = z
52
Example-3 contd.
(x, y , z)
−x + y + z x −y +z x +y −z
= (0, 1, 1) + (1, 0, 1) + (1, 1, 0).
2 2 2
This implies
span B = R3 .
Hence, B is a basis of R3 .
53
Problem-3:
0 0 0 0 0
Solution.
No. of non-zero rows of R, r = 2, No. of variables, n = 5.
k1 = 2, k2 = 4 =⇒ Pivot variables = {xk1 , xk2 } = {x2 , x4 }.
No. of free variables = n − r = 5 − 2 = 3.
Free variables = {x1 , x3 , x5 }.
Set the free variables as: x1 = a, x3 = b, x5 = c
=⇒ x2 = 3b − 12 c, x4 = −2c.
54
Problem-3 contd...
1
S = a(1, 0, 0, 0, 0) + b(0, 3, 1, 0, 0) + c(0, − , 0, −2, 1) : a, b, c ∈ R
2
1
= Span of (1, 0, 0, 0, 0), (0, 3, 1, 0, 0), (0, − , 0, −2, 1) .
2
Let
1
E1 = (1, 0, 0, 0, 0), E3 = (0, 3, 1, 0, 0) and E5 = (0, − , 0, −2, 1).
2
55
Problem-3 contd...
56
Problem 4 (assignment)
2x1 − x2 + 34 x3 − x4 =0
2
x1 + 3 x3 − x5 = 0 .
9x1 − 3x2 + 6x3 − 3x4 − 3x5 = 0
57
Problem-5
Find a basis for the vector space F m×n of all m × n matrices over
the field F .
Solution: Define the matrices Ei,j in the following way:
(i). The ij th entry of matrix Ei,j is one
(ii). All other entries are zero.
Verify that the set B = {Eij : i = 1, 2, . . . , m; j = 1, 2, . . . , n} is a
basis for F m×n .
58
The column vectors of an invertible matrix form a basis
=⇒ PX = 0
=⇒ X = 0, ( P is an invertible matrix)
59
Contd.
=⇒ x1 = x2 = . . . = xn = 0 =⇒ B is an L.I. set
Y = PX = x1 P1 + x2 P2 + . . . + xn Pn ∈ L({P1 , P2 , . . . , Pn })
61
Theorem 4
62
Theorem 4 contd.
x1 α1 + x2 α2 + . . . + xn αn = 0 − − − − − −(i)
63
Theorem 4 contd.
Consider
x1 α1 + x2 α2 + . . . + xn αn
n
X
= xj αj
j=1
n m
!
X X
= xj Aij βi
j=1 i=1
m
X n
X
= Aij xj βi (This is just an rearrangement of terms)
i=1 j=1
n
X n
X Xn
= A1j xj β1 + A2j xj β2 + · · · + Amj xj βm .
j=1 j=1 j=1
64
Theorem 4 contd.
n
X
A2j xj = 0
j=1
..
.
n
X
Amj xj = 0
j=1
Therefore we got x1∗ , x2∗ , . . . , xn∗ (at least one xj∗ ̸= 0) such that
m
X Xn
x1∗ α1 + x2∗ α2 + . . . + xn∗ αn = Aij xj∗ βi = 0 (by (ii))
i=1 j=1
66
Corollaries to Theorem 4
Definition:
The dimension of a finite-dimensional vector space V is the number
of elements in a basis for V .
The dimension of the zero vector space is zero.
If V is not a finite dimensional vector space we say it is an infinite
dimensional vector space.
68
Examples
Example-1.
As B = {e1 = (1, 0, 0, . . . , 0, 0), e2 = (0, 1, 0, . . . , 0, 0), . . . ,
en = (0, 0, 0, . . . , 0, 1)} is a basis of F n over F ,
dimension of F n = dim(F n ) = n.
69
Examples
70
Examples
0 0 0 0 0
Solution space
1
S = Span of (1, 0, 0, 0, 0), (0, 3, 1, 0, 0), (0, − , 0, −2, 1) .
2
72
Corollaries to Theorem 4
c1 α1 + c2 α2 + · · · + cn αn + bβ = 0 − − − − − (i)
74
Proof continued
c1 α1 + c2 α2 + · · · + cn αn = 0.
75
Theorem 5
76
Theorem 5 contd
Sm = S0 ∪ {β1 , β2 , . . . , βm }
77
Example
Clearly, β1 = (1, 1, 0) ∈
/ L(S0 ). By Theorem 5,
S1 = S0 ∪ {β1 } = {(1, 1, 1), (1, 1, 0)} is a L.I. subset of R 3 .
Clearly β2 = (1, 0, 0) ∈
/ L(S1 ). By Theorem 5,
S2 = S1 ∪ {β2 } = {(1, 1, 1), (1, 1, 0), (1, 0, 0)} is a L.I. set. Verify
that L(S2 ) = R 3 . Hence, S2 is a basis for R 3 .
78
Ordered Basis
Definition:
Let V be a finite-dimensional vector space. An ordered basis for V
is a finite sequence of vectors which is linearly independent and
spans V .
α = x1 α1 + x2 α2 + · · · + xn αn − − − −(1)
79
If not, then there exist scalars y1 , y2 , . . . , yn ∈ F such that
α = y1 α1 + y2 α2 + · · · + yn αn − − − −(2)
x1 α1 + x2 α2 + · · · + xn αn = α = y1 α1 + y2 α2 + · · · + yn αn .
This implies
x1 − y1 = x2 − y2 = · · · = xn − yn = 0.
Definition:
The coordinate matrix of the vector α relative to the ordered basis
B is
x1
x2
[α]B = .
.
..
xn
81
Example
α = (1, 2, 3) = 1 · ϵ1 + 2 · ϵ2 + 3 · ϵ3
and
α = (1, 2, 3) = 1 · α1 + 1 · α2 + 1 · α3 .
Therefore
1 1
[α]B1 = 2 and [α]B2 = 1 .
3 1
82
Relation between [α]B1 and [α]B2 ?
Note that
α1 = ϵ1 + ϵ2 + ϵ3 ,
α2 = 0ϵ1 + ϵ2 + ϵ3
and
α3 = 0ϵ1 + 0ϵ2 + ϵ3 .
So, we have
1 0 0
P1 = [α1 ]B1 = 1 , P2 = [α2 ]B1 = 1 and P3 = [α3 ]B1 = 0 .
1 1 1
83
Relation between [α]B1 and [α]B2 ?
Let
1 0 0
P = [P1 , P2 , P3 ] = 1 1 0
1 1 1
Then
1 0 0 1 1
P · [α]B2 = 1 1 0 1 = 2 = [α]B1 .
1 1 1 1 3
84
Relation between [α]B1 and [α]B2 ?
That is
β1 = P11 α1 + P21 α2 + · · · + Pn1 αn
86
contd.
Now,
α = y1 β1 + y2 β2 + · · · + yn βn
= y1 (P11 α1 + P21 α2 + · · · + Pn1 αn )
+ y2 (P12 α1 + P22 α2 + · · · + Pn2 αn )
..
.
+ yn (P1n α1 + P2n α2 + · · · + Pnn αn )
= (P11 y1 + P12 y2 + · · · + P1n yn )α1
+ (P21 y1 + P22 y2 + · · · + P2n yn )α2
..
.
+ (Pn1 y1 + Pn2 y2 + · · · + Pnn yn )αn .
87
contd.
88
contd.
=⇒ X = PY , − − − − −(1)
89
contd.
91
An application
Example: Let B1 =
{α1 = (0, 1, 1, 1), α2 = (1, 0, 1, 1), α3 = (1, 1, 0, 1), α4 = (1, 1, 1, 0)}
be an ordered basis for R 4 and let
1 0 1 0
1 0 0 0
P=
0 1 0 0
0 1 4 2
93
solution contd.
94
Row rank / Column rank
Definitions:
Row rank of A = dimension of row space of A.
Column rank of A = dimension of column space of A.
95
Basis of a row-reduced echelon matrix
Hence
96