Open In App

Rank and Nullity

Last Updated : 11 Mar, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Rank and Nullity are essential concepts in linear algebra, particularly in the context of matrices and linear transformations. They help describe the number of linearly independent vectors and the dimension of the kernel of a linear mapping.

In this article, we will learn what Rank and Nullity, the Rank-Nullity Theorem, and their applications, advantages, and limitations.

What is Rank and Nullity?

Rank of a Matrix is defined as the number of linearly independent row or column vectors of a matrix. It represents the number of non-zero eigenvalues of the matrix. The rank of a matrix is denoted as ρ(A).

Nullity of a Matrix is the dimension of its kernel, which is the number of independent solutions of the equation Ax = 0. It represents the number of zero eigenvalues of the matrix. The nullity of a matrix is denoted as N(A). For any matrix A of order 6×6 its rank and nullity are given below,

Rank-and-Nullity

Nullspace

Nullspace of any matrix is defined as the solution associated with the system of homogenous equation AX = O where A is any real matrix of order, m × n.

Nullspace of A = { x ∈ Rn | Ax = O}. Then the nullity of A is the dimension of the Nullspace of A.

Calculating Rank and Nullity

The rank and nullity of a matrix can be calculated using the following steps:

Row Reduction: Reduce the matrix to its row-reduced echelon form (RREF) using elementary row operations.

Counting Linearly Independent Vectors: Rank of a matrix is the number of linearly independent row or column vectors in the RREF.

Calculating Nullity: Nullity of a matrix is calculated by subtracting its rank from the total number of columns in the matrix.

Rank-Nullity Theorem

Rank-Nullity Theorem is a theorem in linear algebra that states that for a matrix M with x rows and y columns over a field, the rank of M and the nullity (the dimension of the kernel) of M sum to y.

For a matrix A of order n × n:

Rank of A + Nullity of A = Number of Columns in A = n

This can be generalized further to linear maps: if T: V → W is a linear map, then the dimension of the image of T plus the dimension of the kernel of T is equal to the dimension of V.

The theorem is useful in calculating either one by calculating the other instead, which is useful as it is often much easier to find the rank than the nullity (or vice versa).

There are several proofs of the rank-nullity theorem available; here is one such proof.

Rank-Nullity Theorem Proof

Statement: Let U and V be vector spaces over the field F and let T be a Linear Transformation (L.T.) from U into V. Suppose that U is finite-dimensional. Then, rank (T) + nullity (T) = dim U.

Proof:

Let N be a null space of T, then N is a subspace of U. Since U is finite-dimensional. Therefore, N is finite-dimensional.

Let dim N = nullity(T) = K and let {α1, α2,….., αk} be a basis for N

∵ {α1, α2,….., αk} is a linearly independent subset of U

∴ We can extend it to form a basis of U

Let dim U = n and let {α1, α2,….., αk, αk+1, αk+2,……, αn} be a basis of U

Vectors T(α1),…., T(αk), T(αk+1), T(αk+2),……., T(αn) are in the range of T

We shall show that {T(αk+1), T(αk+2),…., T(αn)} is a basis for the range of T

(I) First, we shall prove that the vectors T(αk+1), T(αk+2),….., T(αn) span the range of T

Let β ∈ range of T, then ∃ α ∈ U such that T(α) = β

Now α ∈ U ⇒ ∃ a1, a2,……, an ∈ F such that

α = a1α1 + a2α2+……+ anαn

⇒ T(α) = T(a1α1+a2α2+……+anαn)

⇒ T(α) = T(a1α1+a2α2+……+akαk+ak+1αk+1+……+anαn)

⇒ β = a1 T(α1)+……+ak T(αk)+ ak+1 T(αk+1)+……+ an T(αn)

⇒ β = ak+1 T(αk+1) + ak+2 T(αk+2) +…..+ an T(αn)

[∵ α1, α2,….., αk ∈ N ⇒ T(α1) = 0,…., T(αk) = 0]

∴ the vectors T(αk+1), T(αk+2),……, T(αn) span the range of T.

(II) Now we shall show that the vectors T(αk+1), T(αk+2),……, T(αn) are L.I.

Let ck+1, ck+2,…, cn ∈ F such that

ck+1T(αk+1) + ck+2T(αk+2) +…..+ cnT(αn) = 0

⇒ T(ck+1αk+1 + ck+2αk+2 +……+ cnαn) = 0

⇒ ck+1αk+1, ck+2αk+2,….., cnαn ∈ null space of T, i.e., N

⇒ ck+1αk+1 + ck+2αk+2 +…….+ cnαn = b1α1 + b2α2 +…+ bkαk

