Find all continuous real valued function such that $$(f(x))^2+C=\int\limits_0^xf(t)dt$$ for some $C\in\mathbb{R}$
If I set $F(x)=\int\limits_0^xf(t)dt$ then $F$ is differentiable and $F'(x)=f(x)$,
so $(f(x))^2+C$ is diferentible as it does $\sqrt{F(x)-C}=|f(x)|$,
and then $F'(x)=(|f(x)|^2+C)'=2|f(x)||f(x)|'=f(x)$.
and then I don't know how to continue. I just see the solution $f(x)=0$ whith $C=0$.
suppose $f$ is differentiable. differentiating $$ (f(x))^2+C=\int\limits_0^xf(t)dt \tag 1$$ gives us $$2ff' = f \to f' = \frac12, f = \frac12x + k$$ puuting it back in $(1)$ we get $$\left(\frac12x + k\right)^2 + C= \frac14 x^2 + kx $$ putting $x = 0$ connect $$ C = -k^2, \quad f = \frac12x+k.$$