4.1 Subspaces
Definition: Let S be a set of vectors in Rn. We say that S is a subspace
of Rn if the following conditions hold:
(S0) The zero vector 0 ∈ Rn is in S.
(S1) If u and v are vectors in S, then u + v is in S.
(S is closed under addition.)
(S2) If c is any scalar and u in any vector in S, then cu is in S.
(S is closed under scalar multiplication.)
a
b
∈ R4 b = a + c − d .
Example: Let S =
c
d
a) Find two elements of S.
b) Find two vectors in R4 that are not in S.
4.1 Subspaces
Page 1 of 8
c) Verify that S is a subspace of R4.
(S0)
(S1)
(S2)
Thus, since (S0), (S1), and (S2) hold, S is a subspace of R4.
4.1 Subspaces
Page 2 of 8
Example:
x
Is the set S = y ∈ R3 x2 + y 2 = z 2 a subspace of R3?
z
4.1 Subspaces
Page 3 of 8
Theorem: Let {u1, u2, . . . , uk } be any set of vectors in Rn. Then
Span(u1, u2, . . . , uk ) is a subspace of Rn.It is called the subspace of
Rn spanned by u1, u2, . . . , uk .
a
b
∈ R4 b = a + c − d is a subspace
Example: Show that S =
c
d
of R4 by exhibiting it as the span of a set of vectors in R4.
4.1 Subspaces
Page 4 of 8
Subspaces Associated with Matrices
Definition: Let A be an m × n matrix.
1. The subspace of Rn spanned by the rows of A is called the
row space of A and is denoted Row(A).
2. The subspace of Rm spanned by the columns of A is called
the column space of A and is denoted Col(A).
3. The set Nul(A) = {x ∈ Rn|Ax = 0} is called null space
of A.
1 2 1 1 1
2 4 2 6 −6
Example: A = 1 −1 −5 −3 6
3 2 −5 6 −7
4.1 Subspaces
Page 5 of 8
2
1
a) Is b = −7 ∈ Col(A)?
−5
1 2 1 1 1
2 4 2 6 −6
1 −1 −5 −3 6
3 2 −5 6 −7
1 2 1 1 1 2
0 1 2 −7 15 2
0 0 0 4 −8 3
0 0 0 0 0 87
−1
6
b) Is b = 6 ∈ Col(A)?
23
1 2 1 1 1
2 4 2 6 −6
1 −1 −5 −3 6
3 2 −5 6 −7
4.1 Subspaces
1 2 1 1 1 −1
0 1 2 −7 15 −19
0 0 0 1 −2 2
0 0 0 0 0 0
Page 6 of 8
c) Is r = 5 2 −11 3 1 ∈ Row(A)?
1 2 1 3
2 4 −1 2
1 2 −5 −5
1 6 −3 6
1 −6 6 −7
d) Is r = −4 1 2 3 1 ∈ Row(A)?
1 2 1 3
2 4 −1 2
1 2 −5 −5
1 6 −3 6
1 −6 6 −7
Fact: Row(A) =
4.1 Subspaces
1 2 1 3 5
0 4 −4 3 −2
0 0 −3 −4 −8
0 0 0 0 0
0 0 0 0 0
1 2 1 3 −4
0 4 −4 3 7
0 0 −3 −4
9
0 0 0 0 10
0 0 0 0 0
Col(A) =
Page 7 of 8
3
−1
e) Is x =
11 ∈ Nul(A)?
−1
3
1 2 1 1 1 −1
2 4 2 6 −6
Ax = 1 −1 −5 −3 6 1 =
1
3 2 −5 6 −7 −1
2
−3
f) Is x =
12 ∈ Nul(A)?
1
2
1 2 1 1 1 −3
2 4 2 6 −6
Ax = 1 −1 −5 −3 6 1 =
2
3 2 −5 6 −7
1
Note: If A is m × n, then Row(A) and Nul(A) are both
subspaces of Rn, while Col(A) is a subspace of Rm.
4.1 Subspaces
Page 8 of 8