Dirac delta function in LaTeX (\delta(x))

δ(x)\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.

∫−∞∞f(x) δ(x−a) dx=f(a)\int_{-\infty}^{\infty} f(x)\, \delta(x - a)\, dx = f(a)
\documentclass{article}
\begin{document}
Dirac delta function: $\delta(x)$

\[ \int_{-\infty}^{\infty} f(x)\, \delta(x - a)\, dx = f(a) \]
\end{document}

Related symbols

All Fungsi Khas →

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.
Math poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI

  • Jana diagram TikZ yang cantik menggunakan AI
  • Muat naik imej dan tukar ke LaTeX dengan lancar
  • Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan