The Kronecker delta is a function of two indices, usually written , that equals when the indices are equal and otherwise:
Named after the mathematician Leopold Kronecker, it provides a compact way to express equality conditions in linear algebra, tensor notation, discrete mathematics, and probability. Its central property is that summing against it selects a single indexed quantity.
Definition and interpretation
The indices and commonly range over integers such as , but they may belong to any common index set. For example,
The subscript denotes two separate indices, not their product.
The Kronecker delta is the indicator function of equality. For an index set , it indicates membership in the diagonal subset
of the Cartesian product .
A related one-index notation is
For integer indices, this gives . The two-index and one-index conventions are distinguished by context.
Basic identities and the selection property
The Kronecker delta is symmetric:
Its values are unchanged by multiplication by themselves:
where no summation is intended.
Its most important identity is the selection property. If , then
All terms vanish except the term with . More generally, if the sum is restricted to a subset ,
Even for an infinite discrete index set, this particular sum has at most one nonzero term.
For indices ranging from to ,
The first identity expresses composition of the equality-selection operation; the second counts the number of index values. In contrast, a single entry , with fixed and no summation intended, equals .
Matrices, bases, and linear maps
The entries of the identity matrix are precisely the Kronecker deltas:
For example,
Consequently, the selection identity is the component form of . Similarly, the matrix multiplication identities
express .
For an orthonormal basis of an inner-product space,
Here the diagonal values express normalization, while the off-diagonal zeros express orthogonality.
A related identity does not require an inner product. If is a basis of a finite-dimensional vector space and is its dual basis, then
The mixed placement of indices distinguishes a vector basis from its dual.
Tensor notation and index placement
In tensor notation, represents the components of the identity linear map. These components have the same numerical values in every basis, because a change of basis transforms the identity matrix into itself:
Under the Einstein summation convention, an index repeated once above and once below is summed:
The delta therefore replaces a summed index with a free index. Explicit summation signs are preferable when the index convention is not established.
The distinction between and matters in geometry. In an orthonormal Euclidean basis, the metric tensor has components . In a general basis or coordinate system, this need not hold. Lowering the upper index of the identity tensor gives
not necessarily an array of zeros and ones. Thus, the identity map and the metric are different objects, even when their component arrays coincide in special coordinates.
Discrete probability and covariance
For a discrete random variable ,
This follows because is the indicator of the event . More generally, the probability mass function of a variable that is certainly equal to can be written
Kronecker deltas also express diagonal covariance structures. A family of variables with common variance and zero covariance between distinct members satisfies
This specifies variances and pairwise covariances; it does not, by itself, imply statistical independence.
Discrete Fourier representation
For integer indices, a finite exponential sum gives a modular equality test:
where is a positive integer and . If , the right-hand side is .
This identity expresses the orthogonality of the exponential modes used in the discrete Fourier transform. Its modular form reflects the periodic indexing of finite discrete transforms.
Generalized Kronecker delta
A higher-order version, the generalized Kronecker delta, is defined by a determinant:
For ,
It is antisymmetric separately in the upper and lower indices, so it vanishes whenever either group contains a repeated index. It encodes signed matching of index lists and appears in antisymmetrization and differential forms. Definitions based on normalized antisymmetrization may differ by a factor of .
Distinction from the Dirac delta
The Kronecker delta should not be confused with the Dirac delta. The Kronecker delta is an ordinary function associated with discrete summation. The Dirac delta is a distribution, or equivalently in appropriate settings a point-mass measure, characterized by an integral selection property:
The corresponding discrete identity is
The analogy is useful, but the objects are not interchangeable. When a continuous integral is approximated on a uniform grid with spacing , the discrete expression corresponding to a Dirac point mass at a grid point has values , so that
The factor accounts for the integration weight; a Kronecker delta alone has unit mass under counting rather than integration with respect to a continuous coordinate.