Internal problem ID [13748]
Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton.
Fourth edition 2014. ElScAe. 2014
Section: Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number: 31.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+\frac {2 y}{x}=-3} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 13
dsolve(diff(y(x),x)=-2*y(x)/x-3,y(x), singsol=all)
\[ y \left (x \right ) = -x +\frac {c_{1}}{x^{2}} \]
✓ Solution by Mathematica
Time used: 0.022 (sec). Leaf size: 15
DSolve[y'[x]==-2*y[x]/x-3,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -x+\frac {c_1}{x^2} \]