# Kronecker delta

Not to be confused with the Dirac delta function, nor with the Kronecker symbol.

In mathematics, the Kronecker delta (named after Leopold Kronecker) is a function of two variables, usually just positive integers. The function is 1 if the variables are equal, and 0 otherwise:

${\displaystyle \delta _{ij}={\begin{cases}0&{\text{if }}i\neq j,\\1&{\text{if }}i=j.\end{cases}}}$

where the Kronecker delta δij is a piecewise function of variables i and j. For example, δ1 2 = 0, whereas δ3 3 = 1.

The Kronecker delta appears naturally in many areas of mathematics, physics and engineering, as a means of compactly expressing its definition above.

In linear algebra, the n × n identity matrix I has entries equal to the Kronecker delta:

${\displaystyle \left(I\right)_{ij}=\delta _{ij}\,}$

where i and j take the values 1, 2, ..., n, and the inner product of vectors can be written as

${\displaystyle \textstyle {\boldsymbol {a}}\cdot {\boldsymbol {b}}=\sum _{ij}a_{i}\delta _{ij}b_{j}.}$

The restriction to positive integers is common, but there is no reason it cannot have negative integers as well as positive, or any discrete rational numbers. If i and j above take rational values, then for example ${\displaystyle \delta _{-1,-3}=0}$ and ${\displaystyle \delta _{1/2,-3/2}=0}$ but ${\displaystyle \delta _{-2,-2}=1}$ and ${\displaystyle \delta _{5/3,5/3}=1}$. This latter case is for convenience.

## Properties

The following equations are satisfied:

{\displaystyle {\begin{aligned}\sum _{j}\delta _{ij}a_{j}&=a_{i},\\\sum _{i}a_{i}\delta _{ij}&=a_{j},\\\sum _{k}\delta _{ik}\delta _{kj}&=\delta _{ij}.\end{aligned}}}

Therefore, the matrix ${\displaystyle \delta }$ can be considered as an identity matrix.

Another useful representation is the following form:

{\displaystyle {\begin{aligned}\delta _{nm}={\frac {1}{N}}\sum _{k=1}^{N}e^{2\pi i{\frac {k}{N}}(n-m)}\end{aligned}}}

This can be derived using the formula for the finite geometric series.

## Alternative notation

Using the Iverson bracket:

${\displaystyle \delta _{ij}=[i=j].\,}$

Often, a single-argument notation ${\displaystyle \delta _{i}}$ is used, which is equivalent to setting ${\displaystyle j=0}$:

${\displaystyle \delta _{i}={\begin{cases}0,&{\mbox{if }}i\neq 0\\1,&{\mbox{if }}i=0\end{cases}}}$

In linear algebra, it can be thought of as a tensor, and is written ${\displaystyle \delta _{j}^{i}}$. Sometimes the Kronecker delta is called the substitution tensor.[1]

## Digital signal processing

An impulse function

Similarly, in digital signal processing, the same concept is represented as a sequence or discrete function on ${\displaystyle \mathbb {Z} }$ (the integers):

${\displaystyle \delta [n]={\begin{cases}0,&n\neq 0\\1,&n=0.\end{cases}}}$

The function is referred to as an impulse, or unit impulse. When it is the input to a discrete-time signal processing element, the output is called the impulse response of the element.

## Properties of the delta function

The Kronecker delta has the so-called sifting property that for ${\displaystyle j\in \mathbb {Z} }$:

${\displaystyle \sum _{i=-\infty }^{\infty }a_{i}\delta _{ij}=a_{j}.}$

and if the integers are viewed as a measure space, endowed with the counting measure, then this property coincides with the defining property of the Dirac delta function

${\displaystyle \int _{-\infty }^{\infty }\delta (x-y)f(x)dx=f(y),}$

and in fact Dirac's delta was named after the Kronecker delta because of this analogous property. In signal processing it is usually the context (discrete or continuous time) that distinguishes the Kronecker and Dirac "functions". And by convention, ${\displaystyle \delta (t)\,}$ generally indicates continuous time (Dirac), whereas arguments like i, j, k, l, m, and n are usually reserved for discrete time (Kronecker). Another common practice is to represent discrete sequences with square brackets; thus:  ${\displaystyle \delta [n]\,}$. It is important to note that the Kronecker delta is not the result of directly sampling the Dirac delta function.

The Kronecker delta forms the multiplicative identity element of an incidence algebra.[2]

