So there is a certain proof for $\delta(x^2-a^2)$ property in my book which has a part that states 
So i would like a proof to this general statemement which i could not find anwhere $$\int_{0}^{\infty}f(g(x))\delta{(x-a)}dx=f(g(a))$$ I know that the definition of delta function states $$\int_{0}^{\infty}f(x)\delta{(x-a)}dx=f(a)$$ but this is completely different