First and foremost, apologies in advance for using an abuse of notation by placing the Dirac measure inside an integral for which I was told that this should not be done from a previous question asked by me. But given the circumstances, I have no choice.
This is essentially a word by word copy of an interpretation given on page 1 of these Berkeley notes:
The important property of the delta function is the following relation $$\displaystyle\int f(t) \delta(t) \, \mathrm{d}t = f(0)$$ for any function $f(t)$. This is easy to see. First of all, $\delta(t)$ vanishes everywhere except when $t = 0$. Therefore, it does not matter what values the function $f(t)$ takes except at $t = 0$. You can then say $f(t)\delta(t) = f(0)\delta(t)$. Then $f(0)$ can be pulled outside the integral because it does not depend on $t$, and you obtain the r.h.s.
Here's the problem, it was my understanding that $$\delta(t) = \begin{cases} 0 & \space \mathrm{for} \space t \ne 0 \\\infty&\ \mathrm{for} \space t = 0 \end{cases} $$ So by my logic this means that $\delta(0)=\infty$ and therefore undefined; which implies that when $t=0$ $$\displaystyle\int f(0) \delta(0) \, \mathrm{d}t = \displaystyle\int f(0) (\infty) \, \mathrm{d}t$$ which is manifestly not true and certainly not equal to $f(0)$.
Clearly I am missing the point of this argument, so if someone would be kind enough to explain it to me I would be most grateful.
Thank you in advance.
Regards,
Blaze