In this paper we present a method for obtaining tail-bounds for random variables satisfying certain probabilistic recurrences that arise in the analysis of randomized parallel divide and conquer algorithms. In such algorithms, some computation is initially done to process an input x, which is then randomly split into subproblems $h_1(x), ..., h_n(x)$, and the algorithm proceeds recursively in parallel on each subproblem. The total work on input x, W(x), then satisfies a probabilistic recurrence of the form $W(x) = a(x) + \sum_{i=1}^n W (h_i(x))$, and the span (the longest chain of sequential dependencies), satisfies $S(x) = b(x) + \max_{i=1}^n S(h_i(x))$, where a(x) and b(x) are the work and span to split x and combine the results of the recursive calls.
Karp has previously presented methods for obtaining tail-bounds in the case when n = 1, and under certain stronger assumptions for the work-recurrence when n > 1, but left open the question of the span-recurrence. We first show how to extend his technique to handle the span-recurrence. We then show that in some cases, the work-recurrence can be bounded under simpler assumptions than Karp's by transforming it into a related span-recurrence and applying our first result. We demonstrate our results by deriving tail bounds for the work and span of quicksort and the height of a randomly generated binary search tree.
[1]
Sanjoy K. Mitter,et al.
The Solution of Linear Probabilistic Recurrence Relations
,
2002,
Algorithmica.
[2]
Michael Drmota,et al.
A master theorem for discrete divide and conquer recurrences
,
2011,
SODA '11.
[3]
Guy E. Blelloch,et al.
Parallelism in sequential functional languages
,
1995,
FPCA '95.
[4]
Michael Drmota.
An analytic approach to the height of binary search trees
,
2007,
Algorithmica.
[5]
T. F. Móri.
On random trees
,
2002
.
[6]
Philippe Flajolet,et al.
Analytic Combinatorics
,
2009
.
[7]
Devdatt P. Dubhashi,et al.
Probabilistic Recurrence Relations Revisited
,
1997,
Theor. Comput. Sci..
[8]
Luc Devroye,et al.
A note on the height of binary search trees
,
1986,
JACM.
[9]
Richard M. Karp,et al.
Probabilistic recurrence relations
,
1994,
JACM.
[10]
Probabilistic Recurrence Relations for Parallel Divide-and-conquer Algorithms
,
1991
.
[11]
Salvador Roura,et al.
Improved master theorems for divide-and-conquer recurrences
,
2001,
JACM.
[12]
Louay Bazzi,et al.
On the Solution of Linear Recurrence Equations
,
1998,
Comput. Optim. Appl..