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 1 of 6: Trivial solutions and a sign symmetry
f≡0,f(x)=x−1,f(x)=1−xf\equiv 0,\quad f(x)=x-1,\quad f(x)=1-x
Detailed analysis

Direct substitution checks that f≡0f\equiv 0, f(x)=x−1f(x)=x-1, and f(x)=1−xf(x)=1-x all satisfy f(f(x)f(y))+f(x+y)=f(xy)f(f(x)f(y))+f(x+y)=f(xy) for every x,yx,y. Also, if ff is a solution then so is −f-f (replacing ff by −f-f turns the equation into −f((−f(x))(−f(y)))−f(x+y)=−f(xy)-f((-f(x))(-f(y)))-f(x+y)=-f(xy), exactly the same equation for −f-f, using (−f(x))(−f(y))=f(x)f(y)(-f(x))(-f(y))=f(x)f(y)). So it suffices to find all solutions with f(0)≥0f(0)\ge 0, and every other solution is the negative of one of these.