69.1.23 problem 40

Internal problem ID [14176]
Book : DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section : Chapter 8. Differential equations. Exercises page 595
Problem number : 40
Date solved : Tuesday, January 28, 2025 at 06:18:58 AM
CAS classification : [_linear]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.025 (sec). Leaf size: 17

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