Volume of n-dimensional Spheres

Research Article
Open access

Volume of n-dimensional Spheres

Tairan Zhong 1* , Jayne Jiang 2 , Tina Zhang 3
  • 1 Guangdong Country Garden School    
  • 2 New channel    
  • 3 New channel    
  • *corresponding author titanzhong123@outlook.com
TNS Vol.108
ISSN (Print): 2753-8826
ISSN (Online): 2753-8818
ISBN (Print): 978-1-80590-089-4
ISBN (Online): 978-1-80590-090-0

Abstract

In this paper, we present two methods to derive the formula for the volume of n-dimensional spheres in Euclidean space and analyze its asymptotic behavior as n approaches infinity using Stirling’s formula. We then establish a connection between the infinite sum of all even-dimensional spheres of radius r and the exponential function through a differential equation. Our findings highlight the decay characteristics of high-dimensional volumes and reveal a novel link between geometry and analysis. This work not only refines classical volume estimation techniques but also offers valuable insights into applications in higher-dimensional mathematics, contributing to fields such as statistical mechanics and theoretical physics.

Keywords:

n-dimensional spheres, Euclidean space, Stirling’s formula, asymptotic behavior, high-dimensional volumes

Zhong,T.;Jiang,J.;Zhang,T. (2025). Volume of n-dimensional Spheres. Theoretical and Natural Science,108,70-77.
Export citation

1. Deriving the formula for the volume of n-dimensional sphere

1.1. method1

reference: [1][7][9][10]

Lemma:

\( \int _{-∞}^{∞}{{e^{-×}}^{2}}dx \)

Proof: We prove this by first squaring the expression to obtain a double integral

\( \begin{matrix}(\int _{-∞}^{∞}{e^{-{x^{2}}}}dx)(\int _{-∞}^{∞}{e^{-{x^{2}}}}dx) \\ =\int _{-∞}^{∞}\int _{-∞}^{∞}{e^{-x_{1}^{2}-x_{2}^{2}}}d{x_{1}}d{x_{2}} \\ \end{matrix} \)

Using polar coordinates, we obtain

\( \begin{matrix} & \int _{ ∞}^{ ∞}\int _{ -∞}^{ ∞}{e^{-x_{1}^{2}-x_{2}^{2}}}d{x_{1}}d{x_{2}} \\ & =\int _{ 0}^{ ∞}\int _{ 0}^{ 2π}{e^{-{r^{2}}}}rdrdθ \\ & =(\int _{ 0}^{ ∞}{e^{-{r^{2}}}}rdr)(\int _{ 0}^{ 2π}dθ) \\ & =(\frac{1}{2}\int _{ 0}^{ ∞}{e^{-{r^{2}}}}d{r^{2}})×2π \\ & =\frac{1}{2}(-{e^{-{r^{2}}}}|_{0}^{∞})×2π \\ & =π \\ \end{matrix} \)

which gives us the result:

\( \int _{ -∞}^{ ∞}{e^{-{x^{2}}}}dx=\sqrt[]{π} \)

Proposition: Let Vn(r) be the volume of n-dimensional sphere of radius r, then

\( {V_{n}}(r)=\frac{{π^{\frac{n}{2}}}}{Γ(\frac{n}{2}+1)}{r^{n}} \)

Proof: Let v(n) and s(n) denote the volume and surface area of a n-dimensional unit sphere respectively. We have the relations

\( \begin{matrix} & {V_{n}}(r)=v(n){r^{n}} \\ & {S_{n}}(r)=s(n){r^{n-1}} \\ \end{matrix} \)

Representing Vn(r) using both Cartesian coordinate and spherical coordinate, we obtain

\( \begin{matrix}{V_{n}}(R)=\int _{x_{1}^{2}+x_{2}^{2}+...+x_{n}^{2}≤{R^{2}}}^{​}d{x_{1}}d{x_{2}}⋯d{x_{n}} \\ =\int _{ 0}^{ R}\int _{ 0}^{ 2π}{r ^{n-1}}drd{Ω_{n-1}} \\ \begin{matrix}=\frac{1}{n}{R^{n}}\int _{ 0}^{ 2π}d{Ω_{n-1}} \\ \end{matrix} \\ =v(n){R^{n}} \\ \end{matrix} \)

