12.13 problem 287

Internal problem ID [15149]

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: 287.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {\left (2 x -1\right ) y^{\prime }-2 y=\frac {1-4 x}{x^{2}}} \]

Solution by Maple

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

dsolve((2*x-1)*diff(y(x),x)-2*y(x)=(1-4*x)/x^2,y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.042 (sec). Leaf size: 18

DSolve[(2*x-1)*y'[x]-2*y[x]==(1-4*x)/x^2,y[x],x,IncludeSingularSolutions -> True]
 

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