7.6 Finding General Solutions Using Separation of Variables
- Syllabus
- 2020
- Topic
- 7.6
- Level
- —
A first-order equation is separable when it can be written as dy/dx=f(x)g(y). Rearrange it so one side contains only y and dy and the other only x and dx, then antidifferentiate both sides.
\frac{1}{g(y)},dy=f(x),dx\qquad\Longrightarrow\qquad\int\frac{1}{g(y)},dy=\int f(x),dx+C
For dy/dx=xy, first assume y=0 and write dy/y=xdx. Then ln∣y∣=x2/2+C, so y=Cex2/2 after absorbing sign and magnitude into C. Differentiation gives y′=Cxex2/2=xy, confirming the family.
Dividing by g(y) can discard constant solutions where g(y)=0. Here division by y temporarily excluded y=0; checking the original equation shows it is also a solution, and it is included by allowing C=0. Do not add unrelated constants to both sides—two antiderivative constants combine into one arbitrary constant.