18.1.5 problem Problem 14.3 (b)

Internal problem ID [3461]
Book : Mathematical methods for physics and engineering, Riley, Hobson, Bence, second edition, 2002
Section : Chapter 14, First order ordinary differential equations. 14.4 Exercises, page 490
Problem number : Problem 14.3 (b)
Date solved : Monday, January 27, 2025 at 07:37:35 AM
CAS classification : [_linear]

\begin{align*} 2 x y^{\prime }+3 x +y&=0 \end{align*}

Solution by Maple

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

dsolve(2*x*diff(y(x),x)+3*x+y(x)=0,y(x), singsol=all)
 
\[ y \left (x \right ) = -x +\frac {c_{1}}{\sqrt {x}} \]

Solution by Mathematica

Time used: 0.027 (sec). Leaf size: 17

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