9.6 problem Ex 6

Internal problem ID [11171]

Book: An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section: Chapter 2, differential equations of the first order and the first degree. Article 16. Integrating factors by inspection. Page 23
Problem number: Ex 6.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class D`], _rational, _Riccati]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

DSolve[x*y'[x]-y[x]==x^2+y[x]^2,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to x \tan (x+c_1) \]