In linear algebra, the identity matrix of size
is the
square matrix with
one
1 (one, unit, unity) is a number representing a single or the only entity. 1 is also a numerical digit and represents a single unit of counting or measurement. For example, a line segment of ''unit length'' is a line segment of length 1. I ...
s on the
main diagonal and
zeros elsewhere.
Terminology and notation
The identity matrix is often denoted by
, or simply by
if the size is immaterial or can be trivially determined by the context.
The term unit matrix has also been widely used,
but the term ''identity matrix'' is now standard. The term ''unit matrix'' is ambiguous, because it is also used for a
matrix of ones and for any
unit
Unit may refer to:
Arts and entertainment
* UNIT, a fictional military organization in the science fiction television series ''Doctor Who''
* Unit of action, a discrete piece of action (or beat) in a theatrical presentation
Music
* ''Unit'' (a ...
of the
ring of all matrices.
In some fields, such as
group theory
In abstract algebra, group theory studies the algebraic structures known as group (mathematics), groups.
The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ...
or
quantum mechanics
Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles. It is the foundation of all quantum physics including quantum chemistry, q ...
, the identity matrix is sometimes denoted by a boldface one,
, or called "id" (short for identity). Less frequently, some mathematics books use
or
to represent the identity matrix, standing for "unit matrix"
and the German word respectively.
In terms of a notation that is sometimes used to concisely describe
diagonal matrices, the identity matrix can be written as
The identity matrix can also be written using the
Kronecker delta notation:
Properties
When
is an
matrix, it is a property of
matrix multiplication that
In particular, the identity matrix serves as the
multiplicative identity of the
matrix ring of all
matrices, and as the
identity element
In mathematics, an identity element, or neutral element, of a binary operation operating on a set is an element of the set that leaves unchanged every element of the set when the operation is applied. This concept is used in algebraic structures s ...
of the
general linear group , which consists of all
invertible matrices under the matrix multiplication operation. In particular, the identity matrix is invertible. It is an
involutory matrix, equal to its own inverse. In this group, two square matrices have the identity matrix as their product exactly when they are the inverses of each other.
When
matrices are used to represent
linear transformations from an
-dimensional vector space to itself, the identity matrix
represents the
identity function
Graph of the identity function on the real numbers
In mathematics, an identity function, also called an identity relation, identity map or identity transformation, is a function that always returns the value that was used as its argument, unc ...
, for whatever
basis was used in this representation.
The
th column of an identity matrix is the
unit vector , a vector whose
th entry is 1 and 0 elsewhere. The
determinant of the identity matrix is 1, and its
trace is
.
The identity matrix is the only
idempotent matrix with non-zero determinant. That is, it is the only matrix such that:
# When multiplied by itself, the result is itself
# All of its rows and columns are
linearly independent
In the theory of vector spaces, a set of vectors is said to be if there is a nontrivial linear combination of the vectors that equals the zero vector. If no such linear combination exists, then the vectors are said to be . These concepts ...
.
The
principal square root of an identity matrix is itself, and this is its only
positive-definite square root. However, every identity matrix with at least two rows and columns has an infinitude of symmetric square roots.
The
rank of an identity matrix
equals the size
, i.e.:
See also
*
Binary matrix (zero-one matrix)
*
Elementary matrix In mathematics, an elementary matrix is a matrix which differs from the identity matrix by one single elementary row operation. The elementary matrices generate the general linear group GL''n''(F) when F is a field. Left multiplication (pre-multipl ...
*
Exchange matrix
*
Matrix of ones
*
Pauli matrices (the identity matrix is the zeroth Pauli matrix)
*
Householder transformation (the Householder matrix is built through the identity matrix)
*
Square root of a 2 by 2 identity matrix
*
Unitary matrix
*
Zero matrix
Notes
{{Matrix classes
Matrices
1 (number)
Sparse matrices