This is an old revision of this page, as edited by LightbulbMEOW(talk | contribs) at 08:59, 2 May 2022(←Created page with 'In geometry, the '''mean line segment length''' is the average length of a line segment connecting two points chosen uniformly at random in a given shape. In other words, it is the expectedEuclidean distance between two random points, where each point in the shape is equally likely to be chosen. == Formal definition == The mean line segment length for an ''n''-dimensional shape...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 08:59, 2 May 2022 by LightbulbMEOW(talk | contribs)(←Created page with 'In geometry, the '''mean line segment length''' is the average length of a line segment connecting two points chosen uniformly at random in a given shape. In other words, it is the expectedEuclidean distance between two random points, where each point in the shape is equally likely to be chosen. == Formal definition == The mean line segment length for an ''n''-dimensional shape...')
In geometry, the mean line segment length is the average length of a line segment connecting two points chosen uniformly at random in a given shape. In other words, it is the expectedEuclidean distance between two random points, where each point in the shape is equally likely to be chosen.
The Monte Carlo method may be used to approximate the mean line segment length of a given shape. Two points are randomly chosen inside the shape and their distance is measured. After several repetitions of this process, the average of these values will eventually converge to the mean line segment length. This method can only give an approximation; it cannot be used to determine its exact value.
Formulas
Line segment
For a line segment of length d, the average distance between two points is 1/3d.[1]
Triangle
For a triangle with side lengths a, b, and c, the average distance between two points in its interior is given by the formula[2]
More generally, the mean line segment length of an n-ball is[1]
where βn depends on the parity of n,
General bounds
Burgstaller and Pillichshammer (2008) showed that a compact subset of the n-dimensional Euclidean space with diameter 1, then its mean line segment length L satisfies[1]
where Γ denotes the gamma function. For n = 2, a stronger bound exists.
^Anderssen, R. S.; Brent, R. P.; Daley, D. J.; Moran, P. A. P. (1976). "Concerning and a Taylor Series Method"(PDF). SIAM Journal on Applied Mathematics. 30 (1): 22–30.