An identity matrix is a special type of square matrix that plays a key role in linear algebra. It is defined as a matrix in which all the elements of the principal diagonal are equal to 1, and all other elements are equal to 0. In mathematical notation, an identity matrix of size \( n \times n \) is denoted as \( I_n \).
New to topics? Read the docs here!