Calculating Hypervolume/Hypersurface of Unit Ball in n Dimensions

Jerbearrrrrr
Messages
124
Reaction score
0
How do you derive the hypervolume/hypersurface of the unit ball in n dimensions? I thought it'd be trivial but oh well.
I'm guessing switch to n-D spherical coordinates?
Is there an argument which doesn't involve explicitly calculating too many things? :x
 
Physics news on Phys.org
Howdy, well, this argument I saw in a stat mech text: Consider 2 different ways of computing the integral (<n> arguments)

\int_{- \infty}^{+ \infty} e^{- x^2 - y^2 - z^2 - ...} dx{}dy{}dz{}...

First it's a product of "n" integrals of Poisson/Gauss. The result of

\int_{- \infty}^{+ \infty} e^{- x^2 } dx we know and just raise it to the power "n".

Now use the (hyper) spherical coordinates for the first integral. The result should be

\int_{0}^{+ \infty} e^{-r^2} {} \ r^{n-1} {} \ dr \times S_{n}

S_{n} is the area of the unit ball in "n" dimensions. The first integral you can compute and then you can get S_{n}. But S_{n} it's easily linked to the V_{n} and thus you can find V_{n}.
 
Last edited:
Yeah, but um.
I "know" it's going to work out all nice, but how do you construct spherical coordinates in n dimensions, and show that the Jacobian is what it is?

I guess dV=dr.dS is reasonable. Analysis of it seems a bit more annoying though :x
 
Jerbearrrrrr said:
Yeah, but um.
I "know" it's going to work out all nice, but how do you construct spherical coordinates in n dimensions, and show that the Jacobian is what it is?
Why bother with all that mess when you already know how the measure of a shell of constant radius scales with r?



The way I've heard it, the only tricky part is showing that the integral really can be rearranged like that without changing the value.
 
Oops. I was kind of thinking "How do we know that's S_n"?
But that's the definition of S_n.
 
Back
Top