Dirac delta function in LaTeX (\delta(x))
- LaTeX command
\delta(x)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Dirac delta: a distribution that is zero away from 0 and integrates to 1, picking out f(0) under an integral.
Its defining property is the sifting identity \int f(x)\,\delta(x - a)\,dx = f(a). It is a distribution, not an ordinary function, and is the derivative of the Heaviside step, H'(x) = \delta(x). In signal processing it models an impulse; its Fourier transform is 1. Scaling obeys \delta(ax) = \delta(x)/|a|. Do not confuse it with the Kronecker delta \delta_{ij}, a discrete symbol equal to 1 when i = j. Lowercase \delta is distinct from \Delta (Laplacian or difference) and \partial.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Dirac delta function: $\delta(x)$
\[ \int_{-\infty}^{\infty} f(x)\, \delta(x - a)\, dx = f(a) \]
\end{document}Related symbols
- Heaviside step function
H(x) - Elliptic Integral E
E(k) - Elliptic Integral K
K(k) - Polygamma
\psi^{(n)}(x) - Digamma
\psi(x) - Hypergeometric
{}_2F_1(a,b;c;z)
Frequently asked questions
- How do I write Dirac delta function in LaTeX?
- Type \delta(x) in math mode, for example $\int_{-\infty}^{\infty} f(x)\, \delta(x - a)\, dx = f(a)$. It works in plain LaTeX without loading any package.
- Which package do I need for \delta(x)?
- None. \delta(x) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \delta(x) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\delta(x)$ in running text.
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI
- Hasilkan diagram TikZ yang indah menggunakan AI
- Unggah gambar dan konversi ke LaTeX dengan mulus
- Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian