Intro to zero matrices
Learn what a zero matrix is and how it relates to matrix addition, subtraction, and scalar multiplication.
What you should be familiar with before taking this lesson
A matrix is a rectangular arrangement of numbers into rows and columns.
The dimensions of a matrix give the number of rows and columns of the matrix in that order. Since matrix has rows and columns, it is called a matrix.
If this is new to you, you might want to check out our intro to matrices. You should also make sure you know how to add and subtract matrices and how to multiply a matrix by a scalar.
Definition of zero matrix
A zero matrix is a matrix in which all of the entries are . Some examples are given below.
A zero matrix is indicated by , and a subscript can be added to indicate the dimensions of the matrix if necessary.
Zero matrices play a similar role in operations with matrices as the number zero plays in operations with real numbers. Let's take a look.
Investigation: What happens when we add a zero matrix?
Recall that to add two matrices, we simply add the corresponding entries.
Now try the following matrix addition problems. Notice that each problem involves the sum of a matrix and a zero matrix.
When we add the zero matrix to any matrix , we get matrix back. In other words, and .
Here the dimensions of the zero matrix are not explicitly given. It is understood that the dimensions of the zero matrix match the dimensions of matrix .
What are the dimensions of the zero matrix in the equation given that ?
Investigation: What happens when we add opposite matrices?
The opposite of a matrix is the matrix , where each element in this matrix is the opposite of the corresponding element in matrix .
For example, if , then .
Now try the following matrix addition problems. Notice that each problem involves the sum of a matrix and its opposite.
When we add any matrix to its opposite, we get the zero matrix. So if is any matrix, then and .
It is also true that . This is because subtracting a matrix is like adding its opposite.
Investigation: What happens when we multiply a matrix by the scalar ?
When we multiply a matrix by a scalar, each entry in the matrix is multiplied by the given scalar.
Now try the following matrix scalar multiplication problems. Notice that each problem involves multiplying a matrix by the scalar .
When we multiply any matrix by the scalar , we get the zero matrix.
Mathematically, this means that .
Summary: Comparing the zero matrix to the real number zero
In the investigations above, we saw that a zero matrix behaves much like the real number zero.
In particular, we can make the following connections:
|The number zero||The zero matrix|
|Adding zero to any number gives back that number . (eg. )||Adding a zero matrix to any matrix gives back the matrix . (eg. )|
|Adding any number to its opposite will give zero. (eg. )||Adding any matrix to its opposite will give a zero matrix. (e.g. )|
|Any number times zero is zero. (e.g ).||Scalar multiplication of a matrix by will give a zero matrix. (eg. )|
Understanding these connections can help make matrix calculations involving a zero matrix much easier!
Want to join the conversation?
- how are zero matrices useful??
they seem pretty useless for any equation...(90 votes)
- They are as useful as the number 0 for integer or real numbers.(72 votes)
- So is any zero matrix equal to any different zero matrix?
Like, is a O 5x2 equal to a O 4x3?(12 votes)
- No. If two matrices have different dimensions, then they are different objects.(20 votes)
- Non-zero matrices of different dimensions are undefined. Eg. 2x3 + 3x2.
Is this also true for zero matrices? It seems to me that the result would be "O" according to the above definition of a zero matrix and the first conclusion. It would therefore be defined.(6 votes)
- I think what Paul is referring to is where Sal explicitly tells us that to calculate such a scenario would be undefined, see the link, beginning at4:47:
And to answer his question regarding the implied dimensions of an O matrix, I think it's as stated above, that we make the zero's 'fit' --> "Here the dimensions of the zero matrix are not explicitly given. It is understood that the dimensions of the zero matrix match the dimensions of matrix A."(12 votes)
- how martrices are useful in real life ?(4 votes)
- Matrices are the best ways to store data. Many of the video games we play use matrices to store our game stats. They use it to alter the object, in 3D space. They use the 3D matrix and 2D matrix to convert it into the different objects as per requirement. It also has many applications in data encryption(scrambling of data), economics and business, construction, architecture,seismic surveys,animation, physics(even quantum physics) and even in organising complicated group dances!
A thing we must keep in mind is that we only have to study this chapter but the mathematicians who developed these subjects have devoted their lives to it. Why would they devote their lives for something which has no relevance?(13 votes)
- what is a singular matrix?(4 votes)
- A matrix that has a row and column of 1. Essentially a single number (6 votes)
- Review Question 4 above is blank and there are no instructions.(4 votes)
- So wait if the matrices A and B are multiplied to give answer AB and both the matrices are 2 by 2, if it was multiplied like B times A will the answer be as same as matrices AB(1 vote)
- No, it doesn't work like that. Multiplication is not commutative with matrices, unless you are doing simple scalar multiplication. But if you meant scalar multiplication, you wouldn't call both A and B matrices, and your scalar value would not be given in a 2 x 2 matrix.
Let's say we have a matrix A
And a matrix B
If you multiply A x B to get AB, you will get
However, if you multiply B x A to get BA, you will get
So, no, A x B does not give the same result as B x A, unless either matrix A is a zero matrix or matrix B is a zero matrix. OR, you could load a scalar value into all 4 elements of one of your matrices, and then you would be doing scalar multiplication.(6 votes)
- What about the subtraction part of it? Let's say, A - (-A)? Is it 2A or will it be undefined？(2 votes)
- Since taking A - (-A) is the same as taking A + A, the answer will indeed be 2A.(3 votes)
- So zero is like a mathematical black hole in matrices?(3 votes)
- if we add two matrices of different dimensions, why is it that their sum is undefined?(2 votes)
- Matrices are added entry-by-entry. If the entries don't match up, there is no natural way to pair them, even if the matrices have the same number of entries.(2 votes)