AMC12 2004 A
AMC12 2004 A · Q13
AMC12 2004 A · Q13. It mainly tests Basic counting (rules of product/sum), Counting in geometry (lattice points).
Let $S$ be the set of points $(a,b)$ in the coordinate plane, where each of $a$ and $b$ may be $- 1$, $0$, or $1$. How many distinct lines pass through at least two members of $S$?
设 $S$ 为坐标平面上的点集 $(a,b)$,其中 $a$ 和 $b$ 各可取 $- 1$、$0$ 或 $1$。通过 $S$ 中至少两点的不同直线共有多少条?
(A)
8
8
(B)
20
20
(C)
24
24
(D)
27
27
(E)
36
36
Answer
Correct choice: (B)
正确答案:(B)
Solution
Let's count them by cases:
- Case 1: The line is horizontal or vertical, clearly $3 \cdot 2 = 6$.
- Case 2: The line has slope $\pm 1$, with $2$ through $(0,0)$ and $4$ additional ones one unit above or below those. These total $6$.
- Case 3: The only remaining lines pass through two points, a vertex and a non-vertex point on the opposite side. Thus we have each vertex pairing up with two points on the two opposites sides, giving $4 \cdot 2 = 8$ lines.
These add up to $6+6+8=20\ \mathrm{(B)}$.
There are ${9 \choose 2} = 36$ ways to pick two points, but we've clearly overcounted all of the lines which pass through three points. In fact, each line which passes through three points will have been counted ${3 \choose 2} = 3$ times, so we have to subtract $2$ for each of these lines. Quick counting yields $3$ horizontal, $3$ vertical, and $2$ diagonal lines, so the answer is $36 - 2(3+3+2) = 20$ distinct lines.
First consider how many lines go through $(-1, -1)$ and hit two points in $S$. You can see that there are $5$ such lines. Now, we cross out $(-1, -1)$ and make sure to never consider consider lines that go through it anymore (As doing so would be double counting). Repeat for $(-1, 0)$, making sure not to count the vertical line as it goes through the crossed out $(-1, -1)$. Then cross out $(-1, 0)$. Repeat for the rest, and count $20$ lines in total.
分情况计数:
- 情况 1:直线为水平或竖直,显然有 $3 \cdot 2 = 6$ 条。
- 情况 2:直线斜率为 $\pm 1$,过 $(0,0)$ 的有 $2$ 条,另外在其上方或下方平移 1 个单位的还有 $4$ 条,共 $6$ 条。
- 情况 3:剩下的直线都只通过两点,即一个顶点与对边上的一个非顶点点相连。因此每个顶点可与两条对边上的两个点配对,得到 $4 \cdot 2 = 8$ 条直线。
总计 $6+6+8=20\ \mathrm{(B)}$。
共有 ${9 \choose 2} = 36$ 种选两点的方法,但显然对所有经过三点的直线进行了重复计数。事实上,每条经过三点的直线会被计数 ${3 \choose 2} = 3$ 次,因此对每条这样的直线需要减去 $2$ 次。快速计数可得有 $3$ 条水平线、$3$ 条竖直线和 $2$ 条对角线,所以不同直线条数为 $36 - 2(3+3+2) = 20$。
先考虑经过 $(-1, -1)$ 且与 $S$ 中两点相交的直线条数,可以看出有 $5$ 条。然后划去 $(-1, -1)$,并确保之后不再考虑经过它的直线(否则会重复计数)。对 $(-1, 0)$ 重复此过程,注意不要计数那条竖直线,因为它经过已划去的 $(-1, -1)$。再划去 $(-1, 0)$。对其余点重复,最终共计 $20$ 条直线。
Topics
Related Questions
Practice full AMC exams on amcdrill.
Try full-length practice and diagnostics at www.amcdrill.com.