8. Vector Space and Basis
2026-03-16
Vector Space (向量空间)
Definition
A vector space is a non-empty set V of vectors that satisfies the following properties for any vectors u, v, and w in the vector space, and any scalar c and d:
- u+v∈V
- u+v=v+u
- (u+v)+w=u+(v+w)
- There exists a zero vector 0 in V such that u+0=u
- For each vector u, there exists a vector −u in V such that u+(−u)=0
- cu∈V
- c(u+v)=cu+cv
- (c+d)u=cu+du
- c(du)=(cd)u
- 1u=u
Subspace (子空间)
A subspace is a subset of a vector space that is itself a vector space under the same operations of vector addition and scalar multiplication.
To determine whether a subset W of a vector space V is a subspace, we only need to check the following three conditions:
- The zero vector of V is in W.
- If u and v are in W, then u+v is in W.
- If u is in W and c is a scalar, then cu is in W.
Generalized Vector Spaces (广义向量空间)
The concept of vector spaces can be extended to include objects other than just column vectors. For example, the set of all polynomial functions of degree less than or equal to n forms a vector space under the operations of polynomial addition and scalar multiplication:
Pn={a0+a1x+a2x2+⋯+anxn∣ai∈R}
However, when the elements of a vector space are not column vectors, we cannot use the coefficient matrix or augmented matrix to determine linear independence (as what we mentioned in the 3rd section). Instead, we need to determine whether some vj(j>1) in the vector set {v1,v2,…,vn} is a linear combination of the preceding vectors v1,v2,…,vj−1.
Spaces of Matrices
Null Space (零空间)
The null space of a matrix A, denoted as NulA, is the set of all vectors x such that Ax=0.
The null space of an m×n matrix A is a subspace of Rn.
Null space is also called the kernel of a matrix (矩阵的核), denoted as KerA.
Column Space (列空间)
The column space of a matrix A, denoted as ColA, is the set of all linear combinations of the columns of A.
If A is an m×n matrix [a1a2⋯an], then
ColA=Span{a1,a2,…,an}
The column space of an m×n matrix A is a subspace of Rm.
Info
The column space of an m×n matrix A is Rm if and only if the columns of A span Rm, which is equivalent to saying that the equation Ax=b has a solution for every b in Rm.
Row Space (行空间)
Tips
abc is the same as (a,b,c), while [abc] is NOT the same as (a,b,c).
If A is an m×n matrix, then each row of A can be viewed as a vector in Rn. The row space of A, denoted as RowA, is the set of all linear combinations of the rows of A.
It is obvious that ColAT=RowA.
Basis (基)
Definition
Let W be a subspace of a vector space V. A set of vectors {v1,v2,…,vk} in W is called a basis for W if the following two conditions are satisfied:
- The vectors are linearly independent.
- The vectors span W.
Note
- A basis is not unique. For example, the set {(1,0),(0,1)} and the set {(1,1),(1,−1)} are both bases for R2.
- The 2nd condition includes the requirement that the vectors in the basis must be in W, since the span of the vector set includes every vector in the set.
Specifically, the set {e1,e2,…,en} is called the standard basis for Rn.
Finding Basis for Column Space and Row Space
To find a basis for the column space of an m×n matrix A, we can perform row operations to reduce A to its row echelon form.
- To find a basis for the column space of A, we take the columns of A (the ORIGINAL MATRIX) that correspond to the pivot columns in the row echelon form of A.
- To find a basis for the row space of A, we take the nonzero rows of the row echelon form of A (the REDUCED MATRIX).
Tips
That is because: Row operations do not change a matrix's row space because each operation is applied to entire rows. However, row operations can change the column space.
However, do NOT take rows of the original matrix A to find a basis for the row space of A, because row operations can change the order of the rows.
Dimension (维数)
Definition
The dimension of V, written as dimV, is the number of vectors in a basis for V.
If a vector space V is spanned by a finite set, then V is said to be finite-dimensional (有限维的); otherwise, V is infinite-dimensional (无限维的).
Rank-Nullity Theorem (秩-零化度定理)
The rank of an m×n matrix A (矩阵的秩), denoted as rankA, is the dimension of the column space of A.
The nullity of an m×n matrix A (矩阵的零化度), denoted as nullityA, is the dimension of the null space of A.
The Rank-Nullity Theorem states that for any m×n matrix A,
rankA+nullityA=n