MathLabs

Problem 5

Let R\mathbb{R} be the set of real numbers. Determine all functions f:R→Rf:\mathbb{R}\to\mathbb{R} satisfying the equation f(x+f(x+y))+f(xy)=x+f(x+y)+yf(x)f(x+f(x+y))+f(xy)=x+f(x+y)+yf(x) for all real numbers xx and yy.
Step 5 of 5: Case f(0)=0f(0)=0: finishing with f(1)=1f(1)=1 and oddness
In plain words

Adding the equation at (1,y)(1,y) to its "mirror image" at (−1,−y)(-1,-y) cancels the unknown term f(1+f(y+1))f(1+f(y+1)) and leaves f(y)=yf(y)=y directly.

P(1,y): f(1+f(y+1))+f(y)=1+f(y+1)+yP(−1,−y)+oddness ⇒ f(y)=yP(1,y):\ f\big(1+f(y+1)\big)+f(y)=1+f(y+1)+y \qquad P(-1,-y)+\text{oddness}\ \Rightarrow\ f(y)=y
Detailed analysis

Setting x=1x=1 in the original equation and using f(1)=1f(1)=1 gives, for every yy: f(1+f(y+1))+f(y)=1+f(y+1)+yf\big(1+f(y+1)\big)+f(y)=1+f(y+1)+y. Now setting (x,y)↦(−1,−y)(x,y)\mapsto(-1,-y) and using f(−1)=−1f(-1)=-1 gives f(−1+f(−1−y))+f(y)=−1+f(−1−y)+yf\big(-1+f(-1-y)\big)+f(y)=-1+f(-1-y)+y. Since ff is odd, f(−1−y)=−f(y+1)f(-1-y)=-f(y+1), and applying oddness once more to the outer value, f(−1−f(y+1))=−f(1+f(y+1))f\big(-1-f(y+1)\big)=-f\big(1+f(y+1)\big); substituting these gives −f(1+f(y+1))+f(y)=−1−f(y+1)+y-f\big(1+f(y+1)\big)+f(y)=-1-f(y+1)+y. Adding this to the first displayed equation, the terms f(1+f(y+1))f\big(1+f(y+1)\big) cancel: 2f(y)=2y2f(y)=2y, so f(y)=yf(y)=y for every real yy. One checks directly that f(x)=xf(x)=x satisfies the original equation.