Professional Documents
Culture Documents
4.2 SUBSPACES
A subspace is a smaller set within a vector space that is itself a vector space.
𝑢 𝒗
𝑆 is a subspace of 𝑉 if 𝑆 :
i. closed under vector addition
If 𝑢, 𝑣 ∈ 𝑆 then 𝑢 + 𝑣 ∈ 𝑆
ii. closed under scalar multiplication
EXAMPLE 1
Determine whether the set S is a subspace of R2 .
a) 𝑆 = {(𝑎, 𝑏)| 𝑎 = 2𝑏}
Define Let 𝑢, 𝑣 ∈ 𝑆.
elements
𝑢 = (𝑢1 , 𝑢2 ) ; 𝑢1 = 2𝑢2 … (1)
of the set
𝑣 = (𝑣1 , 𝑣2 ) ; 𝑣1 = 2𝑣2 … (2)
𝑢1 + 𝑣1 = 2𝑢2 + 2𝑣2
= 2(𝑢2 + 𝑣2 )
2nd 𝛼𝑢 = 𝛼(𝑢1 , 𝑢2 )
condition
= (𝛼𝑢1 , 𝛼𝑢2 )
Check the condition:
𝛼𝑢1 = 𝛼(2𝑢2 )
= 2𝛼𝑢2
Define Let 𝑢, 𝑣 ∈ 𝑆.
elements
𝑢 = (𝑢1 , 1)
of the set
𝑣 = (𝑣1 , 1)
EXAMPLE 2
𝑎 𝑏
Let 𝑊 be a set of all 2 × 2 matrices with real entries of the form ( ) where 𝑎𝑑 = 0.
𝑐 𝑑
Determine whether 𝑊 is a subspace of 𝑀2×2 .
SOLUTION:
Define Let 𝐴, 𝐵 ∈ 𝑊.
elements
𝑎1 𝑎2 𝑏1 𝑏2
of the set Let 𝐴 = (𝑎 𝑎4 ) where 𝑎1 𝑎4 = 0 and 𝐵 = (𝑏3 ) where 𝑏1 𝑏4 = 0
3 𝑏4
= 0 + 𝑎1 𝑏4 + 𝑏1 𝑎4 + 0
= 𝑎1 𝑏4 + 𝑏1 𝑎4 ≠ 0
EXAMPLE 3
Define Let 𝑝, 𝑞 ∈ 𝑆.
elements
𝑝(𝑥 ) = 𝑎1 + 𝑎2 𝑥 + 𝑎3 𝑥 2 ; 𝑎3 = 𝑎1 + 𝑎2
of the set
𝑞(𝑥 ) = 𝑏1 + 𝑏2 𝑥 + 𝑏3 𝑥 2 ; 𝑏3 = 𝑏1 + 𝑏2
𝑎3 + 𝑏3 = (𝑎1 + 𝑎2 ) + (𝑏1 + 𝑏2 )
= (𝑎1 + 𝑏1 ) + (𝑎2 + 𝑏2 )
∴ 𝑝 + 𝑞 ∈ 𝑆. 𝑆 is closed under vector addition.
𝑘𝑎3 = 𝑘(𝑎1 + 𝑎2 )
= 𝑘𝑎1 + 𝑘𝑎2
∴ 𝑘𝑝 ∈ 𝑆. 𝑆 is closed under scalar multiplication.
Define
elements of
the set
1st condition
(vector
addition)
2nd condition
(scalar
multiplication)
Conclusion
#If one of the conditions is not satisfied, no need to check the other condition.
Solution:
Define 𝑢
⃗ ,𝑣 ∈ 𝑊
elements of
⃗ = (𝑢1 , 𝑢2 ); 𝑢1 + 𝑢2 = 0; 𝑢1 , 𝑢2 ∈ ℜ
𝑢
the set
𝑣 = (𝑣1 , 𝑣2 ); 𝑣1 + 𝑣2 = 0; 𝑣1 , 𝑣2 ∈ ℜ
=0+0=0
Define Let 𝑝, 𝑞 ∈ 𝑃.
elements of
𝑝(𝑥 ) = 𝑎1 + 𝑎2 𝑥 + 𝑎3 𝑥 2 ; 𝑎1 = 𝑎2 + 𝑎3 − 1 ; 𝑎1 , 𝑎2 , 𝑎3 ∈ ℜ
the set
𝑞(𝑥 ) = 𝑏1 + 𝑏2 𝑥 + 𝑏3 𝑥 2 ; 𝑏1 = 𝑏2 + 𝑏3 − 1 ; 𝑏1 , 𝑏2 , 𝑏3 ∈ ℜ
Solution:
Define
elements of
the set
1st condition
(vector
addition)
2nd condition
(scalar
multiplication)
Conclusion
2
4. Let 𝑆 = {(𝑎 𝑎 ) , 𝑎, 𝑏 ∈ ℜ}. Determine whether 𝑆 is a subspace of 𝑀2×2 , the set
0 𝑏
of all 2 × 2 matrices
Solution:
Define
elements of
the set
1st condition
(vector
addition)
2nd condition
Conclusion
DEFINITION:
𝒗 = 𝑐1 𝒖𝟏 + 𝑐2 𝒖𝟐 + … + 𝑐𝑛 𝒖𝒏
where 𝑐1 , 𝑐2 , … , 𝑐𝑛 are scalars.
u1 , u2 ,…, un
???
𝒗=
ฎ 𝒄𝟏 𝒖𝟏 + 𝒄𝟐 𝒖𝟐 + ⋯ + 𝒄𝒏 𝒖𝒏
𝒗 ∈𝑉
REMARK
❖ If the question asks to express a given vector as linear combination
Given 𝒖1 = (1, 0, 2), 𝒖𝟐 = (1, − 1, 0), 𝒖𝟑 = (−1, 0, 1) and 𝒗 = (2, − 4, 6). Express 𝒗 as
a linear combination of 𝒖1 , 𝒖𝟐 and 𝒖𝟑 .
SOLUTION:
Write 𝒗 as form of : 𝒗 = 𝑐1 𝑢1 + 𝑐2 𝑢2 + 𝑐3 𝑢3
𝐴𝑋 = 𝐵: 1 1 −1 𝑐1 2
(0 𝑐
−1 0 ) ( 2 ) = (−4)
2 0 1 𝑐3 6
Augmented matrix: 1 1 −1 2
(0 −1 0 |−4)
2 0 1 6
−2𝑅1 + 𝑅3 → 𝑅3 1 1 −1 2
(0 −1 0 |−4)
0 −2 3 2
−𝑅2 → 𝑅2 1 1 −1 2
(0 1 0 |4)
0 −2 3 2
2𝑅2 + 𝑅3 → 𝑅3 1 1 −1 2
(0 1 0 |4)
0 0 3 10
1 1 1 −1 2
𝑅 → 𝑅3
3 3 (0 1 0 |4)
10
0 0 1 3
10 4
𝑐1 + 𝑐2 − 𝑐3 = 2 ⇒ 𝑐1 = 2 − 4 + =
3 3
𝑐2 = 4
10
𝑐3 =
3
4 10
∴ (2, − 4, 6) = (1, 0, 2) + 4(1, − 1, 0) + (−1, 0, 1)
3 3
𝒓 = 2 + 𝑥, 𝒔 = 𝑥 + 2𝑥 2 𝒕 = 4 + 2𝑥 2
Write 𝒗 as form of : 𝒖 = 𝑐1 𝒓 + 𝑐2 𝒔 + 𝑐3 𝒕
2 + 𝑥 + 6𝑥 2 = 𝑐1 (2 + 𝑥 ) + 𝑐2 (𝑥 + 2𝑥 2 ) + 𝑐3 (4 + 2𝑥 2 )
𝐴𝑋 = 𝐵: 2 0 4 𝑐1 2
(1 1 0 ) ( 𝑐2 ) = ( 1)
0 2 2 𝑐3 6
Augmented matrix: 2 0 42
(1 1 0|1)
0 2 26
1 1 0 21
𝑅 → 𝑅1 (1 1 0|1)
2 1
0 2 26
−𝑅1 + 𝑅2 → 𝑅2 1 0 2 1
(0 1 −2|0)
0 2 2 6
−2𝑅2 + 𝑅3 → 𝑅3 1 0 2 1
(0 1 −2|0)
0 0 6 6
𝑅3 → 𝑅3 1 0 2 1
(0 1 −2|0)
0 0 1 1
𝑐1 + 2𝑐3 = 1 ⇒ 𝑐1 = 1 − 2 = −1
𝑐2 − 2𝑐3 = 0 ⇒ 𝑐2 = 2
𝑐3 = 1
∴ 2 + 𝑥 + 6𝑥 2 = −(2 + 𝑥 ) + 2(𝑥 + 2𝑥 2 ) + (4 + 2𝑥 2 )
Write 𝐹 as form of : 𝑭 = 𝑐1 𝑨 + 𝑐2 𝑩 + 𝑐3 𝑪
5 4 1 2 −1 1 2 1
( ) = 𝑐1 ( ) + 𝑐2 ( ) + 𝑐3 ( )
−6 0 0 −1 3 2 −3 4
5 4 𝑐 − 𝑐2 + 2𝑐3 2𝑐1 + 𝑐2 + 𝑐3
( )=( 1 )
−6 0 3𝑐2 − 3𝑐3 −𝑐1 + 2𝑐2 + 4𝑐3
Augmented matrix: 1 −1 2 5
2 1 1 4
( | )
0 3 −3 −6
−1 2 4 0
−2𝑅1 + 𝑅2 → 𝑅2 1 −1 2 5
0 3 −3 −6
( | )
0 3 −3 −6
−1 2 4 0
𝑅1 + 𝑅3 → 𝑅3 1 −1 2 5
0 3 −3 −6
( | )
0 3 −3 −6
0 1 6 5
𝑅2 ↔ 𝑅4 1 −1 2 5
0 1 6 5
( | )
0 3 −3 −6
0 3 −3 −6
−3𝑅2 + 𝑅3 → 𝑅3 1 −1 2 5
0 1 6 5
( | )
0 0 −21 −21
0 0 0 0
1 1 −1 25
− 𝑅 → 𝑅3
21 3 (
0 1 65
| )
0 0 11
0 0 00
𝑐1 − 𝑐2 + 2𝑐3 = 5 ⇒ 𝑐3 = 2
𝑐2 + 6𝑐3 = 5 ⇒ 𝑐2 = −1
𝑐3 = 1
Since there exist constants 𝑐1 , 𝑐2 and 𝑐3 , therefore 𝐹 is a linear combination of A, B
and C.
EXAMPLE 7
If possible, write the vector 𝒘 = (1, −2, 2) as a linear combination of vectors in the set
𝑆 = {(1, 2, 3), (0, 1, 2), (−1, 0, 1)}.
SOLUTION:
Write 𝒘 as form of : 𝒘 = 𝑐1 (1, 2, 3) + 𝑐2 (0, 1, 2) + 𝑐3 (−1, 0, 1)
𝐴𝑋 = 𝐵: 1 0 −1 𝑐1 1
(2 1 0 ) (𝑐2 ) = (−2)
3 2 1 𝑐3 2
Augmented matrix: 1 0 −1 1
(2 1 0 |−2)
3 2 1 2
−2𝑅1 + 𝑅2 → 𝑅2 1 0 −1 1
(0 1 2 |−4)
3 2 1 2
−2𝑅2 + 𝑅3 → 𝑅3 1 0 −1 1
(0 1 2 |−4)
0 0 0 7
From the third row, we can conclude that the system of equations is inconsistent,
which means there is no solution. Consequently, 𝒘 cannot be written as a linear
combinations of vectors in set 𝑆.
• We say
S spans W or 𝑊 = span (S) or 𝑊= span{𝒖𝟏 , 𝒖𝟐 , … , 𝒖𝒏 }
S spans W 𝑊
u1 , u2 ,…, un
𝑣1 , 𝑣2 , 𝑣3 , …
𝑊 = span (S)
EXAMPLE 8
1 0 1 −1 𝑐
𝑅1 ⟷ 𝑅3 (1 −2 0 4 |𝑏 )
3 2 1 1 𝑎
−3𝑅1 + 𝑅3 → 𝑅3 1 0 1 −1 𝑐
(0 −2 −1 5 | 𝑏 − 𝑐)
−𝑅1 + 𝑅2 → 𝑅2 0 2 −2 4 𝑎 − 3𝑐
𝑅2 + 𝑅3 → 𝑅3 𝑐
1 0 1 −1 1
1
− 𝑅2 → 𝑅2 1 5 − (𝑏 − 𝑐 )
2 (0 1 − | 2 )
1 2 2 1
− 𝑅3 → 𝑅3 0 0 1 −3 − 3 (𝑎 + 𝑏 − 4𝑐 )
3
EXAMPLE 9
𝑐1 (1 − 𝑥 2 )+ 𝑐2 (𝑥 + 2 ) + 𝑐3 𝑥 2 = 𝑎 + 𝑏𝑥 + 𝑐𝑥 2
𝑐1 + 2𝑐2 + 𝑐2 𝑥 + (𝑐3 − 𝑐1 )𝑥 2 = 𝑎 + 𝑏𝑥 + 𝑐𝑥 2
1 2 0 𝑐1 𝑎
(0 1 0) (𝑐2 ) = (𝑏 )
−1 0 1 𝑐3 𝑐
STEP 3: 1 2 0
1 2
|0 1 0| = 1 | | = 1 ≠ 0.
0 1
−1 0 1
STEP 2: 𝑘1 + 𝑘3 − 𝑘4 = 𝑎
𝑘1 − 2𝑘2 + 4𝑘4 = 𝑏
𝑘1 + 2𝑘2 + 2𝑘3 − 6𝑘4 = 𝑐
STEP 3: 1 0 1 −1 𝑎
(1 −2 0 4 |𝑏 )
1 2 2 −6 𝑐
−𝑅1 + 𝑅2 → 𝑅2 1 0 1 −1 𝑎
(0 −2 −1 5 |𝑏 − 𝑎)
1 2 2 −6 𝑐
−𝑅1 + 𝑅3 → 𝑅3 1 0 1 −1 𝑎
(0 −2 −1 5 |𝑏 − 𝑎)
0 2 1 −5 𝑐 − 𝑎
𝑅2 + 𝑅3 → 𝑅3 1 0 1 −1 𝑎
(0 −2 −1 5 | 𝑏−𝑎 )
0 0 0 0 𝑏 + 𝑐 − 2𝑎
STEP 4: The last row gives us a false statement unless 𝑏 + 𝑐 − 2𝑎 = 0. This implies
that the system is not always consistent. Hence S does not span the
whole vector space 𝑅 3 .
DEFINITION
EXAMPLE 10
Determine whether the vectors below are linearly independent.
1 1 2 𝑘1 0
(1 0 1) (𝑘2 ) = (0)
−1 1 1 𝑘3 0
STEP 4 : CONCLUSION
Thus, the vectors are linearly independent.
EXAMPLE 11
Let 𝑆 = {𝑣1 , 𝑣2 , 𝑣3 , 𝑣4 } where 𝑣1 = (3,1,1), 𝑣2 = (2, −2,0), 𝑣3 = (1, 0, 1) and 𝑣4 = (1,4, − 1).
Show that S is linearly dependent in R3.
SOLUTION:
STEP 1:
𝑘1 𝑣1 + 𝑘2 𝑣2 + 𝑘3 𝑣3 + 𝑘4 𝑣4 = ⃗0⃑
𝑘1 (3,1,1) + 𝑘2 (2, −2,0) + 𝑘3 (1, 0, 1) + 𝑘4 (1,4, − 1) = (0, 0, 0)
3𝑘1 + 2 𝑘2 + 𝑘3 + 𝑘4 = 0
𝑘1 − 2 𝑘2 + 0𝑘3 + 4𝑘4 = 0
𝑘1 + 0𝑘2 + 𝑘3 − 𝑘4 = 0
3 2 1 1 0
(1 −2 0 4 |0)
1 0 1 −1 0
STEP 4 : CONCLUSION
EXAMPLE 12
3 −2 0 1 1 7 1 1
Let 𝐵 = {( ), ( ), ( ), ( )} . Show that B is linearly independent.
4 0 1 −2 3 0 0 1
SOLUTION:
STEP 1:
3 −2 0 1 1 7 1 1 0 0
𝑘1 ( ) + 𝑘2 ( ) + 𝑘3 ( ) + 𝑘4 ( )=( )
4 0 1 −2 3 0 0 1 0 0
3𝑘 −2𝑘1 0 𝑘2 𝑘 7𝑘3 𝑘 𝑘4 0 0
( 1 )+( )+( 3 )+( 4 )=( )
4𝑘1 0 𝑘2 −2𝑘2 3𝑘3 0 0 𝑘4 0 0
3𝑘1 + 𝑘3 + 𝑘4 = 0
−2𝑘1 + 𝑘2 + 7𝑘3 + 𝑘4 = 0
4𝑘1 + 𝑘2 + 3𝑘3 = 0
−2𝑘2 + 𝑘4 = 0
3 0 1 1 𝑘1 0
−2 1 7 1 𝑘2 0
( )( ) = ( )
4 1 3 0 𝑘3 0
0 −2 0 1 𝑘4 0
STEP 4 : CONCLUSION
BASIS
Smallest number of vectors in 𝑉 that represent 𝑉.
The set of vectors {𝑢1 , 𝑢2 , . . , 𝑢𝑛 } forms a basis for vector space 𝑉 if and only if :
2. {𝑢1 , 𝑢2 , . . , 𝑢𝑛 } spans 𝑉
If the vectors consisting {𝑣1 , 𝑣2 , … , 𝑣𝑛 } form a square matrix 𝐴, then it will form a basis
if and only if |𝐴| ≠ 0.
i. S is linearly independent.
ii. S spans V.
DIMENSION
𝑅𝑛 𝑛 ≤𝑛
𝑀𝑚×𝑛 𝑚𝑛 ≤ 𝑚𝑛
𝑃𝑛 𝑛+1 ≤𝑛+1
DIMENSION TEST
If the number of vectors in a set S is the same as the dimension of a vector space V
SOLUTION:
Check for linearly independent:
1 1 2 𝑐1 0
(1 0 1) (𝑐2 ) = (0)
−1 1 1 𝑐3 0
1 1 2
|1 0 1| = −1 ≠ 0
−1 1 1
Since the value of determinant is not equal to zero and the number of vectors is 3, by
using dimension test, the vectors are linearly independent and spans R3. Therefore,
the vectors form a basis for R3
EXAMPLE 14
𝑘1 (1 − 3𝑥 + 2𝑥 2 ) + 𝑘2 (1 + 𝑥 + 4𝑥 2 ) + 𝑘3 (1 − 7𝑥 ) = 𝑎 + 𝑏𝑥 + 𝑐𝑥 2
𝑘1 + 𝑘2 + 𝑘3 = 𝑎
−3𝑘1 + 𝑘2 − 7𝑘3 = 𝑏
2𝑘1 + 4𝑘2 = 𝑐
1 1 1 𝑘1 𝑎
(−3 1 −7 ) ( 𝑘2 ) = ( 𝑏)
2 4 0 𝑘3 𝑐
EXAMPLE 15
2𝑎 𝑏
Let 𝐻 = {( ) ; 𝑎, 𝑏, 𝑐 ∈ ℝ}.
𝑎 𝑐
a) Show 𝐻 is a subspace of 𝑀2×2 .
i. S spans H
ii. S is linearly independent set
d) Find a basis of H.
State the dimension of H.
SOLUTION
a) Let 𝐴, 𝐵 ∈ 𝐻
2𝑎1 𝑎2
𝐴 = {( ) ; 𝑎1 , 𝑎2 , 𝑎3 ∈ ℝ}
𝑎1 𝑎3
2𝑏1 𝑏2
𝐵 = {( ) ; 𝑏1 , 𝑏2 , 𝑏3 ∈ ℝ}
𝑏1 𝑏3
i) check whether 𝐴 + 𝐵 ∈ 𝐻
2𝑎 𝑎2 2𝑏 𝑏2
𝐴+𝐵 =( 1 )+( 1 )
𝑎1 𝑎3 𝑏1 𝑏3
2𝑎 + 2𝑏1 𝑎2 + 𝑏2
=( 1 )
𝑎1 + 𝑏1 𝑎3 + 𝑏3
2(𝑎1 + 𝑏1 ) 𝑎2 + 𝑏2
=( )
𝑎1 + 𝑏1 𝑎3 + 𝑏3
∴𝐴+𝐵 ∈𝐻
i. S spans H
2𝑎 𝑏
Let ( ) ; 𝑎, 𝑏, 𝑐 ∈ ℝ be any vector in H
𝑎 𝑐
2𝑎 𝑏 2 0 0 1 0 0
( ) = 𝑎( )+𝑏( )+𝑐( )
𝑎 𝑐 1 0 0 0 0 1
Thus;
2 0 0 1 0 0
𝑆 = {( ),( ),( )} spans 𝐻.
1 0 0 0 0 1
c) Find a basis of H.
2 0 0 1 0 0 0 0
𝑘1 ( ) + 𝑘2 ( ) + 𝑘3 ( )=( )
1 0 0 0 0 1 0 0
2𝑘 𝑘2 0 0
( 1 )=( )
𝑘1 𝑘3 0 0
𝑘1 = 𝑘2 = 𝑘3 = 0
2 0 0 1 0 0
Basis of H = {( ),( ),( )}
1 0 0 0 0 1
d) State the dimension of H.
dim(H) = number of vectors in a basis = 3.
Given a set 𝑆 = {(1, 𝑡, 𝑡 2 ), (2, 1 + 𝑡, 0), (0, 0, 1)}. Find all value(s) of 𝑡 such that 𝑆 is a basis
for 𝑅3 .
SOLUTION
𝑡𝑘1 + (1 + 𝑡)𝑘2 = 0
𝑡 2 𝑘1 + 𝑘3 = 0
1 2 0 𝑘1 0
(𝑡 1+𝑡 0) (𝑘2 ) = (0)
𝑡2 0 1 𝑘3 0
1 2 0
𝐴=(𝑡 1+𝑡 0)
𝑡2 0 1
|𝐴| ≠ 0
1 2 0
|𝑡 1+𝑡 0| ≠ 0
𝑡2 0 1
1 2
1| |≠0
𝑡 1+𝑡
1(1 + 𝑡) − 2𝑡 ≠ 0
1 + 𝑡 − 2𝑡 ≠ 0
𝑡≠1
Find the value(s) of 𝑡 such that 𝑆 = {(1, 𝑡, 1), (0, 1 − 𝑡, 1 − 𝑡 2 ), (1 + 𝑡 , 2 , 1 + 𝑡)} is linearly
independent in 𝑅3 .
SOLUTION:
𝑘1 + 𝑘3 (1 + 𝑡) = 0
𝑡𝑘1 + 𝑘2 (1 − 𝑡) + 2𝑘3 = 0
𝑘1 + 𝑘2 (1 − 𝑡 2 ) + 𝑘3 (1 + 𝑡) = 0
1 0 1 + 𝑡 𝑘1 0
(𝑡 1−𝑡 2 ) (𝑘2 ) = (0)
1 1 − 𝑡2 1 + 𝑡 𝑘3 0
Coefficient matrix (A) is a square matrix, S is linearly independent IF |𝐴| ≠ 0.
1 0 1+𝑡
|𝑡 1−𝑡 2 |≠0
1 1 − 𝑡2 1+𝑡
1−𝑡 2 𝑡 1−𝑡
1| | + (1 + 𝑡) | |≠0
1 − 𝑡2 1+𝑡 1 1 − 𝑡2
1 − 𝑡 2 − 2(1 − 𝑡 2 ) + (1 + 𝑡)(𝑡(1 − 𝑡 2 ) − (1 − 𝑡)) ≠ 0
1 − 𝑡 2 − 2 + 2𝑡 2 + (1 + 𝑡)(𝑡 − 𝑡 3 − 1 + 𝑡) ≠ 0
𝑡 2 − 1 + (1 + 𝑡)(2𝑡 − 𝑡 3 − 1) ≠ 0
(𝑡 − 1)(𝑡 + 1) + (1 + 𝑡)(2𝑡 − 𝑡 3 − 1) ≠ 0
(1 + 𝑡)(𝑡 − 1 + 2𝑡 − 𝑡 3 − 1) ≠ 0
(1 + 𝑡)(3𝑡 − 𝑡 3 − 2) ≠ 0
𝑡 ≠ −1, 1, −2
If 𝐵 is a row echelon matrix, then the row vectors with leading 1 form a basis for the
row space of 𝐵, and the column vectors of B with leading 1 form a basis for the column
space of B.
2. To find row space nonzero rows B form a basis for the row space of A.
If the matrix is already row echelon matrix (the given matrix is row echelon form) then
1 0 1 −1
A = 0 1 0 2
0 0 0 1
Rank(A) : 3
EXAMPLE 18
Let A and B be two equivalent matrices, where
3 2 5 1 1 −3 −2 4
A = 1 −3 −2 4 B = 0 1 1 −1
4 5 9 −1 0 0 0 0
𝐴~𝐵
Rank(A) : 2
What is Nullspace?
• Denoted as 𝑁(𝐴)
• A basis for nullspace of A = set of vectors that spans the solution space
What is Nullity?
(c) nullity of A
SOLUTION:
−2𝑅1 + 𝑅2 → 𝑅2 1 2 0 −1 0
−3𝑅1 + 𝑅3 → 𝑅3 (0 2 −3 −1|0)
0 4 −6 −2 0
1 2 0 −1 0
−2𝑅2 + 𝑅3 → 𝑅3 (0 2 −3 −1|0)
0 0 0 0 0
1 1 2 0 −1 0
𝑅 → 𝑅2 3 1
2 2 (0 1 − − |0)
2 2
0 0 0 0 0
𝑥4 = 𝑠, 𝑠∈ℝ
𝑥1 −3 0
3 1
𝑥2
∴ Nullspace of A, 𝑁(𝐴) = (𝑥 ) = 𝑡 ( ) + 𝑠 ( 2 ) , 𝑡, 𝑠 ∈ ℝ
2
3 1 0
𝑥
{ 4 0 1 }
c) nullity of A
nullity(A)= 2
(c) nullity of B
SOLUTION:
(a) the solution space of B
1 0 30
(−1 1 2|0)
2 2 00
𝑅1 + 𝑅2 → 𝑅2 1 0 30
(0 1 5|0)
2 2 00
−2𝑅1 + 𝑅3 → 𝑅3 1 0 3 0
(0 1 5 |0)
0 2 −6 0
−2𝑅2 + 𝑅3 → 𝑅3 1 0 3 0
(0 1 5 |0 )
0 0 −16 0
1 1 0 30
− 𝑅 → 𝑅3 (0 1 5|0)
16 3
0 0 10
𝑥3 = 0
𝑥2 + 5𝑥3 = 0 ⇒ 𝑥2 = 0
𝑥1 + 3𝑥3 = 0 ⇒ 𝑥1 = 0
𝑥1 0
𝑥
( 2 ) = (0)
𝑥3 0
𝑥1 0
𝑥
∴ Nullspace of 𝐵 = {( 2 ) = (0)}
𝑥3 0
c) nullity of B
Nullity(B) = 0
SOLUTION:
a) a basis for the row space of A
basis for the row space of A = {(1,0,1,0,1), (0,1,0,0,1), (0,0,1,1,0)(0,0,0,2,0)}
𝑥5 is a free variable.
𝑥5 = 𝑡 , 𝑡 ∈ ℝ
2𝑥4 = 0 ⇒ 𝑥4 = 0
𝑥3 + 𝑥4 = 0 ⇒ 𝑥3 = 0
𝑥2 + 𝑥5 = 0 ⇒ 𝑥2 = −𝑡
𝑥1 + 𝑥3 + 𝑥5 = 0 ⇒ 𝑥1 = −𝑡
𝑥1 −1
𝑥2 d) the rank of A
−1
Nullspace(𝐴) = 𝑥3 = 𝑡 0 , 𝑡∈ℝ Rank(A) = 4
𝑥4 0
{(𝑥5 ) (1) }
e) the nullity of A
−1 Nullity(A) = 1
−1
basis for nullspace of A = 0 .
0
{( 1 )}
a) nullity(A) + rank(A) = 𝑛
nullity(A) = 10 − 4 = 6
d) nullity(AT) + rank(AT) = 𝑚
rank(AT) = rank(A)
nullity(AT) = 8 – 4 = 4