Null Space Calculator

Find the basis and dimension of the null space for any matrix with detailed, step-by-step solutions using Gaussian elimination.

Enter Your Matrix (A)

Rows:3
Cols:4

Dimension of Null Space (Nullity)

--

Rank of Matrix

--

Basis for the Null Space

Ad Space 1

The Ultimate Guide to the Null Space of a Matrix

In the world of linear algebra, understanding the fundamental subspaces of a matrix—the column space, row space, and null space—is paramount. The null space, in particular, provides deep insights into the properties of a matrix and the solutions to systems of linear equations. Our comprehensive null space calculator is designed not just to find the answer, but to provide a step-by-step guide on how to find the null space of a matrix, making it an essential tool for students and professionals.

What is the Null Space of a Matrix?

The null space of a matrix A, also known as the kernel, is the set of all vectors **x** that satisfy the homogeneous equation `Ax = 0`. In other words, it's the collection of all vectors that are transformed into the zero vector by the matrix A. The null space is a vector subspace, which means it always contains the zero vector and is closed under addition and scalar multiplication.

How to Find the Null Space of a Matrix: Step-by-Step

The process to find the null space of a matrix is systematic and relies on row reduction.

  1. Set up the Homogeneous Equation: Start with your matrix A and set up the equation `Ax = 0`. This is typically written as an augmented matrix [A | 0].
  2. Row Reduce to RREF: Use Gaussian elimination to transform the matrix A into its Reduced Row Echelon Form (RREF). This is the most critical step.
  3. Identify Pivot and Free Variables: In the RREF, the columns containing the leading 1s are the "pivot columns." The variables corresponding to these columns are the "pivot variables." All other variables are "free variables."
  4. Express Pivot Variables in Terms of Free Variables: Write out the system of equations from the RREF. Solve for each pivot variable in terms of the free variables.
  5. Write the Parametric Vector Form: Write the general solution vector **x** with each component expressed in terms of the free variables. Then, decompose this vector into a linear combination of vectors, where each vector is associated with one free variable.
  6. Extract the Basis Vectors: The vectors in this linear combination form the basis for the null space.

Our null space calculator with steps automates this entire process, showing you the RREF and the final basis vectors.

The Basis and Dimension of the Null Space

Two key concepts emerge from this process:

How to Use Our Online Null Space Calculator

  1. Set Matrix Dimensions: Use the '+' and '-' buttons to set the number of rows and columns for your matrix A.
  2. Enter Matrix Elements: Fill in the elements of your matrix in the input grid.
  3. Find the Null Space: Click the "Find Null Space" button.
  4. Analyze the Results: The calculator will instantly display:
    • The dimension of the null space (nullity).
    • The rank of the matrix (by the Rank-Nullity Theorem).
    • The set of vectors that form the basis of the null space.
  5. View the Steps: For a deeper understanding, check the "Show calculation details" box. This will reveal the Reduced Row Echelon Form (RREF) of your matrix and the parametric solution that leads to the basis vectors.

The Rank-Nullity Theorem

The null space is deeply connected to another fundamental concept, the rank. The Rank-Nullity Theorem (or Rank Theorem) states that for any m × n matrix A:

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

This is a powerful check. The rank is the number of pivot columns, and the nullity is the number of free variable columns. Together, they must equal the total number of columns. Our calculator displays both the rank and nullity for you to see this theorem in action.

What is the Left Null Space?

While the null space (or "right null space") solves `Ax = 0`, the left null space is the set of all vectors **y** that solve the equation `yᵀA = 0`. This is equivalent to finding the null space of the transpose of the matrix, Nul(Aᵀ). While this calculator focuses on the standard null space, the process for finding the left null space is simple: just find the null space of Aᵀ.

Frequently Asked Questions (FAQ) 🧠

What is the null space of an invertible matrix?

An invertible n × n matrix has a rank of n. By the Rank-Nullity Theorem, its nullity must be n - n = 0. A space with dimension 0 contains only one vector: the zero vector. Therefore, the null space of an invertible matrix is just the set containing the zero vector, {0}.

What does a basis for the null space tell you?

It provides a complete and efficient description of the entire solution set to `Ax = 0`. Any solution to this equation can be built by simply taking a weighted sum (a linear combination) of the basis vectors.

How does this relate to other matrix calculators?

This matrix null space calculator is a specialized tool. While a general-purpose tool like a "row space column space and null space calculator" would compute all four fundamental subspaces, this one focuses on providing a detailed, step-by-step process specifically for finding the basis and dimension of the null space, which is often the most complex of the four to calculate by hand.

Conclusion: Uncovering the Kernel

The null space is a fundamental concept that describes the "kernel" of a linear transformation—the set of inputs that get "crushed" to zero. Understanding how to find its basis and dimension is essential for a deep understanding of linear algebra and its applications, from solving systems of equations to understanding the properties of linear maps. Our calculator is designed to make this process transparent, visual, and educational. Bookmark this page and master one of the most important ideas in mathematics.

Ad Space 2

Support Our Work

Help keep this Null Space Calculator free, ad-light, and constantly updated with a small donation.

Donate to Support via UPI

Scan the QR code for UPI payment in India.

UPI QR Code

Support via PayPal

Contribute securely via PayPal for international support.

PayPal QR Code for Donation
Ad Space 3