which implies

\( nv(n)=\int _{ 0}^{ 2π}d{Ω_{n-1}} \)

Representing the hypersphere to be the union of several concentric spherical shells whose thicknesses are closed to 0, the volume of the hypersphere can be expressed as:

\( {V_{n}}(R)=\int _{ 0}^{ R}{S_{n}}(r)dr \)

Using the fundamental theorem of calculus, we obtain

\( \frac{d}{dR}(v(n){R^{n}})={S_{n}}(R) \)

This can be reputed as the following:

\( \begin{matrix} & v(n)n{R^{n-1}}=s(n){R^{n-1}} \\ & nv(n)=s(n) \\ \end{matrix} \)

Now, a relationship between v(n) and s(n) independent of r is built

Consider the integral:

\( \int _{-∞}^{∞}...\int _{-∞}^{∞}{e^{-x_{1}^{2}-x_{2}^{2}-...-x_{n}^{2}}}d{x_{1}}d{x_{2}}...d{x_{n}} \)

where (x1,x2,...xn) is the cartesian coordinate in the n-th dimension.

As it is a sphere, its radius can be expressed as:

\( {r^{2}}=x_{1}^{2}+x_{2}^{2}+⋯+x_{n}^{2} \)

After making some substitutions, we have

\( \int _{-∞}^{∞}...\int _{-∞}^{∞}{e^{-x_{1}^{2}-x_{2}^{2}-...-x_{n}^{2}}}d{x_{1}}d{x_{2}}...d{x_{n}} \)

where V is the volume element in spherical coordinates, and

\( dV=d{x_{1}}d{x_{2}}...d{x_{n}} \)

Computing the RHS we have

\( \begin{matrix}RHS & =\int _{ 0}^{ 2π}\int _{ 0}^{ ∞}{e^{-{r^{2}}}}{r^{n-1}}d{Ω_{n-1}}dr \\ & =(\int _{ 0}^{ 2π}d{Ω_{n-1}}) (\int _{ 0}^{ ∞}{e^{-{r^{2}}}}{r^{n-1}}dr) \\ & =s(n)\int _{ 0}^{ ∞}{e^{-{r^{2}}}}{({r^{2}})^{\frac{n-1}{2}}}\frac{1}{2}{r^{-1}}d{r^{2}} \\ & =\frac{s(n)}{2}\int _{ 0}^{ ∞}{e^{-{r^{2}}}}{({r^{2}})^{\frac{n}{2}-1}}d{r^{2}} \\ \end{matrix} \)

Substituting r2 with t, we have

\( \begin{matrix} & =\frac{s(n)}{2}\int _{ 0}^{ ∞}{e^{-t}}{t^{\frac{n}{2}-1}} \\ & =\frac{s(n)}{2}Γ(\frac{n}{2}) \\ \end{matrix} \)

Notice that the equation below is the definition of gamma function:

\( Γ(z)=\int _{ 0}^{ ∞}{e^{-t}}{t^{z-1}}dt \)

Since

\( LHS={({π^{\frac{1}{2}}})^{n}}={π^{\frac{n}{2}}} \)

combining with RHS, we get

\( \begin{matrix}{π^{\frac{n}{2}}} & =\frac{s(n)}{2}Γ(\frac{n}{2}) \\ s(n) & =\frac{2{π^{\frac{n}{2}}}}{Γ(\frac{n}{2})} \\ \end{matrix} \)

Combining the results, we have

\( nv(n)=s(n)=\frac{2{π^{\frac{n}{2}}}}{Γ(\frac{n}{2})} \)

which implies

\( v(n)=\frac{2{π^{\frac{n}{2}}}}{nΓ(\frac{n}{2})} \)

Substituted v(n) into the first equation we had at the beginning, we obtain

