I am trying to evaluate the integral below (delta function) and not sure if I evaluated correctly? The integral is the following:
$$\int^{100}_{-100}x^3\sin(2x)\delta(x^2-9)dx$$
I have the following $x=\pm 3$, $$\therefore \int^{100}_{-100}x^3\sin(2x)\delta(x^2-9)dx = \int^{0}_{-100}x^3\sin(2x)\delta(x^2-9)dx + \int^{100}_{0}x^3\sin(2x)\delta(x^2-9)dx= \ (-3)^3\sin(2\cdot(-3)) + (3)^3\sin(2\cdot(3)) = \ -27\sin(-6) + 27\sin(6)$$
Start from from property of delta function:
$\delta(x^2-3^2)=\frac{1}{2*3}[\delta(x+3)+\delta(x-3)]$
Your function is even, $f(x)=f(-x)$ due to symmetry you can write
$\int_{-100}^{100} x^3 \sin(2x) \delta(x^2-9)dx = 2\int_{0}^{100} x^3 \sin(2x) \delta(x^2-9)dx = 2\frac{1}{2*3}\left(\int_{0}^{100} x^3 \sin(2x)\delta(x+3)dx+\int_{0}^{100} x^3 \sin(2x)\delta(x-3)dx\right)=2\frac{1}{2*3}\left(0+27\sin(6)\right)=9\sin(6)$