Identity matrix

In matrix algebra, the identity matrix is a square matrix which has all the entries on the main diagonal equal to one and all the other, off-diagonal, entries equal to zero. The identity matrix acts as the identity element for matrix multiplication.