Internal problem ID [5451]
Book: Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres.
McGraw Hill 1952
Section: Chapter 25. Integration in series. Supplemetary problems. Page 205
Problem number: 10B.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {x y^{\prime }-2 y=1-x} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 12
dsolve(x*diff(y(x),x)=1-x+2*y(x),y(x), singsol=all)
\[ y \left (x \right ) = x -\frac {1}{2}+c_{1} x^{2} \]
✓ Solution by Mathematica
Time used: 0.032 (sec). Leaf size: 16
DSolve[x*y'[x]==1-x+2*y[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to c_1 x^2+x-\frac {1}{2} \]