4.33 problem 98

Internal problem ID [15005]

Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Section 4. Equations with variables separable and equations reducible to them. Exercises page 38
Problem number: 98.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }-2 x \left (\pi +y\right )=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 14

dsolve(diff(y(x),x)=2*x*(Pi+y(x)),y(x), singsol=all)
 

\[ y = -\pi +c_{1} {\mathrm e}^{x^{2}} \]

Solution by Mathematica

Time used: 0.042 (sec). Leaf size: 24

DSolve[y'[x]==2*x*(Pi+y[x]),y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\pi +c_1 e^{x^2} \\ y(x)\to -\pi \\ \end{align*}