Kronecker Delta in LaTeX (\delta^i_j)

δji\delta^i_j
LaTeX command
\delta^i_j
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Kronecker delta: equals 1 when the indices are equal and 0 otherwise, the components of the identity map.

It acts as an index substitution, \delta^i_j v^j = v^i, and its trace in n dimensions is \delta^i_i = n. It also expresses duality of bases, e^i(e_j) = \delta^i_j, and the inverse-metric relation g^{ik} g_{kj} = \delta^i_j. Because it is symmetric, stacking the indices as \delta^i_j is harmless, unlike for general mixed tensors. In Cartesian settings it is often written \delta_{ij} with both indices low. Do not confuse it with the Dirac delta function \delta(x).

Minimal compilable example

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

gikgkj=δjig^{ik} g_{kj} = \delta^i_j
\documentclass{article}
\begin{document}
Kronecker Delta: $\delta^i_j$

\[ g^{ik} g_{kj} = \delta^i_j \]
\end{document}

Related symbols

All ترميز التنسور →

Frequently asked questions

How do I write Kronecker Delta in LaTeX?
Type \delta^i_j in math mode, for example $g^{ik} g_{kj} = \delta^i_j$. It works in plain LaTeX without loading any package.
Which package do I need for \delta^i_j?
None. \delta^i_j is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \delta^i_j in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\delta^i_j$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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