7.3.1 problem 1

Internal problem ID [41]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 1. First order differential equations. Section 1.4 (separable equations). Problems at page 43
Problem number : 1
Date solved : Friday, February 07, 2025 at 08:12:48 AM
CAS classification : [_separable]

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

Solution by Maple

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

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

Solution by Mathematica

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

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