1.5 problem 5

Internal problem ID [1874]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 5, page 21
Problem number: 5.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }-2 y x=0} \]

Solution by Maple

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

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

\[ y \left (x \right ) = {\mathrm e}^{x^{2}} c_{1} \]

Solution by Mathematica

Time used: 0.024 (sec). Leaf size: 18

DSolve[y'[x]==2*x*y[x],y[x],x,IncludeSingularSolutions -> True]
 

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