When solving the following equation to find y as a function of x:
\begin{equation} dy/dx=y \end{equation}
First I divide both sides by $y$ and multiply both sides by $dx$:
$dy/y=dx$
Then I integrate both sides:
$\ln(y)+C1=x+C2$
Then:
$y=e^{x+C2-C1}=e^{x+C}$
I now know my result is problematic becomes $y=-e^x$ also satisfies $dy/dx=y$ but it is included in my solution: $y=e^{x+C}$. So can you help me find what is wrong with my analysis process and provide the right analysis process.
Thanks.
Update: I said $y=-e^x$ is not included in $y=e^{x+C}$ because $e^C>0$.