Show that there is no continuous bounded function $\delta : [−1/2, 1/2) → R$ with the following property: for all continuous bounded functions $f : [−1/2, 1/2) → R$, $$\int_{-1/2}^{1/2}f(x)\delta(x)=f(0)$$
The point of this is to show that the delta function is not actually a function so we need to generalize functions into distributions. Given that $0$ is an arbitrary point in the interval, this statement is saying that the integral of the product of two functions cannot just happen to be the first function evaluated at some point. I was surprised that this would be the case since $\delta(x)$ can take on negative values, I thought it might be possible that the negative and positive parts can sum up to $f(0)$
As for how to prove this result, I thought this would contradict some mean value theorem of the fundamental theorem of calculus, but that didn't really work because I can't isolate f(x) by itself. $\delta(x)$ would still show up. A direct proof seems way harder, so proof by contradiction should be the way to go right?