The identity matrix is a square matrix in which all the elements on the main diagonal, the diagonal starting in the top left corner, are ones and the rest of the elements are zeros. It is usually denoted by I.
I=[1001]I=⎣⎢⎡100010001⎦⎥⎤
When the identity matrix I is multiplied by another matrix A, the result is the same matrix A. This is true no matter the order of multiplication.