Suppose a function $f:\mathbb{R}\to\mathbb{R}$ that satisfies a relation $$f(a^2+b^2)=f(a)^2+f(b)^2$$ Find all such functions. It is also given that $f(1)>0.$
Putting $a=1$ and $b=0$ yields
$f(0)^2=f(1)[1-f(1)]$
$\implies 0<f(1)\le1$
Let's say I do $f(1)=1$ then we immediately have $f(0)=0$ and as $f(2)=f(1^2+1^2)$ we will also have $f(2)=2$.
This suggests that $f(k)=k$ can be a possible solution. Now if I put this in my original equation, it is indeed satisfying the relation, but I don't think that this is the correct way to prove that $f(k)=k$ is a solution to this functional equation.
How can I prove it mathematically without presuming that it is a possible solution? Also how can I find other solutions, if they exist.
Any help is greatly appreciated.