Null Space Calculator

Enter values of a 2×2 matrix to calculate its null space

What is a null space?

The null space of a matrix is the set of all vectors that the matrix sends to zero. For a matrix A, it is every vector x that satisfies Ax = 0. This set is also called the kernel of the matrix, as described in Kernel (linear algebra) – Wikipedia. It always contains the zero vector, and it may contain many other vectors too.

This Null Space Calculator finds the null space of a 2×2 matrix in seconds. Enter the four entries of your matrix, click Calculate, and the tool tells you whether the null space is trivial or non-trivial and shows a null space vector when one exists. It is ideal for checking homework, testing an idea from a lecture, or confirming a hand calculation before you trust it.

You do not need a textbook, a spreadsheet or any software to use it. The calculator runs in your browser and works on phones, tablets and desktop computers. The worked example below uses a matrix with entries 1, 2, 2 and 4, and shows exactly what the calculator returns.

How to Use

Null Space Calculator for matrix null space calculation

Using the calculator takes less than a minute. Follow these steps.

  1. Enter the four entries of your 2×2 matrix into the boxes labelled a₁₁, a₁₂, a₂₁ and a₂₂. The first row holds a₁₁ and a₁₂, and the second row holds a₂₁ and a₂₂.
  2. Double check that every box is filled. Leave no box empty, and use a minus sign for negative entries.
  3. Click the Calculate button. The result appears below the calculator at once.
  4. Read the result. It tells you whether the null space is trivial or non-trivial and, when a null space vector exists, shows one vector that satisfies Ax = 0.
  5. Change any entry and click Calculate again to test another matrix. The tool recalculates instantly, so you can compare matrices side by side.

Formula and worked example

The null space of a matrix A is the set of all vectors x with Ax = 0. For a 2×2 matrix, that means solving two equations at once, one for each row. A 2×2 matrix is a rectangular array of four numbers arranged in two rows and two columns, as described in Matrix (mathematics) – Wikipedia. The first test is the determinant: if it is not zero, the only solution is x = 0, and the null space is trivial.

Null space of A = all vectors x such that Ax = 0
Determinant of a 2×2 matrix = a₁₁ × a₂₂ − a₁₂ × a₂₁
Determinant ≠ 0 → null space is trivial (only x = 0)
Determinant = 0 → null space is non-trivial

Take the matrix with a₁₁ = 1, a₁₂ = 2, a₂₁ = 2 and a₂₂ = 4. The equations are x + 2y = 0 and 2x + 4y = 0. The second equation is twice the first, so there is only one independent equation. From x + 2y = 0, we get x = −2y. Setting y = 1 gives the vector (−2, 1). Enter 1, 2, 2 and 4 into the calculator above and it returns: The null space is non-trivial. A possible null space vector is: x = (−2, 1). The dimension of the null space is 1, because every null space vector is a multiple of (−2, 1).

You can check the answer by multiplying the matrix by the vector. For the first row, 1 × (−2) + 2 × 1 = 0. For the second row, 2 × (−2) + 4 × 1 = 0. Both rows give zero, so (−2, 1) is a genuine null space vector.

Benefits of Using a Null Space Calculator

The biggest benefit is speed. A 2×2 null space takes only a few minutes by hand, but a slip in one sign can spoil the answer. The calculator does the determinant check and the row reduction for you, so you get a reliable answer in seconds and can spend your time understanding what it means.

It also helps you learn. Try a matrix with independent rows, such as 1, 0, 0, 1, and the calculator shows a trivial null space. Then change one entry so the rows depend on each other, and watch the result change. Comparing matrices like this builds a feel for rank, dependence and dimension that a single worked example cannot give.

The null space is closely tied to eigenvalues. A matrix has a non-trivial null space exactly when zero is one of its eigenvalues. The Eigenvalue and Eigenvector Calculator finds the eigenvalues of the same kind of 2×2 matrix, so you can check the connection yourself with the matrix from the worked example above.

Who Should Use This Calculator

This calculator is ideal for students studying linear algebra and related subjects. Teachers can use it as a demonstration tool in classrooms, and engineers and technical professionals can use it for quick matrix analysis. It suits anyone who needs fast and accurate null space results for a 2×2 matrix.

Use it when a course question asks for the null space of a 2×2 matrix, when you need to check whether a matrix is invertible, or when you want to test whether two rows are dependent. It is also handy before an exam, when you want to check many practice matrices quickly without redoing each one by hand.

Keep its limits in mind. This calculator works only with 2×2 matrices of real numbers, and it shows one null space vector rather than a full basis. It cannot find null spaces for larger matrices, complex entries or symbolic expressions. For a formal definition of the null space and its properties, see Null Space — from Wolfram MathWorld.

FAQs

What is the null space of a matrix?

The null space of a matrix A is the set of all vectors x that satisfy Ax = 0. It always contains the zero vector. When the rows of the matrix are dependent, it also contains other vectors, and each of them is a multiple of a basis vector such as (−2, 1) in the worked example above.

Does this calculator support large matrices?

No. This version is designed for 2×2 matrices only. Larger matrices need row reduction by hand or a tool built for them, because the number of equations grows with each added row and column. For a 2×2 matrix, though, the determinant test used here gives the answer at once.

Do I need to install any software?

No installation is required. The calculator works directly in your browser on any device, including phones and tablets. You do not need an account, and nothing is downloaded to your computer. Just open the page, enter your four matrix entries and click Calculate.

Is the Null Space Calculator accurate?

Yes. It uses the standard rules of linear algebra: it checks the determinant of the matrix, and when the determinant is zero it finds a vector that satisfies Ax = 0. You can verify any result by multiplying the matrix by the returned vector and confirming that both rows give zero.

Can beginners use this calculator?

Yes. It is designed with a simple interface: four boxes, one button and one result. You only need to know the four entries of your matrix. The worked example on this page walks through one full calculation, so you can follow each step before you try your own matrix.

Disclaimer

This Null Space Calculator is for educational and informational purposes only. Results should not be used as a substitute for professional advice. Always check your answers and consult your teacher or textbook for accurate results.