Original Question:
Find the continuous function $f:\mathbb{R}\to\mathbb{R}$ that satisfies $f(1)=2$ and $$f\left(x^2+y^2\right)=xf(x)+yf(y)\text,$$ for all $x,y\in\mathbb{R}$.
My Attempt: I plugged in some numbers and got:
- $f(0)=0$
- $f(2)=f(1)+f(1)=4$
- $f(8)=2f(2)+2f(2)=16$
At this point, I conjectured that $f(x)=2x$, substituting it into the condition to verify: $$2\left(x^2+y^2\right)=x\cdot2x+y\cdot2y$$ which is true.
My problem is that how do I make sure that this is the only possible $f$? And guessing doesn't seem like a proper solution here, so if you're willing to provide a standard solution, it will be much appreciated as well.
This problem may sound a little too simple, but I somehow can't get over it.
First taking $y=0$ shows that for all $x\in\Bbb{R}$ you have $$f(x^2)=xf(x)\qquad\text{ and }\qquad f(x^2)=f((-x)^2)=-xf(-x),$$ from which it follows that $f(x)=-f(-x)$ for all $x\in\Bbb{R}$. In particular $f(0)=0$, and for every real $x>0$ and every $n\in\Bbb{N}$ we have by induction that $$f(x)=x^{1-2^{-n}}f(x^{2^{-n}}).\tag{1}$$ As $f$ is continuous it follows that $$f(x)=\lim_{n\to\infty}x^{1-2^{-n}}f(x^{2^{-n}})=xf(1)=2x.$$ It quickly follows that also $f(x)=2x$ if $x<0$.