{
  "id": "kronecker-delta",
  "title": "Kronecker Delta",
  "lang": "en",
  "source_lang": "en",
  "summary": "The Kronecker delta is a function of two indices that equals one when the indices are equal and zero otherwise.",
  "category": "mathematics",
  "subcategory": "algebra",
  "type": "concept",
  "aliases": [
    "Kronecker delta symbol",
    "Kronecker symbol"
  ],
  "generated_at": "2026-11-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/kronecker-delta/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/kronecker-delta/",
      "json": "https://aiwiki.page/zh/kronecker-delta.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "The Kronecker delta is a function of two indices, usually written \\(\\delta_{ij}\\), that equals \\(1\\) when the indices are equal and \\(0\\) otherwise:\n\n\\[\\delta_{ij}= \\begin{cases} 1,&i=j,\\\\ 0,&i\\ne j. \\end{cases}\\]\n\nNamed 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."
    },
    {
      "heading": "Definition and interpretation",
      "text": "The indices \\(i\\) and \\(j\\) commonly range over integers such as \\(1,\\ldots,n\\), but they may belong to any common index set. For example,\n\n\\[\\delta_{23}=0,\\qquad \\delta_{44}=1.\\]\n\nThe subscript \\(ij\\) denotes two separate indices, not their product.\n\nThe Kronecker delta is the indicator function of equality. For an index set \\(S\\), it indicates membership in the diagonal subset\n\n\\[\\Delta_S=\\{(s,s):s\\in S\\}\\]\n\nof the Cartesian product \\(S\\times S\\).\n\nA related one-index notation is\n\n\\[\\delta_k= \\begin{cases} 1,&k=0,\\\\ 0,&k\\ne0. \\end{cases}\\]\n\nFor integer indices, this gives \\(\\delta_{ij}=\\delta_{i-j}\\). The two-index and one-index conventions are distinguished by context."
    },
    {
      "heading": "Basic identities and the selection property",
      "text": "The Kronecker delta is symmetric:\n\n\\[\\delta_{ij}=\\delta_{ji}.\\]\n\nIts values are unchanged by multiplication by themselves:\n\n\\[(\\delta_{ij})^2=\\delta_{ij},\\]\n\nwhere no summation is intended.\n\nIts most important identity is the selection property. If \\(j\\in S\\), then\n\n\\[\\sum_{i\\in S}\\delta_{ij}a_i=a_j.\\]\n\nAll terms vanish except the term with \\(i=j\\). More generally, if the sum is restricted to a subset \\(A\\subseteq S\\),\n\n\\[\\sum_{i\\in A}\\delta_{ij}a_i= \\begin{cases} a_j,&j\\in A,\\\\ 0,&j\\notin A. \\end{cases}\\]\n\nEven for an infinite discrete index set, this particular sum has at most one nonzero term.\n\nFor indices ranging from \\(1\\) to \\(n\\),\n\n\\[\\sum_{k=1}^{n}\\delta_{ik}\\delta_{kj}=\\delta_{ij}, \\qquad \\sum_{i=1}^{n}\\delta_{ii}=n.\\]\n\nThe first identity expresses composition of the equality-selection operation; the second counts the number of index values. In contrast, a single entry \\(\\delta_{ii}\\), with \\(i\\) fixed and no summation intended, equals \\(1\\)."
    },
    {
      "heading": "Matrices, bases, and linear maps",
      "text": "The entries of the \\(n\\times n\\) identity matrix are precisely the Kronecker deltas:\n\n\\[(I_n)_{ij}=\\delta_{ij}.\\]\n\nFor example,\n\n\\[I_3= \\begin{pmatrix} 1&0&0\\\\ 0&1&0\\\\ 0&0&1 \\end{pmatrix}.\\]\n\nConsequently, the selection identity is the component form of \\(I_na=a\\). Similarly, the matrix multiplication identities\n\n\\[\\sum_k\\delta_{ik}A_{kj}=A_{ij}, \\qquad \\sum_k A_{ik}\\delta_{kj}=A_{ij}\\]\n\nexpress \\(I_nA=AI_n=A\\).\n\nFor an orthonormal basis \\(\\{e_i\\}\\) of an inner-product space,\n\n\\[\\langle e_i,e_j\\rangle=\\delta_{ij}.\\]\n\nHere the diagonal values express normalization, while the off-diagonal zeros express orthogonality.\n\nA related identity does not require an inner product. If \\(\\{e_j\\}\\) is a basis of a finite-dimensional vector space and \\(\\{e^i\\}\\) is its dual basis, then\n\n\\[e^i(e_j)=\\delta^i{}_j.\\]\n\nThe mixed placement of indices distinguishes a vector basis from its dual."
    },
    {
      "heading": "Tensor notation and index placement",
      "text": "In tensor notation, \\(\\delta^i{}_j\\) 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:\n\n\\[P^{-1}IP=I.\\]\n\nUnder the Einstein summation convention, an index repeated once above and once below is summed:\n\n\\[\\delta^i{}_jv^j=v^i, \\qquad \\delta^i{}_i=n.\\]\n\nThe delta therefore replaces a summed index with a free index. Explicit summation signs are preferable when the index convention is not established.\n\nThe distinction between \\(\\delta^i{}_j\\) and \\(\\delta_{ij}\\) matters in geometry. In an orthonormal Euclidean basis, the metric tensor has components \\(g_{ij}=\\delta_{ij}\\). In a general basis or coordinate system, this need not hold. Lowering the upper index of the identity tensor gives\n\n\\[g_{ik}\\delta^k{}_j=g_{ij},\\]\n\nnot 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."
    },
    {
      "heading": "Discrete probability and covariance",
      "text": "For a discrete random variable \\(X\\),\n\n\\[\\mathbb{E}[\\delta_{Xj}]=\\Pr(X=j).\\]\n\nThis follows because \\(\\delta_{Xj}\\) is the indicator of the event \\(X=j\\). More generally, the probability mass function of a variable that is certainly equal to \\(j\\) can be written\n\n\\[p(i)=\\delta_{ij}.\\]\n\nKronecker deltas also express diagonal covariance structures. A family of variables with common variance \\(\\sigma^2\\) and zero covariance between distinct members satisfies\n\n\\[\\operatorname{Cov}(X_i,X_j)=\\sigma^2\\delta_{ij}.\\]\n\nThis specifies variances and pairwise covariances; it does not, by itself, imply statistical independence."
    },
    {
      "heading": "Discrete Fourier representation",
      "text": "For integer indices, a finite exponential sum gives a modular equality test:\n\n\\[\\frac{1}{N}\\sum_{k=0}^{N-1} e^{2\\pi\\mathrm{i}k(m-n)/N} = \\begin{cases} 1,&m\\equiv n\\pmod N,\\\\ 0,&m\\not\\equiv n\\pmod N, \\end{cases}\\]\n\nwhere \\(N\\) is a positive integer and \\(\\mathrm{i}^2=-1\\). If \\(m,n\\in\\{0,\\ldots,N-1\\}\\), the right-hand side is \\(\\delta_{mn}\\).\n\nThis 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."
    },
    {
      "heading": "Generalized Kronecker delta",
      "text": "A higher-order version, the generalized Kronecker delta, is defined by a determinant:\n\n\\[\\delta^{i_1\\cdots i_p}_{j_1\\cdots j_p} = \\det\\!\\left[\\delta^{i_a}{}_{j_b}\\right]_{a,b=1}^{p}.\\]\n\nFor \\(p=2\\),\n\n\\[\\delta^{ij}_{kl} = \\delta^i{}_k\\delta^j{}_l-\\delta^i{}_l\\delta^j{}_k.\\]\n\nIt 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 \\(p!\\)."
    },
    {
      "heading": "Distinction from the Dirac delta",
      "text": "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:\n\n\\[\\int f(x)\\,\\delta(x-a)\\,dx=f(a).\\]\n\nThe corresponding discrete identity is\n\n\\[\\sum_i f(i)\\delta_{ia}=f(a).\\]\n\nThe analogy is useful, but the objects are not interchangeable. When a continuous integral is approximated on a uniform grid with spacing \\(h\\), the discrete expression corresponding to a Dirac point mass at a grid point has values \\(\\delta_{ij}/h\\), so that\n\n\\[h\\sum_i f(x_i)\\frac{\\delta_{ij}}{h}=f(x_j).\\]\n\nThe factor \\(1/h\\) accounts for the integration weight; a Kronecker delta alone has unit mass under counting rather than integration with respect to a continuous coordinate."
    }
  ],
  "links": [
    "mathematical-function",
    "linear-algebra",
    "indicator-function",
    "cartesian-product",
    "identity-matrix",
    "matrix-multiplication",
    "orthonormal-basis",
    "dual-space",
    "tensor",
    "linear-map",
    "einstein-summation-convention",
    "metric-tensor",
    "random-variable",
    "probability-mass-function",
    "covariance",
    "statistical-independence",
    "discrete-fourier-transform",
    "determinant",
    "differential-form"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}