Just for fun I was reading about the Heaviside step function on Wikipedia. The definition in terms of the Dirac delta function makes sense:
$$ H(x) = \int_{-\infty}^x \delta(s)\ ds $$
$\delta(s) = 0$ for all $s \in [-\infty, 0)$. For other values of $s$, $\delta(s) \not= 0$ only at one point, so the integral (area) equals the value at that point, $1$.
However, later on in the article it reads (emphasis mine):
Since $H$ is usually used in integration, and the value of a function at a single point does not affect its integral, it rarely matters what particular value is chosen of $H(0)$.
If the value at a single point does not affect the integral for $H$, why does it for $\delta$? In other words, why does the following equation not hold, assuming the above quote?
$$ \int_{-\infty}^\infty \delta(s)\ ds = 0 $$
I must be misunderstanding something about either integrals or the Dirac delta function.
Formally, the dirac delta is not a function in the same sense as the heaviside function.
Rather, it is a distribution.