The Annals of Applied Probability

Distribution of distances in random binary search trees

Hosam M. Mahmoud and Ralph Neininger
Source: Ann. Appl. Probab. Volume 13, Number 1 (2003), 253-276.

Abstract

We investigate random distances in a random binary search tree. Two types of random distance are considered: the depth of a node randomly selected from the tree, and distance between randomly selected pairs of nodes. By a combination of classical methods and modern contraction techniques we arrive at a Gaussian limit law for normed random distances between pairs. The exact forms of the mean and variance of this latter distance are first derived by classical methods to determine the scaling properties, then used for norming, and the normed random variable is then shown by the contraction method to have a normal limit arising as the fixed-point solution of a distributional equation. We identify the rate of convergence in the limit law to be of the order $\Theta(1/\sqrt{\ln n})$ in the Zolotarev metric $\zeta_3$. In the analysis we need the rate of convergence in the central limit law for the depth of a node, as well. This limit law was derived before by various techniques. We establish the rate $\Theta(1/\sqrt{\ln n})$ in $\zeta_3$.

First Page: Show Hide
Primary Subjects: 05C05, 60C05
Secondary Subjects: 60F05, 68P05
Full-text: Open access
Links and Identifiers

Permanent link to this document: http://projecteuclid.org/euclid.aoap/1042765668
Digital Object Identifier: doi:10.1214/aoap/1042765668
Mathematical Reviews number (MathSciNet): MR1951999
Zentralblatt MATH identifier: 1033.60007

References

CRAMER, M. and RÜSCHENDORF, L. (1996). Analy sis of recursive algorithms by the contraction method. Athens Conference on Applied Probability and Time Series Analy sis. Lecture Notes in Statist. 114 18-33. Springer, New York.
Mathematical Reviews (MathSciNet): MR98g:05009
Zentralblatt MATH: 0858.60036
DEVROy E, L. (1988). Applications of the theory of records in the study of random trees. Acta Inform. 26 123-130.
Mathematical Reviews (MathSciNet): MR89m:60027
Zentralblatt MATH: 0656.68065
Digital Object Identifier: doi:10.1007/BF02915448
DEVROy E, L. (1999). Universal limit laws for depths in random trees. SIAM J. Comput. 28 409-432.
Mathematical Reviews (MathSciNet): MR2000e:68073
Zentralblatt MATH: 0915.68089
Digital Object Identifier: doi:10.1137/S0097539795283954
GUTMAN, I. and POLANSKY, O. (1986). Mathematical Concepts in Organic Chemistry. Springer, Berlin.
Mathematical Reviews (MathSciNet): MR87m:92102
Zentralblatt MATH: 0657.92024
HWANG, H.-K. and NEININGER, R. (2002). Phase change of limit laws in the quicksort recurrence under varying toll functions. SIAM J. Comput. 31 1687-1722.
Zentralblatt MATH: 1008.68166
Mathematical Reviews (MathSciNet): MR1954876
Digital Object Identifier: doi:10.1137/S009753970138390X
KEMP, R. (1984). Fundamentals of the Average Case Analy sis of Particular Algorithms. Wiley, New York.
Mathematical Reviews (MathSciNet): MR86j:68104
Zentralblatt MATH: 0638.68026
KNUTH, D. (1998). The Art of Computer Programming 3. Sorting and Searching, 2nd ed. AddisonWesley, Reading, MA.
MAHMOUD, H. (1992). Evolution of Random Search Trees. Wiley, New York.
Mathematical Reviews (MathSciNet): MR93f:68045
Zentralblatt MATH: 0762.68033
MAHMOUD, H. (2000). Sorting: A Distribution Theory. Wiley, New York.
Mathematical Reviews (MathSciNet): MR2003a:68001
Zentralblatt MATH: 0958.68056
MAHMOUD, H. and SMy THE, R. (1998). Probabilistic analysis of MULTIPLE QUICK SELECT. Algorithmica 22 569-584.
Mathematical Reviews (MathSciNet): MR2000h:68057
Zentralblatt MATH: 0914.68049
Digital Object Identifier: doi:10.1007/PL00009241
NEININGER, R. (2001). On a multivariate contraction method for random recursive structures with applications to Quicksort. Random Structures Algorithms 19 498-524.
Mathematical Reviews (MathSciNet): MR2002m:68020
Zentralblatt MATH: 0990.68054
NEININGER, R. (2002). The Wiener index of random trees. Combin. Probab. Comput. To appear.
Mathematical Reviews (MathSciNet): MR1940122
Zentralblatt MATH: 1013.05029
Digital Object Identifier: doi:10.1017/S0963548302005321
NEININGER, R. and RÜSCHENDORF, L. (2002a). Rates of convergence for Quicksort. J. Algorithms. To appear.
NEININGER, R. and RÜSCHENDORF, L. (2002b). A general contraction theorem and asy mptotic normality in combinatorial structures. Technical Report 01-25, Univ. Freiburg.
RACHEV, S. (1991). Probability Metrics and the Stability of Stochastic Models. Wiley, New York.
Mathematical Reviews (MathSciNet): MR93b:60012
Zentralblatt MATH: 0744.60004
RACHEV, S. and RÜSCHENDORF, L. (1995). Probability metrics and recursive algorithms. Adv. in Appl. Probab. 27 770-799.
Mathematical Reviews (MathSciNet): MR96m:60005
Zentralblatt MATH: 0829.60094
Digital Object Identifier: doi:10.2307/1428133
RÖSLER, U. (1991). A limit theorem for "Quicksort." RAIRO Inform. Théor. Appl. 25 85-100.
RÖSLER, U. (1992). A fixed point theorem for distributions. Stochastic Process. Appl. 42 195-214.
Zentralblatt MATH: 0761.60015
RÖSLER, U. (2001). On the analysis of stochastic divide and conquer algorithms. Algorithmica 29 238-261.
Zentralblatt MATH: 0967.68168
RÖSLER, U. and RÜSCHENDORF, L. (2001). The contraction method for recursive algorithms. Algorithmica 29 3-33.
Zentralblatt MATH: 0967.68166
SEIDEL, R. and ARAGON, C. R. (1996). Randomized search trees. Algorithmica 16 464-497.
Mathematical Reviews (MathSciNet): MR97d:68037
Zentralblatt MATH: 0857.68030
Digital Object Identifier: doi:10.1007/BF01940876
TRINAJSTI ´C, N. (1992). Chemical Graph Theory. CRC Press, Boca Raton, FL.
Mathematical Reviews (MathSciNet): MR93g:92034
ZOLOTAREV, V. M. (1976). Approximation of the distributions of sums of independent random variables with values in infinite-dimensional spaces. Theory Probab. Appl. 21 721-737.
Mathematical Reviews (MathSciNet): MR58:24443a
WASHINGTON, DC 20052 E-MAIL: hosam@gwu.edu SCHOOL OF COMPUTER SCIENCE MCGILL UNIVERSITY 3480 UNIVERSITY STREET MONTREAL H3A 2K6 CANADA E-MAIL: neiningr@cs.mcgill.ca

2012 © Institute of Mathematical Statistics

The Annals of Applied Probability

The Annals of Applied Probability