Matrix 101 - Identity Matrix
Matrix is very important in understanding math in machine learning. I will spend a few posts to explain the basics and then focus on the applications in ML.
symbols used in the post
Symbol | Meaning |
---|---|
the matrix, | |
the | |
the inverse of matrix | |
the identity matrix, alternatively, use | |
the zero matrix, or null matrix, all elements are 0 | |
the diagonal of matrix |
Definition
Identity matrix is a matrix where elements on the main or principal diagonal are 1 and all other elements are 0.
Alternatively, unit matrix is also used.
The math notation of a identity matrix can be described via a diagonal matrix
Properties
Identity matric has some good peroperties in term of matrix mulitplication
multiplying any matrix by the identity matrix results in the matrix itself
Any matrix multiplied by its inverse reulsts in identity matrix
All the powers of identity matrix are equal to the identity matrix
The identity matrix is analogous to the number “1” in scalar algebra.