A set of vectors {v1,v2,…,vk}⊆V is linearly Independent if the equation
α1v1+α2v2+⋯+αkvk=0
Implies α1=α2=⋯=αk=0. Otherwise the set is linearly dependent.
Proposition 2.1 (Equivalent formulations). The following are equivalent for vectors v1,…,vk∈V:
{v1,…,vk} is linearly independent.
No vj can be written as a linear combination of the remaining vectors.
If ∑i=1kαivi=∑i=1kβiviThen αi=βi for all i.
Proof. (1 ⇒ 2): If vj=∑i=jαiviThen ∑i=jαivi−vj=0 gives a non-trivial linear Dependence, contradicting (1).
(2 ⇒ 3): If ∑(αi−βi)vi=0Then by linear Independence (which follows from (2)), αi=βi for all i.
(3 ⇒ 1): If ∑αivi=0=∑0⋅vi Then by (3), αi=0 for all i. ■
2.2 Span
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. ■
2.3 Basis and Dimension
A set B⊆V is a basis for V if:
B is linearly independent, and
span(B)=V.
Theorem 2.1. Every vector space has a basis. All bases of a finite-dimensional vector space have The same number of elements.
The dimension of VDenoted dim(V)Is the cardinality of any basis for V.
2.4 Steinitz Exchange Lemma
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. ■
2.5 Dimension Formula
Theorem 2.5 (Dimension Formula). If U and W are subspaces of a finite-dimensional vector Space VThen
dim(U+W)=dim(U)+dim(W)−dim(U∩W)
2.6 Rank-Nullity Theorem
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.
Therefore rank(A)=n−k=n−nullity(A). ■
2.7 Worked Examples
Problem. Find a basis for and the dimension of the subspace W=span{(1,2,−1,0),(3,1,0,2),(−1,3,−2,−2)} of R4.
Solution
Form the matrix whose rows are the given vectors and row-reduce:
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}.
If you get this wrong, revise: Section 2.7 (Worked Examples).
2.8 Common Pitfalls
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.