Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2008 / Problems / Day 1, P1

IMC 2008 · Day 1 · P1

medium

Find all continuous functions f:RRf : \mathbb{R} \to \mathbb{R} such that f(x)f(y)f(x) - f(y) is rational for all reals xx and yy such that xyx - y is rational.

Solution (official)

We prove that f(x)=ax+bf(x) = ax + b where aQa \in \mathbb{Q} and bRb \in \mathbb{R}. These functions obviously satify the conditions.

Suppose that a function f(x)f(x) fulfills the required properties. For an arbitrary rational qq, consider the function gq(x)=f(x+q)f(x)g_q(x) = f(x + q) - f(x). This is a continuous function which attains only rational values, therefore gqg_q is constant.

Set a=f(1)f(0)a = f(1) - f(0) and b=f(0)b = f(0). Let nn be an arbitrary positive integer and let r=f(1/n)f(0)r = f(1/n) - f(0). Since f(x+1/n)f(x)=f(1/n)f(0)=rf(x + 1/n) - f(x) = f(1/n) - f(0) = r for all xx, we have f(k/n)f(0)=(f(1/n)f(0))+(f(2/n)f(1/n))++(f(k/n)f((k1)/n)=krf(k/n) - f(0) = (f(1/n) - f(0)) + (f(2/n) - f(1/n)) + \dots + (f(k/n) - f((k-1)/n) = kr and f(k/n)f(0)=(f(0)f(1/n))(f(1/n)f(2/n))(f((k1)/n)f(k/n)=krf(-k/n) - f(0) = -(f(0) - f(-1/n)) - (f(-1/n) - f(-2/n)) - \dots - (f(-(k-1)/n) - f(-k/n) = -kr for k1k \ge 1. In the case k=nk = n we get a=f(1)f(0)=nra = f(1) - f(0) = nr, so r=a/nr = a/n. Hence, f(k/n)f(0)=kr=ak/nf(k/n) - f(0) = kr = ak/n and then f(k/n)=ak/n+bf(k/n) = a \cdot k/n + b for all integers kk and n>0n > 0.

So, we have f(x)=ax+bf(x) = ax + b for all rational xx. Since the function ff is continous and the rational numbers form a dense subset of R\mathbb{R}, the same holds for all real xx.

How the field did

contestants scored
255
average (of 20)
10.81
solved (≥ 80%)
48.2%
near-0 (≤ 10%)
40.4%
discrimination
0.42

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2002 · Day 1 · P2mediumavg 6.2/10 · solved 49% · near-0 16% · disc 0.53
IMC 2023 · Day 1 · P1easyavg 7.7/10 · solved 72% · near-0 6% · disc 0.46
IMC 2006 · Day 2 · P8easyavg 8.2/10 · solved 76% · near-0 4% · disc 0.41
IMC 2018 · Day 1 · P4hardavg 1.7/10 · solved 16% · near-0 81% · disc 0.48