TOPICS
Search

Ball Line Picking


BallLinePicking

Ball line picking is the problem of finding the statistical distribution of the lengths s of line segments determined by two points chosen independently and uniformly within an n-ball B^n of radius R>0, where n is a positive integer. The figure plots the dimensionless density RP_n(s) against s/R for n=1, 2, ..., 8. The probability density function of these lengths is given by

 P_n(s)=n(s^(n-1))/(R^n)I_x(1/2(n+1),1/2)
(1)

for 0<=s<=2R, and is zero outside this interval. Here

 x=1-(s^2)/(4R^2)
(2)

and

 I_x(p,q)=(B(x;p,q))/(B(p,q))
(3)

is a regularized beta function, where B(x;p,q) is an incomplete beta function and B(p,q) is a beta function (Tu and Fischbach 2001, p. 8).

The first few are

P_1(s)=1/R-s/(2R^2)
(4)
P_2(s)=(4s)/(piR^2)cos^(-1)(s/(2R))-(2s^2)/(piR^3)sqrt(1-(s^2)/(4R^2))
(5)
P_3(s)=(3s^2)/(R^3)-(9s^3)/(4R^4)+(3s^5)/(16R^6)
(6)
P_4(s)=(8s^3)/(piR^4)cos^(-1)(s/(2R))-(8s^4)/(3piR^5)(1-(s^2)/(4R^2))^(3/2)-(4s^4)/(piR^5)sqrt(1-(s^2)/(4R^2)).
(7)

The mean line segment lengths for R=1 and the first few dimensions n are given by

s^__1=2/3
(8)
s^__2=(128)/(45pi)
(9)
s^__3=(36)/(35)
(10)
s^__4=(16384)/(4725pi)
(11)

(OEIS A093530 and A093531 and OEIS A093532 and A093533), corresponding to line line picking, disk line picking, (3-D) ball line picking, and so on.

For arbitrary radius R, these means scale as s^__n(R)=Rs^__n(1). The second raw moment is

 <s^2>=(2nR^2)/(n+2),
(12)

which gives 2R^2/3, R^2, 6R^2/5, and 4R^2/3 for n=1, 2, 3, and 4, respectively (Tu and Fischbach 2001, p. 28). The standard deviation is therefore

 sigma_n=sqrt(<s^2>-s^__n(R)^2).
(13)

See also

Ball Picking, Ball Point Picking, Ball Tetrahedron Picking, Ball Triangle Picking, Disk Line Picking, Line Line Picking, Sphere Line Picking

Explore with Wolfram|Alpha

References

Kendall, M. G. and Moran, P. A. P. Geometrical Probability. New York: Hafner, 1963.Santaló, L. A. Integral Geometry and Geometric Probability. Reading, MA: Addison-Wesley, 1976.Sloane, N. J. A. Sequences A093530, A093531, A093532, and A093533 in "The On-Line Encyclopedia of Integer Sequences."Tu, S.-J. and Fischbach, E. "A New Geometric Probability Technique for an N-Dimensional Sphere and Its Applications to Physics." 7 May 2001. https://arxiv.org/abs/math-ph/0004021v3.

Referenced on Wolfram|Alpha

Ball Line Picking

Cite this as:

Weisstein, Eric W. "Ball Line Picking." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/BallLinePicking.html

Subject classifications