AMC 10 Step by Step

2024 AMC 10B Problem 19

P16-20~5 minPrint

In the following table, each question mark is to be replaced by "Possible" or "Not Possible" to indicate whether a nonvertical line with the given slope can contain the given number of lattice points (points both of whose coordinates are integers). How many of the 12 entries will be "Possible"?

figure

Log in to save your progress.
Show solution without answering

Key insight

A line through two lattice points has a fraction slope. A fraction slope through one lattice point hits infinitely many. So each row has exactly two Possible entries.

Solution

The table has three rows (slope 00, a nonzero fraction slope, an irrational slope) and four columns (00, exactly 11, exactly 22, more than 22 lattice points). Two facts settle almost everything.

Fact 1: two lattice points give a fraction slope. If a line passes through (1,2)(1, 2) and (4,7)(4, 7), its slope is 7−24−1=53\frac{7 - 2}{4 - 1} = \frac53, a fraction. The same happens for any two lattice points, because the slope is one whole number divided by another. So a line with an irrational slope (like 2\sqrt2) passes through at most one lattice point.

Fact 2: a fraction slope repeats. Take the line through (0,0)(0, 0) with slope 23\frac23. Going 33 right and 22 up lands on (3,2)(3, 2), then (6,4)(6, 4), then (9,6)(9, 6), and so on forever. In general, if a line has slope pq\frac{p}{q} and passes through one lattice point, moving qq right and pp up lands on another lattice point every time. So such a line has either no lattice points or infinitely many.

Now go row by row.

  1. Slope 00 (lines y=cy = c). The line y=1.5y = 1.5 has no lattice points, and y=1y = 1 has infinitely many. Exactly 11 or exactly 22 is impossible by Fact 2. Possible: 00 and more than 22.
  2. Nonzero fraction slope. The line y=2xy = 2x has infinitely many lattice points. The line y=x+12y = x + \frac12 has none: for any whole number xx, yy ends in .5.5. Exactly 11 or 22 is impossible by Fact 2. Possible: 00 and more than 22.
  3. Irrational slope. The line y=2 xy = \sqrt2\,x passes through (0,0)(0, 0) and no other lattice point (by Fact 1). The line y=2 x+12y = \sqrt2\,x + \frac12 passes through none, since at x=0x = 0 it gives y=12y = \frac12 and at any other whole xx, yy is not a whole number. Two or more is impossible by Fact 1. Possible: 00 and exactly 11.

Each row has 22 "Possible" entries, so there are 3⋅2=63 \cdot 2 = 6.

The answer is (C) 6\boxed{\textbf{(C)}\ 6}.

Why this works

Whether a line's slope is a fraction decides how it meets lattice points. A fraction slope makes the lattice points repeat at a steady step, so there are none or infinitely many. An irrational slope allows at most one. To fill a "possible or not" table, give one example for each "Possible" and a general reason for each "Not Possible".

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

The rows are slope 00, nonzero rational slope, irrational slope; the columns are 00, exactly 11, exactly 22, more than 22 lattice points.

Two general facts do most of the work.

  1. If a line contains two lattice points (a,b)(a, b) and (c,d)(c, d), its slope d−bc−a\frac{d - b}{c - a} is rational (or the line is vertical). So an irrational-slope line has at most one lattice point.
  2. If a line with rational slope pq\frac{p}{q} (lowest terms) contains a lattice point (a,b)(a, b), it also contains (a+q,b+p)(a + q, b + p), (a+2q,b+2p)(a + 2q, b + 2p), and so on. So a rational-slope line with one lattice point has infinitely many.

Slope 00: y=cy = c. If cc is not an integer, there are 00 lattice points; if cc is an integer, infinitely many. Exactly 11 or 22 is impossible by fact 2. Possible: 00 and more than 22.

Nonzero rational slope: y=23x+12y = \frac23 x + \frac12 has no lattice points (the right side is never an integer for integer xx: 4x+36\frac{4x + 3}{6} has odd numerator); y=2xy = 2x has infinitely many. Exactly 11 or 22 is impossible by fact 2. Possible: 00 and more than 22.

Irrational slope: y=2 xy = \sqrt2\, x passes through exactly one lattice point, the origin; y=2 x+12y = \sqrt2\, x + \frac12 passes through none. Two or more is impossible by fact 1. Possible: 00 and exactly 11.

Each row has 22 possible entries, for 3⋅2=63 \cdot 2 = 6 in all.

The answer is (C) 6\boxed{\textbf{(C)}\ 6}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.