2

I'm having trouble evaluating this integral:
$$I = \int_{-\infty}^\infty \delta (n - ||\mathbf{x}||^2) \mathrm d \mathbf{x} $$
where $\delta(x)$ is Dirac delta function, $\mathbf x$ is the real $n$-dimensional vector $(x_1,...,x_n)$, and $||\mathbf{x}||^2 = \sum_{i=1}^n x_i^2$. Here I use the s...