I would like to find the value of $$\int_{a<0}^0 \delta(x) dx$$
In particular, I would like to know if I can break down the integral
$$\int_a^b \delta(x)f(x) dx=\int_a^0 \delta(x)f(x) dx + \int_0^b \delta(x)f(x) dx $$ with $a<0$ and $b>0$ and $f(x)$ a well-behaved function.
Is it wrong to break down the integral like this, doing some calculations and then bringing it back together again as one integral?
Thank you in advance.
EDIT: I used the following trick in an exercise:
$$\delta(t)\int_0^{\infty} \delta(x-t)f(x) dx+\delta(t)\int_{-\infty}^0 \delta(x+t)f(x) dx=$$ $$\int_0^{\infty} \delta(t)\delta(x-t)f(x) dx+\int_{-\infty}^0 \delta(t)\delta(x+t)f(x) dx=$$
$$\int_0^{\infty} \delta(t)\delta(x)f(x) dx+\int_{-\infty}^0 \delta(t)\delta(x)f(x) dx=$$ $$\int_{-\infty}^{\infty} \delta(t)\delta(x)f(x) dx$$
All this for $t>0$. I would just like to verify that something like this is correct in this context.Note that it got me the correct answer, surprisingly. Also, sorry If I used some sloppy language, I am a physics undergrad.
EDIT 2:
For any clarification, please ask.
Let $\delta_t(x;s)=\frac{1}{t}\chi_{[-st,(1-s)t]}(x)=\frac{1}{t}\chi_{[-s,1-s]}(x/ t)$ for $s\in[0,1]$ and $t>0$. (A smoother function would probably be better, but this will due for my purposes). Since $\int_{-\infty}^\infty \delta_t(x;s)\,dx=t\cdot 1/t=1$ and $\delta_t(x;s)$ is absolutely integrable, we conclude that $\delta_t(x;s)$ is an approximation to the identity and converges (in an appropriately weak sense) to $\delta(x)$ as $t\to 0^+$. However, one has $$\int_{-\infty}^0 \delta_t(x;s)\,dx=st\cdot 1/t=s \neq \int_0^\infty \delta_t(x;s)\,dx=1-s$$ for all $t>0$. Hence $\int_{-\infty}^0 \delta(x)\,dx$ would depend on $s$; this isn't possible, so we conclude that this integral has no determinate value.
That said, it may be natural for some problems to require all $\delta_t(x)$ to be even functions of $x$. In that case, the two integrals will equal 1/2 for all $t>0$ and therefore $$\int_{-\infty}^0 f(x)\delta (x)\,dx=\int_{0}^{\infty} f(x)\delta (x)\,dx=\frac{1}{2}f(0)$$ for a continuous function $f(x)$. Or, it could instead be proper to restrict to $\delta_t(x<0)=0$, so that the first integral is $0$ and the second is $f(0)$. Either of these could be reasonable under the right circumstances.