Solution by Anonymous.
The characterisation of all solutions is as follows.
Let F be any solution to FE #7. Equivalently, let V be a subgroup of (R,+) and let S be a set of coset representatives for R/V. Write every x∈R uniquely as x=s+v, where s∈S and v∈V. Choose an arbitrary function t:S→V and define
F(s+v)=t(s)+v.
Let
T=F([0,∞)),D=[0,∞)∪([0,∞)+T).
Then every solution is obtained by defining
f(x)=F(x)for x∈D
and assigning arbitrary values to f(x) for x∈/D.
Indeed, if x,y∈R, then x2,y2≥0, so
f(x2)=F(x2),f(y2)=F(y2).
Moreover, x2+F(y2)∈[0,∞)+T⊆D. Since F is a solution to FE #7,
f(x2+f(y2))=F(x2+F(y2))=F(x2)+F(y2)=f(x2)+f(y2).
It remains to show that all solutions arise this way. Let f be a solution and put
A=[0,∞),h=f∣A,qquadT=h(A),qquadV=⟨T⟩,
where ⟨T⟩ is the additive subgroup generated by T. Replacing x2,y2 by arbitrary a,b∈A, the equation becomes
f(a+h(b))=h(a)+h(b).(1)
If u∈T and a,a+u∈A, then (1) gives
h(a+u)=h(a)+u.
The reverse translation follows by applying this at a−u. By composing such translations, ordering the positive steps before the negative ones so that all intermediate points remain in A, we obtain
h(a+v)=h(a)+v(2)
whenever v∈V and a,a+v∈A.
If V={0}, then h=0, which extends to the zero solution of FE #7. Otherwise, every coset of V meets A. Choose one representative s∈A from each coset and define
F(s+v)=h(s)+v(v∈V).
By the characterisation in FE #7, F is a solution to FE #7, and (2) shows that F=h on A. Finally, (1) gives
f(a+h(b))=h(a)+h(b)=F(a+F(b)),
so f=F on A+T as well. No point outside A∪(A+T) occurs in the original equation, so all remaining values are arbitrary.