Let $f : \left[-1,1\right] \to \mathbb R$ be a continuous function. Assume that $$f(2x^2-1)= 2xf(x)$$ for all $x \in \left[-1,1\right]$. Prove that $f(x)=0$ for all $x\in[-1, 1]$.
It is simple for integer numbers. Another fact that I've noticed that $$f(2(-x)^2-1)= (-2x)f(-x)= 2xf(x)$$ $$ x\bigg(f(x)+f(-x)\bigg) =0 $$ Hence, $f(x)$ is odd function for all $x \ne 0$. Help me with the next step, please.
Put $x=\cos(u)$, we get $f(\cos(2u))=2\cos(u)f(\cos(u))$, and by induction $$f(\cos(2^nu))=2^n\prod_{k=0}^{n-1}\cos(2^ku)f(\cos(u)).$$ We multiply by $\sin(u)$, we use $2\sin(u)\cos(u)=\sin(2u)$, and we get that $\sin(u)f(\cos(2^nu))=\sin(2^nu)f(\cos(u))$.
Now let $k$ be an integer, and choose $\displaystyle u=\frac{2k+1}{2^n}\cdot\frac{\pi}{2}$. Then as $f(0)=0$, we get $\displaystyle f(\frac{2k+1}{2^n}\cdot\frac{\pi}{2})=0$. Now if $A=\{\frac{2k+1}{2^n}, k\geq 0, n\geq 0\}$, we know that $A\cap [0,2]$ is dense in $[0,2]$. Hence by continuity we get that $f(\cos(x\frac{\pi}{2}))=0$ for $x\in [0,2]$, and we are done.