# Difference between revisions of "2017 AMC 10A Problems/Problem 23"

(Created page with "==Problem== How many triangles with positive area have all their vertices at points <math>(i,j)</math> in the coordinate plane, where <math>i</math> and <math>j</math> are int...") |
|||

Line 3: | Line 3: | ||

<math>\textbf{(A)}\ 2128 \qquad\textbf{(B)}\ 2148 \qquad\textbf{(C)}\ 2160 \qquad\textbf{(D)}\ 2200 \qquad\textbf{(E)}\ 2300</math> | <math>\textbf{(A)}\ 2128 \qquad\textbf{(B)}\ 2148 \qquad\textbf{(C)}\ 2160 \qquad\textbf{(D)}\ 2200 \qquad\textbf{(E)}\ 2300</math> | ||

+ | |||

+ | ==Solution== | ||

+ | There are a total of <math>\binom{25}{3}=2300</math> triangles. However, some of them are degenerate if <math>3</math> or more points lie on the same line. There are a total of 12 lines that go through 5 points (5 vertical, 5 horizontal, 2 diagonal), 4 lines with slope <math>\pm 1</math> that go through exactly 4 points, and 16 lines (<math>3*4+4</math>) with slope <math>\pm 0.5, \pm 1, \pm 2</math>. Subtracting these degenerate triangles, we get an answer of <math>2300-12*10-4*4-16=2180-32=\boxed{\textbf{(B)}2148}</math>. |

## Revision as of 17:38, 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 triangles. However, some of them are degenerate if or more points lie on the same line. There are a total of 12 lines that go through 5 points (5 vertical, 5 horizontal, 2 diagonal), 4 lines with slope that go through exactly 4 points, and 16 lines () with slope . Subtracting these degenerate triangles, we get an answer of .