Let $f : \mathbb{R} \to \mathbb{R}$ differentiable be such that $$f'(x)=f^2(x)$$ for all $x$ and $f(0)=0$. Show that $f(x)=0$ for all $x$.
My attempt:
Notice that $f'(x)=f^2(x)\geq 0$, thus $f$ is increasing. Since $f(0)=0, f(x)\geq0\; \forall x \geq 0$.
Since $f$ is differentiable, $f$ is continous, therefore given $1> \epsilon >0$, there exists $\delta<1$ such that for $x \in (-\delta,\delta)\implies f(x)<\epsilon<1.$ Take $x=\delta/2$. Then $f(x) = f'(c)\delta/2=f^2(c)\delta/2$. Then $f^2(c) \geq f(x)$. But since $c\in (-\delta,\delta)$, $0\leq f (c)<1 \implies f^2(c) \leq f(c)\implies f(c)\geq f(x)$.
But $c<x$, therefore $f(c)\geq f(x)$ which means $f(c)=f(x)$. Therefore for all $y \in (c,x)$, $f(y)=f(x) \implies f'(y)=f^2(y)=0 \implies f(y)=0$.
Where do I go from here?
Different solution: $$f'(x)=f^2(x)$$ $f(x)=0$ is a trivial solution. If $f(x)\neq 0$, then we can divide by $f^2(x)$: $$\frac{f'(x)}{f^2(x)}=1$$ Now integrate both sides with respect to $x$: $$\int \frac{f'(x)}{f^2(x)} \mathrm{d}x=\int 1 \mathrm{d}x$$ $$-\frac{1}{f(x)}=x+C$$ $$\frac{1}{f(x)}=C-x$$ $$f(x)=\frac{1}{C-x}$$ From this, we have: $f(0)=\frac{1}{C}=0$. But $\nexists C \in \mathbb{R}$ so that $\frac{1}{C}=0$, so there can't be a solution in the form of $f(x)=\frac{1}{C-x}$.
Now let's check the trivial solution: $f(x)=0$ is $0$ at $x=0$. It's the only solution that satisfies the initial conditions, so $f(x)=0$ is the only solution.