Difference between revisions of "1994 AIME Problems/Problem 7"

m
Line 6: Line 6:
  
 
== Solution ==
 
== Solution ==
{{solution}}
+
<math>x^2+y^2=50</math> is the equation of a circle of radius <math>\sqrt{50}</math>, centered at the origin. The [[lattice points]] on this circle are <math>(\pm7,\pm1)</math>, <math>(\pm5,\pm5)</math>, and <math>(\pm7,\pm1)</math>.
 +
 
 +
<math>ax+by=1</math> is the equation of a line that does not pass through the origin. (Since <math>(x,y)=(0,0)</math> yields <math>a(0)+b(0)=0 \neq 1</math>).
 +
 
 +
So, we are looking for the number of lines which pass through either one or two of the <math>12</math> lattice points on the circle, but do not pass through the origin.
 +
 
 +
It is clear that if a line passes through two opposite points, then it passes through the origin, and if a line passes through two non-opposite points, the it does not pass through the origin.
 +
 
 +
There are <math>\binom{12}{2}=66</math> ways to pick two distinct lattice points, and thus <math>66</math> distinct lines which pass through two lattice points on the circle. However, <math>\frac{12}{2}=6</math> of these lines pass through the origin.
 +
 
 +
Since there is a unique tangent line to the circle at each of these lattice points, there are <math>12</math> distinct lines which pass through exactly one lattice point on the circle.
 +
 
 +
Thus, there are a total of <math>66-6+12=\boxed{72}</math> distinct lines which pass through either one or two of the <math>12</math> lattice points on the circle, but do not pass through the origin.
  
 
== See also ==
 
== See also ==
 
{{AIME box|year=1994|num-b=6|num-a=8}}
 
{{AIME box|year=1994|num-b=6|num-a=8}}

Revision as of 16:00, 26 July 2008

Problem

For certain ordered pairs $(a,b)\,$ of real numbers, the system of equations

$ax+by=1\,$
$x^2+y^2=50\,$

has at least one solution, and each solution is an ordered pair $(x,y)\,$ of integers. How many such ordered pairs $(a,b)\,$ are there?

Solution

$x^2+y^2=50$ is the equation of a circle of radius $\sqrt{50}$, centered at the origin. The lattice points on this circle are $(\pm7,\pm1)$, $(\pm5,\pm5)$, and $(\pm7,\pm1)$.

$ax+by=1$ is the equation of a line that does not pass through the origin. (Since $(x,y)=(0,0)$ yields $a(0)+b(0)=0 \neq 1$).

So, we are looking for the number of lines which pass through either one or two of the $12$ lattice points on the circle, but do not pass through the origin.

It is clear that if a line passes through two opposite points, then it passes through the origin, and if a line passes through two non-opposite points, the it does not pass through the origin.

There are $\binom{12}{2}=66$ ways to pick two distinct lattice points, and thus $66$ distinct lines which pass through two lattice points on the circle. However, $\frac{12}{2}=6$ of these lines pass through the origin.

Since there is a unique tangent line to the circle at each of these lattice points, there are $12$ distinct lines which pass through exactly one lattice point on the circle.

Thus, there are a total of $66-6+12=\boxed{72}$ distinct lines which pass through either one or two of the $12$ lattice points on the circle, but do not pass through the origin.

See also

1994 AIME (ProblemsAnswer KeyResources)
Preceded by
Problem 6
Followed by
Problem 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions