Proof.
All statements hold trivially when
d=0, so assume
d≥1.
We start with
i. Suppose
S:={x1,x2,…,xd} spans
X, and
T:={y1,y2,…,ym} is a linearly independent subset of
X. We wish to show that
m≤d. As
S spans
X, write
y1=k=1∑dak,1xk,
for some numbers
a1,1,a2,1,…,ad,1. One of the
ak,1 is nonzero, otherwise
y1 would be zero. Without loss of generality, suppose
a1,1=0. Solve
x1=a1,11y1−k=2∑da1,1ak,1xk.
In particular,
{y1,x2,…,xd} spans
X, since
x1 can be obtained from
{y1,x2,…,xd}. Therefore, there are some numbers
a1,2,a2,2,…,ad,2, such that
y2=a1,2y1+k=2∑dak,2xk.
As
T is linearly independent—and so
{y1,y2} is linearly independent—one of the
ak,2 for
k≥2 must be nonzero. Without loss of generality suppose
a2,2=0. Solve
x2=a2,21y2−a2,2a1,2y1−k=3∑da2,2ak,2xk.
In particular,
{y1,y2,x3,…,xd} spans
X.
We continue this procedure. If
m<d, we are done. Suppose
m≥d. After
d steps, we obtain that
{y1,y2,…,yd} spans
X. Any other vector
v in
X is a linear combination of
{y1,y2,…,yd} and hence cannot be in
T as
T is linearly independent. So
m=d.
We continue with
ii. Suppose
T={x1,x2,…,xm} is linearly independent, does not span
X, and
v∈X∖span(T). Suppose
a1x1+a2x2+⋯+amxm+am+1v=0 for some scalars
a1,a2,…,am+1. If
am+1=0, then
v would be a linear combination of
T, so
am+1=0. Then, as
T is linearly independent,
a1=a2=⋯=am=0. So
T∪{v} is linearly independent.
We move to
iii. If
dimX=d, then there must exist some linearly independent set
T of
d vectors, and
T must span
X, otherwise we could choose a larger set of linearly independent vectors via
ii. So we have a basis of
d vectors. On the other hand, if we have a basis of
d vectors, the dimension is at least
d as a basis is linearly independent. A basis also spans
X, and so by
i we know that dimension is at most
d. Hence the dimension of
X must equal
d. The “in particular” follows by noting that
{e1,e2,…,en} is a basis of
Rn.
To see
iv, suppose
Y⊂X is a vector subspace, where
dimX=d. As
X cannot contain
d+1 linearly independent vectors, neither can
Y.
For
v, suppose
T is a set of
m vectors that is linearly dependent and spans
X. We will show that
m>d. One of the vectors is a linear combination of the others. If we remove it from
T, we obtain a set of
m−1 vectors that still span
X. Hence
d=dimX≤m−1 by
i.
For
vi suppose
T={x1,x2,…,xm} is a linearly independent set. First,
m≤d by definition of dimension. If
m=d, the set
T must span
X as in the proof of
iii, otherwise we could add another vector to
T. If
m<d, T cannot span
X by
iii. So find
v not in the span of
T. Via
ii, the set
T∪{v} is a linearly independent set of
m+1 elements. Therefore, we repeat this procedure
d−m times to find a set of
d linearly independent vectors. Again, they must span
X, otherwise we could add yet another vector.