15.1.1 problem 1

Internal problem ID [2841]
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 : 1
Date solved : Monday, January 27, 2025 at 06:19:31 AM
CAS classification : [_separable]

\begin{align*} y x +\left (x^{2}+1\right ) y^{\prime }&=0 \end{align*}

Solution by Maple

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

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

Solution by Mathematica

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

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