Twenty-four identical squares form a rectangle, as shown.
A lattice point is a point where a horizontal grid line intersects a vertical grid line. A diagonal of this rectangle passes through the three lattice points , and . When a rectangle is constructed using identical squares, how many lattice points will a diagonal of this rectangle pass through?
, 2014
Pick one
Solution
Solution 1
The ratio of side lengths in the given grid is which is equivalent to .
The ratio of side lengths in the desired grid is which is also equivalent to .
Therefore, the grid can be built using blocks; the resulting grid can be seen as a array of blocks.
The diagonal line of the grid has slope and so passes through the lower left and upper right corners of each of the diagonal blocks of the array of blocks. Each of these corners is a lattice point. The diagonal line does not pass through any other lattice point within each of these diagonal blocks, as can be seen in the grid.
We note that the upper right corner of a diagonal block is the same point as the lower left corner of the next such block. This means that we have to be careful with our counting.
There are 15 diagonal blocks. The diagonal line passes through the bottom left corner of the grid and passes through the upper right corner of each of the diagonal blocks.
This means that the diagonal line passes through lattice points.
Solution 2
We assign coordinates to the desired grid, with the bottom left corner at the origin , the vertical side lying along the positive -axis from to and the horizontal side lying along the positive -axis from to .
The upper right corner of the grid has coordinates . The grid lines are the horizontal lines , , , , and the vertical lines , , , , .
The lattice points in the grid are the points with integer coordinates.
Consider the diagonal that joins to .
The slope of this line is .
Since the diagonal passes through the origin, its equation is .
Thus, we must determine the number of lattice points that lie on the line with-coordinates between and , inclusive.
Suppose that is a lattice point on the line; that is, and are both integers.
Since , then for to be an integer, it must be the case that is a multiple of 3.
The multiples of 3 between and , inclusive, are .
Since , then there are 16 numbers in the list.
Each of these values for gives an integer for and so gives a lattice point on the line.
Thus, there are 16 lattice points on the diagonal.