53991812
Solve \(y'=xy\) by separating the variables. State the full general solution, including any constant solution that division could exclude.
Hints
- For nonzero \(y\), move \(y\) to the differential side to obtain a logarithmic integral.
- Integrate the \(x\)-side using the power rule, then exponentiate the constant into a multiplicative constant.
- Check \(y=0\) separately because dividing by \(y\) can remove it.
Solution
1. For \(y\ne0\), separate the variables: \(\frac{1}{y}\,dy=x\,dx\).
2. Antidifferentiate: \(\ln|y|=\frac{x^2}{2}+C\).
3. Exponentiate and absorb the sign and positive factor into one nonzero constant: \(y=Ce^{x^2/2}\), where \(C\ne0\).
4. The divided-out case \(y=0\) is also a solution, so allowing \(C=0\) gives the full family.
Answer
\(y=Ce^{x^2/2}\), where \(C\in\mathbb R\)
