uniolympiads Ελληνικά

IMC 2006, Day 2, Problem 2

Find all functions f ⁣:R→Rf\colon \mathbb{R} \to \mathbb{R} such that for any real numbers a<ba < b, the image f([a,b])f\big([a, b]\big) is a closed interval of length b−ab - a.

Original from the official PDFFind all functions f : R −→ R such that for any real numbers a < b, the image f [a, b] is a closed interval of length b − a. (20 points) 1

This transcription was compared symbol by symbol with the original, but not yet by a person.

Time on this problem 0:00

Work for at least 45 minutes before opening the solution.

Official solution

Solution. 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)∣≤∣x−y∣|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

y−x=f(a)−f(b)≤∣a−b∣≤y−xy-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)=x−yf(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.

Transcribed from the official solutions, page 2. This transcription has not been checked a second time; if in doubt, look at the original.

Archive problem: the statement is the official text (transcribed, with the original above). Subject classification and difficulty were estimated automatically; hints and a worked solution are added over time.

How did it go?