TOPICS
Search

Line Line Picking


LineLinePicking

Given a unit line segment [0,1], pick two points at random on it. Call the first point x_1 and the second point x_2. Find the distribution of distances d between points. The probability density function for the points being a (positive) distance d apart (i.e., without regard to ordering) is given by

where delta(x) is the delta function. The distribution function is then given by

D(d)=d(2-d).
(3)

Both are plotted above.

The raw moments are then

(Uspensky 1937, p. 257), giving raw moments

mu_1^' = 1/3
(8)
mu_2^' = 1/6
(9)
mu_3^' = 1/(10)
(10)
mu_4^' = 1/(15)
(11)

(OEIS A000217), which are simply one over the triangular numbers.

The raw moments can also be computed directly without explicit knowledge of the distribution

= [1/2x_1-1/2x_1^2+1/3x_1^3]_0^1
(19)
= 1/3
(20)
= [1/3x_1^3-1/2x_1^2+1/3x_1]_0^1
(26)
= 1/6.
(27)

The nth central moment is given by

The values for n=2, 3, ... are then given by 1/18, 1/135, 1/135, 4/1701, 31/20412, ... (OEIS A103307 and A103308).

The mean, variance, skewness, and kurtosis excess are therefore

mu = 1/3
(29)
sigma^2 = 1/(18)
(30)
gamma_1 = 2/5sqrt(2)
(31)
gamma_2 = -3/5.
(32)

The probability distribution of the distance between two points randomly picked on a line segment is germane to the problem of determining the access time of computer hard drives. In fact, the average access time for a hard drive is precisely the time required to seek across 1/3 of the tracks (Benedict 1995).


See also

Geometric Probability, Point-Point Distance--2-Dimensional, Point-Point Distance--3-Dimensional, Point-Quadratic Distance, Sphere Point Picking, Triangle Line Picking

Explore with Wolfram|Alpha

WolframAlpha

References

Arfken, G. Mathematical Methods for Physicists, 3rd ed. Orlando, FL: Academic Press, pp. 930-931, 1985.Benedict, B. Using Norton Utilities for the Macintosh. Indianapolis, IN: Que, pp. B-8-B-9, 1995.Sloane, N. J. A. Sequences A000217/M2535, A103307, and A103308 in "The On-Line Encyclopedia of Integer Sequences."Uspensky, J. V. Introduction to Mathematical Probability. New York: McGraw-Hill, p. 257, 1937.

Referenced on Wolfram|Alpha

Line Line Picking

Cite this as:

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

Subject classifications

AltStyle によって変換されたページ (->オリジナル) /