I'm a student just getting started with differential equations. I saw this on a video online, and I don't understand how this equation switched forms. Maybe I'm just tired, hehe. A little help would go a long way.
$$\frac{dy}{dx} = g(x)h(y) $$
Is equivalent to
$$g(x)dx+h(y)dy = 0$$
I only got to the part where $dy/h(y) = g(x)dx$. I know I have to subtract, but I end up with $h(y)$ in the denominator.
Edit: I got it from this video at 29:20 https://www.youtube.com/watch?v=WxVaVzxsDb0