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 الجبر الخطي →

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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث