For a first order ODE in the form of
$$ \frac{dy}{dx}= f(x)g(y) $$
it can be solved by
$$ \int \frac{dy}{g(y)} = \int f(x)dx $$
I feel quite uncomfortable with this method. It seems to me that $\frac{dy}{dx}$ is a function which happens to have a (sensible) notation $\frac{dy}{dx}$. It feels unjustified to be able to multiply part of a notation as if it is a first class mathematical object. But it seems that a lot of methods to solve differential equations rely upon these sort of free form $dx$, $dy$ manipulation.
I searched a bit on this question. It seems that $dx$ and $dy$ can have meaning in the theory of manifolds? I would like to know more about it. In particular, I want some illumination on the connection between manifold theory and ordinary calculus. So I guess I'm looking for something like, $\frac{dy}{dx}$ can actually be reinterpreted in the framework of differential geometry, so that all of the manipulations are justified. But I'm not really sure.