2022 AMC 10B Problem 7
For how many values of the constant will the polynomial have two distinct integer roots?
Show solution without answering
Key insight
The roots multiply to 36 and add to minus k. List the pairs that multiply to 36, drop 6 × 6, and include the negative pairs.
Solution
If a quadratic has roots and , it factors as . Multiply out to compare:
So and . The plan: list the pairs of integers that multiply to , then read off .
- Positive pairs. .
- Drop . The roots must be different, so the pair is not allowed. Four pairs are left.
- Their values of . The sums are , so .
- Negative pairs. Two negative numbers also multiply to a positive number: , , , . Their sums are , so .
- Mixed signs are impossible. One positive and one negative root would multiply to a negative number, not .
- Count. The eight values are all different.
The answer is .
Why this works
For , the roots multiply to and add to (these facts are called Vieta's formulas). So "integer roots" turns into "pairs of whole numbers that multiply to ", and each pair gives one value of . Remember the negative pairs, throw out the pair with two equal numbers, and do not count a pair twice just because you can swap its order.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
If the integer roots are and , Vieta's formulas give and . So is determined by the unordered pair , and each unordered pair with a different sum gives a different .
Factor pairs of with both factors positive: . The pair is excluded because the roots must be distinct. The four remaining pairs have sums , giving .
Both roots may also be negative: give . (Roots of opposite sign would have a negative product, impossible.)
All eight sums are different, so there are values of .
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 1: Integers: The Basics (§1.4, §1.5)
- 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.