2015 AMC 10A Problem 23
The zeroes of the function are integers. What is the sum of the possible values of ?
Show solution without answering
Key insight
The zeros multiply to twice their sum. That rearranges to (r minus 2)(s minus 2) = 4; use every factor pair of 4, negatives included.
Solution
Turn "the zeros are whole numbers" into an equation about the zeros themselves.
1. Call the zeros and . Then . Matching the terms:
2. Get rid of : the product is twice the sum,
3. This almost factors. Since , move everything to one side and add :
4. Now and are whole numbers that multiply to . List every pair, including negative ones:
(Swapping the order, like , gives the same zeros and the same .)
5. Check each one works:
- : .
- : .
- : .
- : the function is , whose zero is a whole number.
6. The sum of the possible values is .
The answer is .
Why this works
"The zeros are integers" together with sum-and-product of the zeros turns a quadratic into a whole-number puzzle. An equation like becomes a product by adding a constant, , and then only a short list of factor pairs is possible. Always include negative pairs and equal pairs (a repeated zero).
Alternative approach
A quadratic with integer coefficients has whole-number zeros only if the number under the square root in the quadratic formula, , is a perfect square . Completing the square, , so
The two factors differ by an even number, so both are even: , , or . Their average, , is , so , with sum .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Let the zeros be integers and (a repeated zero is allowed). Vieta's formulas give
Eliminate : , so . Add to both sides to factor:
Now list the unordered ways to write as a product of two integers, negatives included:
Each value really works: , , , and .
The sum of the possible values is .
The answer is .
Review in the AoPS books
- Introduction to Algebra, Chapter 10: Quadratic Equations – Part 1 (§10.2, §10.3, §10.4)
- Introduction to Number Theory, Chapter 7: Algebra With Integers
- Introduction to Algebra, Chapter 11: Special Factorizations
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.2)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.