Olympiad Maths Prep

Track / Stage 5 / 234 of 400 #834 of 2000

Problem 834

AIME late
Combinatorics Difficulty 5.5 Find the answer

Let nn be a positive integer. Find the smallest positive integer kk such that for any set SS of nn points in the interior of the unit square, there exists a set of kk rectangles such that the following hold:
- The sides of each rectangle are parallel to the sides of the unit square.
- Each point in SS is not in the interior of any rectangle.
- Each point in the interior of the unit square but not in SS is in the interior of at least one of the kk rectangles.
(The interior of a polygon does not contain its boundary.)

Official solutions — 2

Solution 1

We give the author's solution. In terms of nn, we wish find the smallest integer kk for which (0,1)2\S(0,1)^{2} \backslash S is always a union of kk open rectangles for every set S(0,1)2S \subset(0,1)^{2} of size nn.
We claim the answer is k=2n+2k=2 n+2.
The lower bound is given by picking
S={(s1,s1),(s2,s2),,(sn,sn)} S=\left\{\left(s_{1}, s_{1}\right),\left(s_{2}, s_{2}\right), \ldots,\left(s_{n}, s_{n}\right)\right\}
for some real numbers 0000. The four rectangles covering each of
(s1ε,s1),(s1,s1ε),(sn+ε,sn),(sn,sn+ε) \left(s_{1}-\varepsilon, s_{1}\right),\left(s_{1}, s_{1}-\varepsilon\right),\left(s_{n}+\varepsilon, s_{n}\right),\left(s_{n}, s_{n}+\varepsilon\right)
cannot cover any other points in SS^{\prime}; all other rectangles can only cover at most 2 points in SS^{\prime}, giving a bound of
k4+S42=2n+2. k \geq 4+\frac{\left|S^{\prime}\right|-4}{2}=2 n+2 .

To prove that 2n+22 n+2 rectangles are sufficient, assume that the number of distinct yy-coordinates is at least the number of distinct xx-coordinates. Let
0=x_{0}0$ gives a total of
(m+n+2)+(n-m)=2 n+2

rectangles.

Solution 2

We claim the answer is k=2n+2k=2 n+2. The lower bound is given by picking
S={(s1,s1),(s2,s2),,(sn,sn)} S=\left\{\left(s_{1}, s_{1}\right),\left(s_{2}, s_{2}\right), \ldots,\left(s_{n}, s_{n}\right)\right\}
for some real numbers 0<s1<s2<<sn0<s_1 < s_2 < \ldots < s_n. The four rectangles covering each of
(s1ε,s1),(s1,s1ε),(sn+ε,sn),(sn,sn+ε) \left(s_{1}-\varepsilon, s_{1}\right),\left(s_{1}, s_{1}-\varepsilon\right),\left(s_{n}+\varepsilon, s_{n}\right),\left(s_{n}, s_{n}+\varepsilon\right)
cannot cover any other points in SS^{\prime}; all other rectangles can only cover at most 2 points in SS^{\prime}, giving a bound of
k4+S42=2n+2 k \geq 4+\frac{\left|S^{\prime}\right|-4}{2}=2 n+2
!
To prove that 2n+22 n+2 rectangles are sufficient, assume that the number of distinct yy-coordinates is at least the number of distinct xx-coordinates. Let
0=x0<x1<<xm1 0=x_{0}<x_{1}<\cdots<x_{m} \leq 1
be the distinct xx-coordinates, and
0=y0<y1<<yn1 0=y_{0}<y_{1}<\cdots<y_{n} \leq 1
be the distinct yy-coordinates, where mnm \leq n. We can cover the points with the following rectangles:
- For each ii from 11 to mm, cover the points (xi,yj)(x_i, y_j) for j=1,2,,nj=1, 2, \ldots, n with a rectangle of width ε\varepsilon and height yj+1yj1y_{j+1} - y_{j-1}.
- For each jj from 11 to nn, cover the points (xi,yj)(x_i, y_j) for i=1,2,,mi=1, 2, \ldots, m with a rectangle of width xi+1xi1x_{i+1} - x_{i-1} and height ε\varepsilon.
- Cover the points (0,yj)(0, y_j) for j=1,2,,nj=1, 2, \ldots, n with a rectangle of width ε\varepsilon and height yj+1yj1y_{j+1} - y_{j-1}.
- Cover the points (xi,0)(x_i, 0) for i=1,2,,mi=1, 2, \ldots, m with a rectangle of width xi+1xi1x_{i+1} - x_{i-1} and height ε\varepsilon.

This gives a total of
(m+n+2)+(nm)=2n+2 (m+n+2)+(n-m)=2 n+2
rectangles.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.