Definition (Dirac delta function)
Consider any family of functions $D(t; \epsilon)$ satisfying
-
$\lim_{\epsilon\to 0} D(t;\epsilon) = 0$ for all $t\neq 0$;
-
$\int_{-\infty}^\infty D(t;\epsilon)\,dt = 1$ for all $\epsilon$.
We define the Dirac delta function as $$ \delta(x) \equiv \lim_{\epsilon\to 0} D(x;\epsilon). $$
We just focus on these properties:
-
$\delta(x) = 0$ for all $x\neq 0$;
-
$\int_{-\infty}^\infty \delta(x)\, dt = 1$;
-
If $g(x)$ is continuous at $x=0$, then $\int_{-\infty}^\infty g(x) \delta(x) \, dt = g(0)$. It follows that $$ \int_a^b g(x) \delta(x-x_0)\,dt = \begin{cases} g(x_0), & a < x < b, \\ 0, & x < a \text{ or } x > b, \\ \text{undefined}, & x=a \text{ or } x=b. \end{cases} $$