Total Path Length for Random Recursive Trees

Total path length, or search cost, for a rooted tree is defined as the sum of all root-to-node distances. Let Tn be the total path length for a random recursive tree of order n. Mahmoud [10] showed that Wn := (Tn − E[Tn])/n converges almost surely and in L2 to a nondegenerate limiting random variable W. Here we give recurrence relations for the moments of Wn and of W and show that Wn converges to W in Lp for each 0 < p < ∞. We confirm the conjecture that the distribution of W is not normal. We also show that the distribution of W is characterized among all distributions having zero mean and finite variance by the distributional identity***** Insert equation here *****where E(x) := − x ln x − (1 minus; x) ln(1 − x) is the binary entropy function, U is a uniform (0, 1) random variable, W* and W have the same distribution, and U, W and W* are mutually independent. Finally, we derive an approximation for the distribution of W using a Pearson curve density estimator.

[1]  R. Stanley What Is Enumerative Combinatorics , 1986 .

[2]  Robert P. Dobrow,et al.  Some Properties of a Limiting Distribution in Quicksort. Statistics and Probability Letters 25 87{94. Gram-charlier Pearson Curve Simulation (x) , 2007 .

[3]  Herbert Solomon,et al.  APPROXIMATIONS TO DENSITIES IN GEOMETRIC PROBABILITY , 1980 .

[4]  Lajos Takács On the Total Heights of Random Rooted Binary Trees , 1994, J. Comb. Theory, Ser. B.

[5]  Uwe Rr Osler,et al.  A Limit Theorem for "quicksort" , 1999 .

[6]  James Allen Fill,et al.  On the distribution of binary search trees under the random permutation model , 1996, Random Struct. Algorithms.

[7]  Donald Ervin Knuth,et al.  The Art of Computer Programming , 1968 .

[8]  Kai Lai Chung,et al.  A Course in Probability Theory , 1949 .

[9]  Donald E. Knuth,et al.  The art of computer programming: sorting and searching (volume 3) , 1973 .

[10]  M. Kendall,et al.  The advanced theory of statistics , 1945 .

[11]  Jerzy Szymanski On the Complexity of Algorithms on Recursive Trees , 1990, Theor. Comput. Sci..

[12]  Robert T. Smythe,et al.  Poisson approximations for functionals of random trees , 1996 .

[13]  J. Moon,et al.  Combinatorics: The distance between nodes in recursive trees , 1974 .

[14]  Robert T. Smythe,et al.  Poisson approximations for functionals of random trees , 1996, Random Struct. Algorithms.

[15]  Lajos Takács On the total heights of random rooted trees , 1992 .

[16]  Donald E. Knuth,et al.  The Art of Computer Programming: Volume 3: Sorting and Searching , 1998 .

[17]  P. Hadjicostas,et al.  Some properties of a limiting distribution in Quicksort , 1995 .

[18]  Hosam M. Mahmoud Limiting Distributions for Path Lengths in Recursive Trees , 1991 .

[19]  Philippe Flajolet,et al.  Singularity Analysis of Generating Functions , 1990, SIAM J. Discret. Math..

[20]  N. L. Johnson,et al.  Systems of Frequency Curves , 1969 .

[21]  Pascal Hennequin Analyse en moyenne d'algorithmes, tri rapide et arbres de recherche , 1991 .

[22]  G Kendall Maurice,et al.  The Advanced Theory Of Statistics Vol-i , 1943 .

[23]  Donald E. Knuth,et al.  The Art of Computer Programming, Vol. 3: Sorting and Searching , 1974 .