5.5 - Row, Column and Null Space
5.5 - Row, Column and Null Space
5
Row, Column and Null Spaces
Outline:
−1 3 2 1
It follows that 2 1 − 2 + 3 −3 = −9
2 1 −2 −3
Theorem: Elementary row operations do not change the null space of a matrix.
Theorem: Elementary row operations do not change the row space of a matrix.
General Solution of a Nonhomogeneous Linear System
Theorem: If 𝒙𝟎 is any solution of a consistent linear system 𝐴𝑿 = 𝐵, and if 𝑆 =
{𝒗1 , 𝒗2 , . . . , 𝒗𝑘 } is a basis for the null space of 𝐴, then every solution of 𝐴𝑋 = 𝑩 can be
expressed in the form
𝒙 = 𝒙𝟎 + 𝑐1 𝒙𝟏 + 𝑐1 𝒙𝟐 + ⋯ . +𝑐𝑘 𝒙𝒌 (1)
Conversely, for all choices of scalars 𝑐1 , 𝑐2 , … , 𝑐𝑘 the vector 𝒙 in this formula is a solution
of 𝐴𝑿 = 𝐵.
−1 −1
1 0
Which shows that the vectors 𝒗1 = 0 and 𝒗2 = −1 spans the solution space. Since they are also
0 0
0 1
linearly independent(verify), 𝑆 = {𝒗𝟏 , 𝒗𝟐 } is a basis for the solution space and the solution space is two
dimensional.
Basis for the Null Space of a Matrix
Example: Find a basis for the null space of the matrix
1 3 −2 0 2 0
2 6 −5 −2 4 −3
𝐴=
0 0 5 10 0 15
2 6 0 8 4 18
Solution: The null space of A is the solution space of the homogeneous linear system 𝐴𝑋 = 𝟎
Corresponding augmented matrix is
1 3 −2 0 2 0 0 1 3 0 4 2 0 0
2 6 −5 −2 4 −3 0 0 0 1 2 0 0 0
≈
0 0 5 10 0 15 0 0 0 0 0 0 1 0
2 6 0 8 4 18 0 0 0 0 0 0 0 0
and deduced that the general solution 𝒙 of the homogeneous system
𝑥1 −3𝑟 − 4𝑠 − 2𝑡 0 −3 −4 −2
𝑥2 𝑟 0 1 0 0
𝑥3 −2𝑠 0 0 −2 0
𝑥4 = = + 𝑟 +𝑠 +𝑡
𝑠 0 0 1 0
𝑥5 𝑡 0 0 0 1
𝑥6 0 0 0 0 0
Basis for the Null Space is 𝐵 = 𝒗𝟏 , 𝒗𝟐 , 𝒗𝟑
Basis for the Row Space and Column Space
Theorem: If a matrix 𝑅 is in row echelon form, then the row vectors with the leading 1’s (the nonzero row
vectors) form a basis for the row space of 𝑅, and the column vectors with the leading 1’s of the row vectors
form a basis for the column space of 𝑅.
1 −2 0
0 1 0
𝑐1 = , 𝑐2 = , 𝑐4 =
0 0 1
0 0 0
form a basis for the column space of R.
Bases for the Row Space of a Matrix by Row Reduction
Example: Find a basis for the row space of the matrix
1 −3 4 −2 5 4
2 −6 9 −1 8 2
𝐴=
2 −6 9 −1 9 7
−1 3 −4 2 −5 −4
Solution: Since elementary row operations do not change the row space of a matrix, we can find a basis for
the row space of A by finding a basis for the row space of any row echelon form of A. Reducing A to row
echelon form, we obtain (verify)
1 −3 4 −2 5 4
0 0 1 3 −2 −6
𝑅=
0 0 0 0 1 5
0 0 0 0 0 0
the nonzero row vectors of R form a basis for the row space of R and hence form a basis for the row space
of A. These basis vectors are
𝑟1 = 1 −3 4 −2 5 4
𝑟2 = 0 0 1 3 −2 −6
𝑟3 = 0 0 0 0 1 5
Basis set, 𝑆 = {𝒓𝟏 , 𝒓𝟐 , 𝒓𝟑 }
Bases for the Row Space of a Matrix by Row Reduction
Example: Find a basis for the column space of the matrix
1 −3 4 −2 5 4
2 −6 9 −1 8 2
𝐴=
2 −6 9 −1 9 7
−1 3 −4 2 −5 −4
Solution: Reducing A to row echelon form, we obtain (verify)
1 −3 4 −2 5 4
0 0 1 3 −2 −6
𝑅=
0 0 0 0 1 5
0 0 0 0 0 0
Since the first, third, and fifth columns of R contain the leading 1’s of the row vectors, then the vectors
1 4 5
0 1 −2
𝑐′1 = , 𝑐′3 = , 𝑐′5 =
0 0 1
0 0 0
Form the basis for the column space of R.
Bases for the Row Space of a Matrix by Row Reduction
Hence the corresponding columns of A form the basis for the column space of A
1 4 5
2 9 8
𝑐1 = , 𝑐3 = , 𝑐5 =
2 9 9
−1 −4 −5
1 2 0 2
0 1 −5 −10
0 0 0 1
0 0 0 0
0 0 0 0
Bases for the Row Space of a Matrix by Row Reduction
1 2 0 2
0 1 −5 −10
0 0 0 1
0 0 0 0
0 0 0 0
The first, second, and fourth columns contain the leading 1’s, so the corresponding column vectors in 𝐴𝑇
form a basis for the column space of 𝐴𝑇 ; these are
1 2 2
−2 −5 6
𝑐1 = 0 , 𝑐2 = −3 , and 𝑐4 = 18
0 −2 8
3 6 6
Transposing again and adjusting the notation appropriately yields the basis vectors
𝑟1 = 1 −2 0 0 3
𝑟2 = 2 −5 −3 −2 6
𝑟4 = 2 6 18 8 6
For the row space of A.
Basis set, 𝑆 = {𝒓𝟏 , 𝒓𝟐 , 𝒓𝟒 }
Bases for the Row Space of a Matrix by Row Reduction
Example: (a) Find a subset of the vectors 𝒗1 = (1, −2,0,3), 𝒗2 = (2, −5, −3,6), 𝒗3 = (0,1,3,0), 𝒗4 =
(2, −1,4, −7), 𝒗5 = (5, −8,1,2) that forms a basis for the subspace of 𝑹4 spanned by these vectors.
(b) Express each vector not in the basis as a linear combination of the basis vectors.
Solution: We begin by constructing a matrix that has 𝒗1 , 𝒗2 , 𝒗3 , 𝒗4 , and 𝒗5 as its column vectors
1 2 0 2 5
−2 −5 1 −1 −8
𝐴=
0 −3 3 4 1
3 6 0 −7 2
Reducing the matrix to reduced row echelon form and denoting the column vectors of the resulting matrix
by 𝒘1 , 𝒘2 , 𝒘3 , 𝒘4 , and 𝒘5 yields
1 0 2 0 1
0 1 −1 0 1
𝑅=
0 0 0 1 1
0 0 0 0 0
Bases for the Row Space of a Matrix by Row Reduction
The leading 1’s occur in columns 1, 2, and 4, so {𝒘1 , 𝒘2 , 𝒘4 } is a basis for the column space of R ,
and consequently, {𝒗1 , 𝒗2 , 𝒗4 } is a basis for the column space A.
(b) We will start by expressing 𝒘3 and 𝒘5 as linear combinations of the basis vectors 𝒘1 , 𝒘2 , 𝑎𝑛𝑑 𝒘4 .
𝒘3 = 2𝒘1 − 𝒘2
𝒘5 = 𝒘1 + 𝒘2 + 𝒘4
𝒗3 = 2𝒗1 − 𝒗2
𝒗5 = 𝒗1 + 𝒗2 + 𝒗4
Home Work
Exercise: 5.5
Page no.: 276
Problem no.: 6, 11, 12