What is the value of the dimension n that maximizes the volume of unit n -ball { ( x 1 , x 2 , ⋯ , x n ) ∈ R n ∣ x 1 2 + x 2 2 + ⋯ + x n 2 ≤ 1 } ?
Hint: The volume of n -ball of radius R is V n ( R ) = Γ ( 2 n + 1 ) π 2 n R n , where Γ ( ⋅ ) denotes the gamma function .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
What's an easy way to show that V 6 ( 1 ) V 5 ( 1 ) = 5 π 1 6 , without directly using the formula for the volume in terms of the Gamma function?
I suppose that we can start with V 1 = 2 and V 2 = π and work from there, using your ratio formula for each of the odd and even dimension series.
Log in to reply
Personally, I just used the given formula along with Γ ( x + 1 ) = x Γ ( x ) and Γ ( 2 1 ) = π .
It's not especially easy, but you can do this if you want to avoid using that formula:
First define B n ( r ) = { x ∈ R n : ∣ x ∣ ≤ r } and then V n + 1 ( 1 ) = ∫ x ∈ B n + 1 ( 1 ) d x = ∫ − 1 1 ∫ x ∈ B n ( 1 − y 2 ) d x d y = ∫ − 1 1 V n ( 1 − y 2 ) d y = V n ( 1 ) ∫ − 1 1 ( 1 − y 2 ) n / 2 d y = 2 V n ( 1 ) ∫ 0 1 ( 1 − y 2 ) n / 2 d y = 2 V n ( 1 ) ∫ 0 π / 2 cos n + 1 θ d θ using y = sin θ so that V 5 ( 1 ) V 6 ( 1 ) = 2 ∫ 0 π / 2 cos 6 θ d θ which comes out to (by whatever your favorite method is) 1 6 5 π .
Log in to reply
Brian, I asked for a easy way. But I've just now posted a continuation of your easy solution.
Log in to reply
@Michael Mendrin – I consider "easy" to mean "any student learning multi-variable calculus could do it". Obviously the formula using the gamma function wouldn't necessarily be accessible to such a student, but the method I've shown should be, even if it's a little longer shrugs
Does it make sense to claim that that 2 meter is less than 3.14 square meter?
Log in to reply
No, but it does make sense to claim that 2 is less than π , and that's all that matters, as the radius is unitless in the context of this problem.
If you're unwilling to accept a unitless radius, then you can just consider the problem as comparing coefficients k n where V n ( R ) = k n R n
Using Brian Moehring's formula for the ratio of V n + 2 and V n , and using the fact that V 1 = 2 and V 2 = π for unit radius, then the series for odd and even dimensions are, for unit radius
( 2 n ) ! 4 n n ! π n − 1 = ( 2 , 3 4 π , 1 5 8 π 2 , 1 0 5 1 6 π 3 , 9 4 5 3 2 π 4 , . . . )
n ! π n = ( π , 2 π 2 , 6 π 3 , 2 4 π 4 , 1 2 0 π 5 , . . . )
the maximum being 1 5 8 π 2 = 5 . 2 6 3 7 9 . . . for a 5-ball
For n = 2 , it's easy to see that the following works out to π
V n = Γ ( 2 n + 1 ) π 2 n = Γ ( 2 2 + 1 ) π 2 2 = π
However, for n = 1 , the result of 2 depends on the fact that
Γ ( 2 1 ) = π
and making use of the identity
Γ ( x + 1 ) = x Γ ( x )
Here's the plot of the volume function for any real value n , the dotted red being the maximum for any integer n
Alternatively, note that
V
2
(
1
)
=
Area of circle with radius
1
=
π
×
1
2
=
π
V
1
(
1
)
=
Length of the interval
[
−
1
,
1
]
=
1
−
(
−
1
)
=
2
.
One would need to show these are identified with the given formula when proving it, but there's no need to use the given formula to find them.
Log in to reply
Right. But the point is, it seems unavoidable to treat the odd and even series seperately. Mind if I borrowed another one of your formulas again?
Log in to reply
Go ahead. I have no plan on patenting any of them ;-)
Log in to reply
@Brian Moehring – Here's a challenge for you: Is it possible to express these coefficients of V n without resorting to either Gamma functions or factorials of half integers? I've given formulas for each of the odd and even series, can they be combined with a single expression as a function of dimension?
Log in to reply
@Michael Mendrin – Are you just asking whether we can write functions f : N → R of the form f ( n ) = { a ( k ) b ( k ) n = 2 k n = 2 k + 1 without using cases?
If so, then the answer is "definitely," but the methods I know for doing this are rather brutish and result in a formula that is often less useful than using cases. It looks something like f ( n ) = 2 1 + ( − 1 ) n a ( ⌊ 2 n ⌋ ) + 2 1 − ( − 1 ) n b ( ⌊ 2 n ⌋ )
Feel free to tell me if I've misunderstood.
Note: if you want to disallow explicit use of the floor function, just note that ⌊ 2 n ⌋ = 2 n − 4 1 − ( − 1 ) n
Log in to reply
@Brian Moehring – Yeah, already tried that, and, yes, the result looks horrible. I've been aware of the distinct odd and even series for these coefficients for some time now, and yet they wonderfully seem to be able to hang together nonetheless. It's a remarkable series. You might want to see How To Construct a 4D Menger Sponge and see how the Wallis formula can be generalized.
@Brian Moehring – I should mention that the approach you've suggested still result in factorials of half integers anyway.
Log in to reply
@Michael Mendrin – Not so. You have given functions for even/odd parity separately which doesn't use factorials of non-integers. My approach, while practically useless, always inputs non-negative integers into your two functions, so it never requires use of the factorial of anything other than a non-negative integer.
Log in to reply
@Brian Moehring – Let me look at my files and see the full formula expressed in this way.
2 ( 4 1 ( 2 n + ( − 1 ) n + 1 + 1 ) ) ! ( ( − 1 ) n + 1 ) π 4 1 ( 2 n + ( − 1 ) n + 1 + 1 ) + ( 2 1 ( 2 n + ( − 1 ) n + 1 − 1 ) ) !! ( ( − 1 ) n + 1 + 1 ) ( 2 π ) 4 1 ( 2 n + ( − 1 ) n + 1 − 3 )
Well, it's not very edifying, so I've never published it. But I see your point about the factorial denominators.
Simply evaluate the Volume expression for R=1 for n=1,2 ... 7 and find it is maximum at n=5.
I'm getting the volume at n=5 to be 8.747, and the volume at n=7 to be 9.160. Where am I going wrong?
Log in to reply
Which exact expression are you using to compute those values? And if it involves the gamma function, which values are you using for those things?
Problem Loading...
Note Loading...
Set Loading...
Using the hint, V n ( 1 ) V n + 2 ( 1 ) = π Γ ( 2 n + 2 ) Γ ( 2 n + 1 ) = 2 n + 1 π = n + 2 2 π so that V n + 2 ( 1 ) < V n ( 1 ) ⟺ n + 2 2 π < 1 ⟺ n > 2 ( π − 1 ) ≈ 4 . 2 8
This means we only need to check which is the larger of V 5 ( 1 ) and V 6 ( 1 ) : V 6 ( 1 ) V 5 ( 1 ) = 5 π 1 6 ≈ 1 . 0 1 9 so V 5 ( 1 ) is larger, so the maximum volume occurs when n = 5 .