Basis and Dimension
Basis and Dimension
Basis and Dimension
Note: If 𝑣1 , 𝑣2 , … , 𝑣𝑛 form basis for a vector space V, then they must be distinct and
non-zero.
Solution: For it we must show that the vectors are linearly independent and span 𝑅3 .
Linearly independent:
𝑘1 𝑣1 + 𝑘2 𝑣2 + 𝑘3 𝑣3 = 0
1 2 30
(2 9 3|0)
1 0 40
By using Gaussian elimination technique, we come up with
1 2 3 0
(0 1 −3/5 |0)
0 0 −3/5 0
Which implies that
3
− 𝑘3 = 0 (3)
5
Eq. (2) gives 𝑘2 = 0 by inserting value of 𝑘3 while Eq. (1) implies that 𝑘1 = 0
(𝑎, 𝑏, 𝑐) = 𝑘1 𝑣1 + 𝑘2 𝑣2 + 𝑘3 𝑣3
𝑘1 + 2𝑘2 + 3 = 𝑎
𝑘1 + 4𝑘3 = 𝑐
1 2 3𝑎
(2 9 3|𝑏)
1 0 4𝑐
Firs, we check that weather the inverse of the above system exists or not. For this,
1 2 3
det|2 9 3|= -1≠ 0
1 0 4
⇒ Span exists. Now, using the following row operations:
1 2 3 𝑎
(0 5 −3|𝑏 − 2𝑎) 𝑅2 − 2𝑅1 , 𝑅3 − 𝑅1
0 −2 1 𝑐 − 𝑎
1 2 3 𝑎
⇒ (0 1 −3/5|(𝑏 − 2𝑎)/5) 𝑅2 /5
0 −2 1 𝑐−𝑎
3 𝑎
1 2 3 (𝑏 − 2𝑎)
⇒ 0 1 − 5 𝑅3 + 2𝑅2
5|
0 0 −1 −9𝑎 + 2𝑏 + 5𝑐
( 5 5 )
1 −9𝑎+2𝑏+5𝑐
− 𝑘3 = (3)
5 5
From (3)
𝑘3 = 9𝑎 − 2𝑏 − 5𝑐
𝑘2 = 5𝑎 − 𝑏 − 3𝑐
𝑘1 = −36𝑎 + 8𝑏 + 21𝑐
As the system (A) has a solution. So, 𝑣1 , 𝑣2 , 𝑣3 spans 𝑅3 and are linearly independent.
𝑘1 𝑣1 + 𝑘2 𝑣2 + 𝑘3 𝑣3 = (0,0)
−2𝑘2 + 2𝑘3 = 0
⇒ 𝑘2 = 𝑘3
Put in (1)
𝑘1 + 3𝑘3 + 4𝑘3 = 0
𝑘1 + 7𝑘3 = 0
𝑘1 = −7𝑘3
Let
𝑘3 = 𝑡, ⇒ 𝑘1 = −7𝑡, 𝑘2 = 𝑡
As 𝑘1 , 𝑘2 , 𝑘3 are not zero. So, 𝑣1 , 𝑣2 , 𝑣3 are linearly dependent. So, 𝑣1 , 𝑣2 , 𝑣3 does not
form basis for 𝑅2 .
1 0 0 1 0 0 0 0
Example 6: 𝑆 = {[ ],[ ],[ ],[ ]} is the basis for 𝑀22 .
0 0 0 0 1 0 0 1
Solution: To check Linear independence:
0 0
𝑘1 𝑣1 + 𝑘2 𝑣2 + 𝑘3 𝑣3 + 𝑘4 𝑣4 = [ ]
0 0
1 0 0 1 0 0 0 0 0 0
𝑘1 [ ] + 𝑘2 [ ] + 𝑘3 [ ] + 𝑘4 [ ]=[ ]
0 0 0 0 1 0 0 1 0 0
𝑘 𝑘2 0 0
[ 1 ]=[ ]
𝑘3 𝑘4 0 0
⇒ 𝑘1 = 𝑘2 = 𝑘3 = 𝑘4 = 0
To check Spanning:
a b 1 0 0 1 0 0 0 0
[ ] = k1 [ ] + k2 [ ] + k3 [ ] + k4 [ ]
c d 0 0 0 0 1 0 0 1
a b k k2
[ ]=[ 1 ]
c d k3 k4
𝑘1 = 𝑎, 𝑘2 = 𝑏, 𝑘3 = 𝑐, 𝑘4 = 𝑑
As it spans and are linearly independent. So, the set forms basis for 𝑀22
𝑺 = {𝒕𝟐 + 𝟏, 𝒕 − 𝟏, 𝟐𝒕 + 𝟐}
⃗
𝑘1 𝑣1 + 𝑘2 𝑣2 + 𝑘3 𝑣3 = 0
𝑘1 (𝑡 2 + 1) + 𝑘2 (𝑡 − 1) + 𝑘3 (2𝑡 + 2) = 0𝑡 2 + 0𝑡 + 0
𝑘1 𝑡 2 + 𝑘1 + 𝑘2 𝑡 − 𝑘2 + 2𝑘3 𝑡 + 2𝑘3 = 0𝑡 2 + 0𝑡 + 0
𝑘1 𝑡 2 + 𝑘2 𝑡 + 2𝑘3 𝑡 + 𝑘1 − 𝑘2 + 2𝑘3 = 0𝑡 2 + 0𝑡 + 0
𝑘1 = 0 … (1)
{ 𝑘2 + 2𝑘3 = 0 … (2)
𝑘1 − 𝑘2 + 2𝑘3 = 0 … (3)
𝑘2 + 2𝑘3 = 0
−𝑘2 + 2𝑘3 = 0
4𝑘3 = 0
𝑘3 = 0
𝑘2 = 0
Spanning:
𝑝 = 𝑘1 𝑣1 + 𝑘2 𝑣2 + 𝑘3 𝑣3
𝑎𝑡 2 + 𝑏𝑡 + 𝑐 = 𝑘1 (𝑡 2 + 1) + 𝑘2 (𝑡 − 1) + 𝑘3 (2𝑡 + 2)
𝑎𝑡 2 + 𝑏𝑡 + 𝑐 = 𝑘1 𝑡 2 + 𝑘1 + 𝑘2 𝑡 − 𝑘2 + 2𝑘3 𝑡 + 2𝑘3
𝑎𝑡 2 + 𝑏𝑡 + 𝑐 = 𝑘1 𝑡 2 + 𝑘2 𝑡 + 2𝑘3 𝑡 + 𝑘1 − 𝑘2 + 2𝑘3
𝑎 = 𝑘1 … … … (1)
{ 𝑏 = 𝑘2 + 2𝑘3 … … … (2)
𝑐 = 𝑘1 − 𝑘2 + 2𝑘3 … … … (3)
𝑐 = 𝑎 − 𝑘2 + 2𝑘3
−𝑘2 + 2𝑘3 = 𝑐 − 𝑎
4𝑘3 = 𝑏 + 𝑐 − 𝑎
𝑏+𝑐−𝑎
𝑘3 =
4
Put value of 𝑘2 in equation (2)
𝑘2 + 2𝑘3 = 𝑏
𝑏+𝑐−𝑎
𝑘2 + 2 ( )=𝑏
4
𝑏+𝑐−𝑎
𝑘2 = 𝑏 −
2
2𝑏 − 𝑏 − 𝑐 + 𝑎
𝑘2 =
2
𝑏−𝑐+𝑎
𝑘2 =
2
𝑏−𝑐+𝑎 𝑏+𝑐−𝑎
So, 𝑘1 = 𝑎, 𝑘2 = , 𝑘3 =
2 4
It means S spans V.
Dimension:
The dimension of a vector space V is the number of vectors in a basis for V.
Example 1:
Example 2:
𝑑𝑖𝑚(𝑀𝑚𝑛 ) = 𝑚𝑛
How?
Example 3:
𝐝𝐢𝐦(𝐏𝐧 ) = 𝐧 + 𝟏