Math
Null Space Calculator
Find null space of matrices.
How to Use This Calculator
Enter your matrix
Input the matrix A for which you want to find the null space. The matrix can be any size (m×n), though most calculators have practical size limits. Enter each element carefully to ensure accurate results.
Calculate RREF and identify free variables
The calculator converts your matrix to reduced row echelon form (RREF) and identifies which variables are free (not corresponding to pivot columns). The number of free variables equals the nullity (dimension of the null space).
View basis vectors
The calculator displays a basis for the null space as a set of vectors. Any vector in the null space can be written as a linear combination of these basis vectors. If the null space is trivial, the calculator indicates that only the zero vector satisfies Ax = 0.
Frequently Asked Questions
What is the null space of a matrix?
The null space (or kernel) of a matrix A is the set of all vectors x such that Ax = 0. It's a subspace of the domain that gets mapped to the zero vector. The null space describes the 'loss of information' in the linear transformation - vectors in the null space become indistinguishable after the transformation.
How do you find the null space of a matrix?
To find the null space, solve the homogeneous system Ax = 0: (1) Convert A to reduced row echelon form (RREF). (2) Identify pivot and free variables. (3) Express pivot variables in terms of free variables. (4) Write the general solution as a linear combination of basis vectors, where coefficients are the free variables. These basis vectors span the null space.
What is the relationship between null space and rank?
The Rank-Nullity Theorem states: rank(A) + nullity(A) = number of columns, where nullity is the dimension of the null space. A full-rank matrix (rank equals number of columns) has only the trivial null space {0}. This theorem connects the 'information preserved' (rank) with 'information lost' (nullity) in a linear transformation.
Why is the null space important?
The null space is crucial in many applications: solving systems of linear equations (homogeneous solutions), determining linear independence (columns are independent iff null space is trivial), analyzing kernels of linear transformations, finding equilibrium states in dynamical systems, and in computer graphics and robotics for determining degrees of freedom in constrained systems.
What does it mean if the null space is just the zero vector?
If nullspace(A) = {0} (trivial null space), then A has full column rank, meaning its columns are linearly independent. The transformation A is injective (one-to-one) - different input vectors always produce different outputs. This is equivalent to saying that Ax = 0 has only the trivial solution x = 0.
Related Calculators
- Percentage Calculator — Calculate percentages, increases, and decreases.
- Fraction Calculator — Add, subtract, multiply, and divide fractions.
- GCD & LCM — Calculate greatest common divisor and least common multiple.
- Prime Factorization — Find prime factors of any number.
- Factorial Calculator — Calculate factorial of a number.
- Logarithm Calculator — Calculate logarithms with any base.