Search for a tool
Matrix Kernel (Null Space)

Tool to calculate the kernel of an online matrix, obtain its basis, its dimension, and solve the associated linear systems.

Results

Matrix Kernel (Null Space) -

Tag(s) : Matrix

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Matrix Kernel (Null Space)' tool for free! Thank you!

Matrix Kernel (Null Space)

Matrix Kernel Calculator

Loading...
(if this message do not disappear, try to refresh this page)

Answers to Questions (FAQ)

What is the kernel of a matrix? (Definition)

The kernel (also called the null space) of a matrix $ A $ of size $ m \times n $ is the set of vectors $ \vec{x} \in \mathbb{R}^n $ (or $ \mathbb{C}^n $) such that $ A \vec{x} = \vec{0} $, where $ \vec{0} $ is the zero vector in $ \mathbb{R}^m $. This set forms a vector subspace of $ \mathbb{R}^n $. It is exactly the null space of the linear transformation associated with $ A $, that is, the set of vectors mapped to the zero vector.

How to compute the kernel of a matrix?

To compute the kernel of $ A $:

— Write the homogeneous system $ A\vec{x} = \vec{0} $.

— Reduce the matrix using Gaussian elimination until obtaining an echelon form (ideally reduced row echelon form).

— Identify pivot variables (columns with pivots) and free variables (columns without pivots).

— Express pivot variables in terms of free variables.

— Parameterize the solutions: the kernel is the set of all solutions, forming a vector subspace generated by vectors obtained by varying the parameters.

Does the kernel always exist?

The kernel always contains at least the zero vector $ \vec{0} $, since $ A \vec{0} = \vec{0} $. Therefore, it is never empty.

If the kernel reduces to $ { \vec{0} } $, then the linear transformation associated with $ A $ is injective.

This means that distinct vectors always have distinct images.

What is the difference between the kernel and the image of a matrix?

The kernel is the set of vectors $ \vec{x} $ such that $ A \vec{x} = \vec{0} $. It is a vector subspace of $ \mathbb{R}^n $.

The image is the set of vectors $ \vec{y} $ such that there exists $ \vec{x} $ satisfying $ A\vec{x} = \vec{y} $. It is a vector subspace of $ \mathbb{R}^m $. The fundamental relation is: $ \dim(\operatorname{Ker}(A)) + \dim(\operatorname{Im}(A)) = n $, where $ n $ is the number of columns of $ A $ (rank theorem).

What is the relationship between the kernel and the rank of a matrix?

The rank of $ A $, denoted $ \operatorname{Rank}(A) $, measures the dimension of the image. The dimension of the kernel is called the nullity. These two quantities are related by:

$ \dim(\operatorname{Ker}(A)) + \operatorname{Rank}(A) = n $, where $ n $ is the number of columns of $ A $.

Thus, if $ A $ is invertible (so $ \operatorname{Rank}(A) = n $), then its kernel reduces to $ { \vec{0} } $.

What is the kernel of a zero matrix?

If $ A $ is the zero matrix of size $ m \times n $, then $ A \vec{x} = \vec{0} $ for all $ \vec{x} \in \mathbb{R}^n $.

Therefore, $ \operatorname{Ker}(A) = \mathbb{R}^n $, which is the maximum possible kernel dimension for a matrix with $ n $ columns.

Source code

dCode retains ownership of the "Matrix Kernel (Null Space)" source code. Any algorithm for the "Matrix Kernel (Null Space)" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Matrix Kernel (Null Space)" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Matrix Kernel (Null Space)" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Matrix Kernel (Null Space)" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).

Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).

To cite dCode.fr on another website, use the link: https://www.dcode.fr/matrix-kernel

In a scientific article or book, the recommended bibliographic citation is: Matrix Kernel (Null Space) on dCode.fr [online website], retrieved on 2026-05-05, https://www.dcode.fr/matrix-kernel

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Matrix Kernel (Null Space)' tool for free! Thank you!


https://www.dcode.fr/matrix-kernel
© 2026 dCode — The ultimate collection of tools for games, math, and puzzles.
â–˛  
Feedback