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

IMC / 2006 / Problems / Day 2, P8

IMC 2006 · Day 2 · P8

easy

Find all functions f:RRf : \mathbb{R} \longrightarrow \mathbb{R} such that for any real numbers a<ba < b, the image f([a,b])f\bigl( [a,b] \bigr) is a closed interval of length bab - a.

Solution (official)

The functions f(x)=x+cf(x) = x + c and f(x)=x+cf(x) = -x + c with some constant cc obviously satisfy the condition of the problem. We will prove now that these are the only functions with the desired property.

Let ff be such a function. Then ff clearly satisfies f(x)f(y)xy|f(x) - f(y)| \le |x - y| for all x,yx, y; therefore, ff is continuous. Given x,yx, y with x<yx < y, let a,b[x,y]a, b \in [x, y] be such that f(a)f(a) is the maximum and f(b)f(b) is the minimum of ff on [x,y][x, y]. Then f([x,y])=[f(b),f(a)]f([x, y]) = [f(b), f(a)]; hence yx=f(a)f(b)abyxy - x = f(a) - f(b) \le |a - b| \le y - x This implies {a,b}={x,y}\{a, b\} = \{x, y\}, and therefore ff is a monotone function. Suppose ff is increasing. Then f(x)f(y)=xyf(x) - f(y) = x - y implies f(x)x=f(y)yf(x) - x = f(y) - y, which says that f(x)=x+cf(x) = x + c for some constant cc. Similarly, the case of a decreasing function ff leads to f(x)=x+cf(x) = -x + c for some constant cc.

How the field did

contestants scored
237
average (of 20)
16.32
solved (≥ 80%)
75.9%
near-0 (≤ 10%)
3.8%
discrimination
0.41

Score distribution (field cohort)

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

Similar problems

IMC 2023 · Day 1 · P1easyavg 7.7/10 · solved 72% · near-0 6% · disc 0.46
IMC 2002 · Day 1 · P2mediumavg 6.2/10 · solved 49% · near-0 16% · disc 0.53
IMC 2008 · Day 1 · P1mediumavg 5.4/10 · solved 48% · near-0 40% · disc 0.42
IMC 2018 · Day 1 · P4hardavg 1.7/10 · solved 16% · near-0 81% · disc 0.48