1.1 problem 1

Internal problem ID [1870]

Book: Differential Equations, Nelson, Folley, Coral, 3rd ed, 1964
Section: Exercis 5, page 21
Problem number: 1.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y x +\left (x^{2}+1\right ) y^{\prime }=0} \end {gather*}

Solution by Maple

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

dsolve(x*y(x)+(x^2+1)*diff(y(x),x)=0,y(x), singsol=all)
 

\[ y \relax (x ) = \frac {c_{1}}{\sqrt {x^{2}+1}} \]

Solution by Mathematica

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

DSolve[x*y[x]+(x^2+1)*y'[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*}