Database › Mathematics › Pure mathematics › Algebra
For a linear map from an n-dimensional space, the dimension of the image (rank) plus the dimension of the kernel (nullity) equals n; row rank always equals column rank.
Explanation
The kernel is the solution space of $A\mathbf x=0$; the image is spanned by the columns. Each free variable in row reduction gives one kernel basis vector, each pivot one independent column, so the counts add to $n$.
Consequences: a square matrix is invertible iff its kernel is trivial; $m<n$ guarantees non-trivial solutions of a homogeneous system; and the number of independent conserved quantities or constraints is often found this way.
Example 1
Find the rank and a basis of the kernel of $A=\begin{pmatrix}1&2&3\\2&4&6\\1&0&1\end{pmatrix}$.
Solution
Row 2 = 2 × row 1, rows 1 and 3 independent: rank 2, nullity 1. Kernel spanned by $(1,1,-1)$.
Example 2
What is the rank of the outer product $\mathbf u\mathbf v^{\rm T}$ ($\mathbf u,\mathbf v\neq0$) in $n$ dimensions, and its nullity?
Solution
Every column is a multiple of $\mathbf u$: rank 1. The kernel is all $\mathbf x\perp\mathbf v$, dimension $n-1$.