arXiv:2610.08130cs.CGOct 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2610.08130

Tight Bounds for Tusnády's Problem in the Plane

Zhewei Wei

Abstract

We show that the worst-case combinatorial discrepancy of nn points in the plane with respect to axis-parallel rectangles is Θ(log⁡3/2n)\Theta(\log^{3/2} n). The known bounds were Ω(log⁡n)\Omega(\log n) and O(log⁡3/2n)O(\log^{3/2} n); we prove the matching lower bound. It holds for random point sets: for every A>0A > 0, there is a constant cA>0c_A > 0 such that, with probability at least 1−e−An1 - e^{-An}, every coloring of nn independent uniform points in the unit square has an anchored rectangle with imbalance at least cA(log⁡2n)3/2c_A(\log_2 n)^{3/2}. The proof is surprisingly simple and elementary. It reveals one coordinate digit by digit. With overwhelming probability over the points, the conditional gains of an oscillation potential add up to Ω(log⁡3/2n)\Omega(\log^{3/2} n) over Θ(log⁡n)\Theta(\log n) digits. Bounded differences control the fluctuations well enough for a union bound over all colorings.

1 Introduction

Given a set PP of nn points in the plane, we would like to color each point by +1+1 or −1-1 so that every axis-parallel rectangle contains nearly the same number of points of each color. For a coloring χ:P→{±1}\chi : P \to \{\pm 1\}, the imbalance of a rectangle RR is ∣∑p∈P∩Rχ(p)∣|\sum_{p \in P \cap R} \chi(p)|. The discrepancy of PP is the minimum, over all colorings, of the maximum imbalance over all axis-parallel rectangles. Write Δd(n)\Delta_d(n) for the largest discrepancy of an nn-point set in Rd\mathbb{R}^d with respect to axis-parallel boxes. Tusnády's problem in the plane asks for the asymptotic order of Δ2(n)\Delta_2(n).

Main result. Consider nn points Pi=(Ui,Vi)P_i = (U_i, V_i) in [0,1]2[0,1]^2 and a coloring χ=(χ1,…,χn)∈{±1}n\chi = (\chi_1, \dots, \chi_n) \in \{\pm 1\}^n, where χi\chi_i is the color of PiP_i. Let Fχ(x,y)=∑i=1nχi1{Pi∈[0,x]×[0,y]}F_{\chi}(x, y) = \sum_{i=1}^n \chi_i \mathbf{1}\{P_i \in [0, x] \times [0, y]\}, so that ∣Fχ(x,y)∣|F_{\chi}(x, y)| is the imbalance of the anchored rectangle [0,x]×[0,y][0, x] \times [0, y]. We write ∥Fχ∥∞\|F_{\chi}\|_{\infty} for the supremum of ∣Fχ∣|F_{\chi}| over [0,1]2[0,1]^2. Logarithms are natural unless a base is specified.

Theorem 1.1. For every A>0A > 0, there is a constant cA>0c_A > 0 such that the following holds for every integer n≥1n \ge 1. If P1,…,PnP_1, \dots, P_n are independent uniform points in [0,1]2[0,1]^2, then

Pr⁡[foreveryχ∈{±1}n,∥Fχ∥∞≥cA(log⁡2n)3/2]≥1−e−An.\Pr\Big[for every\chi\in\{\pm 1\}^n,\|F_{\chi}\|_{\infty}\ge c_A(\log_2 n)^{3/2}\Big]\ge 1-e^{-An}.

The parameter AA allows any fixed exponential failure rate, at the cost of a constant cAc_A that depends on AA. We do not optimize cAc_A; it is very small, so the bound is of interest only for large nn. Since 1−e−An>01 - e^{-An} > 0 and the points are almost surely distinct, there is an nn-point set for which every coloring leaves an anchored rectangle with imbalance at least cA(log⁡2n)3/2c_A(\log_2 n)^{3/2}. Anchored rectangles are a subfamily of all rectangles, so together with Nikolov's upper bound [Nik17] we obtain:

