Dependence and phase changes in random -ary search trees
We study the joint asymptotic behavior of the space requirement and the total path length (either summing over all root-key distances or over all root-node distances) in random -ary search trees. The covariance turns out to exhibit a change of asymptotic behavior: it is essentially linear when but becomes of higher order when . Surprisingly, the corresponding asymptotic correlation coefficient tends to zero when but is periodically oscillating for larger . Such a less anticipated phenomenon is not exceptional and we extend the results in two directions: one for more general shape parameters, and the other for other classes of random log-trees such as fringe-balanced binary search trees and quadtrees. The methods of proof combine asymptotic transfer for the underlying recurrence relations with the contraction method.