Separable equations

When $y' = g(t)\,h(y)$, divide by $h(y)$ and integrate each side in its own variable; the constant solutions where $h(y) = 0$ are lost in the division and must be added back.

From Differential Equations.