What you need to know
- A separable equation can be written as a product of a function of \(x\) and a function of \(y\).
- Move the \(y\)-terms beside \(dy\), and the \(x\)-terms beside \(dx\).
- Integrate both sides, including a constant.
- Check constant solutions before dividing by \(g(y)\).
Essential formula
\[\frac{dy}{dx}=f(x)g(y)\]
\[\frac{1}{g(y)}\,dy=f(x)\,dx\]
\[\boxed{\int\frac{1}{g(y)}\,dy=\int f(x)\,dx+C}\]
Separating variables is valid where the divided expression is nonzero. Check any excluded constant solutions in the original equation.