5.17 problem 21

Internal problem ID [1982]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 9, page 38
Problem number: 21.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

Time used: 0.015 (sec). Leaf size: 14

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

\[ y \left (x \right ) = \frac {4 x}{x^{2}+1} \]

Solution by Mathematica

Time used: 0.042 (sec). Leaf size: 15

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

\[ y(x)\to \frac {4 x}{x^2+1} \]