[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rusure::math

Title:Mathematics at DEC
Moderator:RUSURE::EDP
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2083
Total number of notes:14613

967.0. "breaking up a line into n-polygon" by PRCSWS::EDDIELEUNG (NO Artificial Intelligence Added) Thu Nov 03 1988 05:08

    Recently, I came across the following question :
    
    1.  A finite-length straight line is divided randomly into 3 segments.
        What is the probability that the segements can form a triangle?
    
    This question is quite easy.  However, when I generalized it to
    the following, I am stuck :
    
    2.	A finite-length straight line is divided randomly into n segments,
    	n >= 3.  What is the probability that the segments can form
    	a n-polygon ?
  
    Any suggestions/solutions ?
    
    Eddie.
T.RTitleUserPersonal
Name
DateLines
967.1geometric solution (rewritten, for clarity)HERON::BUCHANANfragmentary blueThu Nov 03 1988 13:2264
	I allege that with n sticks, the probability that an n-gon can be
formed is:

		1 - n/2^(n-1)

	Can I convince you of this?

	First let's tighten up the problem.   Let's assume that there are
n-1 independent identically distributed random variables, uniformly 
distributed between 0 and 1.   Call these x_i, where i=1..n-1.   Let's derive 
n-1 other variables y_i, where i=1..n-1, such that {x_i} = {y_i}, and
y_i >= y_(i-1) for all i= 2..n-1.   Ie. y_i are the *ordered* x_i.   
Derive *another* set of n variables z_i, with z_1 = y_1, z_i = y_i - y_(i-1) 
for i=2..n-1, and z_n = 1 - y_(n-1).

	These z_i are the lengths of the sticks that we get.   Gee, all that
notation!   All I'm saying is pick n-1 points independently in the unit line,
and define the lengths that way.   Oh, yes, without loss of generality, we'll
take the primordial stick to be of length 1.

	(There are other different interpretations of "randomly breaking a 
stick", which would lead to different answers.   Eg: break the stick in two,
pick a bit, and break that in two).

	Now when can we *not* form a triangle.   Exactly when for some I,
z_I > �.   One thing makes things easier for us: z_I > � & z_J >� => I=J, 
because the length of our stick is 1.   I claim that the probability that 
Z_I > � is 1/2^(n-1).   From this, the result we're looking for follows 
immediately.

	The really neat proof involves drawing an n-1 dimensional "cube", where
each side corresponds to on of the x_i varying from 0 to 1.   Then I cut it
into (n-1)! segments, like an orange (eg ordinary 3-dimensional cube splits 
into six segments).   Each cut contains the major diagonal, and is along the 
hyperplane x_i = x_j, for some i.   (I hope I mean hyperplane:  I mean a 
surface of dimension one less than that of the space were in: ie. line in 
2-space, a plane in 3-space, etc...)
 
	In any one segment, S, the x_i have a constant ordering, so we can 
assign y_i to the axes, for that segment only.   (Forget about all the other
segments for a minute).  The hyperplane z_I = � is parallel to the two 
hyperplanes z_I = 1, which is a single point,P, in S, and z_I = 0, which 
is one of the boundaries of S.   z_I = � lies exactly halfway between the other
two hyperplanes.   z_I = � therefore splits S into 2 portions, and by simple
congruence, the ratio between the size of the portion containing P and the size
of the whole of S, is 1/2^(n-1).

	This is true for all S, and for all I, so by summing we get the desired
result.

	For those who are trying to follow I suggest that you draw pictures
for n=3 and 4 to see what I'm getting at.   Each segment is a simplex 
(line segment, triangle, tetrahedron ...) with n vertices and n boundary 
hyper-planes.   The permissible region for forming a triangle with the n sticks
is the simplex "with each of the corners snipped off, half way down" and so
is a region with at most 2*n bounding hyperplanes, and exactly n*(n-1)/2 
vertices.  So for instance with n=3,4, the permissible region in each segment 
is a triangle, octohedron, respectively.

	Returning to the sticks: the formula gives us that for n=3,4,5 the 
probability of the sticklets triangulating is �,�,11/16, respectively.   The
probability converges rapidly to 1 as n increases, as expected.

Andrew.
967.2AITG::DERAMODaniel V. {AITG,ZFC}:: D'EramoThu Nov 03 1988 17:444
     But .0 wants to know the probability of putting them all
     together into a n-gon, not just a triangle.
     
     Dan
967.3HERON::BUCHANANfragmentary blueThu Nov 03 1988 19:217
>     But .0 wants to know the probability of putting them all
>     together into a n-gon, not just a triangle.
     
Same thing.   What's important is that no single sticklet should be longer
than all the other sticklets put together.

Andrew.
967.4CTCADM::ROTHLick Bush in '88Fri Nov 04 1988 08:059
    I agree with the analysis in .1, which is how I looked at it.

    Essentially, you want to express the problem in terms of barycentric
    coordinates, when the result falls out almost at once.  Failing to
    form an n-gon corresponds to a point lying in one of the corner
    simplices of an n-simplex; the volume of each corner simplex is 1/2^(n-1)
    of the total, and there are n of them...

    - Jim