English

Geometric Variants of the Gale--Berlekamp Switching Game

Combinatorics 2024-12-24 v1 Discrete Mathematics

Abstract

The Gale-Berlekamp switching game is played on the following device: Gn={1,2,,n}×{1,2,,n}G_n=\{1,2,\ldots,n\} \times \{1,2,\ldots,n\} is an n×nn \times n array of lights is controlled by 2n2n switches, one for each row or column. Given an (arbitrary) initial configuration of the board, the objective is to have as many lights on as possible. Denoting the maximum difference (discrepancy) between the number of lights that are on minus the number of lights that are off by F(n)F(n), it is known (Brown and Spencer, 1971) that F(n)=Θ(n3/2)F(n)= \Theta(n^{3/2}), and more precisely, that F(n)(1+o(1))2πn3/20.797n3/2F(n) \geq \left( 1+ o(1) \right) \sqrt{\frac{2}{\pi}} n^{3/2} \approx 0.797 \ldots n^{3/2}. Here we extend the game to other playing boards. For example: (i)~For any constant c>1c>1, if cnc n switches are conveniently chosen, then the maximum discrepancy for the square board is Ω(n3/2)\Omega(n^{3/2}). From the other direction, suppose we fix any set of aa column switches, bb row switches, where aba \geq b and a+b=na+b=n. Then the maximum discrepancy is at most b(nb)-b (n-b). (ii) A board H{1,,n}2H \subset \{1,\ldots,n\}^2, with area A=HA=|H|, is \emph{dense} if Ac(u+v)2A \geq c (u+v)^2, for some constant c>0c>0, where u={x ⁣:(x,y)H}u= |\{x \colon (x,y) \in H\}| and v={y ⁣:(x,y)H}v=|\{y \colon (x,y) \in H\}|. For a dense board of area AA, we show that the maximum discrepancy is Θ(A3/4)\Theta(A^{3/4}). This result is a generalization of the Brown and Spencer result for the original game. (iii) If HH consists of the elements of GnG_n below the hyperbola xy=nxy=n, then its maximum discrepancy is Ω(n)\Omega(n) and O(n(logn)1/2)O(n (\log n)^{1/2}).

Keywords

Cite

@article{arxiv.2412.16994,
  title  = {Geometric Variants of the Gale--Berlekamp Switching Game},
  author = {Adrian Dumitrescu},
  journal= {arXiv preprint arXiv:2412.16994},
  year   = {2024}
}

Comments

13 pages, 3 figures