\( \begin{matrix}{V_{n}}(r) & =v(n){r^{n}} \\ & =\frac{2{π^{\frac{n}{2}}}{r^{n}}}{nΓ(\frac{n}{2})} \\ & =\frac{{π^{\frac{n}{2}}}{r^{n}}}{\frac{n}{2}Γ(\frac{n}{2})} \\ \end{matrix} \)

Since

\( Γ(t+1)=tΓ(t) \)

we have

\( \frac{n}{2}Γ(\frac{n}{2})=Γ(\frac{n}{2}+1) \)

The volume of a n-dimensional sphere is then successfully derived:

\( \)

1.2. method2

reference: [2][6]

It is well known that the volume of an n-dimensional object is proportional to the nth power of its one-dimensional element, so we can set

\( {V_{n}}={C_{n}}\cdot {R^{n}} \)

Consider an (n-1)-dimensional hyperplane intersecting an n-dimensional hypersphere, resulting in an (n-1)-dimensional hypersphere. Let the distance between the two spheres be n, the radius of the n-dimensional hypersphere be R, and the radius of the (n-1)-dimensional hypersphere be r. In the end, we can decompose Cn into:

\( {C_{n}}{R^{n}}=2\int _{ 0}^{R}{C_{n-1}}{r^{n-1}}×dh \)

Let

\( \begin{matrix} & h=Rsinθ \\ {C_{n}}{R^{n}} & =2{C_{n-1}}\int _{ 0}^{ R}{(\sqrt[]{{R^{2}}-{h^{2}}})^{n-1}}dh \\ & =2{C_{n-1}}\int _{ 0}^{ \frac{π}{ 2}}{R^{n-1}}{cos^{n-1}}θd(Rsinθ) \\ & =2{C_{n-1}}\int _{ 0}^{ \frac{ π}{2}}{R^{n}}{cos^{n}}θdθ \\ & =2{C_{n-1}}\int _{ 0}^{ \frac{π}{2}}{cos^{n}}θdθ \\ \end{matrix} \)

Next, we observe that the expression allows for simplification of the integral. Therefore, we separate the integral and let

\( \begin{matrix}{I_{n}} & =\int _{ 0}^{ \frac{π}{2}}{cos^{n}}θdθ=\int _{ 0}^{ \frac{π}{2}}{sin^{n}}θdθ \\ & =\int _{ 0}^{ \frac{π}{2}}{cos^{n-1}}θd(sinθ) \\ & =n-1( \int _{ 0}^{\frac{π }{2}}{cos^{n-2}}dθ-\int _{ 0}^{ \frac{π}{2}}{cos^{n}}θdθ) \\ & =n-1({I_{n-2}}-{I_{n}}) \\ \end{matrix} \)

Through calculation, we can determine the recurrence relation for In​. Using this recurrence relation to derive the general term for In​, we can find these two special values of In​.

\( {I_{n}}=\frac{n-1}{n}{I_{n-2}} {I_{1}}=\int _{ 0}^{ \frac{ π}{2}}cosxdx=1 {I_{n}}=\int _{ 0}^{ \frac{π}{2}}dx=\frac{π}{2} \)

After expanding the general term of n, we find that when n is odd:

\( {I_{n}}=\frac{n-2}{n}\frac{n-3}{n-2}⋯\frac{5}{6}×\frac{3}{4}×\frac{1}{2}×\frac{π}{2}=\frac{(n-1)!!}{n!!} \)

And when n is even:

\( {I_{n}}=\frac{n-2}{n}\frac{n-3}{n-2}⋯\frac{5}{6}×\frac{3}{4}×\frac{1}{2}×\frac{π}{2}=\frac{(n-1)!!}{n!!}×\frac{π}{2} \)

If we represent In and the volume of an n-dimensional sphere solely using double factorials, the calculations can still be quite large. Therefore, we continue to simplify the double factorial using the Gamma function. The Gamma function is related to non-positive integers 𝑧 as follows:

\( Γ(z+1)=zΓ(z) \)

Next is the process of using the Gamma function to prove the relation involving double factorials.