## Relationship to the Dirac delta function

In probability theory and statistics, the Kronecker delta and Dirac delta function can both be used to represent a discrete distribution. If the support of a distribution consists of points ${\displaystyle \mathbf {x} =\{x_{1},\dots ,x_{n}\}}$, with corresponding probabilities ${\displaystyle p_{1},\dots ,p_{n}\,}$, then the probability mass function ${\displaystyle p(x)\,}$ of the distribution over ${\displaystyle \mathbf {x} }$ can be written, using the Kronecker delta, as

${\displaystyle p(x)=\sum _{i=1}^{n}p_{i}\delta _{xx_{i}}.}$

Equivalently, the probability density function ${\displaystyle f(x)\,}$ of the distribution can be written using the Dirac delta function as

${\displaystyle f(x)=\sum _{i=1}^{n}p_{i}\delta (x-x_{i}).}$

Under certain conditions, the Kronecker delta can arise from sampling a Dirac delta function. For example, if a Dirac delta impulse occurs exactly at a sampling point and is ideally lowpass-filtered (with cutoff at the critical frequency) per the Nyquist–Shannon sampling theorem, the resulting discrete-time signal will be a Kronecker delta function.

## Generalizations of the Kronecker delta

If it is considered as a type (1,1) tensor, the Kronecker tensor, it can be written ${\displaystyle \delta _{j}^{i}}$ with a covariant index j and contravariant index i:

${\displaystyle \delta _{j}^{i}={\begin{cases}0&(i\neq j),\\1&(i=j).\end{cases}}}$

This (1,1) tensor represents:

• The identity mapping (or identity matrix), considered as a linear mapping ${\displaystyle V\to V}$ or ${\displaystyle V^{*}\to V^{*}}$
• The trace or tensor contraction, considered as a mapping ${\displaystyle V^{*}\otimes V\to K}$
• The map ${\displaystyle K\to V^{*}\otimes V}$, representing scalar multiplication as a sum of outer products.

The generalized Kronecker delta or multi-index Kronecker delta of order 2p is a type (p,p) tensor that is a completely antisymmetric in its p upper indices, and also in its p lower indices.

Two definitions that differ by a factor of p! are in use. Below, the version is presented has nonzero components scaled to be ±1. The second version has nonzero components that are ±1/p!, which results in the explicit scaling factors in § Properties of generalized Kronecker delta below disappearing.[3]

### Definitions of generalized Kronecker delta

In terms of the indices:[4][5]

${\displaystyle \delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}={\begin{cases}+1&\quad {\text{if }}\nu _{1}\dots \nu _{p}{\text{ are distinct integers and are an even permutation of }}\mu _{1}\dots \mu _{p}\\-1&\quad {\text{if }}\nu _{1}\dots \nu _{p}{\text{ are distinct integers and are an odd permutation of }}\mu _{1}\dots \mu _{p}\\\;\;0&\quad {\text{in all other cases}}.\end{cases}}}$

Let ${\displaystyle {\mathfrak {S}}_{p}}$ be the symmetric group of degree p, then:

${\displaystyle \delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}=\sum _{\sigma \in {\mathfrak {S}}_{p}}\operatorname {sgn}(\sigma )\,\delta _{\nu _{\sigma (1)}}^{\mu _{1}}\cdots \delta _{\nu _{\sigma (p)}}^{\mu _{p}}=\sum _{\sigma \in {\mathfrak {S}}_{p}}\operatorname {sgn}(\sigma )\,\delta _{\nu _{1}}^{\mu _{\sigma (1)}}\cdots \delta _{\nu _{p}}^{\mu _{\sigma (p)}}.}$

Using anti-symmetrization:

${\displaystyle \delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}=p!\delta _{\lbrack \nu _{1}}^{\mu _{1}}\dots \delta _{\nu _{p}\rbrack }^{\mu _{p}}=p!\delta _{\nu _{1}}^{\lbrack \mu _{1}}\dots \delta _{\nu _{p}}^{\mu _{p}\rbrack }.}$

In terms of a p × p determinant:[6]

${\displaystyle \delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}={\begin{vmatrix}\delta _{\nu _{1}}^{\mu _{1}}&\cdots &\delta _{\nu _{p}}^{\mu _{1}}\\\vdots &\ddots &\vdots \\\delta _{\nu _{1}}^{\mu _{p}}&\cdots &\delta _{\nu _{p}}^{\mu _{p}}\end{vmatrix}}.}$

