Reading guide · Proof index

Vector spaces, linear mappings, and convexity

Jiří Lebl, Basic Analysis I–II, version 6.3. Free author edition of this section. Selection and attribution · Notation.

L8.1.13: Uniqueness of basis coordinates.

Proof.

As XX is the span of B,B\text{,} every y∈Xy \in X is a linear combination of elements of B.B\text{.} Suppose
y=∑k=1nak xk=∑k=1nbk xk.\begin{equation*} y = \sum_{k=1}^n a_k \, x_k = \sum_{k=1}^n b_k \, x_k . \end{equation*}
Then
∑k=1n(ak−bk)xk=0.\begin{equation*} \sum_{k=1}^n (a_k-b_k) x_k = 0 . \end{equation*}
By linear independence of the basis, ak=bka_k = b_k for all k,k\text{,} and so the representation is unique.

L8.1.14: All six finite-dimensional exchange, basis and subspace assertions.

Proof.

All statements hold trivially when d=0,d=0\text{,} so assume d≥1.d \geq 1\text{.}
We start with i. Suppose S≔{x1,x2,…,xd}S \coloneqq \{ x_1 , x_2, \ldots, x_d \} spans X,X\text{,} and T≔{y1,y2,…,ym}T \coloneqq \{ y_1, y_2, \ldots, y_m \} is a linearly independent subset of X.X\text{.} We wish to show that m≤d.m \leq d\text{.} As SS spans X,X\text{,} write
y1=∑k=1dak,1xk,\begin{equation*} y_1 = \sum_{k=1}^d a_{k,1} x_k , \end{equation*}
for some numbers a1,1,a2,1,…,ad,1.a_{1,1},a_{2,1},\ldots,a_{d,1}\text{.} One of the ak,1a_{k,1} is nonzero, otherwise y1y_1 would be zero. Without loss of generality, suppose a1,1≠0.a_{1,1} \neq 0\text{.} Solve
x1=1a1,1y1−∑k=2dak,1a1,1xk.\begin{equation*} x_1 = \frac{1}{a_{1,1}} y_1 - \sum_{k=2}^d \frac{a_{k,1}}{a_{1,1}} x_k . \end{equation*}
In particular, {y1,x2,…,xd}\{ y_1 , x_2, \ldots, x_d \} spans X,X\text{,} since x1x_1 can be obtained from {y1,x2,…,xd}.\{ y_1 , x_2, \ldots, x_d \}\text{.} Therefore, there are some numbers a1,2,a2,2,…,ad,2,a_{1,2},a_{2,2},\ldots,a_{d,2}\text{,} such that
y2=a1,2y1+∑k=2dak,2xk.\begin{equation*} y_2 = a_{1,2} y_1 + \sum_{k=2}^d a_{k,2} x_k . \end{equation*}
As TT is linearly independent—and so {y1,y2}\{ y_1, y_2 \} is linearly independent—one of the ak,2a_{k,2} for k≥2k \geq 2 must be nonzero. Without loss of generality suppose a2,2≠0.a_{2,2} \neq 0\text{.} Solve
x2=1a2,2y2−a1,2a2,2y1−∑k=3dak,2a2,2xk.\begin{equation*} x_2 = \frac{1}{a_{2,2}} y_2 - \frac{a_{1,2}}{a_{2,2}} y_1 - \sum_{k=3}^d \frac{a_{k,2}}{a_{2,2}} x_k . \end{equation*}
In particular, {y1,y2,x3,…,xd}\{ y_1 , y_2, x_3, \ldots, x_d \} spans X.X\text{.}
We continue this procedure. If m<d,m < d\text{,} we are done. Suppose m≥d.m \geq d\text{.} After dd steps, we obtain that {y1,y2,…,yd}\{ y_1 , y_2, \ldots, y_d \} spans X.X\text{.} Any other vector vv in XX is a linear combination of {y1,y2,…,yd}\{ y_1 , y_2, \ldots, y_d \} and hence cannot be in TT as TT is linearly independent. So m=d.m = d\text{.}
We continue with ii. Suppose T={x1,x2,…,xm}T = \{x_1,x_2,\ldots,x_m\} is linearly independent, does not span X,X\text{,} and v∈X∖span⁡(T).v \in X \setminus \spn (T)\text{.} Suppose a1x1+a2x2+⋯+amxm+am+1v=0a_1 x_1 + a_2 x_2 + \cdots + a_m x_m + a_{m+1} v = 0 for some scalars a1,a2,…,am+1.a_1,a_2,\ldots,a_{m+1}\text{.} If am+1≠0,a_{m+1} \neq 0\text{,} then vv would be a linear combination of T,T\text{,} so am+1=0.a_{m+1} = 0\text{.} Then, as TT is linearly independent, a1=a2=⋯=am=0.a_1=a_2=\cdots=a_m = 0\text{.} So T∪{v}T \cup \{ v \} is linearly independent.
We move to iii. If dim⁡ X=d,\dim \, X = d\text{,} then there must exist some linearly independent set TT of dd vectors, and TT must span X,X\text{,} otherwise we could choose a larger set of linearly independent vectors via ii. So we have a basis of dd vectors. On the other hand, if we have a basis of dd vectors, the dimension is at least dd as a basis is linearly independent. A basis also spans X,X\text{,} and so by i we know that dimension is at most d.d\text{.} Hence the dimension of XX must equal d.d\text{.} The “in particular” follows by noting that {e1,e2,…,en}\{ e_1, e_2, \ldots, e_n \} is a basis of Rn.\R^n\text{.}
To see iv, suppose Y⊂XY \subset X is a vector subspace, where dim⁡ X=d.\dim \, X = d\text{.} As XX cannot contain d+1d+1 linearly independent vectors, neither can Y.Y\text{.}
For v, suppose TT is a set of mm vectors that is linearly dependent and spans X.X\text{.} We will show that m>d.m > d\text{.} One of the vectors is a linear combination of the others. If we remove it from T,T\text{,} we obtain a set of m−1m-1 vectors that still span X.X\text{.} Hence d=dim⁡ X≤m−1d = \dim \, X \leq m-1 by i.
For vi suppose T={x1,x2,…,xm}T = \{ x_1, x_2, \ldots, x_m \} is a linearly independent set. First, m≤dm \leq d by definition of dimension. If m=d,m=d\text{,} the set TT must span XX as in the proof of iii, otherwise we could add another vector to T.T\text{.} If m<d,m < d\text{,} TT cannot span XX by iii. So find vv not in the span of T.T\text{.} Via ii, the set T∪{v}T \cup \{ v \} is a linearly independent set of m+1m+1 elements. Therefore, we repeat this procedure d−md-m times to find a set of dd linearly independent vectors. Again, they must span X,X\text{,} otherwise we could add yet another vector.

