Internal problem ID [508]
Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and
DiPrima
Section: Section 2.2. Page 48
Problem number: 31.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_homogeneous, `class A`], _rational, _Riccati]
\[ \boxed {y^{\prime }-\frac {x^{2}+y x +y^{2}}{x^{2}}=0} \]
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 11
dsolve(diff(y(x),x) = (x^2+x*y(x)+y(x)^2)/x^2,y(x), singsol=all)
\[ y \left (x \right ) = \tan \left (\ln \left (x \right )+c_{1} \right ) x \]
✓ Solution by Mathematica
Time used: 0.199 (sec). Leaf size: 13
DSolve[y'[x] == (x^2+x*y[x]+y[x]^2)/x^2,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x \tan (\log (x)+c_1) \]