Difference between revisions of "2015 AMC 12A Problems/Problem 18"
Soakthrough (talk | contribs) (→Solution) |
|||
Line 52: | Line 52: | ||
This means that the values for <math>(m,n)</math> are <math>(0,0),(4,4),(3,6),(1,-2)</math> giving us <math>a</math> values of <math>-1, 0, 8,</math> and <math>9</math>. Adding these up gets '''16 (C)''' | This means that the values for <math>(m,n)</math> are <math>(0,0),(4,4),(3,6),(1,-2)</math> giving us <math>a</math> values of <math>-1, 0, 8,</math> and <math>9</math>. Adding these up gets '''16 (C)''' | ||
+ | ( | ||
+ | ==Solution 3== | ||
+ | |||
+ | The quadratic formula gives <cmath>x = \frac{a \pm \sqrt{a(a-8)}}{2}</cmath>. For <math>x</math> to be an integer, it is necessary (and sufficient!) that <math>a(a-8)</math> to be a perfect square. So we have <math>a(a-8) = b^2</math>; this is a quadratic in itself and the quadratic formula gives <cmath>a = 4 \pm \sqrt{16 + b^2}</cmath> | ||
+ | |||
+ | We want <math>16 + b^2</math> to be a perfect square. From smartly trying small values of <math>b</math>, we find <math>b = 0, b = 3</math> as solutions, which correspond to <math>a = -1, 0, 8, 9</math>. These are the only ones; if we want to make sure then we must hand check up to <math>b=8</math>. Indeed, for <math>b \geq 9</math> we have that the differences between consecutive squares are greater than <math>16</math> so we can't have <math>b^2 + 16</math> be a perfect square. So summing our values for <math>a</math> we find '''16 (C)''' as the answer. | ||
== See Also == | == See Also == | ||
{{AMC12 box|year=2015|ab=A|num-b=17|num-a=19}} | {{AMC12 box|year=2015|ab=A|num-b=17|num-a=19}} |
Revision as of 20:07, 4 March 2015
Problem
The zeros of the function are integers. What is the sum of the possible values of ?
$\textbf{(A)}\ 7 \qquad\textbf{(B)}\ 8 \qquad\textbf{(C)}\ 16 \qquad\textbf{(D)}}\ 17 \qquad\textbf{(E)}\ 18$ (Error compiling LaTeX. Unknown error_msg)
Solution
Solution 1
The problem asks us to find the sum of every integer value of such that the roots of are both integers.
The quadratic formula gives the roots of the quadratic equation: $x = \frac{a \± \sqrt{a^2 - 8a}}{2}$ (Error compiling LaTeX. Unknown error_msg)
As long as the numerator is an even integer, the roots are both integers. But first of all, the radical term in the numerator needs to be an integer; that is, the discriminant equals , for some nonnegative integer .
From this last equation, we are given a hint of the Pythagorean theorem. Thus, must be a Pythagorean triple unless .
In the case , the equation simplifies to . From this equation, we have . For both and , $\frac{a \± \sqrt{a^2 - 8a}}{2}$ (Error compiling LaTeX. Unknown error_msg) yields two integers, so these values satisfy the constraints from the original problem statement. (Note: the two zero roots count as "two integers.")
If is a positive integer, then only one Pythagorean triple could match the triple because the only Pythagorean triple with a as one of the values is the classic triple. Here, and . Hence, . Again, $\frac{a \± \sqrt{a^2 - 8a}}{2}$ (Error compiling LaTeX. Unknown error_msg) yields two integers for both and , so these two values also satisfy the original constraints.
There are a total of four possible values for : and . Hence, the sum of all of the possible values of is 16 (C).
Solution 2
Let and be the roots of
By Vieta's Formulas, and
Substituting gets us
Using Simon's Favorite Factoring Trick:
This means that the values for are giving us values of and . Adding these up gets 16 (C)
(
Solution 3
The quadratic formula gives . For to be an integer, it is necessary (and sufficient!) that to be a perfect square. So we have ; this is a quadratic in itself and the quadratic formula gives
We want to be a perfect square. From smartly trying small values of , we find as solutions, which correspond to . These are the only ones; if we want to make sure then we must hand check up to . Indeed, for we have that the differences between consecutive squares are greater than so we can't have be a perfect square. So summing our values for we find 16 (C) as the answer.
See Also
2015 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 17 |
Followed by Problem 19 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |