Identity Matrix
When you multiply a matrix by the Identity Matrix , you get the original matrix back.
It's the equivalent of multiplication with the number 1 in scalar math.
The Identity Matrix is a square: it has an equal number of rows and columns. It has the value 1 in the main diagonal from left to right and 0 everywhere else.
An identity matrix can have any number of dimensions.
In notation, we represent an Identity Matrix with and the number of dimensions . For example, the Identity Matrix with three dimensions is .
If we are doing Matrix Multiplication with the Identity Matrix and another square matrix, the Identity Matrix should have dimensions equal to the other matrix. The multiplication is commutive in this case:
If the original matrix is rectangular and has dimensions , the size of the identity depends on which side of the expression it's on
In this Matrix Multiplication example, we can see how the main diagonal of 1s returns the original matrix.
Multiplying a matrix by its Inverse Matrix will return the identity matrix.
When we multiply the Identity Matrix by another Identity Matrix, the result is the same matrix.
All the rows and columns in the Identity Matrix have Linear Independence.
References
David Dye, Sam Cooper, and Freddie Page. Mathematics for Machine Learning: Linear Algebra - Home. 2018. URL: https://www.coursera.org/learn/linear-algebra-machine-learning/home/welcome. ↩