[Math] Confusion with the integral of Dirac delta function

dirac delta

Is the integral of delta function a scalar or a function u(t)?

Imagine integral of Dirac delta between minus infinity to plus infinity; or from minus infinity to a particular time x.

In some texts the integral of the delta is given as simply one and some it as u(t) unit step function.

Which one is correct? Im confused with the meaning of the derivation.

Best Answer

$$\int_{-\infty}^t \delta(x) \, dx = \begin{cases} 1 & t \ge 0 \\ 0 & t < 0\end{cases} = u(t)$$ This is a function of $t$ because there is a variable $t$ in the upper limit of integration; for each value of $t$, there an integral to consider.

Taking $t \to \infty$ yields $\int_{-\infty}^\infty \delta(x) \, dx = 1$. This is a number because it is a single definite integral.