Draw a $2004 \times 2004$ array of points. What is the largest integer $n$ for which it is possible to draw a convex $n$-gon whose vertices are chosen from the points in the array?
Problem
Source: USA TST 2004
Tags: floor function, geometry, perimeter, inequalities, vector, calculus, integration
18.03.2006 11:30
2003*4 A line segment of length k passes through at most $\lfloor k \rfloor$ lattice points. (*) Consider the square around the outside of the array. It has 2003*4 points. If one has a convex figure with more lattice points, its convex hull is contained within or on the square, and its perimeter is smaller (you can think of the smaller figure as coming from the square through a series of cuts, each cut by the triangle inequality decreasing the perimeter.) Then, by (*), this smaller figure with smaller perimeter passes through at most a number of points less than 2003*4. Thus 2003*4 is maximal.
18.03.2006 14:45
I think you misread the problem. The question asks for the largest number of vertices a polygon could have, not the maximum number of lattice points on the boundary. This problem is quite difficult. Only one person solved it, I think.
22.04.2006 18:06
I guess the answer is 2008.
30.07.2006 15:27
cauchyguy;if you know the solution;please post it
08.08.2006 20:18
The answer is 561. First, note that, if we trace the perimeter of the polygon clockwise, we only move to the right on the upper section of the polygon, and only to the left on the lower section. So the total movement horizontally is at most 2003 * 2 = 4006. Similarly, the total movement vertically is at most 4006, and the total movement period is at most 8012. Let n be the number of vertices; consider the n vectors that move each vertex to the next vertex clockwise. Clearly no two vectors can be pointed in the same direction. Let us list all possible vectors (i,j) with integral coordinates in order of "length" |i| + |j|, except that for each collection of vectors V_i,j = {(ci, cj), c in N} with GCD (i, j) = 1, we only choose the vector (i, j). So we are only choosing the vectors (i, j) with i and j relatively prime. The first four vectors are (1, 0), (-1, 0), (0, 1), and (0, -1). The number of vectors of length m is four times the number of such vectors with both coordinates positive; the latter number is phi(m). So the are 4 phi(m) vectors of each length m >= 2. After some calculation, we find that 4 + 4 Sum [m = 2 to 21] m phi (m) = 7988. 4 + 4 Sum [m = 2 to 21] phi (m) = 560. In other words, the minimal sum of the lengths of the a collection of 560 integral vertices with no scalar multiples is 7988. Note that by symmetry, the sum of these 560 vectors is zero; therefore we can construct a convex polygon by ordering them in terms of the angle they make with the positive x-axis. Further, by symmetry, the total movements in the horizontal and vertical directions are the same, and equal 7988/2 = 3884. So the polygon has height and width 1997, and so fits within a 2004 by 2004 lattice. As 8012 - 7988 = 24, there cannot be a convex polygon of 562 vertices or more, since that would require a minimum total movement of 7988 + 22 * 2 = 8032. But we can make a convex polygon with 561 vertices: for example, remove the vectors (5, 16) and (10, -11), and add the vectors (-1, 21), (-5, -17), and (21, 1). Both sets of vectors add up to (15, 5), and the sum of the lengths is 12 greater for the second set in both the horizontal and vertical directions. So, we can form a convex polygon from our new set using the same procedure as before, and the height and width increase to 2003, so it fits perfectly in a 2004 by 2004 lattice.
30.05.2013 10:03
The hardest part of the problem seems to be the construction for $n=561$, so I've included some (quite sketchy) motivation for that below. I'm not really a big fan of these kinds of detail-oriented/random construction problems, though.