Professional Documents
Culture Documents
Summer 2020
MAT 216
Solutions (Problem Sheet)
1. Find a basis for (a) the row space and (b) the column space of the following matrices:
1 1 4 1 2
1 2 1 4 3 4 0 7 0 1
2 1 1
7 2 1 5 2 2 2 1
i A ii A iii A 0 0 0 1 2 .
1 4 1 3 1 4 0 3
2 7 1
1 1 0 0 2
3 1 1 2 2 2 1 1
6 0
Solutions:
1 2 1 4 1 2 1 4
2 1 7 2 0 5
5 10
i Given that A
1 4 1 3
R2 2 R1 R2
R3 R1 R3
0 2 2 7
R4 3 R1 R4
3 2 7 1 0 4 4 13
1 2 1 4 1 2 1 4
0 1
1
R2 R2 1 2 0 1 1 2
5 R3 2 R2 R3
0 2 2 7 R4 4 R2 R4 0 0 0 11
0 4 4 13 0 0 0 5
1 2 1 4 1 2 1 4
01
R3 R3 1 1 2 0 1 1 2
11 R4 5 R3 R4
0 0 0 1 0 0 0 1
0 0 0 5 0 0 0 0
(a) Row operations do not change the row space, so the rows of the matrix at the end
have the same span as those of A. Furthermore, the nonzero rows of a matrix in row
Therefore, the row space has a basis 1, 2, 1, 4 , 0,1,1, 3 , 0,0,0,1 .
Page 1 of 12
HNA
(b) From the row echelon matrix, it is clear that 1st, 2nd, and 4th columns of the original
matrix are the pivot columns. Thus, these columns of the original matrix form a basis
1 2 4
2 1 2
, , .
1 4 3
3 2 1
Solutions: By the same way, you can solve the problems (ii) & (iii).
Ans.:
3 4 0 7
1 5 2 2
ii A
1 4 0 3
1 1 2 2
(a) Thus a basis for the row space of A is: 1,0,0,1 , 0,1,0,1 , 0,0,1,1 .
(b) Since 1st, 2nd & 3rd columns of the matrix A contain a pivot, so a basis for the
3 4 0
1 5 2
column space of A is: , , .
1 4 0
1 1 2
1 1 4 1 2
0 1 2 1 1
iii A 0 0 0 1 2
1 1 0 0 2
2 1 1
6 0
(a) Thus a basis for the row space of A is: 1,1, 4,1, 2 , 0,1, 2,1,1 , 0,0,0,1, 2 .
(b) Since 1st, 2nd & 4th columns of the matrix A contain a pivot, so a basis for the
Page 2 of 12
HNA
1 1 1
0 1 1
Column space of A is: 0 , 0 , 1 .
1 1 0
2 1 0
Solution: Form the matrix whose rows are the given vectors:
1 2 0 3 4
3 2 8 1 4
A
2 3 7 2 3
1 2 0 4 3
Then a basis for the row space of A gives a basis for the subspace of 5 spanned by S.
1 2 0 3 4 1 2 0 3 4
0 8 8 8 16 0 1
1
R2 R2 1 1 2
R2 3 R1 R2
8
R3 2 R1 R3 0 7 7 4 11 0 7 7 4 11
R4 R1 R4
0 0 0 7 7 0 0 0 7 7
1 2 0 3 4 1 2 0 3 4
0 1 1 1 2 0 1
1
R3 R3 1 1 2
R3 7 R2 R3
3
0 0 0 3 3 0 0 0 1 1
0 0 0 7 7 0 0 0 7 7
1 2 0 3 4
0 1 1 1 2
R4 7 R3 R4
0 0 0 1 1
0 0 0 0 0
This matrix is in row echelon form and there are three non-zero rows.
Page 3 of 12
HNA
1 1 4 1 2
0 1 2 1 1
3. Let A 0 0 0 1 2 , find a basis for the null space of A .
1 1 0 0 2
2 1 1
6 0
1 1 4 1 2
0 1 2 1 1
Solution: Given that A 0 0 0 1 2
1 1 0 0 2
2 1 1
6 0
1 1 4 1 2 0 1 1 4 1 2 0
0 1 2 1 1 0 0 1 2 1 1 0
0 0 0 1 2 0
R4 R1 R4
0 0 0 1 2 0
R5 2 R1 R5
1 1 0 0 2 0 0 2 4 1 0 0
2 1 0 0 1 2 2 3 0
6 0 1
1 1 4 1 2 0 1 1 4 1 2 0
0 1 2 1 1 0 0 1 2 1 1 0
R4 2 R2 R4
R5 R2 R5
0 0 0 1 2 0 R4 R3 R4
R5 R3 R5
0 0 0 1 2 0
0 0 0 1 2 0 0 0 0 0 0 0
0 0 1 2 0 0 0
0 0 0 0 0
x1 x2 4 x3 x4 2 x5 0
x2 2 x3 x4 x5 0
x4 2 x5 0
Page 4 of 12
HNA
Here x1, x2 , & x4 are pivot/ leading variables and x3 , & x5 are free variables.
Let x3 s and x5 t .
x1 x2 4x3 x4 2x5 2s t
x1 2 1
x2 2 1
Thus, x x3 s 1 t 0
x4 0 2
x 0 1
5
2 1
1
2
1 , 0 .
0
2
0 1
1 3 2 0 2 0
2 6 5 2 4 3
4. Let B , find a basis for the null space of B .
0 0 5 10 0 15
2 6 0 8 4 18
… … …… …
3 4 2
1 0 0
0 2 0
N B x 6 x a b c ,for all a, b, c
6
0
1 0
0 0 1
0 0 0
Page 5 of 12
HNA
3 4 2
1 0 0
0 2 0
= Span , ,
0 1 0
0 0 1
0 0 0
3 4 2
1 0 0
0 2 0
Thus the set , , is a spanning set for the null space of N B .
0 1 0
0 0 1
0 0 0
It is straight forward to see that this set is linearly independent and hence it is a basis
for N B .
2 4 6 8
5. Let A 1 3 0 5
1 1 6 3
(c) Find a basis for the range of A that consists of column vectors of A.
(d) For each column vector which is not a basis vector that you obtained in part (c),
2 4 6 8 1 2 3 4
1
R1 R1
Solution: Given that A 1 3 0 5 1 3 0 5
2
1 1 6 3 1 1 6 3
1 2 3 4 1 2 3 4
0 1 3 1
R2 R1 R2
R3 R1 R3
0 1 3 1
R3 R2 R3
0 1 3 1 0 0 0 0
x1 2 x2 3x3 4 x4 0
x2 3x3 x4 0
Here x1 & x2 are pivot/ leading variables and x3 & x4 are free variables.
x1 9 2
x2 3 1
Thus x s t
x3 1 0
x4 0 1
9 2
3 1
N A x x s t ,for all s, t 4
4
1 0
0 1
9 2
3 1
,
= Span
1 0
0 1
9 2
3 1
,
Thus the set
1 0 is a spanning set for the null space of N A .
0 1
It is straight forward to see that this set is linearly independent and hence it is a basis
for N A .
Page 7 of 12
HNA
Recall that the nonzero rows of the matrix A form a basis for the row space of A.
(c) Find a basis for the range of A that consists of column vectors of A:
From the row echelon matrix, it is clear that 1st, and 2nd columns of the original matrix are
the pivot columns. Thus, these columns of the original matrix form a basis for the range of
2 4
1 , 3 is a basis for the range R(A) of A.
1 1
(d) For each column vector which is not a basis vector that you obtained in part (c),
1 0 9 2
0 1 3 1
R1 2 R2 R1
R3 R2 R3
0 0 0 0
respectively.
Page 8 of 12
HNA
1 4 5 6 9
1 1 3 1 4 5 2 3 2 1 4 1
i A 5 4 4 ii A 2 1 3 0 iii A .
1 0 1 2 1
7 6 2 1 3 2 2
2 3 5 7 8
1 4 5 6 9 1 4 5 6 9
3 2 1 4 1 0 14 14 14 28
Solution: iii A R2 3 R1 R2
1 0 1 2 1 R3 R1 R3 0 4 4 4 8
R4 2 R1 R4
2 3 5 7 8 0 5 5 5 10
1 4 5 6 9
0 1 1 1
1
R2 R2 2
14
0 4 4 4 8
0 5 5 5 10
1 0 1 2 1
0 1 1 1 2
R1 4 R2 R1
R3 4 R2 R3 0 0 0 0 0
R4 5 R2 R4
0 0 0 0 0
There are two nonzero rows (or equivalently, two leading 1’s), the row space and column
To find the nullity of A, we must find the dimension of the solution space of the linear system
x1 x3 2 x4 x5 0
x2 x3 x4 2 x5 0
Then x1 a 2b c, x2 a b 2c, x3 a, x4 b, x5 c
Page 9 of 12
HNA
x1 1 2 1
x 1 1 2
2
So, x x3 a 1 b 0 c 0
x4 0 1 0
x 0 0 1
5
Therefore, the three vectors on the right side form a basis for the solution space, so that
nullity (A) = 3.
2 4 3 6
7 14 6 3
7. A
2 4 1 2
2 4 2 2
Find
(b) a basis for the column space of A that is a subset of the column vectors of A
Page 10 of 12
HNA
8. Find a basis for, and the dimension of the solution space of the following homogeneous
i x1 x2 x3 0 iii x1 3x2 x3 0
ii x1 4 x2 3x3 x4 0
2 x1 x2 2 x3 0 2 x1 6 x2 2 x3 0
2 x1 8 x2 6 x3 2 x4 0
x1 x3 0 3x1 9 x2 3x3 0
iv 2 x1 2 x2 x3 x5 0
x1 x2 2 x3 3x4 x5 0
x1 x2 2 x3 x5 0
x3 x4 x5 0
Solution:
iv 2 x1 2 x2 x3 x5 0
x1 x2 2 x3 3x4 x5 0
x1 x2 2 x3 x5 0
x3 x4 x5 0
2 2 1 0 1 0
1 1 2 3 1 0
1 1 2 0 1 0
0 0 1 1 1 0
1 1 0 0 1 0
0 0 1 0 1 0
0 0 0 1 0 0
0 0 0 0 0 0
x1 x2 x5 0
x3 x5 0
x4 0
Page 11 of 12
HNA
x1 s t , x2 s, x3 t , x4 0, x5 t
x1 1 1
x
2 1 0
x3 s 0 t 1
x4 0 0
x 0 1
5
1 1
1 0
v1 0 & v2 1
0 0
0 1
Span the solution space. Since they are also linearly independent, so v1 , v2 is a basis and
Ans.:
i x1 x2 x3 0
2 x1 x2 2 x3 0
x1 x3 0
ii x1 4 x2 3x3 x4 0
2 x1 8 x2 6 x3 2 x4 0
iii x1 3x2 x3 0
2 x1 6 x2 2 x3 0
3x1 9 x2 3x3 0
Page 12 of 12