36.3.5 problem 5

Internal problem ID [6326]
Book : Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston. Pearson 2018.
Section : Chapter 2, First order differential equations. Section 2.4, Exact equations. Exercises. page 64
Problem number : 5
Date solved : Monday, January 27, 2025 at 01:56:38 PM
CAS classification : [_separable]

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

Solution by Maple

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

dsolve(x*y(x)+diff(y(x),x)=0,y(x), singsol=all)
 
\[ y \left (x \right ) = c_{1} {\mathrm e}^{-\frac {x^{2}}{2}} \]

Solution by Mathematica

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

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