Maths Olympiad Prep

Library / /26 of 86

Algebra Difficulty 5.5 AIME, harder Prove it Estonia

In a math period, the teacher asks pupils to solve quadratic equations of the form x2+px+q=0x^2 + px + q = 0 where pp and qq are some integers. The teacher obtains every new equation by either increasing by 1 or decreasing by 1 the value of either pp or qq in the equation just solved. In the initial equation, p=2020p = 2020 and q=2010q = 2010, whereas in the last equation, p=2010p = 2010 and q=2020q = 2020. Is it definitely true that both solutions of at least one equation solved during the period are integers?

Solution

In the first equation, one has pq=10p - q = 10, while in the last equation, one has pq=10p - q = -10. At each step, either pp or qq changes exactly by 1, whence also pqp - q changes exactly by 1. Thus at some step one must have an equation where pq=1p - q = 1, or equivalently, p=q+1p = q + 1. The equation x2+(q+1)x+q=0x^2 + (q + 1)x + q = 0 has integral solutions 1-1 and q-q.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.