Corollary 1.2 (Tusnády's problem in the plane). The worst-case combinatorial discrepancy of nn points in the plane with respect to axis-parallel rectangles is Θ(log⁡3/2n)\Theta(\log^{3/2} n).

Previous bounds. Tusnády asked whether Δ2(n)\Delta_2(n) is bounded by a constant. Beck [Bec81] answered this question negatively and gave an upper bound of O(log⁡4n)O(\log^4 n). The lower bound Δ2(n)=Ω(log⁡n)\Delta_2(n) = \Omega(\log n) follows from Schmidt's theorem on continuous discrepancy [Sch72] by transference, as used by Beck [Bec81]; see also [Mat99, ABN18]. A sequence of improvements (Table 1) led to the upper bound of O(log⁡3/2n)O(\log^{3/2} n), which Nikolov [Nik17] proved using factorization norms and Banaszczyk's theorem on signed series [Ban12]. This left a factor of log⁡n\sqrt{\log n} between the bounds, and Bansal [Ban22] conjectured that the lower bound is tight. Theorem 1.1 closes this gap in favor of the upper bound: random point sets attain Nikolov's bound up to a constant factor.

bound on Δ2(n)\Delta_2(n)referenceremark
O(log⁡4n)O(\log^4 n)Beck [Bec81]
O(log⁡3.5+εn)O(\log^{3.5+\varepsilon} n)Beck [Bec89]every fixed ε>0\varepsilon > 0
O(log⁡3n)O(\log^3 n)Bohus [Boh90]
O(log⁡2.5n)O(\log^{2.5} n)Srinivasan [Sri97]
O(log⁡2n)O(\log^2 n)Bansal and Garg [BG17]constructive
O(log⁡3/2n)O(\log^{3/2} n)Nikolov [Nik17]
Ω(log⁡n)\Omega(\log n)Schmidt [Sch72]via transference [Bec81, Mat99, ABN18]
Ω(log⁡n)\Omega(\log n)Matoušek and Nikolov [MN15]factorization norms
Ω(log⁡3/2n)\Omega(\log^{3/2} n)this paperrandom point sets

Table 1: Bounds for the combinatorial discrepancy of rectangles in the plane.

Figure

Figure 1: The partitions, drawn for b=4b=4 and h=2h=2. Every stage has bh=16b^{h}=16 cells, which become narrower and taller as more digits are revealed. The shaded region is one of the four comparison rectangles of the transition 0→10\to1: a union of bb cells of stage 0 and also of bb cells of stage 1.

The proof in four steps. Fix a coloring χ\chi and a large constant bb, and write F=FχF = F_{\chi}. We reveal the horizontal coordinates of the points one base-b digit at a time, while keeping all vertical coordinates visible. Let Fj\mathcal{F}_j be the information after jj digits, that is, all vertical coordinates and the first jj digits of every horizontal coordinate. We reveal h=Θb(log⁡n)h = \Theta_b(\log n) digits, and call the passage from Fj\mathcal{F}_j to Fj+1\mathcal{F}_{j+1} a transition.

(1) Potential. At stage jj, that is, after jj digits have been revealed, the unit square is partitioned into cells of width b−jb^{-j} and height bj−hb^{j-h} (Figure 1). For a horizontal interval I=[I−,I+]I = [I^{-}, I^{+}], let a(I)(y)=12(F(I−,y)+F(I+,y))a^{(I)}(y) = \frac{1}{2}\big(F(I^{-}, y) + F(I^{+}, y)\big) be the mean of the two values of FF at its endpoints, as a function of the height yy. The oscillation of a function ff on a vertical interval BB is oscBf=max⁡Bf−min⁡Bf\mathrm{osc}_{B} f = \max_{B} f - \min_{B} f. The potential is the average oscillation of the bhb^{h} cells:

Zj=1bh∑stage−jcellsI×BoscBa(I).(1)Z_{j}=\frac{1}{b^{h}}\sum_{\mathrm{stage-}j\mathrm{cells}I\times B}\mathrm{osc}_{B}a^{(I)}. \tag{1}

It is determined by Fj\mathcal{F}_j, and it is at most 2∥F∥∞2\|F\|_\infty. So it suffices to show that ZhZ_h is large. The conditional gain of a transition is E[Zj+1−Zj∣Fj]\mathbb{E}[Z_{j+1} - Z_j \mid \mathcal{F}_j]. Steps (2) and (3) show that the conditional gains of the hh transitions add up to a large number, and step (4) shows that ZhZ_h does not fall far below their sum.

(2) Local gain (Lemmas 2.3 and 2.4). A comparison rectangle is a union of bb old cells, from before a transition, and also of bb new cells, from after it. In conditional expectation given Fj\mathcal{F}_j, the oscillations of the new cells add up to at least those of the old cells plus 14mR\frac{1}{4}\sqrt{m_R}, where mRm_R is the number of points in the inner region, that is, the rectangle without its bottom and top old cells. The gain comes from the newly revealed digits of these mRm_R points. After averaging over the bb new cells, they shift the values on the top old cell against those on the bottom old cell by a symmetric random amount of order mR\sqrt{m_R}, and only the new cells are high enough to register this shift. This comparison uses the opposing coordinate scales of Talagrand's induction [Tal94, Section 3].

(3) Good transitions (Lemma 2.5). The bound of step (2) is weak if the points crowd into few inner regions, since mR\sqrt{m_R} grows slowly. Call an inner region heavy if it holds more than b times the average number of points of a comparison rectangle, and call a transition good if at least half of the points lie in inner regions that are not heavy. If a transition is not good, more than half of the points lie in a set of area at most 3/b. When a transition has at most n comparison rectangles, a union bound shows that this is exponentially unlikely. So, with overwhelming probability, all hh transitions are good. This event depends only on the points, so it is common to every coloring.

(4) All colorings (Lemma 2.6 and Proposition 2.7). At each transition, the newly revealed digit of one point changes the new potential very little. Hence, by bounded differences, ZhZ_h is unlikely to fall far below the sum of the conditional gains, and for large bb a union bound over the 2n2^n fixed colorings gives a statement for all colorings, including those chosen after observing the point set.

We choose hh so that a comparison rectangle holds Θb(h)\Theta_b(h) points on average. Then the conditional gain of a good transition is Ωb(h)\Omega_b(\sqrt{h}), and on the event of step (3) these conditional gains add up to Ωb(h3/2)\Omega_b(h^{3/2}). A denser choice, with more points per comparison rectangle, would increase each gain. But a transition has M=bh−1M = b^{h-1} comparison rectangles, and for a deviation of the order of the total gain, the fluctuation bound of step (4) has an exponent of order hMhM for fixed bb, whatever the density n/Mn/M is. This exponent must exceed nlog⁡2n \log 2 to pay for the union bound. So a density n/Mn/M of order hh is the largest that the argument allows.