Lemma For a set of vectors u1,u2,…,un in vector space V, if v∈sp{u1,u2,…un}, then
sp{u1,u2,…un,v}=sp{u1,u2,…un}
This leads to the concept of a basis, a spanning set containing the fewest possible elements.
Definition of a Basis
Let u1,u2,…un be vectors in a vector space V. We say that {u1,u2,…un} is a basis for V iff {u1,u2,…,un} is a spanning set for V and is linearly independent.
Definition of Linear Independence
Let V be a vector space over a field F. Let u1,u2,…un be vectors in V, and let α1,α2,…αn be scalars in F. We say that {u1,u2,…,un} is linearly independent iff α1u1+α2u2+⋯+αnun=0 only when α1=α2=⋯=αn=0.
- inversely, a set is linearly dependent iff there exists a nontrivial solution to α1=α2=⋯=αn=0 in which not all of the scalars αi are zero.

Intuitively, linearly independent vectors represent different directions in a vector space, such as the x-axis and the y-axis that only have one common element, 0.
Theory A set of vectors {u1,u2,…un}, where n≥2, is linearly dependent iff at least one of the vectors can be written as a linear combination of the remaining n−1 vectors.
Lemma If a set of vectors {u1,u2,…un} is linearly dependent, then there exists an integer k, with 2≤k≤n, such that uk is a linear combination of u1,u2,…uk−1.
Theory A set of vectors {u1,u2,…un} is linearly independent iff each vector in sp{u1,u2,…un} can be written uniquely as a linear combination of u1,u2,…un.
Theory A set of vectors {u1,u2,…un} is a basis for V iff each vector in v∈V can be written uniquely as a linear combination of u1,u2,…un.
Dimensions of a Vector Space
Definition of Finite-Dimensionality
Let V be a vector space over a field F. We say that V is finite-dimensional if
- V has a basis or
- V is a trivial vector space {0}.
If V is not finite-dimensional, then it is called infinite-dimensional.
Corollary Every nontrivial subspace of a finite-dimensional vector space has a basis
Theorem Let V be a nontrivial vector space over a field F, and suppose {u1,u2,…,um} spans V. Then a subset of the spanning set is a basis for V.
Theorem Let V be a finite-dimensional vector space over a field F, and suppose {u1,u2,…,uk} is linearly independent. If the linearly independent set of vectors does not span V, then there exist vectors uk+1,uk+2,…,un such that {u1,u2,…,uk,uk+1,…,un} is a basis for V.
Theorem Let V be a finite-dimensional vector space over a field F, and let {u1,u2,…um} be a basis for V. If v1,v2,…vn are any n vectors in V, with n>m, then the set {v1,v2,…vn} is linearly dependent.
Corollary Let {u1,u2,…um} and {v1,v2,…vm} be two bases for V. Then n=m.
Definition of Dimensions of a Vector Space
Let V be a finite-dimensional vector space.
- If V is a trivial vector space, then we say that the dimension of V is zero.
- Else, the dimension of V is the number of vectors in a basis for V.
Example The dimensions of Pn is n+1 since {1,x,x2,…xn} is a basis.
Theorem Let V be an n-dimensional vector space over a field F, and let u1,u2,…un be vectors in V.
- If {u1,u2,…un} spans V, then it is linearly independent and hence a basis for V.
- If {u1,u2,…un} is linearly independent, then it spans V and hence a basis for V.
basis: a minimal spanning set for a vector space