IMC / 2008 / Problems / Day 1, P1
IMC 2008 · Day 1 · P1
mediumFind all continuous functions such that is rational for all reals and such that is rational.
Solution (official)
We prove that where and . These functions obviously satify the conditions.
Suppose that a function fulfills the required properties. For an arbitrary rational , consider the function . This is a continuous function which attains only rational values, therefore is constant.
Set and . Let be an arbitrary positive integer and let . Since for all , we have and for . In the case we get , so . Hence, and then for all integers and .
So, we have for all rational . Since the function is continous and the rational numbers form a dense subset of , the same holds for all real .
How the field did
Score distribution (field cohort)
Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.