Consider this integral: $$ \int_{-1}^1 \delta(1-x^2)dx \quad . $$ I tried to solve it by doing this change of variable: $$ y = x^2 \\ dy = 2xdx $$ But I have got problems with the limits since both go to $1$, getting a meaningless integral. Any ideas to fix this?
Additionaly I was thinking that it isn't straightforward to extend the method for an integral of the type: $$ \int_{-1}^1 \int_{-1}^1 \delta(1-x^2 - y^2)dxdy \quad . $$
Can you please give me a key to start?
Thank you.