for some b1,b2,….., bk ∈ F.

[∵ Each vector in N can be expressed as a linear combination of the vectors α1,……, αn forming a basis of N]

⇒ b1α1 + b2α2 +…..+ bkαk – ck+1αk+1 – ck+2αk+2 -…….- cnαn = 0

⇒ b1 = b2 = …… = bk = ck+1 = ck+2 = ……. = cn = 0

[∵ α1, α2,…., αk, αk+1,……, αn are linearly independent being basis of U]

⇒ Vectors T(αk+1), T(αk+2),….., T(αn) are linearly independent.

∴ vectors T(αk+1), T(αk+2), …., T(αn) form a basis of the range of a T.

∴ Rank T = Dim range of T = n – k

Hence proved

Advantages of Rank and Nullity

Aadvantages of understanding the rank and nullity of a matrix in linear algebra include:

  • Simplifying Representation of Mathematical Problems: Rank and nullity provide a concise way to describe the structure of a matrix, making it easier to understand and solve problems involving linear algebra.
  • Efficient Problem-Solving: By knowing the rank and nullity of a matrix, you can quickly identify the dimensions of the image and kernel of a linear transformation, which can help find the solution to a system of linear equations or determine the rank and nullity of a matrix.
  • Providing Insights into Matrix Properties: The rank and nullity of a matrix can reveal information about the matrix, such as whether it is invertible or not, and can help in understanding the eigenvalues of the matrix.
  • Rank-Nullity Theorem: This fundamental result in linear algebra states that the sum of the rank and nullity of a matrix equals the number of columns of the matrix. Understanding this theorem is crucial for solving a wide range of problems in linear algebra and forms the basis for various theoretical and practical applications.

Application of Rank and Nullity

The rank and nullity of a matrix have various applications in linear algebra, including:

  • Solving Systems of Linear Equations: The rank and nullity of a matrix are used to determine the dimension of the kernel of a linear transformation, which in turn helps in solving systems of linear equations.
  • Determining Dimension of Image and Kernel of a Linear Transformation: These concepts are essential for finding the dimensions of the image and kernel of a linear transformation, which is crucial in understanding the properties of the transformation.
  • Matrix Theory: The rank and nullity of a matrix are fundamental in matrix theory, providing insights into the properties of the matrix, such as invertibility and eigenvalues.

Limitations of Rank and Nullity

While the rank and nullity of a matrix have numerous applications in linear algebra, there are some limitations to these concepts:

  • Applicability: The rank and nullity of a matrix are only applicable to linear transformations and matrices. They may not be directly applied to non-linear transformations or matrices.
  • Dimensionality: The rank and nullity of a matrix are defined for matrices with finite dimensions. They may not be directly applied to matrices with infinite dimensions or an infinite number of columns.
  • Independence: The rank of a matrix is the number of linearly independent rows or columns. However, this concept may not be applicable when the matrix has dependent rows or columns, as the rank may not accurately represent the number of independent vectors.
  • Invertibility: The rank of an invertible matrix is equal to the order of the matrix, and its nullity is equal to zero. This means that the rank and nullity of a matrix may not provide information about the invertibility of a matrix.

Conclusion of Rank and Nullity

These concepts are crucial for solving systems of linear equations, determining the dimensions of the image and kernel of a linear transformation, and simplifying the representation of mathematical problems.

Overall, the rank and nullity of a matrix are powerful tools that play a central role in various areas of linear algebra, providing valuable insights and enabling efficient problem-solving.

Related Artilces:

Matrices

Types of Matrices

Transpose of a Matrix

Inverse of Matrix

Examples on Rank and Nullity

Some examples on rank and nullity are,

Example 1: Given Matrix

[Tex]B = \begin{pmatrix} 1 & 1 & 0 & -2\\2 & 0 & 2 & 2 \\4 & 1 & 3 & 1 \\ \end{pmatrix}[/Tex]

Find the rank and nullity of B.

Solution:

[Tex]B = \begin{pmatrix} 1 & 1 & 0 & -2\\2 & 0 & 2 & 2 \\4 & 1 & 3 & 1 \\ \end{pmatrix}[/Tex]

Using Row Transformation in matrix B,

R2 → R3 – 2R2

[Tex]B = \begin{pmatrix} 1 & 1 & 0 & -2\\0 & 1 & -1 & -3 \\4 & 1 & 3 & 1 \\ \end{pmatrix}[/Tex]

Now, R3 → R3 – 4R1

[Tex]B = \begin{pmatrix} 1 & 1 & 0 & -2\\0 & 1 & -1 & -3 \\0 & -3 & 3 & 9 \\ \end{pmatrix}[/Tex]

