Sorry to add to all the delta function questions already here but I couldn't find a related one.
Can anyone explain why $ \int_{-\infty}^{\infty} f(x) \delta(x^2-9)=\frac 16(f(-3)+f(3)) $?
I can have tried rewriting the delta function as $\delta((x+3)(x-3))$ but am unsure where to proceed from here.
Thanks in advance