Internal problem ID [5776]
Book: Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold
Scientific. Singapore. 1995
Section: Chapter 1. First order differential equations. Section 1.2 Homogeneous equations
problems. page 12
Problem number: 28.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+\frac {x +2 y}{x}=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 13
dsolve(diff(y(x),x)+(x+2*y(x))/x=0,y(x), singsol=all)
\[ y \left (x \right ) = -\frac {x}{3}+\frac {c_{1}}{x^{2}} \]
✓ Solution by Mathematica
Time used: 0.025 (sec). Leaf size: 17
DSolve[y'[x]+(x+2*y[x])/x==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -\frac {x}{3}+\frac {c_1}{x^2} \]