This is a question posed to me by a friend two days ago. It goes as follows:
Find all functions $f : \mathbb{R} \to \mathbb{R}$ such that $f\left(f(x)^2 + f(y)\right)= xf(x) + y$ for all $x, y \in \mathbb{R}$.
I tried putting $x=y=0$ but didn't get a satisfactory result. Then I decided to plug in a few values and check, but that didn't help either. So far, I haven't made any progress. Any help (either a full solution or a hint) will be appreciated. Thanks!
Edit 1: $f(x)=x$ seems to be a solution, but the million-dollar question is are there any other solutions...
Edit 2: Functions satisfying: $f(f(x)^2+f(y))=xf(x)+y$
I found a link to my question. However, what I didn't understand is how $f(x)^2=x(f(x))$ implies that $f(x)=x$. If anyone can explain this part, I'll be grateful. Thanks!