MathLabs

Problem 2

Let R\mathbb{R} be the set of real numbers. Determine all functions f:R→Rf:\mathbb{R}\rightarrow\mathbb{R} such that, for all real numbers xx and yy, f(f(x)f(y))+f(x+y)=f(xy).f(f(x)f(y)) + f(x+y) = f(xy).
Step 6 of 6: Finishing the computation
f(x)=1−xf(x)=1-x
Detailed analysis

Apply the identity f(f(x))=1−f(x)f(f(x))=1-f(x) at the point f(x)f(x) itself: f(f(f(x)))=1−f(f(x))=1−(1−f(x))=f(x)f(f(f(x)))=1-f(f(x))=1-(1-f(x))=f(x). On the other hand, substituting the identity directly, f(f(f(x)))=f(1−f(x))f(f(f(x)))=f(1-f(x)). So f(1−f(x))=f(x)f(1-f(x))=f(x), and injectivity gives 1−f(x)=x1-f(x)=x, i.e. f(x)=1−xf(x)=1-x for every xx. Undoing the sign reduction of Step 1 (every solution is ff or −f-f for some ff with f(0)≥0f(0)\ge 0), the complete list of solutions is f≡0f\equiv 0, f(x)=1−xf(x)=1-x, and f(x)=x−1f(x)=x-1.