I'm currently studying autonomous equations : $y'=f(y)$
If I have a Cauchy problem such that : $$y'=f(y), \qquad y(t_0)=y_0$$ My first quesiont is the following : can I say that if $f(y_0)\neq 0$ and $f$ is localy Lipschitz continuous around $y_0$, then the solution is unique ? Then I would like to solve this type of equation. This is my reasoning :
$$\frac{dy(t)}{dt}=f(y(t))$$So, $$\frac{1}{f(y(t))}=\frac{dt}{dy(t)}$$ So, by integrating with respect to $y$ between $y$ and $y_0$, $$\int_{y_0}^{y}\frac{1}{f(s(t))}ds=\int_{y_0}^{y}\frac{dt}{ds(t)}dy=\int_{t_0}^{t}\frac{dt}{ds(t)}dt=t-t_0$$ The last equality was obtain by the change of variable $dt=dy$ and because $t$ is a function of $s$ $(t=t(s))$
$$t=t_0+\int_{y}^{y_0}\frac{1}{f(s(t))}ds$$ Which can give us the solution. Is that correct ? If it is, is that valid all the time ?