The Math Message Board @ Math2.org (math2.org/mmb)
Discussion Thread: 4 dimensional volume   [#28078] / Calculus
Read Thread
The Question by Jen :
2003-11-26 at 12:18GMT

How would you go about determining the volume of a unit ball of 4 dimensions?

Thanks
A Response by Paul McCarthy :
2003-11-26 at 14:17GMT

Hello Kim,

You've got to watch your terms here carefully.

The 'volume' of a 4D 'unit' 'ball', or 4D hyperball, is a 3D volume partitioning two 4D spaces... 4D space on the interior of the 4D ball and 4D space on the exterior of the 4D ball.  Similar to how there's an 2D area that partitions the interior and exterior of a 3D ball, or 3D sphere including it's 2D surface.

The equivalent of area in 2D and volume in 3D is bulk in 4D.  The bulk of a 4D ball is the space inside the 4D ball, along with the 3D volume on it's surface.  Although it's perhaps better to say whether the ball is open or closed, explicitly indicating whether the surface of the ball is to be included, or not.  The 3D surface can be included, or not, although in terms of bulk a 3D volume is infinitesimal, just as a plane in 3D space is an infinitesimal slice of a 3D volume, and a line in 2D space is an infinitesmal slice of a 2D area.  However, usually if one just says a 4D ball, they mean both the space inside the ball and on it's surface.

First, if you can clarify what exactly you're seeking... that's of critical importanance.  Perhaps of far greater importance than being able to derive the formula, is to understand what the formula describes.
A Response by Kim :
2003-11-26 at 16:05GMT

I'm seeking the 4-dimensional volume of the unit ball in R^4, defined by x(1)^2 + x(2)^2 + x(3)^2 + x(4)^2 < or = 1 (less than or equal to 1)
A Response by Paul McCarthy :
2003-11-26 at 18:12GMT

Hello Jen or Kim,

I get the impression that you might be thinking I'm being a nuisance about definitions.  If this is the case, I have to disagree.

"I'm seeking the 4-dimensional volume of the unit ball in R^4"

This statement doesn't really make sense.  Or, this statement would make about the same degree of 'sense' as saying "I'm seeking the 4-dimensional **area** of the unit ball in R^4".

'Volume' is the content of a 3D object.  'Area' is the content of a 2D object.  A 4D object doesn't have any finite 'volume'...  Do you see the ambiguity?

"defined by x(1)^2 + x(2)^2 + x(3)^2 + x(4)^2 < or = 1 (less than or equal to 1)"

This does effectively answer the question as to whether or not the ball is 'open', or 'closed'... in that this statement indicates that we do wish to include the 3D surface boundary of the 4D hyperball.

However, please clarify the preceding portion of the statement...  Do you mean:

"I'm seeking the 4-dimensional bulk (or 4D hypervolume) of the unit ball in R^4"

If the answer is yes, then I'm sure anyone here can answer your question quite simply... and you can just put me down as being a nuisance, if you like.  Although you might wish to consider what it means to have so much of our 'knowledge' so intimately mated with the language we use in its description.
A Response by Pierre :
2003-11-27 at 13:14GMT

In principle, the "volume" of a set in an ordinary euclidian space is its Lebesgue's measure, that is the integral of its characteristic function.
You can try to compute it using theorems such as Fubini-Tonelli, etc.
Here, up to typos, I would suggest to cut the 4D-ball by parallel hyperplanes. Each section is a 3D ball  with a known radius and one is left to integrate its volume.
More explicitely, the coordinates of our 4D space being (x,y,z,u),  if we decide to take the family of hyperplanes  u=constant then we get
\[ V=\int_{-1}^1\frac{4}{3}\pi(1-u^2)^{3/2}du. \]

This could be computed using the substitution \(u=\sin t, t\in]-\pi/2,\pi/2[.\)
The same method gives you a way to establish a recursive relation between the measure of the (n+1)D-balls and that of the nD-balls.
A Response by Paul McCarthy :
2003-11-27 at 21:21GMT

Hello Pierre,

You're as bad as Coxeter!  I notice Coxeter even uses 'volume' to refer to nD hypervolume... and uses 'sphere' to refer to an nD hypersphere or nD hyperball...

I can't claim to be a Calculus wiz... in fact, I never took Calculus III, which is where I believe material of this sort, at least up to 3 dimensions, is usually handled.  Can you demonstrate how you derived the formula inside your integral, and show how to compute the hypervolume of a nD hyperball with it?

Coxeter does speak to this subject in Regular Polytopes, H.S.M. Coxeter, pp. 125-126.  Also, if one combines Coxeter's treatment with Weisstein's work given here... Hypersphere...

It seems Coxeter and Weisstein are both using some method analoguous to the taking of "shells" integration.  That is, they find the "surface" content of the nD hypersphere, and then I believe use this as a basis to form an integral for summing all the (n-1)D hyperspherical "shells" from the center of the hypersphere to, or through, its (n-1)D surface.

Coxeter and Weisstein both state that the hypervolume of the nD hypersphere, or ball, is given by the integral:

\[ V_n = \int\limits_0^R {S_n r^{n - 1} dr = \frac{{S_n R^n }}{n}} \;\left( 1 \right) \]


where Sn is the (n-1)D hyper-surface "content" of the nD unit hyperball.

Both do some pretty involved manipulation with the exponential function and derive this integration formula for the gamma, or generalized factorial, function:

\[ \Gamma \left( m \right) = 2\int\limits_0^\infty {e^{ - r^2 } r^{2m - 1} dr} \]


Now, with utilizing \(\Gamma \left( {\frac{1}{2}} \right) = \pi ^{\frac{1}{2}} \) one can derive:

\[ S_n = \frac{{2\pi ^{\frac{n}{2}} }}{{\Gamma \left( {\frac{1}{2}n} \right)}} \]


At this point, Coxeter comes up with a recurrence formula that can be used to derive Sn.  However, Weisstein comes up what I think is a more useful rule for determination of Sn, n integral, for n even and n odd only utilizing the single and double factorial functions:

\[ S_n = \left\{ \begin{array}{l} \frac{{2^{\frac{{n + 1}}{2}} \pi ^{\frac{{n - 1}}{2}} }}{{\left( {n - 2} \right)!!}}\;\;\;\;for\;n\;odd \\ \frac{{2\pi ^{\frac{n}{2}} }}{{\left( {\frac{1}{2}n - 1} \right)!}}\;\;for\;n\;even, \\ \end{array} \right. \]


You can calculate the double factorial for an odd integer with the single factorial function with this formula:

\[ \left( {2n - 1} \right)!! = \frac{{\left( {2n} \right)!}}{{2^n n!}} \]


Then, the hypervolume of a nD hyperball is found by taking the value found for Sn, found by the rule immediately above, and using it in formula (1).

So, for a 4D unit hyperball:

\[ \begin{array}{l} S_n = \frac{{2\pi ^{\frac{n}{2}} }}{{\left( {\frac{1}{2}n - 1} \right)!}} = \frac{{2\pi ^{\frac{4}{2}} }}{{\left( {\frac{1}{2}4 - 1} \right)!}} = \frac{{2\pi ^2 }}{1} = 2\pi ^2 \\ \\ V_n = \frac{{S_n R^n }}{n} = \frac{{2\pi ^2 \cdot 1^4 }}{4} = \frac{1}{2}\pi ^2 \\ \end{array} \]

A Response by Paul McCarthy :
2003-11-27 at 21:59GMT

Apparently, all this can be brought together into one formula:

\[ V_n = \frac{{\left( {\frac{\pi }{2}} \right)^k \left( {2R} \right)^n }}{{n!!}},\;k = \left\{ \begin{array}{l} \frac{n}{2}\;\;\;\;\;\;\;for\;n\;even \\ \frac{{n - 1}}{2}\;\;for\;n\;odd \\ \end{array} \right. \]


Reference:  Volume of a hypersphere
A Response by Pierre :
2003-11-29 at 15:56GMT

Paul,

thanks for the informations. In fact, I knew the formula for the measure of the nD-ball but your explanations are interesting.
You're as bad as Coxeter!: I am proud of the reference =)
The way I computed the demanded volume:

\[ \begin{array}{rcl} V&=&\int_{\{(x,y,z,u)|x^2+y^2+z^2+u^2=1\}}dxdydzdu\\ &=&\int_{-1}^1[\int_{\{(x,y,z)|x^2+y^2+z^2=(\sqrt{1-u^2})^2\}}dxdydz]du\\ &=&\int_{-1}^1[\mbox{ \small{volume of the 3D-ball of radius }}\sqrt{1-u^2}]du\\ &=&\frac{4\pi}{3}\int_{-1}^1(\sqrt{1-u^2})^3du. \end{array} \]


The geometric idea behind is to slice the 4D-ball into parallel slices perpendicular to the u-axis, and of the same small height "du". A slice is approximated by a cylinder of that height and having a 3D-ball of radius \(\sqrt{1-u^2}\) as basis. Then the volumes of the slices are added and one let "du" tend to 0.
A Response by Paul McCarthy :
2003-11-29 at 16:52GMT

Hello Pierre,

In some ways, your formula is conceptually simpler.  Does it work for any dimension?

Also... remember, Calculus isn't a strong area for me...  But, when I first saw your formula I was concerned the integral from 0 to -1 would sum up as negative and would cancel with the 0 to 1 portion.

I can't remember... I know with Clifford Algebra you can get negative areas,... hypervolumes...  Does this happen with Calculus?
A Response by Pierre :
2003-11-30 at 19:46GMT

Does it work for any dimension? yes: you can eliminate one variable as I did with u.

the integral from 0 to -1 would sum up as negative and would cancel with the 0 to 1 portion.
Integral of a positive function is positive: the volume cannot be negative. You would get 0 if the integrated function would be odd. But here, it is even. Perform the substitution t=-u (hence dt=-du) to convince yourself.

I know with Clifford Algebra you can get negative areas,... hypervolumes...  Does this happen with Calculus?
I do not know the relationship with Clifford Algebra. But, yes, oriented measure exists, although I am not so much able to discuss that, as I really not practiced it. Only one thing: one dimensional integral are oreinted:
\[ \int_a^b\cdots=-\int_b^a\cdots. \]

(This is part of the reason why you were thinking that the formula I gave lead to 0, I would guess.)

Thread:

Post a Reply Message
Message Composition:
Title: 4 dimensional volume
Name:
MaRkEr1
spell check in preview.
All postings are subject to unrestricted use.
Optional Information:
Math Notation We have a number of options for inputting math symbols, from simple tags to advanced typesetting.
See How to Input Mathematical Symbols.
You may add drawings, diagrams, or custom mathematical symbols to your posting:
You may upload GIF, PNG, or JPG images into your message here. To conserve disk space and network bandwidth, please minimize the byte size on uploaded files.
To have all responses to this question sent to you via e-mail, type your e-mail address here:
I dislike SPAM. Your e-mail is used for responses only and is not made freely accessible.
To set or change the state of the thread, provide a new value here:
About This Site | M@TH en Ligne (Français) | Español | English | Report Abuse