Difference between revisions of "2017 AMC 10A Problems/Problem 23"
(→Solution) |
|||
Line 5: | Line 5: | ||
==Solution== | ==Solution== | ||
− | There are a total of <math>\binom{25}{3}=2300</math> | + | There are a total of <math>\binom{25}{3}=2300</math> sets of three points. However, some of them form degenerate triangles (i.e., they have area of 0) if the three points are collinear. There are a total of 12 lines that go through 5 points (5 vertical, 5 horizontal, 2 diagonal), which contributes <math>\binom{5}{3} \cdot 12 = 120</math> degenerate triangles, 4 linesthat go through exactly 4 points, which contributes <math>\binom{4}{3} \cdot 4 = 16</math> degenerate triangles, and 16 lines that go through exactly three points, which contributes <math>\binom{3}{3} \cdot 16 = 16</math> degenerate triangles. Subtracting these degenerate triangles, we get an answer of <math>2300-120-16-16=2300-152=\boxed{\textbf{(B) }2148}</math>. |
Revision as of 19:05, 8 February 2017
Problem
How many triangles with positive area have all their vertices at points in the coordinate plane, where and are integers between and , inclusive?
Solution
There are a total of sets of three points. However, some of them form degenerate triangles (i.e., they have area of 0) if the three points are collinear. There are a total of 12 lines that go through 5 points (5 vertical, 5 horizontal, 2 diagonal), which contributes degenerate triangles, 4 linesthat go through exactly 4 points, which contributes degenerate triangles, and 16 lines that go through exactly three points, which contributes degenerate triangles. Subtracting these degenerate triangles, we get an answer of .