74.1.24 problem 31

Internal problem ID [15804]
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
Date solved : Tuesday, January 28, 2025 at 08:07:48 AM
CAS classification : [_linear]

\begin{align*} y^{\prime }&=-\frac {2 y}{x}-3 \end{align*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 13

dsolve(diff(y(x),x)=-2*y(x)/x-3,y(x), singsol=all)
 
\[ y = -x +\frac {c_{1}}{x^{2}} \]

Solution by Mathematica

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

DSolve[D[y[x],x]==-2*y[x]/x-3,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -x+\frac {c_1}{x^2} \]