• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Basic Mathematics
  • ⌕
Identity Matrix: Definition, Properties, and Examples

Identity Matrix: Definition, Properties, and Examples

Written by Jean Carlos Novaes

An identity matrix is the matrix counterpart of the number one in multiplication. It is square, has ones on its main diagonal and zeros everywhere else. Multiplying by a compatible identity matrix leaves the other matrix unchanged. Its order matters: a rectangular matrix may need an identity of one order on the left and an identity of another order on the right.

I3=[100010001]
AIn=ImA=A

The subscripts describe the required dimensions

If A has m rows and n columns, then ImA=A and AIn=A. The left identity must have m rows and columns so its columns match the rows of A. The right identity must have order n. Writing a bare I is convenient only when the needed order is clear from context.

In entry notation, the identity uses the Kronecker delta: its entry is one when the row and column indices are equal and zero otherwise. The main diagonal runs from the upper-left corner to the lower-right corner. An anti-diagonal of ones defines a different permutation matrix, not the identity.

A∈Rm×n
ImA=A
AIn=A
In2=In
In−1=In
det(In)=1

Worked example with a two-by-three matrix

Let A have two rows and three columns. Multiply I2 on the left. Each output row selects the matching row of A. Multiply I3 on the right. Each output column selects the matching column of A. In both cases every entry remains in place.

A=[2−13405]
I2A=A
AI3=A

The products I3A and AI2 are not merely unequal; they are undefined because their inner dimensions do not match. Dimension checking should happen before any entry-by-entry multiplication.

A grid transformation in which the identity matrix leaves every basis vector and point unchanged.
A grid transformation in which the identity matrix leaves every basis vector and point unchanged.

Properties follow from its neutral role

For every nonnegative integer k, Ink=In. Its determinant is 1 and its trace is n. It is its own transpose and its own inverse. All of its eigenvalues are one because every vector keeps its direction and magnitude. The only identity that also acts as the zero matrix is the order-zero object in specialized conventions, not an ordinary positive-order matrix.

The multiplicative identity is unique. If two compatible matrices E and F both leave every matrix unchanged, then E=EF=F. This short argument explains why a matrix algebra does not have several competing identities of the same order.

Why identity matrices appear in elimination and transformations

An augmented matrix [A∣I] is used in Gauss-Jordan elimination because row operations that turn A into I apply the same transformations to the right block. If the process succeeds, that right block becomes A−1. In a system Ax=b, reaching Ix=A−1b exposes the solution vector.

In geometry, I2 maps each point (x,y) to itself. Other matrices stretch, rotate, reflect or shear the plane. The identity is the baseline against which those transformations and their reversals are compared. Continue with the inverse matrix to see when a transformation can be undone.

References

  • OpenStax. College Algebra 2e: Solving Systems with Inverses.

Related content

  • Inverse Matrix: Formula, Conditions, and Examples
Jean Carlos Novaes

About Jean Carlos Novaes

I hold a degree in Computer Science from the Federal University of Bahia (2017) and I am the editor and founder of this website.

Footer

Basic Mathematics

Basic Mathematics website with clear school content for elementary and high school students. Learn easily and efficiently!

ABOUT

  • About Us
  • Contact
  • Site Map

LEGAL

  • How to Cite
  • Cookie Policy
  • Privacy Policy
  • Content License
English
  • Portuguese (Português)
  • Portuguese (Portugal)
  • English
  • Spanish (Español)
  • German (Deutsch)
  • French (Français)
  • Italian (Italiano)
  • Polish (Polski)
  • Dutch (Nederlands)
  • Swedish (Svenska)
  • Danish (Dansk)
  • Finnish (Suomi)
  • Norwegian (Norsk)

© 2015–2026 · Basic Mathematics · All rights reserved.