Now, R3 → 3R2 + R3

[Tex]B = \begin{pmatrix} 1 & 1 & 0 & -2\\0 & 1 & -1 & -3 \\0 & 0 & 0 & 0 \\ \end{pmatrix}[/Tex]

∴ r (B) = 2.

n (B) = n (columns) – r (B) = 4 – 2 = 2.

∴ Rank of matrix B is 2 and the nullity of matrix B is 2.

Example 2: Given Matrix

[Tex]A = \begin{pmatrix} 1 & -2 & 0 & 4\\3 & 1 & 1 & 0 \\-1 & -5 & -1 & 8 \\ \end{pmatrix}[/Tex]

Find the rank of matrix A.

Solution:

[Tex]A = \begin{pmatrix} 1 & -2 & 0 & 4\\3 & 1 & 1 & 0 \\-1 & -5 & -1 & 8 \\ \end{pmatrix}[/Tex]

Using Row Transformation in matrix A,

R3 → R3 + R1

[Tex]A = \begin{pmatrix} 1 & -2 & 0 & 4\\3 & 1 & 1 & 0 \\0 & -7 & -1 & 12 \\ \end{pmatrix}[/Tex]

Now, R2 → R2 – 3R1

[Tex]A = \begin{pmatrix} 1 & -2 & 0 & 4\\0 & 7 & 1 & -12 \\0 & -7 & -1 & 12 \\ \end{pmatrix}[/Tex]

Now, R3 → R3 + R2

[Tex]A = \begin{pmatrix} 1 & -2 & 0 & 4\\0 & 7 & 1 & -12 \\0 & 0 & 0 & 0 \\ \end{pmatrix}[/Tex]

r (A) = 2

∴ Rank of matrix A is 2.

Example 3: Given Matrix

[Tex]D = \begin{pmatrix} 1 & 3\\0 & -2 \\5 & -1 \\-2 & 3 \\ \end{pmatrix}[/Tex]

Find the nullity of matrix D.

Solution:

[Tex]D = \begin{pmatrix} 1 & 3\\0 & -2 \\5 & -1 \\-2 & 3 \\ \end{pmatrix}[/Tex]

Using Row Transformation in matrix D,

R3 → R3 – 5R1

[Tex]D = \begin{pmatrix} 1 & 3\\0 & -2 \\0 & -16 \\-2 & 3 \\ \end{pmatrix}[/Tex]

Now, R4 → 2R1 + R4

[Tex]D = \begin{pmatrix} 1 & 3\\0 & -2 \\0 & -16 \\0 & 9 \\ \end{pmatrix}[/Tex]

Now, R3 → -8R2 + R3

[Tex]D = \begin{pmatrix} 1 & 3\\0 & -2 \\0 & 0 \\0 & 9 \\ \end{pmatrix}[/Tex]

Now, R4 → 9R2 + 2R4

[Tex]D = \begin{pmatrix} 1 & 3\\0 & -2 \\0 & 0 \\0 & 0 \\ \end{pmatrix}[/Tex]

Now, R2 → -1/2 R2

[Tex]D = \begin{pmatrix} 1 & 3\\0 & 1 \\0 & 0 \\0 & 0 \\ \end{pmatrix}[/Tex]

r (D) = 2

n (D) = n (columns) – r (D) = 2 – 2 = 0.

∴ Nullity of matrix D is 0.

Frequently Asked Questions on Rank and Nullity

What is the Rank of a Matrix?

Rank of the matrix is defined as the number of linearly independent row or column vectors of a matrix.

What is the Nullity of a Matrix?

Nullity of the Matrix is defined as the dimension of the nullspace or kernel of the given matrix.

What is the Rank and Nullity Theorem?

Rank and Nullity Theorem for Matrices says that for any matrix A of order m by n,

rank(A) + nullity(A) = n = number of columns in A

How is Rank of a Matrix Determined?

Rank of a matrix is determined by counting the number of linearly independent rows or columns after applying row transformations and forming an upper triangular matrix.

What is Significance of Nullity of a Matrix in Linear Algebra?

Nullity of a matrix represents the dimension of its kernel, providing information about the number of independent solutions to the homogeneous equation Ax=0.

How are Rank and Nullity related in Context of Rank-Nullity theorem?

Rank-Nullity theorem states that the sum of the rank and nullity of a matrix is equal to the number of columns of the matrix.

What are Advantages of Understanding Rank and Nullity of a Matrix?

Understanding rank and nullity simplifies mathematical problem representation, enables efficient problem-solving, and provides insights into matrix properties.

What is the Nullity of an Invertible Matrix?

Nullity of an Invertible Matrix is Zero.



Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads