Home Statistical Dictionary Identity Matrix

Identity Matrix

The square matrix with 1's on the main diagonal and 0's elsewhere, the matrix-algebra analog of the number 1 -- multiplying any matrix or vector by it leaves that matrix or vector unchanged.

Linear Algebra for StatisticsBeginnerFree

In Plain English

The identity matrix does for matrix multiplication what the number 1 does for ordinary multiplication: multiply anything by it and you get that same thing back. It shows up constantly in statistical proofs and definitions, most notably in the very definition of a matrix inverse, a matrix's inverse is precisely the matrix that, multiplied by the original, produces the identity.

Definition

The identity matrix has 1's along its main diagonal and 0's in every off-diagonal entry, if and if , and satisfies for any conformable matrix , making it the multiplicative identity of matrix algebra. The identity matrix is a special case of a diagonal matrix (all diagonal entries equal to 1) and defines the matrix inverse: is, by definition, the unique matrix satisfying .

Formula

Notation

—the n x n identity matrix
—entry in row i, column j (the Kronecker delta pattern)

Properties

  • The identity matrix is the matrix-algebra analog of the number 1 under multiplication -- just as multiplying any number by 1 leaves it unchanged, multiplying any conformable matrix or vector by the identity matrix returns that exact same matrix or vector, on either side of the product.
  • The identity matrix's defining role in makes it the reference point for checking whether a claimed inverse is correct -- multiplying a candidate inverse by the original matrix and confirming the identity matrix results out is the standard verification step, both by hand and numerically.
  • Subtracting a projection matrix from the identity, , produces the complementary projection onto the orthogonal subspace -- in ordinary least squares, (where is the hat matrix) projects the response vector onto the residual space, giving the residual vector directly as .

At a Glance

Structure1's on the main diagonal, 0's everywhere else
Multiplicative identityIA = AI = A for any conformable A
Definesthe matrix inverse: A A^-1 = I
Special case ofa diagonal matrix, with every diagonal entry equal to 1
Last updated September 8, 2026← Back to the Dictionary