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 3 of 5: Case f(0)=0f(0)=0: a second family of fixed points
In plain words

If two consecutive integers are both fixed points, so is the next one up; combining this with the two known families of fixed points bridges a gap of 22.

f(0)=0 ⇒ f(−1)=−1, f(1)=1, f(x+f(x−1))=x+f(x−1)f(0)=0 \ \Rightarrow\ f(-1)=-1,\ f(1)=1,\ f\big(x+f(x-1)\big)=x+f(x-1)
Detailed analysis

Now suppose f(0)=0f(0)=0. Setting y=0y=0 in the equation with xx replaced by x+1x+1 gives f(x+1+f(x+1))+f(0)=x+1+f(x+1)f\big(x+1+f(x+1)\big)+f(0)=x+1+f(x+1), so (since f(0)=0f(0)=0) x+1+f(x+1)x+1+f(x+1) is also a fixed point, for every xx. Setting x=−1x=-1 in the first step's fact (x+f(x+1)x+f(x+1) is fixed) gives −1+f(0)=−1-1+f(0)=-1 is fixed, i.e. f(−1)=−1f(-1)=-1. Setting x=1,y=−1x=1,y=-1 in the original equation and using f(−1)=−1f(-1)=-1 gives f(1)+f(−1)=1+f(0)−f(1)f(1)+f(-1)=1+f(0)-f(1), i.e. f(1)−1=1−f(1)f(1)-1=1-f(1), so f(1)=1f(1)=1. Now for every xx, both y0=x+f(x+1)y_0=x+f(x+1) and y0+1=x+1+f(x+1)y_0+1=x+1+f(x+1) are fixed points; setting x=1,y=y0x=1,y=y_0 in the original equation and simplifying with f(1)=1f(1)=1 shows that whenever y0y_0 and y0+1y_0+1 are both fixed points, so is y0+2y_0+2. Hence x+f(x+1)+2x+f(x+1)+2 is a fixed point for every xx; replacing xx by x−2x-2 turns this into: x+f(x−1)x+f(x-1) is a fixed point for every xx, i.e. f(x+f(x−1))=x+f(x−1)f\big(x+f(x-1)\big)=x+f(x-1).