Separable differential equations

5.2. Separable differential equations#

Example: Separation of variables

Given \(y' = xy\), separate the variables and solve:

(5.11)#\[\begin{align} \int \frac{\d{y}}{y} &= \int x \d{x} \\ \ln y &= \frac{x^2}{2} + c_0 \\ y &= e^{x^2/2 + c_0} \\ y &= c e^\frac{x^2}{2} \end{align}\]

Note that here, we are being careful to denote the redefinition of the integration constant (\(c = e^{c_0}\)). This detail may be glossed over at times.