\( \begin{matrix}Γ(n+\frac{1}{2}) & =(n+\frac{1}{2}-1)(n+\frac{1}{2}-2)(n+\frac{1}{2}-3)⋯(\frac{1}{2}+\frac{1}{2})(1+\frac{1}{2})(\frac{1}{2})Γ(\frac{1}{2}) \\ {2^{n}}Γ(n+\frac{1}{2}) & =(2n+1-2)(2n+(-4)(2n+1-6)⋯(5)(3)(1)\sqrt[]{π} \\ {2^{n}}Γ(n+\frac{1}{2}) & =(2n-1)!!\sqrt[]{π} \\ \end{matrix} \)

\( \begin{matrix}Γ(n) & =(n-1)(n-2)⋯3×2×1 \\ {2^{n-1}}Γ(n) & =(2n-2)(2n-4)⋯6×4×2 \\ {2^{n-1}}Γ(n) & =(2n-2)!! \\ \end{matrix} \)

Replace n with m:

\( \begin{cases}\begin{matrix}(2m-1)!!={2^{m}}Γ(m+\frac{1}{2})/\sqrt[]{π} \\ (2m-2)!!={2^{m-1}}Γ(m) \\ \end{matrix}\end{cases} \)

When n is even number:

\( n!!={2^{\frac{n}{2}}}Γ(\frac{n}{2}+1) \)

When n is odd number:

\( n!!={2^{\frac{m}{2}+\frac{1}{2}}}Γ(\frac{n}{2}+1)/\sqrt[]{π} \)

By calculating the results for both odd and even values of n , we can obtain the final expression.

\( {I_{n}}=\frac{Γ(\frac{n}{2}+\frac{1}{2})}{Γ(\frac{n}{2}+1)}\frac{\sqrt[]{π}}{2} \)

Substitute In into Cn and then simplify and split it.

\( \begin{matrix}Cn & =\frac{Γ(\frac{n}{2}+\frac{1}{2})}{Γ(\frac{n}{2}+1)}\sqrt[]{π}{C_{n-1}} \\ & =\frac{Γ(\frac{n}{2}+\frac{1}{2})}{Γ(\frac{n}{2}+1)}\frac{Γ(\frac{n}{2})}{Γ(\frac{n}{2}+\frac{1}{2})}{(\sqrt[]{π})^{2}}{C_{n-2}} \\ & =\frac{Γ(\frac{π}{2})}{Γ(\frac{n}{2}+1)}\frac{Γ(\frac{n}{2}-\frac{1}{2})}{Γ(\frac{n}{2})}{(\sqrt[]{π})^{3}}{C_{n-3}} \\ & =\frac{Γ(\frac{n}{2}-\frac{1}{2})}{Γ(\frac{n}{2}+1)}\frac{Γ(\frac{1}{2}-1)}{Γ(\frac{n}{2}-\frac{1}{2})}{(\sqrt[]{π})^{4}}{C_{n-4}} \\ \end{matrix} \)

By observation, we can summarize the pattern of Cn as follows i:

\( \frac{Γ(\frac{n}{2}+1-\frac{1}{2})}{Γ(\frac{n}{2}+1)}{(\sqrt[]{π})^{i}}{C_{n}}-i \)

When i equals n-1:

\( \begin{matrix} & {C_{n}}=\frac{Γ(\frac{n}{2}+1-\frac{n-1}{2})}{Γ(\frac{n}{2}+1)}{(\sqrt[]{π})^{n-1}}{C_{1}} \\ & {C_{n}}=\frac{Γ(\frac{3}{2})}{Γ(\frac{n}{2}+1)}{(\sqrt[]{π})^{n-1}}{C_{1}} \\ & {C_{n}}=\frac{\frac{1}{2}\sqrt[]{π}}{Γ(\frac{n}{2}+1)}{(\sqrt[]{π})^{n-1}}×2 \\ & {C_{n}}=\frac{{π^{\frac{n}{2}}}}{Γ(\frac{n}{2}+1)} \\ \end{matrix} \)

Substitute Cn into Vn, from this, we can derive the volume formula for an n-dimensional sphere.

\( \begin{matrix}{V_{n}} & =Cn{R^{n}} \\ & =\frac{{π^{\frac{n}{2}}}}{Γ(\frac{n}{2}+1)}{R^{n}} \\ \end{matrix} \)

2. Asymptotic behavior

Reference: [3][4][5]

Stirling’s formula states that

\( Γ(n)∼\sqrt[]{2πn}{(\frac{n}{e})^{n}} \)

Substituting it into Vn(R) we obtain

\( {V_{n}}(R)∼\frac{{π^{n/2}}{R^{n}}}{\sqrt[]{2π(\frac{n}{2}+1)}{(\frac{\frac{n}{2}+1}{e})^{\frac{n}{2}+1}}} \)

From this, it is clear that Vn(R) goes to 0 as n goes to ∞. The intuitive explanantion for this is that as n becomes larger, Vn(R) occupies smaller proportion of space in the n-dimensional cube inscribing the n-dimensional sphere.

The sum of all even dimensional spheres of radius r.

Adding up the volume of all even dimensional unit spheres, we obtain

\( {V_{0}}(1)+{V_{2}}(1)+{V_{4}}(1)+...=\frac{{π^{0}}}{Γ(1)}+\frac{{π^{1}}}{Γ(2)}+\frac{{π^{2}}}{Γ(3)}+...=1+\frac{{π^{1}}}{1!}+\frac{{π^{2}}}{2!}+\frac{{π^{3}}}{3!}+...={e^{π}} \)

Proposition:

\( \sum _{k=0}^{∞}{V_{2k}}(r)={e^{π{r^{2}}}} \)

Proof:

Generally, when trying to connect something to the exponential function, it's probably good to consider the differential equation

\( {f^{ \prime }}(x)=cf(x) \)

which also is the key idea in this case.

We begin by considering the following facts: let an(r) denote the surface area of the n-dimensional sphere with radius r, then we have

(1) . \( {a_{n}}(r)=\frac{2{π^{\frac{n}{2}}}}{Γ(\frac{n}{2})}{r^{n-1}}=\frac{n{π^{\frac{n}{2}}}{r^{n-1}}}{Γ(\frac{n}{2}+1)}=\frac{d{V_{n}}(r)}{dr} \)

(2). \( {a_{n+1}}(r)=2πr{V_{n}}(r) \)

Let

\( S(r)=\sum _{k=0}^{∞}{V_{2k}}(r) \)

then we have

\( \begin{matrix}{S^{ \prime }}(r) & =0+{a_{1}}(r)+{a_{3}}(r)+⋯ \\ & =2πr\cdot 1+2πr{V_{2}}(r)+2πr{V_{4}}(r)⋯ \\ & =2πr(1+{V_{2}}(r)+{V_{4}}(r)+⋯) \\ & =2πr\cdot S(r) \\ \end{matrix} \)

which implies

\( S(r)={e^{π{r^{2}}}} \)

3. Conclusion

In conclusion, this paper explores the methods for deriving the volume of n-dimensional spheres, presenting two distinct approaches. By leveraging both Cartesian and spherical coordinates, we successfully obtained the general formula and analyzed the asymptotic behavior as the number of dimensions approaches infinity. Notably, as n increases, the volume of n-dimensional spheres tends to zero, offering a geometric interpretation of diminishing space occupation. Moreover, the sum of volumes of all even-dimensional spheres of a fixed radius connects intriguingly with the exponential function through a differential equation, highlighting potential applications in higher-dimensional mathematics and physics.


References

[1]. Physics 2400. 2017. “The surface area and the volume of n-dimensional sphere”. Spring Semester 2017. http://www.phys.uconn.edu/˜rozman/Courses/P2400_17S/

[2]. FengZhuYunMo. 2021. “The formula for the volume of an n-dimensional hypersphere”. Bilibili. https://b23.tv/BFMeBB2

[3]. Sanderson. (2023). “Why pi appear in the normal distribution, YouTube. Available at: https://www.youtube.com/watch?v=cy8r7WSuT1I&t=632s (Accessed: 15 September 2024).

[4]. Functor7 (2016) R/math on reddit: Why, intuitively, does the sum of the volumes of even dimension balls equal e^pi?, Why, intuitively, does the sum of the volumes of even dimension balls equal e^pi? Available at: https://www.reddit.com/r/math/comments/4qryk6/why_intuitively_does_the_sum_of_the_volumes_of/ (Accessed: 15 September 2024)

[5]. Sujianlin (23 December 2014): Find the volume of an n-dimensional sphere. https://spaces.ac.cn/archives/3154

[6]. Avrim Blum、John Hopcroft (9 February 2016): The Volume of High-dimensional Unit Ball https://freemind.pluskid.org/misc/the-volume-of-high-dimensional-unit-ball/

[7]. yingqizhi (4 November 2016) A review of derivation methods for the volume formula of an n-dimensional sphere.https://m.fx361.com/news/2016/1104/19014426.html

[8]. addis Volume of multi-dimensional sphere. https://wuli.wiki/NSphV

[9]. University of Connecticut - n-Dimensional Sphere Surface Area and Volumehttps://www.reddit.com/r/math/comments/4qryk6/why_intuitively_does_the_sum_of_the_volumes_of/?rdt=57019

[10]. Blue1Brown: Why π appears in the normal distribution https://www.youtube.com/watch?v=cy8r7WSuT1I&t=632s


Cite this article

Zhong,T.;Jiang,J.;Zhang,T. (2025). Volume of n-dimensional Spheres. Theoretical and Natural Science,108,70-77.

Data availability

The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.

Disclaimer/Publisher's Note

The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of EWA Publishing and/or the editor(s). EWA Publishing and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

About volume

Volume title: Proceedings of the 4th International Conference on Computing Innovation and Applied Physics

ISBN:978-1-80590-089-4(Print) / 978-1-80590-090-0(Online)
Editor:Ömer Burak İSTANBULLU, Marwan Omar, Anil Fernando
Conference website: https://2025.confciap.org/
Conference date: 17 January 2025
Series: Theoretical and Natural Science
Volume number: Vol.108
ISSN:2753-8818(Print) / 2753-8826(Online)

© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license. Authors who publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See Open access policy for details).

