Let and . Then, the value of is equal to ______.
Solution
Core idea. A condition on the size of a quadratic fixes a range of integers.
Concept refresher. An upward parabola lies below a level between the two roots of , and
Picture the situation. The graph of the function is an upward parabola whose lowest point is just below the axis, so the function never comes near minus 800. The condition therefore only cuts the parabola off at the level 800, at about minus 19.8 on the left and about 20.3 on the right. The integers between these two points form the set.
Approach. Find the range of integers, then sum the quadratic term by term with the standard sums.
Step 1: The range
Since , only matters, that is , which holds for about . Indeed and are allowed, while and are not.
Step 2: The sums
For from to 20 there are 40 integers, with and .
Step 3: The value
So the sum of over the set is .
Answer. 10620
Sanity check. The average of over the 40 integers is , about one third of the largest value 779, as expected for a parabola summed outwards from its vertex.
Common wrong answers
- 11439: Using the symmetric range to 20 adds , which breaks the condition, and gives 11439.
- 10660: Forgetting the constant in each of the 40 terms gives 10660.
Key takeaway
The trap. The linear term shifts the parabola, so the range of integers is not symmetric.
How toppers think. They test the integers next to each end of the range directly.
Remember. Test the integer on each side of both ends of the range.