The span of a set S⊆VDenoted span(S)Is the set of all finite linear Combinations of elements of S:
span(S)={∑i=1kαivi:k∈N,αi∈F,vi∈S}
Proposition 2.2.span(S) is always a subspace of V. In fact, span(S) is The smallest subspace containing S: if W is any subspace with S⊆WThen span(S)⊆W.
Proof.span(S) is non-empty since 0=0⋅v for any v∈S. Closure under addition and scalar multiplication follows directly from the Definition of linear combinations. For minimality, any subspace W containing S must contain all Finite linear combinations of elements of S by Proposition 1.2, so span(S)⊆W. ■
Lemma 2.3 (Steinitz Exchange Lemma). Let {u1,…,uk} be a linearly Independent set in VAnd let {w1,…,wm} be a spanning set for V. Then k≤mAnd after relabelling the wjThe set
{u1,…,uk,wk+1,…,wm}
Also spans V.
Proof. We proceed by induction on k. For k=0 there is nothing to prove.
Assume the result holds for k−1. Since {u1,…,uk} is linearly Independent, uk=0 and uk∈span{w1,…,wm} Since the wj span V. Therefore uk=∑j=1mαjwj for some αj∈FAnd not all αj are zero.
After relabelling, assume α1=0. Then w1=α1−1(uk−∑j=2mαjwj) So w1∈span{uk,w2,…,wm}. It follows that
span{w1,…,wm}=span{uk,w2,…,wm}=V
Now {u1,…,uk−1} is linearly independent and {uk,w2,…,wm} spans V. By the inductive hypothesis, k−1≤m−1 (so k≤m) and after relabelling, {u1,…,uk−1,wk,…,wm} spans V. Since uk is already in this span, the full set {u1,…,uk,wk+1,…,wm} also spans V. ■
Theorem 2.4 (Dimension is Well-Defined). If V is finite-dimensional, then any two bases of V have the same number of elements.
Proof. Let B1 and B2 be two bases with ∣B1∣=k and ∣B2∣=m. Applying the Steinitz exchange lemma with B1 as the Independent set and B2 as the spanning set gives k≤m. Swapping roles gives m≤k. Hence k=m. ■
Theorem 2.6 (Rank-Nullity Theorem). Let A∈Mm×n(F). Then
rank(A)+nullity(A)=n
Where rank(A)=dim(col(A)) and nullity(A)=dim(null(A)).
Proof. Let {v1,…,vk} be a basis for null(A)Where k=nullity(A). Extend this to a basis {v1,…,vk,vk+1,…,vn} for Fn.
We claim that {Avk+1,…,Avn} is a basis for col(A).
Spanning: For any y∈col(A)There exists x∈Fn With y=Ax. Writing x=∑i=1nαivi
y=A(∑i=1nαivi)=∑i=1nαiAvi=∑i=k+1nαiAvi
Since Avi=0 for i≤k.
Linear independence: If ∑i=k+1nαiAvi=0Then A(∑i=k+1nαivi)=0So ∑i=k+1nαivi∈null(A). Since {v1,…,vk} Is a basis for the null space, ∑i=k+1nαivi=∑i=1kβivi For some βiGiving ∑i=1n(−βi)vi+∑i=k+1nαivi=0. By linear independence of the full basis, αi=0 for all i≥k+1.
This has pivots in columns 1, 3, and 4. The free variable is x2. Setting x2=t and Back-substituting: x4=0, x3=0, x1=−2t. The null space is {t(−2,1,0,0):t∈R}With basis {(−2,1,0,0)} and dimension 1. ■
Problem. Determine whether the vectors v1=(1,2,3), v2=(4,5,6), v3=(7,8,9) form a basis For R3.
Solution
Form the matrix A=[v1∣v2∣v3] and compute Its determinant:
det(A)=1(45−48)−2(36−42)+3(32−35)=−3+12−9=0
Since det(A)=0The columns are linearly dependent, so {v1,v2,v3} Is not a basis. In fact, v3−2v2+v1=0.
■
:::tip To check if n vectors in Rn form a basis, compute the determinant of the matrix whose Columns are those vectors. If det=0They form a basis; if det=0They do not.
Problem. Let V=P3(R) (polynomials of degree at most 3). Find the dimension Of the subspace W={p∈P3:p(1)=p(−1)=0}.
Linear independence of infinitely many vectors. The definition only directly applies to finite subsets. A set S is linearly independent if every finite subset of S is linearly independent.
Dimension and spanning. A set of n vectors in Rn that spans Rn must be linearly independent (and hence a basis). Similarly, n linearly independent vectors in Rn must span Rn.
The empty set spans {0}. The span of the empty set is the trivial subspace, and the empty set is a basis for {0}. The dimension of the zero space is 0.