To initialize some algorithm, sometimes you need to prepare a matrix of a known size containing all zero elements. Such matrix that all its elements equal to zero is called matrix zero, or null matrix .
Null matrix is fully determined by its size.
This simple interactive program below will produce null matrix at different size. This program is designed to confirm your basic understanding about zero matrix or null matrix.
Some well known properties of null matrix are
- Multiplication of any matrix with null matrix will produce null matrix,
- Addition of any matrix with null matrix (of the same size) produces the matrix itself, thus zero matrix serves as an additive identity ,
- Subtraction of a matrix from a null matrix produces the negative of that matrix,
- Subtraction of a matrix by a null matrix produces the matrix itself,