4.13 problem 13

Internal problem ID [6194]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 1. What is a differential equation. Section 1.5. Exact Equations. Page 20
Problem number: 13.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_exact, _rational, _Riccati]

\[ \boxed {\frac {y+y^{\prime } x}{1-x^{2} y^{2}}=-x} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 19

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

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

Solution by Mathematica

Time used: 0.142 (sec). Leaf size: 25

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

\[ y(x)\to -\frac {\tanh \left (\frac {1}{2} \left (x^2-2 i c_1\right )\right )}{x} \]