Using the Laplace expansion (Laplace's formula) of determinant, it may be defined recursively:[7]

{\displaystyle {\begin{aligned}\delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}&=\sum _{k=1}^{p}(-1)^{p+k}\delta _{\nu _{k}}^{\mu _{p}}\delta _{\nu _{1}\dots {\check {\nu }}_{k}\dots \nu _{p}}^{\mu _{1}\dots \mu _{k}\dots {\check {\mu }}_{p}}\\&=\delta _{\nu _{p}}^{\mu _{p}}\delta _{\nu _{1}\dots \nu _{p-1}}^{\mu _{1}\dots \mu _{p-1}}-\sum _{k=1}^{p-1}\delta _{\nu _{k}}^{\mu _{p}}\delta _{\nu _{1}\dots \nu _{k-1}\,\nu _{p}\,\nu _{k+1}\dots \nu _{p-1}}^{\mu _{1}\dots \mu _{k-1}\,\mu _{k}\,\mu _{k+1}\dots \mu _{p-1}},\end{aligned}}}

where the caron, ˇ, indicates an index that is omitted from the sequence.

When p = n (the dimension of the vector space), in terms of the Levi-Civita symbol:

${\displaystyle \delta _{\nu _{1}\dots \nu _{n}}^{\mu _{1}\dots \mu _{n}}=\varepsilon ^{\mu _{1}\dots \mu _{n}}\varepsilon _{\nu _{1}\dots \nu _{n}}.}$

### Properties of generalized Kronecker delta

The generalized Kronecker delta may be used for anti-symmetrization:

${\displaystyle {\frac {1}{p!}}\delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}a^{\nu _{1}\dots \nu _{p}}=a^{\lbrack \mu _{1}\dots \mu _{p}\rbrack },}$
${\displaystyle {\frac {1}{p!}}\delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}a_{\mu _{1}\dots \mu _{p}}=a_{\lbrack \nu _{1}\dots \nu _{p}\rbrack }.}$

From the above equations and the properties of anti-symmetric tensor, we can derive the properties of the generalized Kronecker delta:

${\displaystyle {\frac {1}{p!}}\delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}a^{\lbrack \nu _{1}\dots \nu _{p}\rbrack }=a^{\lbrack \mu _{1}\dots \mu _{p}\rbrack },}$
${\displaystyle {\frac {1}{p!}}\delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}a_{\lbrack \mu _{1}\dots \mu _{p}\rbrack }=a_{\lbrack \nu _{1}\dots \nu _{p}\rbrack },}$
${\displaystyle {\frac {1}{p!}}\delta _{\nu _{1}\dots \nu _{p}}^{\mu _{1}\dots \mu _{p}}\delta _{\rho _{1}\dots \rho _{p}}^{\nu _{1}\dots \nu _{p}}=\delta _{\rho _{1}\dots \rho _{p}}^{\mu _{1}\dots \mu _{p}},}$

which are the generalized version of formulae written in the section Properties. The last formula is equivalent to the Cauchy–Binet formula.

Reducing the order via summation of the indices may be expressed by the identity[8]

${\displaystyle \delta _{\nu _{1}\dots \nu _{s}\,\mu _{s+1}\dots \mu _{p}}^{\mu _{1}\dots \mu _{s}\,\mu _{s+1}\dots \mu _{p}}={\tfrac {(n-s)!}{(n-p)!}}\delta _{\nu _{1}\dots \nu _{s}}^{\mu _{1}\dots \mu _{s}}.}$

Using both the summation rule for the case p = n and the relation with the Levi-Civita symbol, the summation rule of the Levi-Civita symbol is derived:

${\displaystyle \delta _{\nu _{1}\dots \nu _{s}}^{\mu _{1}\dots \mu _{s}}={1 \over (n-s)!}\,\varepsilon ^{\mu _{1}\dots \mu _{s}\,\rho _{s+1}\dots \rho _{n}}\varepsilon _{\nu _{1}\dots \nu _{s}\,\rho _{s+1}\dots \rho _{n}}.}$

## Integral representations

For any integer n, using a standard residue calculation we can write an integral representation for the Kronecker delta as the integral below, where the contour of the integral goes counterclockwise around zero. This representation is also equivalent to a definite integral by a rotation in the complex plane.

