MathLabs

Problem 3

Let R+\mathbb{R}_+ denote the set of positive real numbers. Determine all functions f:R+→Rf:\mathbb{R}_+\to\mathbb{R} such that for all x,y,z∈R+x,y,z\in\mathbb{R}_+, ∣x−y∣<∣y−z∣ if and only if ∣f(x)−f(y)∣<∣f(y)−f(z)∣.|x-y|<|y-z|\ \text{if and only if}\ |f(x)-f(y)|<|f(y)-f(z)|.
Step 3 of 5: Derive the midpoint property
y=x+z2  ⟹  ∣y−x∣=∣y−z∣  ⟹  ∣f(x)−f(y)∣=∣f(y)−f(z)∣  ⟹  f(y)=f(x)+f(z)2y=\tfrac{x+z}{2} \implies |y-x|=|y-z| \implies |f(x)-f(y)|=|f(y)-f(z)| \implies f(y)=\tfrac{f(x)+f(z)}{2}
Detailed analysis

For x≠zx\ne z, take y=x+z2y=\tfrac{x+z}{2}, so ∣y−x∣=∣y−z∣|y-x|=|y-z|. By Step 1, ∣f(x)−f(y)∣=∣f(y)−f(z)∣|f(x)-f(y)|=|f(y)-f(z)|. Since f(x)≠f(z)f(x)\ne f(z), exactly one of f(x),f(y),f(z)f(x),f(y),f(z) lies between the other two, and combined with injectivity this forces f(y)=f(x)+f(z)2f(y)=\tfrac{f(x)+f(z)}{2}.