Kronecker delta

In mathematics, the Kronecker delta or Kronecker's delta, named after Leopold Kronecker, is a function of two variables, usually integers. The function is 1 if the variables are equal, and 0 otherwise:

$\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.

In linear algebra, the identity matrix can be written as

$(\delta _{ij})_{i,j=1}^{n}\,$ and the inner product of vectors can be written as

$\textstyle {\boldsymbol {a}}\cdot {\boldsymbol {b}}=\sum _{ij}a_{i}\delta _{ij}b_{j}.$ The Kronecker delta is used in many areas of mathematics, physics and engineering, primarily as an expedient to convey in a single equation what might otherwise take several lines of text.

Properties

The following equations are satisfied:

{\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, δij can be considered as an identity matrix.

Alternative notation

Using the Iverson bracket:

$\delta _{ij}=[i=j].\,$ $\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 $\delta _{j}^{i}$ . Sometimes the Kronecker delta is called the substitution tensor.

Digital signal processing

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

$\delta [n]={\begin{cases}0,&n\neq 0\\1,&n=0.\end{cases}}$ The function is referred to as an impulse, or unit impulse. And when it stimulates a 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 $j\in {\mathbb {Z} }$ :

$\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

$\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, $\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:  $\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.

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 ${\mathbf {x} }=\{x_{1},\dots ,x_{n}\}$ , with corresponding probabilities $p_{1},\dots ,p_{n}\,$ , then the probability mass function $p(x)\,$ of the distribution over ${\mathbf {x} }$ can be written, using the Kronecker delta, as

$p(x)=\sum _{i=1}^{n}p_{i}\delta _{xx_{i}}.$ Equivalently, the probability density function $f(x)\,$ of the distribution can be written using the Dirac delta function as

$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 $\delta _{j}^{i}$ with a covariant index j and contravariant index i:

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

The Template:Visible anchor 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.

Definitions of generalized Kronecker delta

In terms of the indices:

$\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}}$ $\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:

$\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 an p × p determinant:

$\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:

{\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 ${\check {~}}$ 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:

$\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:

${\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 },$ ${\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:

${\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 },$ ${\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 },$ ${\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

$\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:

$\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.

$\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:

$\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. Suppose a mapping takes place from surface $S_{uvw}$ to $S_{xyz}$ that are boundaries of regions, $R_{uvw}$ and $R_{xyz}$ which is simply connected with one-to-one correspondence. In this framework, if s and t are parameters for $S_{uvw}$ , and $S_{uvw}$ to $S_{xyz}$ are each oriented by the outer normal n:

$u=u(s,t),v=v(s,t),w=w(s,t),$ while the normal has the direction of:

$(u_{s}i+v_{s}j+w_{s}k)\times (u_{t}i+v_{t}j+w_{t}k).$ $\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.$ 