Rose-Hulman Undergraduate Mathematics Journal Rose-Hulman Undergraduate Mathematics Journal
Rose-Hulman Undergraduate Mathematics Journal Rose-Hulman Undergraduate Mathematics Journal
Volume 15 Article 14
Issue 1
Recommended Citation
Gipple, Jake (2014) "The Volume of n-balls," Rose-Hulman Undergraduate Mathematics Journal: Vol. 15 :
Iss. 1 , Article 14.
Available at: https://scholar.rose-hulman.edu/rhumj/vol15/iss1/14
Rose-
Hulman
Undergraduate
Mathematics
Journal
a
Jake Gipple
Sponsored by
Jake Gipple
Acknowledgements: I would like to thank my mentor, Professor Mike Munn, for his
guidance throughout this project , as well as my family for their lasting support.
Page 238 RHIT Undergrad. Math. J., Vol. 15, No. 1
1 Introduction
For a natural number n 1, an (n 1)-dimensional sphere of radius r is the set of all points
in Rn which are a fixed distance r from a given center point. Taking the center point to be
the origin, we denote by Sn 1 (r) the (n 1)-sphere of radius r in Rn ; that is
Sn 1 (r) = {(x1 , x2 , . . . , xn ) 2 Rn | x21 + x22 + · · · + x2n = r2 }.
When n = 1, the 0-sphere consists of just the two points on the real line R1 located at r and
r. For n = 2, S1 (r) is the subset of the plane given by
S1 (r) = {(x1 , x2 ) 2 R2 | x21 + x22 = r2 }.
Graphically, S1 (r) is simply a circle of radius r centered at the origin. Note that the
interior is not included. Taking n = 3, it follows that S2 (r) is a subset of R3 given by
S2 (r) = {(x1 , x2 , x3 ) 2 R3 | x21 + x22 + x23 = r2 },
which describes a sphere of radius r centered at the origin, again not including the interior.
In higher dimensions when n 4, for example a 3-dimensional sphere, Sn (r) is more difficult
to visualize. However, using our intuition of lower dimensional spheres described above, we
can get some idea of a description for higher dimensional spheres.
Here is one way to help visualize the 3-sphere. If you take a 0-sphere, which is the
endpoints of a line segment living in R1 , and rotate it about it’s center point (or the z-axis
extending out into R3 ), you will sweep out a 1-sphere in R2 , a circle. Similarly, if you take
a 1-sphere, a circle in R2 , and rotate every point about any axis going through its center
point and lying in the plane of R2 , you will sweep out a 2-sphere in R3 . Finally, if you take
a 2-sphere, a sphere in R3 , and rotate every point about any axis going through the center
point and lying in R3 , you will sweep out a 3-dimensional sphere in R4 . This is difficult to
see, but we can carefully define these rotations using some reduction techniques and group
actions of the special orthogonal group on subsets in Euclidean space.
Recall that orthogonal matrices represent linear transformations which preserve the dot
product of vectors. They represent isometries of Euclidean space and denote rotations or
reflections. We denote the group of orthogonal matrices in Rn by
O(n) = {A : AT A = I}.
By definition, orthogonal matrices have determinant ±1. The matrices in O(n) with de-
terminant +1 represent the rotations. These are called special orthogonal matrices and are
denoted by
SO(n) = {A : AT A = I; det A = 1}.
Consider the following rotation given as a square matrix in SO(n + 1).
2 3
Ij 1 0 0
Aj = 4 0 R 0 5 for 1 j n,
0 0 In j
RHIT Undergrad. Math. J., Vol. 15, No. 1 Page 239
cos ✓ sin ✓
where R = is a 2 ⇥ 2 (counter-clockwise) rotation matrix, Ik is the k ⇥ k
sin ✓ cos ✓
identity matrix, and j specifies where the rotation matrix is placed. Note that Aj rotates
elements in the xj xj+1 -plane but leaves all other dimensions fixed. For instance A1 is the
(n + 1) ⇥ (n + 1)-matrix
2 3
cos ✓ sin ✓ 0
R 0
A1 = = 4 sin ✓ cos ✓ 05 .
0 In 1
0 0 1
It is easy to see that for the general case Aj , the determinant will always be 1 and since
ATj = Aj 1 , it is true that Aj is in the special orthogonal group.
To help us see how these matrices Aj generate spheres in Rn+1 , we look at the case
with n = 3 to find a parameterization of a 3-sphere in R4 . We will start with the point
P = (1, 0, 0, 0) in R4 and inductively apply our rotations. Applying the rotation A1 to P for
all values of ✓ in 0 ✓ < 2⇡. We obtain
2 32 3
cos ✓ sin ✓ 0 0 1
6 sin ✓ cos ✓ 0 07 607
6 7 6 7 = (cos ✓, sin ✓, 0, 0).
4 0 0 1 05 4 05
0 0 0 1 0
2 32 3
1 0 0 0 cos ✓
60 1 0 0 7 6 7
6 7 6cos sin ✓7 = (cos ✓, cos sin ✓, cos sin sin ✓, sin sin sin ✓).
40 0 cos sin 5 4 sin sin ✓ 5
0 0 sin cos 0
Thus we can see that rotations in higher dimensions can be realized as the action of a linear
transformation in which there is one free parameter. This parameter does a rotation in two
dimensions and leaves all other dimensions fixed.
Page 240 RHIT Undergrad. Math. J., Vol. 15, No. 1
x1 = cos ✓1 (1)
x2 = sin ✓1 cos ✓2 (2)
x3 = sin ✓1 sin ✓2 cos ✓3 (3)
..
. (4)
xn 1 = sin ✓1 · · · sin ✓n 2 cos ✓n 1 (5)
xn = sin ✓1 · · · sin ✓n 2 sin ✓n 1 , (6)
2 Lemmas
As we will see, the volume of n-balls is closely related to the gamma function. In this
section we compute various quantities related to the gamma function which will aid our
computations later in the paper.
Z 1 p
x2 ⇡
Lemma 2.1. e dx = .
0 2
Z 1
2
Proof. Setting I = e x dx, note that by Fubini’s Theorem,
0
Z 1 Z 1 Z 1 Z 1 Z 1 Z 1
x2 y2 x2 y2 x2 + y 2
I2 = e dx e dy = e e dxdy = e dxdy.
0 0 0 0 0 0
p 1 1
Using substitution with u = t, so du = t 2 dt we have
2
✓ ◆ Z 1
1 2
=2 e u du.
2 0
1 ts
Notice that e t ts 0
goes to zero because lim e t ts = lim
= 0, because excessive
t!1 t!1 et
applications of L’Hopitals Rule will show that the denominator gets exponentially large.
And by using equation (7), we are left with
(s + 1) = s · (s),
Using the change of variables2formula, taking 3 x1 = ru1 , x2 = ru2 , and xn = run , we see that
r 0 ···
60 r 0 · · · 7
6 7
the Jacobian is given by det 6 .. ..
. 7 = rn .
4. 0 5
..
. r
Thus, we now have
Z Z
n
Vol(B (r)) = · · · (1)|rn | du1 du2 du...dun .
u21 +···+u2n 1
Therefore, by equation (8), and since r > 0, we have justified the claim and indeed
In the third line we used Fubini’s Theorem and dropped the index dependence of the ✓i ’s
after splitting the intreated integral into a product of integrals. In the last line, we evaluated
the first two integrals to arrive at 2⇡n
.
Going forward, keep in mind the useful relation
Z ⇡ Z ⇡
n 2 n
sin ✓ d✓ · · · sin ✓ d✓ = V (n).
0 0 2⇡
In particular (and relevant to our later calculations), since n 4 = (n 2) 2,
Z ⇡ Z ⇡
n 4 n 2
sin ✓ d✓ · · · sin ✓ d✓ = V (n 2). (11)
0 0 2⇡
R
In order to justify the final recursion formula, the following integral formula for sinm ✓ d✓
will be helpful to us. For any integer m 2, we have
Z ⇡ ✓=⇡ Z ⇡
m sinm 1 ✓ cos ✓
sin ✓ d✓ = + sinm 2 ✓d✓
0 m ✓=0 0
Z ⇡
m 2
= sin ✓d✓.
0
⇡ n/2
f (n) = 1
, for n being any natural number.
2
n+1
Proposition 4.1. The sequence f (n) satisfies the same recursion formula as V (n). Namely,
2⇡
f (n) = f (n 2) .
n
⇡ n/2
Proof. Plugging into both sides of the recursion formula, we have
( 12 n+1)
⇡ n/2 2⇡ ⇡ (n 2)/2
1
= 1
.
2
n +1 n 2
(n 2) + 1
We can now combine what we have done to compute the volume of an n-dimensional
ball.
Proposition 4.2. For any natural number n 1 and any real number r > 0,
⇡ n/2
Vol (Bn (r)) = 1
rn .
2
n + 1
RHIT Undergrad. Math. J., Vol. 15, No. 1 Page 247
and
Since both V (n) and f (n) satisfy the same recursion formula (as verified in Proposition 4.1
above), we have that V (n) = f (n) for all n 1. Thus,
⇡ n/2
V (n) = 1
, for n being any natural number.
2
n +1
⇡ n/2
Vol (Bn (r)) = rn · V (n) = rn · f (n) = 1
rn .
2
n + 1
5 Calculations
Here we list calculated values for V (n) which give volume of the interior of a unit-sphere in
dimensions n = 1 through n = 10. Note: to calculate Vol (Bn (r)), a ball of radius r, we need
only add an rn to the calculations below.
Page 248 RHIT Undergrad. Math. J., Vol. 15, No. 1
1 2=2
2 ⇡ ⇡ 3.14
4
3 ⇡ ⇡ 4.19
3
1 2
4 ⇡ ⇡ 4.93
2
8 2
5 ⇡ ⇡ 5.26
15
1 3
6 ⇡ ⇡ 5.16
6
16 3
7 ⇡ ⇡ 4.72
105
1 4
8 ⇡ ⇡ 4.10
24
32 4
9 ⇡ ⇡ 3.29
945
1 5
10 ⇡ ⇡ 2.54
120
References
[1] Apostol, T. Calculus. Vol. II: Multi-variable Calculus and Linear Algebra, With Applications To Di↵erent
And Probability. Second Edition Blaisdell Publishing Co. 1969.
[2] Weeks, Je↵rey R. The Shape of Space, Second Edition. Monographs and Textbooks in
Pure and Applied Mathematics, 249. Marcel Dekker, Inc., New York, 2002.