零矩阵和单位矩阵

Before this, know积矩阵的维数

Interactive · 1 question

A zero matrix of size m×nm\times n, denoted by 0m,n\mathbf{0}_{m,n} is a matrix with all entries as 00. Multiplying any valid matrix by a zero matrix results in a zero matrix as well.

An identity matrix is a square matrix (that is, it is of the size m×mm\times m), when multiplied by another matrix results in the same original matrix. Multiplying a matrix by the identity matrix leaves it unchanged, illustrating a key property of matrix multiplication. It is usually denoted by ImI_{m} if the matrix has size m×mm\times m. If B\mathcal B is a matrix of size m×nm\times n which is multiplicable with II, then Im⋅B=B⋅In=BI_m\cdot\mathcal B=\mathcal B\cdot I_n=B.

You can think of identity matrix as 11 (multiplicative identity) for real numbers. For real numbers a⋅1=1⋅a=aa\cdot1=1\cdot a=a, similarly A⋅I=I⋅A=AA\cdot I=I\cdot A=A.

Here's a little exercise with zero and identity matrices.

First, write the 2 by 2 identity matrix.

It should look like this.

(1001)\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}

Now, write the 5 by 5 identity matrix.

It should look like this.

(1000001000001000001000001)\begin{pmatrix} 1 & 0 & 0 & 0 & 0\\ 0 & 1 & 0 & 0 & 0\\ 0 & 0 & 1 & 0 & 0\\ 0 & 0 & 0 & 1 & 0\\ 0 & 0 & 0 & 0 & 1 \end{pmatrix}

If we have a 5 by 10 matrix multiplied by an xx by yy matrix, what must xx equal?

Choose one answer

Video

(Videos) The Identity Matrix and the Zero Matrix

by slcmath@pc

Here's a good video by slcmath@pc showing you what identity matrices look like and showing how multiplying a matrix by an identity matrix is like multiplying a number by 1.

And here's slcmath@pc's video on the zero matrix.

Video · + 1 min read

(Video) Identity Matrix

by Don't Memorise

This video by Don't Memorise explains what an identity matrix is and how we use it.

Summary

In math, "identity" refers to something that gives us our original value. Think back to the Multiplicative Identity Property, where 1⋅3=31 \cdot 3=3. Any number multiplied by 11 gives us back our original number.

AI=AAI = A

Similarly, multiplying any matrix by the identity matrix will result in the original matrix. An identity matrix (or the unit matrix) is any square matrix where all of the terms in the leading diagonal are 11, and the rest of the terms in the matrix are 00.

A 2x22x2 identity matrix looks like:

[1001]\begin{bmatrix} 1&0 \\ 0&1 \\ \end{bmatrix}

A 3x33x3 identity matrix looks like:

[100010001]\begin{bmatrix} 1&0&0 \\ 0&1&0 \\ 0&0&1 \\ \end{bmatrix}

Example: Find matrix AIAI.

A=[10−23]A = \begin{bmatrix} 1&0 \\ -2&3 \\ \end{bmatrix}

We can see that this is a 2x22x2 square matrix, so the associated identity matrix will be: [1001]\begin{bmatrix} 1&0 \\0&1 \\ \end{bmatrix}.

AI=[10−23]⋅[1001]AI = \begin{bmatrix} 1&0 \\ -2&3 \\ \end{bmatrix} \cdot \begin{bmatrix} 1&0 \\0&1 \\ \end{bmatrix}

Both of these matrices are 2x22x2 matrices, so the matrices are compatible, resulting in a 2x22x2 resulting matrix.

AI=[10−23]⋅[1001]=[10−23]AI = \begin{bmatrix} 1&0 \\ -2&3 \\ \end{bmatrix} \cdot \begin{bmatrix} 1&0 \\0&1 \\ \end{bmatrix} = \begin{bmatrix} 1&0 \\ -2&3 \\ \end{bmatrix}

We can see that AI=AAI = A. Let's look at it the other way.

IA=[1001]⋅[10−23]IA = \begin{bmatrix} 1&0 \\0&1 \\ \end{bmatrix} \cdot \begin{bmatrix} 1&0 \\ -2&3 \\ \end{bmatrix}

Both of these matrices are 2x22x2 matrices, so the matrices are compatible, resulting in a 2x22x2 resulting matrix.

IA=[1001]⋅[10−23]=[10−23]IA = \begin{bmatrix} 1&0 \\0&1 \\ \end{bmatrix} \cdot \begin{bmatrix} 1&0 \\ -2&3 \\ \end{bmatrix} = \begin{bmatrix} 1&0 \\ -2&3 \\ \end{bmatrix}

We can see that IA=AIA=A.

Illustrated · 1 min

Now that we've learned the basics of the row and column matrix, we can move forward into more complicated types of matrix multiplication.

Identity Matrices

Identity matrices, II, are matrices where all entries are 00, except for the diagonal. That means, for a given matrix, AA, AI=AAI=A.

Identity Matrices
2x2 identity matrix and 3x3 identity matrix

Image source: by Anusha Rahman

As we can see from the image, a 2x22x2 identity matrix looks like: [1001]\begin{bmatrix} 1&0 \\ 0&1 \\ \end{bmatrix}. A 3x33x3 identity matrix looks like: [100010001]\begin{bmatrix} 1&0&0 \\ 0&1&0 \\ 0&0&1 \\ \end{bmatrix}.

The pattern is not within the rows and columns, but actually in the diagonal. The 11s are all in the diagonal, starting at the top left.

So, for example, we will find that:

[5534]⋅[1001]=[5534]\begin{bmatrix} 5&5 \\ 3&4 \\ \end{bmatrix} \cdot \begin{bmatrix} 1&0 \\ 0&1 \\ \end{bmatrix} = \begin{bmatrix} 5&5 \\ 3&4 \\ \end{bmatrix}

Take It a Step Further

If you think about it, an identity matrix is equivalent to 11. We will commonly see identity matrices in matrix equations, especially as a multiplicative inverse. You will find that the multiplicative inverse of matrix AA can be multiplied by the multiplicative inverse to get the identity matrix.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems