Difference between revisions of "1991 AIME Problems/Problem 8"
(solution) |
(+ solution 2, revised version of 1234567890's) |
||
Line 4: | Line 4: | ||
__TOC__ | __TOC__ | ||
== Solution == | == Solution == | ||
− | By [[Vieta's formulas]], <math>x_1 + x_2 = -a</math> where <math>x_1, x_2</math> are the roots of the quadratic, and since <math> | + | === Solution 1 === |
+ | By [[Vieta's formulas]], <math>x_1 + x_2 = -a</math> where <math>x_1, x_2</math> are the roots of the quadratic, and since <math>x_1,x_2</math> are integers, <math>a</math> must be an integer. Applying the [[quadratic formula]], | ||
<cmath>x = \frac{-a \pm \sqrt{a^2 - 24a}}{2}</cmath> | <cmath>x = \frac{-a \pm \sqrt{a^2 - 24a}}{2}</cmath> | ||
− | Since <math>a</math> is an integer, we need <math>\sqrt{a^2-24a}</math> to be an integer (let this be <math>b</math>): <math>b^2 = a^2 - 24a</math>. [[Completing the square]], we get | + | Since <math>-a</math> is an integer, we need <math>\sqrt{a^2-24a}</math> to be an integer (let this be <math>b</math>): <math>b^2 = a^2 - 24a</math>. [[Completing the square]], we get |
<cmath>(a - 12)^2 = b^2 + 144</cmath> | <cmath>(a - 12)^2 = b^2 + 144</cmath> | ||
Line 17: | Line 18: | ||
The pairs of factors of <math>144</math> are <math>(\pm1,\pm144),( \pm 2, \pm 72),( \pm 3, \pm 48),( \pm 4, \pm 36),( \pm 6, \pm 24),( \pm 8, \pm 18),( \pm 9, \pm 16),( \pm 12, \pm 12)</math>; since <math>c</math> is the [[mean|average]] of each respective pair and is also an integer, the pairs that work must have the same [[parity]]. Thus we get <math>\boxed{10}</math> pairs (counting positive and negative) of factors that work, and substituting them backwards show that they all work. | The pairs of factors of <math>144</math> are <math>(\pm1,\pm144),( \pm 2, \pm 72),( \pm 3, \pm 48),( \pm 4, \pm 36),( \pm 6, \pm 24),( \pm 8, \pm 18),( \pm 9, \pm 16),( \pm 12, \pm 12)</math>; since <math>c</math> is the [[mean|average]] of each respective pair and is also an integer, the pairs that work must have the same [[parity]]. Thus we get <math>\boxed{10}</math> pairs (counting positive and negative) of factors that work, and substituting them backwards show that they all work. | ||
+ | |||
+ | === Solution 2 === | ||
+ | Let <math>x^2 + ax + 6a = (x - s)(x - r)</math>. Vieta's yields <math>s + r = - a, sr = 6a</math>. | ||
+ | <cmath>\begin{eqnarray*}sr + 6s + 6r &=& 0\\ | ||
+ | sr + 6s + 6r + 36 &=& 36\\ | ||
+ | (s + 6)(r + 6) &=& 36</cmath> | ||
+ | |||
+ | [[Without loss of generality]] let <math>r \le s</math>. | ||
+ | |||
+ | The possible values of <math>(r + 6,s + 6)</math> are: | ||
+ | <math>( - 36, - 1),( - 18, - 2),( - 12, - 3),( - 9, - 4),( - 6, - 6),(1,36),(2,18),(3,12),(4,9),(6,6)</math> | ||
+ | <math>\Rightarrow \boxed{10}\ \text{values of } a</math>. | ||
== See also == | == See also == |
Revision as of 20:41, 22 October 2007
Problem
For how many real numbers does the quadratic equation have only integer roots for ?
Solution
Solution 1
By Vieta's formulas, where are the roots of the quadratic, and since are integers, must be an integer. Applying the quadratic formula,
Since is an integer, we need to be an integer (let this be ): . Completing the square, we get
Which implies that is a perfect square also (let this be ). Then
The pairs of factors of are ; since is the average of each respective pair and is also an integer, the pairs that work must have the same parity. Thus we get pairs (counting positive and negative) of factors that work, and substituting them backwards show that they all work.
Solution 2
Let . Vieta's yields .
\begin{eqnarray*}sr + 6s + 6r &=& 0\\ sr + 6s + 6r + 36 &=& 36\\ (s + 6)(r + 6) &=& 36 (Error compiling LaTeX. Unknown error_msg)
Without loss of generality let .
The possible values of are: .
See also
1991 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 7 |
Followed by Problem 9 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |