English

The Distributional Tail of Worst-Case Quickselect

Probability 2026-04-16 v1 Data Structures and Algorithms

Abstract

We study the almost surely finite random variable SS defined by the distributional fixed-point equation S=d1+max{US,(1U)S},UUnif(0,1), S \stackrel{d}{=} 1 + \max\{US', (1-U)S''\}, \qquad U \sim \mathrm{Unif}(0,1), where SS' and SS'' are independent copies of SS, independent of UU. This random variable arises as the almost sure limit of the normalized worst-case number of key comparisons used by classical Quickselect with uniformly chosen pivots in the model of Devroye. Our first contribution concerns the right tail of SS. We prove explicit one-sided bounds for the rate function logP(S>t)-\log \mathbb{P}(S>t) and, in particular, identify its first-order asymptotic growth: logP(S>t)=tlogt+O(tloglogt),t. -\log \mathbb{P}(S>t) = t \log t + O(t \log \log t), \qquad t \to \infty. The argument combines a binary-search-tree embedding and a one-level second-moment method with a moment-generating-function comparison inspired by ideas of Alsmeyer and Dyszewski for the nonhomogeneous smoothing transform. As a byproduct, we obtain an explicit pointwise Chernoff majorant for the tail. Our second contribution is a distribution-function scheme for deriving explicit upper bounds on E[S]\mathbb{E}[S]. Starting from the fixed-point equation at the level of the distribution function, we construct an order-preserving lower iteration and a conservative mesh discretization suited to computer-assisted upper bounds on the mean. We illustrate the latter numerically in floating-point arithmetic, but do not pursue a certified numerical proof here.

Keywords

Cite

@article{arxiv.2604.13149,
  title  = {The Distributional Tail of Worst-Case Quickselect},
  author = {Witold Płecha},
  journal= {arXiv preprint arXiv:2604.13149},
  year   = {2026}
}

Comments

27 pages, 3 figures

R2 v1 2026-07-01T12:09:31.979Z