5.4 Bases and Subspaces 91
By the previous observation, the system of k equations
k+
j=1
a
ij
x
j
= 0, for i = 1, ..., k
has a nonzero solution (c
1
, ..., c
k+
). Then
k+
j=1
c
j
W
j
=
k+
j=1
c
j
k
i=1
a
ij
V
i
=
k
i=1
k+
j=1
a
ij
c
j
V
i
= 0
so that the W
j
are linearly dependent. This contradiction completes the
proof.
As a consequence of this result, we may define the dimension of a subspace
S as the number of vectors that form any basis for S. In particular, R
n
is
a subspace of itself, and its dimension is clearly n. Furthermore, any other
subspace of
R
n
must have dimension less than n, for otherwise we would have
a collection of more than n vectors in
R
n
that are linearly independent. This
cannot happen by the previous proposition. The set consisting of only the 0
vector is also a subspace, and we define its dimension to be zero. We write
dim
S for the dimension of the subspace S.
Example. A straight line through the origin in
R
n
forms a one-dimensional
subspace of
R
n
, since any vector on this line may be written uniquely as tV
where V ∈
R
n
is a fixed nonzero vector lying on the line and t ∈ R is arbitrary.
Clearly, the single vector V forms a basis for this subspace.
Example. The plane P in R
3
defined by
x + y + z = 0
is a two-dimensional subspace of
R
3
. The vectors (1, 0, −1) and (0, 1, −1) both
lie in
P and are linearly independent. If W ∈ P, we may write
W =
⎛
⎝
x
y
−y − x
⎞
⎠
= x
⎛
⎝
1
0
−1
⎞
⎠
+ y
⎛
⎝
0
1
−1
⎞
⎠
,
so these vectors also span
P.