${\displaystyle \delta _{x,n}={\frac {1}{2\pi i}}\oint _{|z|=1}z^{x-n-1}dz={\frac {1}{2\pi }}\int _{0}^{2\pi }e^{i(x-n)\varphi }d\varphi }$

## The Kronecker comb

The Kronecker comb function with period N is defined (using DSP notation) as:

${\displaystyle \Delta _{N}[n]=\sum _{k=-\infty }^{\infty }\delta [n-kN],}$

where N and n are integers. The Kronecker comb thus consists of an infinite series of unit impulses N units apart, and includes the unit impulse at zero. It may be considered to be the discrete analog of the Dirac comb.

## Kronecker integral

The Kronecker delta is also called degree of mapping of one surface into another.[9] Suppose a mapping takes place from surface ${\displaystyle S_{uvw}}$ to ${\displaystyle S_{xyz}}$ that are boundaries of regions, ${\displaystyle R_{uvw}}$ and ${\displaystyle R_{xyz}}$ which is simply connected with one-to-one correspondence. In this framework, if s and t are parameters for ${\displaystyle S_{uvw}}$, and ${\displaystyle S_{uvw}}$ to ${\displaystyle S_{xyz}}$ are each oriented by the outer normal n:

${\displaystyle u=u(s,t),v=v(s,t),w=w(s,t),}$

while the normal has the direction of:

${\displaystyle (u_{s}i+v_{s}j+w_{s}k)\times (u_{t}i+v_{t}j+w_{t}k).}$

Let x=x(u,v,w),y=y(u,v,w),z=z(u,v,w) be defined and smooth in a domain containing ${\displaystyle S_{uvw}}$, and let these equations define the mapping of ${\displaystyle S_{uvw}}$ into ${\displaystyle S_{xyz}}$. Then the degree ${\displaystyle \delta }$ of mapping is ${\displaystyle 1/4\pi }$ times the solid angle of the image S of ${\displaystyle S_{uvw}}$ with respect to the interior point of ${\displaystyle S_{xyz}}$, O. If O is the origin of the region, ${\displaystyle R_{xyz}}$, then the degree, ${\displaystyle \delta }$ is given by the integral:

${\displaystyle \delta ={\frac {1}{4\pi }}\iint _{R_{st}}{\frac {\begin{vmatrix}x&y&z\\{\dfrac {\partial x}{\partial s}}&{\dfrac {\partial y}{\partial s}}&{\dfrac {\partial z}{\partial s}}\\{\dfrac {\partial x}{\partial t}}&{\dfrac {\partial y}{\partial t}}&{\dfrac {\partial z}{\partial t}}\end{vmatrix}}{(x^{2}+y^{2}+z^{2}){\sqrt {x^{2}+y^{2}+z^{2}}}}}dsdt.}$

## References

1. ^ Trowbridge, J. H. (1998). "On a Technique for Measurement of Turbulent Shear Stress in the Presence of Surface Waves". Journal of Atmospheric and Oceanic Technology. 15 (1): 290–298 [p. 291]. doi:10.1175/1520-0426(1998)015<0290:OATFMO>2.0.CO;2.
2. ^ Spiegel, Eugene; O'Donnell, Christopher J. (1997), Incidence algebras, Pure and Applied Mathematics, 206, Marcel Dekker, ISBN 0-8247-0036-8.
3. ^ http://people.physics.tamu.edu/pope/geom-group.pdf Christopher Pope (2008), Geometry and Group Theory
4. ^ Theodore Frankel, The Geometry of Physics: An Introduction 3rd edition (2012), published by Cambridge University Press, ISBN 9781107602601
5. ^ D. C. Agarwal, Tensor Calculus and Riemannian Geometry 22nd edition (2007), published by Krishna Prakashan Media
6. ^ David Lovelock, Hanno Rund (1989). Tensors, Differential Forms, and Variational Principles. Courier Dover Publications. ISBN 0-486-65840-6.
7. ^ A recursive definition requires a first case, which may be taken as δ = 1 for p = 0, or alternatively δμ
ν
= δμ
ν
for p = 1 (generalized delta in terms of standard delta).
8. ^ Hassani, Sadri (2008). Mathematical Methods: For Students of Physics and Related Fields (2nd ed.). Springer-Verlag. ISBN 978-0-387-09503-5.
9. ^ Kaplan, Wilfred (2003). Advanced Calculus. Pearson Education. p. 364. ISBN 0-201-79937-5.