Professional Documents
Culture Documents
Lecture05 02.04.2021
Lecture05 02.04.2021
Lecture05 02.04.2021
MAT 261E
yaraneri@itu.edu.tr
Solution: We need to show two things, firstly B spans R4 , and secondly B is linearly independent.
B spans R4 : Take an arbitrary vector (a, b, c, d) of R4 . We try to write it as a linear combination of vectors
in B. For this end, let
(c1 + c2 + c3 + c4 , c1 + c2 + c3 , c1 + c2 , c1 ).
c1 = d, c2 = c − c1 = c − d c3 = b − c1 − c2 = b − c, c4 = a − c1 − c2 − c3 = a − b.
As a result we observed an arbitrary vector (a, b, c, d) of R4 can be written as a linear combination of vectors in
B in the following way:
Therefore, B spans R4 .
(c1 + c2 + c3 + c4 , c1 + c2 + c3 , c1 + c2 , c1 ).
Solution:
(a, b, c) ∈ W ⇐⇒ (a, b, c) = (a, b, 3a + 2b) = (a, 0, 3a) + (0, b, 2b) = a(1, 0, 3) + b(0, 1, 2) where a, b ∈ R.
Therefore, the set W is equal to the span of the vectors (1, 0, 3) and (0, 1, 2), in other words, W = span{(1, 0, 3), (0, 1, 2)}
so that they span W. Moreover, as the two vectors (1, 0, 3) and (0, 1, 2) are not proportional, they are linearly
independent.
Consequently, the set {(1, 0, 3), (0, 1, 2)} is a basis for W.
Problem 3. Let M2×2 be the vector space of all 2 × 2 matrices whose entries are real numbers. Let V = {A ∈
M2×2 : AT = A}, which is a subspace of M2×2 .
a b
Solution: (a): Let A = be an arbitrary element of M2×2 . Then, A ∈ V ⇐⇒ AT = A, equivalently
c d
b = c. Hence,
a b 1 0 0 1 0 0
A ∈ V ⇐⇒ A = =a +b +d
b d 0 0 1 0 0 1
1 0 0 1 0 0
Therefore, V = span{ , , }. Furthermore, the matrices B1 , B2 , B3 are linearly indepen-
0 0 1 0 0 1
| {z } | {z } | {z }
B1 B2 B3
dent: To see this consider the vector equation
c1 B1 + c2 B2 + c3 B3 = 02×2
1 0 0 1 0 0 0 0
c1 + c2 + c3 =
0 0 1 0 0 1 0 0
c1 c2 0 0
=
c2 c3 0 0
Thus, c1 = c2 = c3 = 0. As B1 , B2 , B3 are linearly independent and as they span V, it follows that they form a
basis for V.
1 0 0 1 0 0
Thus, the set { , , } is a basis for V.
0 0 1 0 0 1
2 2 0 3
(b): First note that the matrices and are linearly independent because they are not propor-
2 0 3 3
tional. Note also that they are both in V. Hence, one may find a basis for V containing the given matrices.
Problem 4. Show that the subset S = {(1, 0, 0, 1), (0, 1, 0, 0), (1, 1, 1, 1), (0, 1, 1, 1)} of R4 is a basis for R4 .
S is linearly independent if and only if the homogeneous linear system with augmented matrix
1 0 1 0 0
0 1 1 1 0
0 0 1 1 0
1 0 1 1 0
has no nontrivial solutions. We reduce the augmented matrix to the echelon matrix
1 0 1 0 0
0 1 1 1 0
−R1 + R4 → R4 0 0 1 1 0 .
0 0 0 1 0
So the system has no free variables implying that the system has no nontrivial solutions. Thus S is linearly
independent and hence S is a basis of R4 .
Solution:
S1 is not a basis of R4 because it can not span R4 (as dim(R4 ) = 4 > 3 = the number of elements in S1 ).
S3 is not a basis of R4 because it can not be linearly independent (as dim(R4 ) = 4 < 5 = the number of
elements in S3 ).
S2 is linearly independent if and only if the homogeneous linear system with augmented matrix
0 −1 1 2 0
0 1 1 1 0
1 1 0 2 0
1 2 0 1 0
S1 = {−X 2 + X + 2, 2X 2 + 2X + 3, 4X 2 − 1}
S2 = {X 2 + 5, 2X 2 + 3X, 6X 2 + 8X − 3, X 2 + X + 2}
S3 = {X 2 + 2X − 1, 2X 2 + 5X − 7}
S4 = {X 2 + 2X + 3, X 2 + 1, X 2 + X + 1}
Solution: Since dim(P3 ) = 3, any basis of P3 must contain 3 elements. This shows immediately that the sets S2
and S3 are not bases of P3 .
S1 is linearly independent ⇐⇒ the homogeneous system with augmented matrix
−1 2 4 0
1 2 0 0
2 3 −1 0
elements are proportional (meaning that one of the element is a scalar multiple of the other). It is clear that there
is no real number λ satisfying λ(X 2 + 2X − 1) = (2X 2 + 5X − 7). Hence, the set S3 is linearly independent. Since
we have shown that the set S4 is a basis, it must be linearly independent.
To sum up, S3 and S4 are linearly independent, while S1 and S2 are linearly dependent.
(c): Since dim(P3 ) = 3, any spanning subset of P3 cannot contain less than 3 elements. This shows that S3 does
not span P3 . Moreover, since dim(P3 ) = 3, a subset of P3 containing 3 elements is a basis ⇐⇒ it spans P3 ⇐⇒ it
is linearly independent. This shows that S1 does not span P3 because it is a linearly dependent subset containing
3 elements. Moreover, as S4 is a basis of P3 it must span P3 . We are left with the set S2 . We now check whether
it spans P3 or not.
S2 spans P3 ⇐⇒ for any polynomial aX 2 + bX + c in P3 the linear system with augmented matrix
1 2 6 1 a
0 3 8 1 b
5 0 −3 2 c
is consistent. We reduce this matrix as;
1 2 6 1 a 1 2 6 1 a
−5R1 + R3 → R3 0 3 8 1 b 3R2 + R3 → R3 0 3 8 1 b
0 −10 −33 −3 (c − 5a) 0 −1 −9 0 (c − 5a + 3b)
1 2 6 1 a
3R3 + R2 → R2 0
0 −19 1 (10b − 15a + 3c) .
0 −1 −9 0 (c − 5a + 3b)
Thus the system is consistent, implying that S2 spans P3 .
To sum up, the sets S2 and S4 span P3 , while S1 and S3 do not span P3 .
Solution: Recall that dim(M2×2 ) = 4. Therefore, a subset B of M2×2 containing four elements is a basis ⇐⇒ it is
linearly independent ⇐⇒ it spans M2×2 . We, for instance, show that the given matrices are linearly independent.
The given matrices are linearly independent ⇐⇒ the homogeneous linear system with augmented matrix
1 0 1 0 0
1 0 0 1 0
0 1 0 1 0
0 1 1 1 0
has no nontrivial solutions. We reduce the augmented matrix as follows:
1 0 1 0 0 1 0 1 0 0
−R1 + R2 → R2 0 0 −1 1 0 R4 + R2 → R2
0 0 0 1 0
−R3 + R4 → R4 0 1 0 1 0 0 1 0 1 0
0 0 1 0 0 0 0 1 0 0
1 0 1 0 0 1 0 1 0 0
0 1 0 1 0 0 1 0 1 0
R2 ↔ R3
0 0 0 1 0 R3 ↔ R4 0 0 1
.
0 0
0 0 1 0 0 0 0 0 1 0
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
Therefore the system has no free variables, implying that it has no nontrivial solutions.
Consequently, the given four matrices are linearly independent, and so they form a basis of M2×2 because
dim(M2×2 ) = 4.
(b) Find a basis of W consisting entirely of the vectors from the above given vectors.
What is dim(W )?
Solution: (a): We form the following matrix whose rows are the given vectors:
1 2 2
3 2 1
.
11 10 7
7 6 4
We note that the columns of R containing leading entries are its first and second column. Therefore the vectors
in the first and the second column of A form a basis of W.
Consequently, the set {(1, 2, 2), (3, 2, 1)} is a basis of W.
S = {(1, −2, 1), (1, 1, 1), (−2, 4, −2), (2, −1, 2), (1, 1, 0)}
Solution: S spans R3 ⇐⇒ for any vector (a, b, c) ∈ R3 the linear system with augmented matrix
1 1 −2 2 1 a
−2 1 4 −1 1 b
1 1 −2 2 0 c
We next proceed to reduce the matrix A. However we note that the matrix A is the coefficient matrix of the
linear system whose augmented matrix we already reduced. Therefore, as above A can be reduced to the following
matrix R;
1 1 −2 2 1
R= 0 3 0 3 3 .
0 0 0 0 −1
The columns of R containing leading entries are its first, second, and fifth columns. Therefore, the vectors which
are the first, second, and fifth column vectors of A form a basis of span(S) = R3 and this basis is a subset of S.
Consequently, {(1, −2, 1), (1, 1, 1), (1, 1, 0)} is a basis of R3 which is a subset of S.
Problem 10. Show that the following subsets of R3 are subspaces of R3 , and find a basis for each of them:
W1 = {(a, b, c) ∈ R3 : b = a + c}
W2 = {(a, b, c) ∈ R3 : a − b + 5c = 0}
Solution: W1 :
Therefore, the set W1 is equal to the span of the vectors (1, 1, 0), (0, 1, 1), i.e., W1 = span{(1, 1, 0), (0, 1, 1)}. Since
span of any subset of a vector space is a subspace, this proves that W1 is a subspace of R3 . Now finding a basis
of W1 is easy. To find a basis of W1 we simply find a basis of the subspace of R3 spanned by the vectors (1, 1, 0)
and (0, 1, 1). As before we form the matrix
1 0
A= 1 1
0 1
and find a row echelon form R of A. We see that
1 0
−R1 + R2 → R2 0 1 = R.
0 1
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
We next see that both columns of R contain leading 10 s, implying that the column vectors of A form a basis of
W1 .
Consequently, the set {(1, 1, 0), (0, 1, 1)} is a basis of W1
We may also argue as follows to find a basis of W1 . We have seen
that W1 is spanned by the two vectors
(1, 1, 0) and (0, 1, 1). Since these two vectors are not proportional i.e., there is no real number λ satisfying
(1, 1, 0) = λ(0, 1, 1) , they must be linearly independent. Moreover, these two vectors span the subspace W1 .
Hence, they must form a basis of W1 .
W2 :
(a, b, c) ∈ W2 ⇐⇒ a − b + 5c = 0 ⇐⇒ a = b − 5c.
(a, b, c) ∈ W2 ⇐⇒ (a, b, c) = (b − 5c, b, c) = (b, b, 0) + (−5c, 0, c) = b(1, 1, 0) + c(−5, 0, 1).
Therefore W2 = span{(1, 1, 0), (−5, 0, 1)}, proving that W2 is a subspace of R3 . Since the vectors (1, 1, 0) and
(−5, 0, 1) are not proportional, they are linearly independent. Moreover they span W2 . Hence they must form a
basis of W2 .
Consequently, the set {(1, 1, 0), (−5, 0, 1)} is a basis of W2 .
W = {(a, b, c, d) : a − b + c + d = 0, 2a + 3b − d = 0}.
Solution: The vector (a, b, c, d) of R4 is in W if and only if a, b, c, d is a solution of the homogeneous linear system
a − b + c + d = 0
2a + 3b − d = 0
We reduce it as below
1 −1 1 1 0
−2R1 + R2 → R2 .
0 5 −2 −3 0
So the free variables are c and d, and the leading variables can be written in terms of free ones as follows:
b = 52 c + 35 d
a = b − c − d = 52 c + 35 d − c − d = − 35 c − 25 d
Hence,
3 2 2 3
(a, b, c, d) ∈ W ⇐⇒ (a, b, c, d) = (− c − d, c + d, c, d) where c, d ∈ R
5 5 5 5
3 2 2 3 1 1
⇐⇒ (a, b, c, d) = (− c−, c, c, 0) + (− d, d, 0, d) = c(−3, 2, 1, 0) + d(−2, 3, 0, 1).
5 5 5 5 5 5
Consequently, the set W is the spanning set of the vectors (−3, 2, 1, 0) and (−2, 3, 0, 1), (proving also that W is a
subspace of R4 ). Note that these two vectors are not proportional so that they are linearly independent.
Consequently, {(−3, 2, 1, 0), (−2, 3, 0, 1)} is a basis of W.
Problem 12. Let P4 be the vector space of polynomials of degree ≤ 3 with real coefficients. Find a basis for the
subspace U = {P (X) ∈ P4 : P (1) = 0, P (2) = 0} of P4 .
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
U = {a + bX + cX 2 + dX 3 ∈ P4 : a + b + c + d = 0, a + 2b + 4c + 8d = 0}.
a + b + c + d = 0
a + 2b + 4c + 8d = 0
Now to find a basis for U we may find a basis for the solution space of this homogenous linear system. For this
end we reduce the augmented matrix as follows:
1 1 1 1 0 1 1 1 1 0 1 0 −2 −6 0
− R1 + R2 → R2 − R2 + R1 → R1 .
1 2 4 8 0 0 1 3 7 0 0 1 3 7 0
It is clear from the latest matrix that the variables c and d are free so that the dimension of U is 2. Moreover, the
solution of the homogenous system is given by
where c and d can be any real numbers. To find two vectors which form a basis for the solution space of the
homogenous linear system, we put c = 1, d = 0 and obtain the vector (a, b, c, d) = (2, −3, 1, 0) ; we put d = 1, c = 0
and obtain the vector (a, b, c, d) = (6, −7, 0, 1).
Consequently, the set
{2 − 3X + X 2 , 6 − 7X + X 3 }
is a basis for U.
1 2 a 1 −1
Problem 13. Let A = 0 a b 0 0 . What must be a and b if the dimension of the solution space
0 0 (b − 2a) 0 a
of the homogenous linear system A~x = ~0 is 3 ?
Solution: There must be 3 free variables in the general solution of the homogenous linear system A~x = ~0. As
there are 5 unknowns, it means that there must be 2 leading entries in a row echelon form of A. We see from the
matrix A that if a 6= 0 then, regardless of what (b − 2a) is, there are already 3 leading entries. Hence we must
next analyze the case in which a = 0. When a = 0 then the matrix A becomes
1 2 0 1 −1 1 2 0 1 −1
0 0 b 0 0 − R2 + R3 → R3 0 0 b 0 0 .
0 0 b 0 0 0 0 0 0 0
Problem 14. Find a basis of R3 that includes the vectors (1, 0, 2) and (0, 1, 3).
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
Solution: Although the problem does not ask, before we begin to solve the problem we simply observe that the
given two vectors are linearly independent (Why?). Note also that ifthe given vectors were linearly dependent,
it would be impossible to find a basis that includes the given vectors Since the standard basis vectors (1, 0, 0),
(0, 1, 0), (0, 0, 1) span R3 , the following vectors
also span R3 . So this problem transforms into the problem of finding a basis for the subspace spanned by a subset
S which consists entirely of vectors from S.
We first form a matrix A whose columns are the above five vectors:
1 0 1 0 0
A = 0 1 0 1 0 .
2 3 0 0 1
We next reduce A :
1 0 1 0 0 1 0 1 0 0
−2R1 + R3 → R3 0 1 0 1 0 − 3R2 + R3 → R3 0 1 0 1 0 = R.
0 3 −2 0 1 0 0 −2 −3 1
The columns of R containing leading entries are the first, second, and the third ones. Hence the vectors in the
first, second, and the third columns of A form the basis we want to find.
Consequently, {(1, 0, 2), (0, 1, 3), (1, 0, 0)} is a basis of R3 that includes the vectors (1, 0, 2) and (0, 1, 3).
We want to remark that one can (even by inspection) find another different bases satisfying required properties.
We just want to demonstrate that the solution given here is a general procedure and works always (although, it
usually longer)
Problem 15. Find a basis of R5 that contains the vectors (1, −1, 1, 1, −1) and (0, 1, 1, 1, 0).
Solution: The given vectors (1, −1, 1, 1, −1) and (0, 1, 1, 1, 0) together with the standard basis vectors
span R5 . We form the matrix A whose columns are the above seven vectors:
1 0 1 0 0 0 0
−1 1 0 1 0 0 0
A= 1 1 0 0 1 0 0 .
1 1 0 0 0 1 0
−1 0 0 0 0 0 1
We reduce A as follows:
1 0 1 0 0 0 0 1 0 1 0 0 0 0
R1 + R2 → R2 0 1 1 1 0 0 0 0 1 1 1 0 0 0
−R1 + R3 → R3 −R2 + R3 → R3
0 1 −1 0 1 0 0 0 0 −2 −1 1 0 0
−R1 + R4 → R4 −R2 + R4 → R4
0 1 −1 0 0 1 0 0 0 −2 −1 0 1 0
R1 + R5 → R5
0 0 1 0 0 0 1 0 0 1 0 0 0 1
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
1 0 1 0 0 0 0 1 0 1 0 0 0 0
0 1 1 1 0 0 0
0 1 1 1 0 0 0
−R3 + R4 → R4
0 0 −2 −1 1 0 0 2R4 + R3 → R3 → R4
0 0 0 −1 1 0 2
0 0 0 0 −1 1 0 0 0 0 0 −1 1 0
0 0 1 0 0 0 1 0 0 1 0 0 0 1
1 0 1 0 0 0 0 1 0 1 0 0 0 0
0 1 1 1 0 0 0
0 1 1
1 0 0 0
R4 ↔ R2
0 0 1 0 0 0 1 R3 ↔ R4 0 0 1
0 0 0 1
= R.
0 0 0 0 −1 1 0 0 0 0 −1 1 0 2
0 0 0 −1 1 0 2 0 0 0 0 −1 1 0
The columns of R containing leading entries are its first five columns so that the vectors in the first five columns
of A form a basis that we are looking for.
Consequently,
{(1, −1, 1, 1, −1), (0, 1, 1, 1, 0), (1, 0, 0, 0, 0), (0, 1, 0, 0, 0), (0, 0, 1, 0, 0)
is a basis of R5 containing the vectors (1, −1, 1, 1, −1) and (0, 1, 1, 1, 0).
Solution: We form the matrix A whose columns are obtained from the following seven matrix
1 0 0 1 1 2 1 0 0 1 0 0 0 0
, , , , , ,
0 1 1 0 3 4 0 0 0 0 1 0 0 1
Note that the last four matrices of the above matrices are standard basis vectors of the space.
1 0 1 1 0 0 0 1 0 1 1 0 0 0
0 1 2 0 1 0 0 − R1 + R3 → R3 0 1 2 0 1 0 0
A= 1 1 3 0 1 2 −1 0 1 0
0 0 1 0
0 0 4 0 0 0 1 0 0 4 0 0 0 1
1 0 1 1 0 0 0 1 0 1 1 0 0 0
0 1 2 0 1 0 0 0 1 2 0 1 0 0
−R2 + R3 → R3 R3 ↔ R4 = R.
0 0 0 −1 −1 1 0 0 0 4 0 0 0 1
0 0 4 0 0 0 1 0 0 0 −1 −1 1 0
Since the columns of R containing leading entries are the first four column, it follows that the first four matrices
of the seven matrices given in the beginning of the solution form a basis that we want.
Consequently, the set
1 0 0 1 1 2 1 0
{ , , , }
0 1 1 0 3 4 0 0
is a basis of M2×2 which contains the given three matrices.
Problem 17. If possible, find a basis for the subspace W = {(a, b, c, d) : a + 2b = c + 2d} of R4 that contains
~u = (1, 0, 1, 0) and ~v = (0, 1, 0, 1).
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
Solution: It is possible to find a basis for W that contains ~u and ~v , because one sees easily that they are linearly
independent and they both belong to W.
(a, b, c, d) ∈ W ⇐⇒ a + 2b = c + 2d ⇐⇒ a = −2b + c + 2d. Therefore,
also span W. So we need to find a basis for W consisting entirely of vectors from the above four vectors.
For this end, we first form the following matrix A whose columns are the above four vectors:
1 0 −2 2
0 1 1 0
A= 1 0
.
0 0
0 1 0 1
We now reduce A :
1 0 −2 2 1 0 −2 2
−R1 + R3 → R3 0
1 1 1 R3 + R4 → R4
0 0 1 1 0
= R.
−R2 + R4 → R4 0 0 2 −2 2
0 0 2 −2
0 0 −1 1 0 0 0 0
Since the first three columns of R contains leading entries, it follows that the first three vectors of the following
vectors
~u = (1, 0, 1, 0), ~v = (0, 1, 0, 1), (−2, 1, 0, 0), (2, 0, 0, 1)
form a basis for W.
Consequently, the set
{~u = (1, 0, 1, 0), ~v = (0, 1, 0, 1), (−2, 1, 0, 0)}
is a basis for W that contains ~u and ~v .
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
Problem 2. Find bases for the row space, column space, and null space of the following matrix
1 1 2 0 1
2 2 5 0 3
A= 0 0 0 1 3
8 11 19 0 11
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
Therefore the rows of R form a basis of the row space of A. Since the first four columns of R contains leading 1’s,
the first four columns of A form a basis of the column space of A. To find a basis for the null space of A we solve
the homogeneous system with coefficient matrix R (or with coefficient matrix A). Denoting by x1 , x2 , x3 , x4 , x5
the unknowns we see that x5 is free so that the solution is given by
x1 = r
x2 = 0
x3 = −r
x4 = −3r
x5 = r
where r is an arbitrary real number. Putting r = 1 we find a basis of the null space.
To sum up, the set
{ 1 0 0 0 −1 , 0 1 0 0 0 , 0 0 1 0 1 , 0 0 0 1 3 }
Problem 3. Find bases for the row space, column space, and null space of the following matrix
1 2 2 −1 3 4
3 6 5 0 9 14
A= 1 2 1
2 3 6
5 10 8 1 15 24
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
5 8
is a basis for the column space of A.
To find a basis for the null space of A we must solve the homogeneous system whose coefficient matrix is A.
To achieve this aim, letting the unknowns be x1 , x2 , x3 , x4 , x5 , x6 we see from the matrix R that the unknowns
x2 , x4 , x5 , x6 are free so that they can be any real numbers. We now write the linear system whose coefficient
matrix is R :
x1 + 2x2 + 5x4 + 3x5 + 8x6 = 0
x3 − 3x4 − 2x6 = 0
Therefore, the solutions of the homogeneous system with coefficient matrix A are given by
x1 = −2x2 − 5x4 − 3x5 − 8x6
x2 = arbitrary real number
x3 = 3x4 + 2x6
x4 = arbitrary real number
x5 = arbitrary real number
x6 = arbitrary real number
To find the elements of a basis for the null space of A (i.e., the solution space of the homogeneous linear system
whose coefficient matrix is A) we put x2 = 1, x4 = x5 = x6 = 0 ; x4 = 1, x2 = x5 = x6 = 0 ; x5 = 1, x2 = x4 =
x6 = 0 ; x6 = 1, x2 = x4 = x5 = 0 and we obtain respectively the four elements of the following set
−2 −5 −3 −8
1 0 0 0
0 3 0 2
0 1 0 0 }.
{ , , ,
0 0 1 0
0 0 0 1
This set is a basis for the nullspace of A. Hence, nullity(A) = 4. We check that rank(A) + nullity(A) = 2 + 4 = 6=
the number of columns of A
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
Problem 4. In each part, use the information in the table to find the dimension of the row space, column space,
and nullspace of A, and of the nullspace of AT .
Solution: We just recall the following three facts: Given any m × n matrix A,
(One) dimension of the row space of A = dimension of the column space of A = rank(A).
(Two) rank(A) + nullity(A) = n = the number of columns of A.
(Three) rank(AT ) = rank(A).
Consequently, if A is an m × n matrix with rank(A) = r then;
(a) The number of leading 1’s in the reduced row echelon form of A is at most . Why?
(b) The dimension of the solution space of the homogeneous linear system A~x = ~0 is at most . Why?
Solution: Let A be an m × n matrix and R be the reduced row echelon form of A. We recall the following facts:
The number of leading 1’s in R = rank(A) = the number of nonzero rows of R = the number of columns of R
containing a leading 1.
The number of free variables of the homogeneous linear system (A~x = ~0) = the dimension of the solution space
of the homogeneous linear system (A~x = ~0) = the number of columns of R not containing a leading 1 = nullity(A).
The rank of A satisfies rank(A) ≤ m and rank(A) ≤ n so that the largest possible value for rank(A) is the
minimum min{m, n} of the numbers m and n.
We have the formula rank(A) + nullity(A) = n = the number of columns of A. Therefore, the largest possible
value of nullity(A) occurs when rank(A) takes its smallest possible value. Similarly, the smallest possible value of
nullity(A) occurs when rank(A) takes its largest possible value.
A = 0 (i.e., A is the zero matrix) ⇐⇒ rank(A) = 0.
Now we can answer all parts of the problem in general for an m × n matrix as follows:
Given any m × n matrix A we have the followings:
(A): The number of leading 1’s in the reduced row echelon form of A is at most min{m, n}. Because the number
of leading 1’s
in the reduced row echelon form of A = rank(A), and the largest possible value for rank(A) is
min{m, n}.
(B): The dimension of the solution space of the homogeneous linear system A~x = ~0 is at most n. Because the
dimension of the solution space of the homogeneous linear system A~x = ~0 is nullity(A), and it follows from the
formula rank(A) + nullity(A) = n that the largest possible value of nullity(A) occurs when rank(A) assumes it
smallest possible value, and
because the smallest possible value for rank(A) is 0 (and this smallest value of rank(A)
occurs only when A = 0).
(C): The rank of A is at most min{m, n}. Because rank(A) ≤ m and rank(A) ≤ n.
(D): The nullity of A is at most n. Because, from the formula rank(A) + nullity(A) = n we see that the largest
possible value for nullity(A) occurs when rank(A) has its smallest possible value which is 0.
(E): The rank of AT is at most min{m, n}. Because rank(AT ) = rank(A).
(F): The nullity of AT is at most m. Because, from the formula rank(AT ) + nullity(AT ) = m we see that the
largest possible value for nullity(AT ) occurs when rank(AT ) has its smallest possible value which is 0.
(G): If A 6= 0, then the nullity of A is at most n − 1. Because, from the formula rank(A) + nullity(A) = n we see
that the largest possible value for nullity(A) occurs when rank(A) has its smallest possible value. The smallest
value for rank(A) here must be 1 (not 0) as the matrix A is nonzero.
(H): If A 6= 0, then the nullity of AT is at most m − 1. Because, from the formula rank(AT ) + nullity(AT ) = m
we see that the largest possible value for nullity(AT ) occurs when rank(AT ) = rank(A) has its smallest possible
T
value. The smallest value for rank(A ) here must be 1 (not 0) as the matrix A is nonzero. .
Therefore, the answer for this particular question must be as follows.
(a): If A is a 3 × 5 matrix, then the number of leading 1’s in the reduced row echelon form of A is at most 3.
(b): If A is a 3 × 5 matrix, then the dimension of the solution space of the homogeneous linear system A~x = ~0 is
at most 5.
(c): If A is a 3 × 5 matrix, then the rank of A is at most 3.
(d): If A is a 3 × 5 matrix, then the nullity of A is at most 5.
(e): If A is a 3 × 5 matrix, then the rank of AT is at most 3.
(f ): If A is a 3 × 5 matrix, then the nullity of AT is at most 3.
(g): If A is a 3 × 5 matrix and if A 6= 0, then the nullity of A is at most 4.
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
Problem 6. (a) If A is a 3 × 4 matrix, what is the largest possible value for rank(A)?
(b) If A is a 4 × 6 matrix, can the columns of A be linearly independent? Justify your answer.
(c) If A is a 5 × 3 matrix, can the rows of A be linearly independent? Justify your answer.
Problem 7. (a) Can a 3 × 4 matrix have independent columns? Independent rows? Explain.
(b) If A is a 4 × 3 matrix and rank(A) = 2, can A have independent columns? Independent rows? Explain.
nullity(A) + rank(A) = 6
Ergün Yaraneri
MAT 261E
yaraneri@itu.edu.tr
we get rank(A) = 4. On the other hand rank(A) ≤ 3 because the number of rows of A is 3 and rank(A) is the
dimension of the space spanned by the rows of A.
Consequently, the nullspace of a 3 × 6 matrix cannot have dimension 2.
Problem 8. (a) Let A be an m × n matrix and let B be an n × r matrix. Show that the nullspace of B is a
subspace of the nullspace of AB.
(b) Let A be an n × n invertible matrix and let B be an n × r matrix. Show that the nullspace of B is equal to
the nullspace of AB.
Solution: (a): Let ~x be a vector in the nullspace of B. This means that B~x = ~0. We must show that ~x is also in
the nullspace of AB :
(AB)~x = A(B~x) = A~0 = ~0.
Thus, (AB)~x = ~0, meaning that ~x is in the nullspace of AB.
(b): From part (a), we already know that the nullspace of B is a subspace of the nullspace of AB. Therefore, to
show that the nullspace of B is equal to the nullspace of AB we must only justify that the nullspace of AB is a
subspace of the nullspace of B.
Again from part (a), we have: the null space of (AB) is a subspace of the nullspace of A−1 (AB) = (A−1 A)B =
IB = B.