Overview
A basis provides a way to uniquely represent every vector in a vector space. The dimension of a space is the number of vectors in any basis.
Linear Independence
Vectors v1,v2,…,vk are linearly independent if:
c1v1+c2v2+⋯+ckvk=0⟹c1=c2=⋯=ck=0
Otherwise, they are linearly dependent.
Testing Linear Independence
Set up the equation c1v1+c2v2+⋯+ckvk=0 and solve:
- If only trivial solution (all ci=0): linearly independent
- If non-trivial solution exists: linearly dependent
Span
The span of vectors v1,v2,…,vk is:
span{v1,v2,…,vk}={c1v1+c2v2+⋯+ckvk:ci∈F}
This is the set of all linear combinations of the vectors.
Basis
A basis for a vector space V is a set B={v1,v2,…,vn} that is:
- Linearly independent
- Spans V
Properties of a Basis
- Every vector in V can be written uniquely as a linear combination of basis vectors
- Removing any vector makes B no longer span V
- Adding any vector makes B linearly dependent
Standard Bases
R2 Standard Basis
e1=[10],e2=[01]
R3 Standard Basis
e1=100,e2=010,e3=001
Rn Standard Basis
ei has 1 in position i and 0 elsewhere.
Dimension
The dimension of a vector space V, denoted dim(V), is the number of vectors in any basis for V.
| Space | Dimension |
|---|
| Rn | n |
| Pn (polynomials degree ≤n) | n+1 |
| Mm×n (m×n matrices) | m×n |
| {0} (zero space) | 0 |
Key Theorems
Uniqueness of Dimension
All bases for a vector space V have the same number of vectors.
Spanning Set Theorem
If S spans V and dim(V)=n, then:
- S has at least n vectors
- Any n linearly independent vectors in S form a basis
Independence Theorem
If S is linearly independent in V and dim(V)=n, then:
- S has at most n vectors
- S can be extended to a basis
Finding a Basis
For Column Space
- Write matrix with columns as the vectors
- Row reduce to echelon form
- The original columns corresponding to pivot columns form a basis
For Null Space
- Solve Ax=0
- Write solution in parametric form
- The vectors multiplied by free variables form a basis
Examples
Example 1: Verify Basis for R2
B={[11],[1−1]}
-
Linear Independence: c1[11]+c2[1−1]=0
- c1+c2=0
- c1−c2=0
- Only solution: c1=c2=0 ✓
-
Spans R2: Any [ab]=c1[11]+c2[1−1]
- c1=(a+b)/2
- c2=(a−b)/2 ✓
B is a basis, dim(R2)=2.
Example 2: Dimension of Subspace
W={(x,y,z):x+y+z=0}
Basis: {(−1,1,0),(−1,0,1)}
dim(W)=2