The Kronecker delta, written δi j (\delta_{i\,j} in LaTeX), is a function of two variables defined as:

• δi i = 1
• δi j = 0 (i ≠ j)

The Kronecker delta can be defined over any set, but is usually defined on the base field of some vector space. It is commonly used in linear algebra.

The Dirac delta function is similar in some respects to the Kronecker delta, but unary and less discrete.