Rank-Nullity Theorem Verifier Calculator

Enter the rank, nullity, and total column count of your matrix to verify the rank-nullity theorem and explore key linear algebra properties.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter the Matrix Rank (r)

    Input the rank of your matrix, which is the number of linearly independent columns or rows.

  2. 2

    Enter the Nullity (n − r)

    Provide the nullity of the matrix, representing the dimension of its null space or the number of free variables in Ax = 0.

  3. 3

    Specify Total Columns (n)

    Input the total number of columns in the matrix. This value should theoretically equal the sum of the rank and nullity.

  4. 4

    Review Theorem Verification

    The calculator will instantly verify if rank + nullity equals total columns, indicating whether the theorem holds true for your inputs.

Example Calculation

A linear algebra student wants to verify if a 3x5 matrix with a rank of 3 and a nullity of 2 satisfies the Rank-Nullity Theorem.

Rank (r)

3

Nullity (n − r)

2

Total Columns (n)

5

Results

✓ Yes

Tips

Understand Full Rank Implications

If 'Rank Percentage' is 100% (i.e., rank equals total columns), it means the matrix has full column rank. This implies that the columns are linearly independent, and the null space contains only the zero vector.

Interpret Nullity for Solutions

A non-zero 'Nullity Percentage' indicates the presence of free variables in the homogeneous system Ax=0. The nullity value directly tells you how many free variables exist, impacting the number of solutions to linear systems.

Connect to Image Dimension

The 'Dimension of Image' output is equal to the rank. This signifies the dimension of the vector space spanned by the columns of the matrix, illustrating the transformation's output space.

Verifying the Rank-Nullity Theorem for Matrix Transformations

The Rank-Nullity Theorem Verifier Calculator is an essential tool for students and practitioners of linear algebra, allowing for quick verification of a fundamental theorem governing matrix transformations.

By inputting the Rank, Nullity, and Total Columns of a matrix, the calculator instantly confirms if the sum of the rank and nullity equals the total number of columns, as prescribed by the theorem.

For example, a matrix with a rank of 3, a nullity of 2, and 5 total columns will result in a ✓ Yes verification.

The Mathematical Principle of Rank and Nullity

The Rank-Nullity Theorem states that for any m × n matrix A (where n is the number of columns), the dimension of the column space of A (its Rank) plus the dimension of the null space of A (its Nullity) must equal the total number of columns n.

This calculator applies this principle directly.

It sums the user-provided Rank (r) and Nullity (n − r) and compares this sum to the Total Columns (n).

If r + (n − r) = n, the theorem is verified.

This relationship is crucial for understanding the properties of linear transformations and the solutions to systems of linear equations.

rank_plus_nullity = Rank + Nullity
is_verified = (rank_plus_nullity == Total_Columns)

This simple comparison forms the core of the verification process.

💡 For foundational math practice, our Times Table Generator can help solidify basic arithmetic skills.

Verifying a Matrix's Fundamental Properties

Consider a mathematics student analyzing a matrix from a data science problem.

They have determined its rank and nullity and want to confirm it adheres to the Rank-Nullity Theorem.

  1. Input Rank (r): The student enters "3".
  2. Input Nullity (n − r): They enter "2".
  3. Input Total Columns (n): They enter "5".
  4. Calculate: The calculator performs the check.

The results are:

  • Theorem Verified: ✓ Yes
  • rank + nullity: 5
  • Rank Percentage: 60.0%
  • Nullity Percentage: 40.0%
  • Matrix Type: Rank-Deficient
  • Dimension of Image: 3

This confirms that the matrix's properties are consistent with the theorem, and further indicates it is rank-deficient due to a non-zero nullity.

💡 To test your understanding of basic arithmetic, try our Times Table Quiz for quick recall.

The Fundamental Theorem of Linear Algebra

The Rank-Nullity Theorem, often considered one of the fundamental theorems of linear algebra, elegantly connects the dimensions of the four fundamental subspaces associated with a matrix: the column space, row space, null space, and left null space.

It asserts that for any matrix, the dimension of the column space (rank) plus the dimension of the null space (nullity) always equals the number of columns.

This relationship is crucial for understanding matrix transformations, determining if a transformation is injective (one-to-one) or surjective (onto), and assessing the solvability and uniqueness of solutions for linear systems of equations, such as Ax=b.

Interpreting Rank and Nullity in Practical Matrix Analysis

In practical matrix analysis, the values of rank and nullity provide deep insights into the nature of a linear system or transformation.

A matrix with full column rank (where rank equals the total number of columns, e.g., a 5x5 matrix with rank 5) implies that its columns are linearly independent, and the system Ax=b will have a unique solution if it is consistent.

Conversely, a non-zero nullity (e.g., a 5x5 matrix with rank 3 and nullity 2) indicates a non-trivial null space, meaning there are multiple solutions to Ax=b (if consistent) or that the transformation is not injective.

In engineering, particularly in control systems, a non-zero nullity might point to redundant controls or unobservable states, while in data science, it can signal multicollinearity among variables.

Frequently Asked Questions

What is the Rank-Nullity Theorem?

The Rank-Nullity Theorem is a fundamental theorem in linear algebra that states for any linear transformation (represented by a matrix), the dimension of its column space (rank) plus the dimension of its null space (nullity) equals the dimension of its domain (total number of columns in the matrix). It's a key relationship between these fundamental subspaces.

What is the 'rank' of a matrix?

The rank of a matrix is the maximum number of linearly independent column vectors or row vectors in the matrix. It represents the dimension of the column space (also called the image) of the linear transformation associated with the matrix, indicating the effective output dimensions.

What is the 'nullity' of a matrix?

The nullity of a matrix is the dimension of its null space (also known as the kernel). The null space consists of all vectors that, when multiplied by the matrix, result in the zero vector. Nullity also corresponds to the number of free variables in the solution to the homogeneous linear system Ax = 0.

What does 'Full Column Rank' mean for a matrix?

A matrix has 'Full Column Rank' when its rank is equal to its total number of columns. This implies that all columns are linearly independent, and the only vector that maps to the zero vector is the zero vector itself (i.e., the nullity is zero). Such a matrix represents an injective (one-to-one) linear transformation.