References

[1]. Physics 2400. 2017. “The surface area and the volume of n-dimensional sphere”. Spring Semester 2017. http://www.phys.uconn.edu/˜rozman/Courses/P2400_17S/

[2]. FengZhuYunMo. 2021. “The formula for the volume of an n-dimensional hypersphere”. Bilibili. https://b23.tv/BFMeBB2

[3]. Sanderson. (2023). “Why pi appear in the normal distribution, YouTube. Available at: https://www.youtube.com/watch?v=cy8r7WSuT1I&t=632s (Accessed: 15 September 2024).

[4]. Functor7 (2016) R/math on reddit: Why, intuitively, does the sum of the volumes of even dimension balls equal e^pi?, Why, intuitively, does the sum of the volumes of even dimension balls equal e^pi? Available at: https://www.reddit.com/r/math/comments/4qryk6/why_intuitively_does_the_sum_of_the_volumes_of/ (Accessed: 15 September 2024)

[5]. Sujianlin (23 December 2014): Find the volume of an n-dimensional sphere. https://spaces.ac.cn/archives/3154

[6]. Avrim Blum、John Hopcroft (9 February 2016): The Volume of High-dimensional Unit Ball https://freemind.pluskid.org/misc/the-volume-of-high-dimensional-unit-ball/

[7]. yingqizhi (4 November 2016) A review of derivation methods for the volume formula of an n-dimensional sphere.https://m.fx361.com/news/2016/1104/19014426.html

[8]. addis Volume of multi-dimensional sphere. https://wuli.wiki/NSphV

[9]. University of Connecticut - n-Dimensional Sphere Surface Area and Volumehttps://www.reddit.com/r/math/comments/4qryk6/why_intuitively_does_the_sum_of_the_volumes_of/?rdt=57019

[10]. Blue1Brown: Why π appears in the normal distribution https://www.youtube.com/watch?v=cy8r7WSuT1I&t=632s