Internal problem ID [15047]
Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV,
G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Section 6. Linear equations of the first order. The Bernoulli equation. Exercises page
54
Problem number: 154.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime } x +y=2 x} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 11
dsolve(x*diff(y(x),x)+y(x)=2*x,y(x), singsol=all)
\[ y \left (x \right ) = x +\frac {c_{1}}{x} \]
✓ Solution by Mathematica
Time used: 0.022 (sec). Leaf size: 13
DSolve[x*y'[x]+y[x]==2*x,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x+\frac {c_1}{x} \]