L8.1.16: Inverse linearity, with the other four parts completed locally.

Proof.

We leave the first four items as a quick exercise, Exercise 8.1.20. Let us prove the last item. Let a∈Ra \in \R and y∈Y.y \in Y\text{.} As AA is onto, there is an x∈Xx \in X such that y=Ax.y = Ax\text{.} As it is also one-to-one, A−1(Az)=zA^{-1}(Az) = z for all z∈X.z \in X\text{.} So
A−1(ay)=A−1(aAx)=A−1(A(ax))=ax=aA−1(y).\begin{equation*} A^{-1}(ay) = A^{-1}(aAx) = A^{-1}\bigl(A(ax)\bigr) = ax = aA^{-1}(y). \end{equation*}
Similarly, let y1,y2∈Yy_1,y_2 \in Y and x1,x2∈Xx_1, x_2 \in X be such that Ax1=y1Ax_1 = y_1 and Ax2=y2,Ax_2 = y_2\text{,} then
A−1(y1+y2)=A−1(Ax1+Ax2)=A−1(A(x1+x2))=x1+x2=A−1(y1)+A−1(y2).\begin{equation*} A^{-1}(y_1+y_2) = A^{-1}(Ax_1+Ax_2) = A^{-1}\bigl(A(x_1+x_2)\bigr) = x_1+x_2 = A^{-1}(y_1) + A^{-1}(y_2). \qedhere \end{equation*}

