Rank - Nullity - Theorem - Detailed With Examples
Rank - Nullity - Theorem - Detailed With Examples
The Rank-Nullity Theorem is a fundamental theorem in linear algebra that relates the
dimensions of certain subspaces associated with a linear transformation. For a linear
transformation T :V → W , where V is a vector space of dimension n, the Rank-Nullity
Theorem states:
Where:
rank(T) is the dimension of the image (or range) of T (i.e., the number of linearly
independent columns in the matrix).
nullity(T) is the dimension of the kernel (or null space) of T (i.e., the number of linearly
independent solutions to the homogeneous equation T(x) = 0).
dim(V) is the dimension of the domain vector space V.
Notes:
A matrix has full rank if its rank is equal to the minimum of its number of rows
and columns.
In the following examples, we will perform row reductions to find the rank and
nullity of matrices.
Example 1
Consider the matrix A:
[ ]
1 2
A= 3 4 R 2→ R 2−3∗R 1 , R 3 → R 3−5∗R 1 :
5 6
[ ]
1 2
A= 0 −2 Step 2:
0 −4
R 3 → R 3−2∗R 2 :
[ ]
1 2
A= 0 −2 nullity (A )=number of columns−rank =2−2=0.
0 0
Thus, rank (A )+ nullity (A )=2+0=2.
Example 2
Consider the matrix B:
[ ]
1 2 3
B= 4 5 6 R 2→ R 2−4∗R 1 , R 3 → R 3−7∗R 1 :
7 8 9
[ ]
1 2 3
B= 0 −3 −6
0 −6 −12
R 3 → R 3−2∗R 2 :
[ ]
1 2 3
B= 0 −3 −6 The rank of B is 2.
0 0 0
The nullity is: nullity (B)=number of columns−rank =3−2=1.
Thus, rank (B)+nullity (B)=2+1=3.
Example 3
Consider the matrix C:
[ ]
2 4 6
C= 1 2 3 R 2→ R 2−0.5∗R 1 :
0 0 0
[ ]
2 4 6
C= 0 0 0
0 0 0
[ ]
1 2 3
C= 0 0 0 nullity (C)=number of columns−rank=3−1=2. rank (C)+nullity (C)=1+ 2=3.
0 0 0
Example 4
Consider the identity matrix D:
[ ]
1 0 0
D= 0 1 0 nullity( D)=number of columns−rank=3−3=0.rank (D)+ nullity (D)=3+0=3.
0 0 1