8.3.1 problem 1

Internal problem ID [677]
Book : Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section : Section 1.4. Separable equations. Page 43
Problem number : 1
Date solved : Monday, January 27, 2025 at 02:57:30 AM
CAS classification : [_separable]

\begin{align*} y^{\prime }+2 y x&=0 \end{align*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 12

dsolve(2*x*y(x)+diff(y(x),x) = 0,y(x), singsol=all)
 
\[ y = c_1 \,{\mathrm e}^{-x^{2}} \]

Solution by Mathematica

Time used: 0.021 (sec). Leaf size: 20

DSolve[2*x*y[x]+D[y[x],x] == 0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to c_1 e^{-x^2} \\ y(x)\to 0 \\ \end{align*}