5.22 problem 22

Internal problem ID [11659]

Book: Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi. 2004.
Section: Chapter 2, section 2.3 (Linear equations). Exercises page 56
Problem number: 22.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {2 \left (y+1\right ) x -\left (x^{2}+1\right ) y^{\prime }=0} \] With initial conditions \begin {align*} [y \left (1\right ) = -5] \end {align*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 11

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

\[ y \left (x \right ) = -2 x^{2}-3 \]

Solution by Mathematica

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

DSolve[{2*x*(y[x]+1)-(x^2+1)*y'[x]==0,{y[1]==-5}},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to -2 x^2-3 \]