Maths Olympiad Prep

Library / /41 of 46

, 2015

Geometry Difficulty 7.2 National Olympiad, round 2 Prove it Japan

Let ll be a straight line lying on the xyxy-plane. For given 20×1520 \times 15 points (m,n):(m=1,2,,20,n=1,2,,15)(m, n) : (m = 1, 2, \dots, 20, n = 1, 2, \dots, 15) on the xyxy-plane, there are 222222 straight lines parallel to the line ll (ll itself may be considered as one of those parallel lines) and going through at least one of these points. How many straight lines are there which go through at least one of these points and are perpendicular to ll?

Solution

212
Let us call a point (m,n)(m, n) a lattice point if both mm and nn are integers. Call a lattice point (m,n)(m, n) a good point if it lies in the portion of the xyxy-plane given by 1x201 \le x \le 20, 1y151 \le y \le 15.
If a straight line \ell lying on the xyxy-plane is parallel either to the xx-axis or to the yy-axis, then there are only 1515 (or 2020) straight lines parallel to \ell and going through a good point. Therefore, the slope of the line \ell satisfying the condition of the problem must be a real number not equal to 00. Next, suppose the slope of the line \ell is an irrational number. Then, any straight line parallel to \ell can go through at most one good point, since a line connecting any pair of lattice points must either be parallel to the yy-axis or have a rational slope. Therefore, there are 300300 straight lines parallel to \ell, going through one good point, which contradicts the assumption of the problem. Thus, we can assume that the line \ell satisfying the assumption of the problem has the slope of the form ±ba\pm \frac{b}{a}, where aa, bb are integers not equal to 00 and are relatively prime.
If there are lattice points on the line with slope ±ba\pm \frac{b}{a}, then they are located on the line with gaps (a,b)(a, b), since aa and bb are relatively prime. So, if either a>20|a| > 20 or b>15|b| > 15, then all the lines parallel to \ell going through different good points are distinct. Since there are 300300 good points, this contradicts the assumption. Therefore, we must have both a20|a| \le 20 and b15|b| \le 15. Let us first consider the case where a,b>0a, b > 0. In this case no pair of lattice points from the set {(m,n)either 1ma or 1nb}\{(m', n') \mid \text{either } 1 \le m' \le a \text{ or } 1 \le n' \le b \} can lie on the same straight line parallel to line \ell, since on such lines lattice points are located with gaps (a,b)(a, b). On the other hand for any lattice point (m,n)(m'', n'') from the set {(m,n)a<m20, and b<n15}\{(m'', n'') \mid a < m'' \le 20, \text{ and } b < n'' \le 15\} the straight line through this point and parallel to line \ell must go through a lattice point (m,n)(m', n') satisfying either 1ma1 \le m' \le a or 1nb1 \le n' \le b. (See the diagram below.) Consequently, we see that there are exactly 20×15(20a)(15b)20 \times 15 - (20 - |a|)(15 - |b|) straight lines parallel to \ell going through a good point. When aa or bb or both are negative, we can argue in the same way to conclude that the number of lines satisfying the requirement of the problem is 20×15(20a)(15b)20 \times 15 - (20 - |a|)(15 - |b|).
Figure 1
(kk is a positive integer)

By assumption, we have 20×15(20a)(15b)=22220 \times 15 - (20 - |a|)(15 - |b|) = 222, from which we obtain
(20a)(15b)=78(20 - |a|)(15 - |b|) = 78. There is only one way, i.e., 78=6×1378 = 6 \times 13, to express the
number 7878 as the product of a positive integer less than equal to 2020 and a positive
integer less than or equal to 1515. If we set 20a=620 - |a| = 6 and 15b=1315 - |b| = 13, then we
get a=14|a| = 14 and b=2|b| = 2, which will contradict the assumption that aa and bb are
relatively prime. So, we must have 20a=1320 - |a| = 13 and 15b=615 - |b| = 6, which yield
a=7|a| = 7 and b=9|b| = 9.
The slope of a line perpendicular to line ll is ab\frac{-a}{b}. Note that both of the conditions b20|b| \le 20 and a15|-a| \le 15 are satisfied. Then we can check that exactly same arguments applied for lines parallel to ll as above can be applied to the lines perpendicular to ll. Thus we can conclude that the number we seek for the problem is
20×15(20b)(15a)=222. 20 \times 15 - (20 - |b|)(15 - |-a|) = 222.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.