12.10 problem 284

Internal problem ID [15146]

Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Section 12. Miscellaneous problems. Exercises page 93
Problem number: 284.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.005 (sec). Leaf size: 24

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

\[ y(x)\to -\frac {1}{2} (x-1)^2+x+2 \log (x-1)+c_1 \]