L8.1.17: Determination and extension from basis values, including the omitted linearity check.

Proof.

Let {x1,x2,…,xn}\{ x_1, x_2, \ldots, x_n \} be a basis of X,X\text{,} and let yk≔Axk.y_k \coloneqq A x_k\text{.} Every x∈Xx \in X has a unique representation
x=∑k=1nbk xk\begin{equation*} x = \sum_{k=1}^n b_k \, x_k \end{equation*}
for some numbers b1,b2,…,bn.b_1,b_2,\ldots,b_n\text{.} By linearity,
Ax=A∑k=1nbkxk=∑k=1nbk Axk=∑k=1nbk yk.\begin{equation*} Ax = A\sum_{k=1}^n b_k x_k = \sum_{k=1}^n b_k \, Ax_k = \sum_{k=1}^n b_k \, y_k . \end{equation*}
The “furthermore” follows by setting yk≔A~(xk),y_k \coloneqq \widetilde{A}(x_k)\text{,} and then for x=∑k=1nbk xk,x = \sum_{k=1}^n b_k \, x_k\text{,} defining the extension as A(x)≔∑k=1nbk yk.A(x) \coloneqq \sum_{k=1}^n b_k \, y_k\text{.} The function is well-defined by uniqueness of the representation of x.x\text{.} We leave it to the reader to check that AA is linear.

L8.1.18: Injectivity iff surjectivity for finite-dimensional endomorphisms.

Proof.

Let {x1,x2,…,xn}\{ x_1,x_2,\ldots,x_n \} be a basis for X.X\text{.} First suppose AA is one-to-one. Let c1,c2,…,cnc_1,c_2,\ldots,c_n be scalars such that
0=∑k=1nck Axk=A∑k=1nck xk.\begin{equation*} 0 = \sum_{k=1}^n c_k \, Ax_k = A\sum_{k=1}^n c_k \, x_k . \end{equation*}
As AA is one-to-one, the only vector that is taken to 0 is 0 itself. Hence,
0=∑k=1nck xk,\begin{equation*} 0 = \sum_{k=1}^n c_k \, x_k, \end{equation*}
and so ck=0c_k = 0 for all kk as {x1,x2,…,xn}\{ x_1,x_2,\ldots,x_n \} is a basis. So {Ax1,Ax2,…,Axn}\{ Ax_1, Ax_2, \ldots, Ax_n \} is linearly independent. By Proposition 8.1.14 and the fact that the dimension is n,n\text{,} we conclude {Ax1,Ax2,…,Axn}\{ Ax_1, Ax_2, \ldots, Ax_n \} spans X.X\text{.} Consequently, AA is onto, as any y∈Xy \in X can be written as
y=∑k=1nak Axk=A∑k=1nak xk.\begin{equation*} y = \sum_{k=1}^n a_k \, Ax_k = A\sum_{k=1}^n a_k \, x_k . \end{equation*}
For the other direction, suppose AA is onto. Suppose that for some c1,c2,…,cn,c_1,c_2,\ldots,c_n\text{,}
0=A∑k=1nck xk=∑k=1nck Axk.\begin{equation*} 0 = A\sum_{k=1}^n c_k \, x_k = \sum_{k=1}^n c_k \, Ax_k . \end{equation*}
As AA is determined by the action on the basis, {Ax1,Ax2,…,Axn}\{ Ax_1, Ax_2, \ldots, Ax_n \} spans X.X\text{.} So by Proposition 8.1.14, the set is linearly independent, and ck=0c_k = 0 for all k.k\text{.} In other words, if Ax=0,Ax = 0\text{,} then x=0.x=0\text{.} Thus, AA is one-to-one.