Kronecker Delta in LaTeX (\delta_{ij})

δij\delta_{ij}
LaTeX command
\delta_{ij}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Kronecker delta: equals 1 when the indices i and j match and 0 otherwise.

It packages the identity matrix entrywise, I_{ij} = \delta_{ij}, and expresses orthonormality of a basis, \langle e_i, e_j \rangle = \delta_{ij}. In index notation it acts as a substitution operator: \sum_j \delta_{ij} a_j = a_i, which simplifies tensor calculations. Do not confuse it with the Dirac delta \delta(x), a distribution on continuous variables, even though both use lowercase \delta. Braces around ij keep both indices in the subscript; \delta_ij would lower only the i and leave j on the baseline. In tensor work with mixed indices, write \delta^i_j instead.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

∑j=1nδijaj=ai\sum_{j=1}^{n} \delta_{ij} a_j = a_i
\documentclass{article}
\begin{document}
Kronecker Delta: $\delta_{ij}$

\[ \sum_{j=1}^{n} \delta_{ij} a_j = a_i \]
\end{document}

Related symbols

All Linear Algebra →

Frequently asked questions

How do I write Kronecker Delta in LaTeX?
Type \delta_{ij} in math mode, for example $\sum_{j=1}^{n} \delta_{ij} a_j = a_i$. It works in plain LaTeX without loading any package.
Which package do I need for \delta_{ij}?
None. \delta_{ij} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \delta_{ij} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\delta_{ij}$ in running text.
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers