35.3.2 problem 2

Internal problem ID [6106]
Book : Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley. 2006
Section : Chapter 8, Ordinary differential equations. Section 3. Linear First-Order Equations. page 403
Problem number : 2
Date solved : Monday, January 27, 2025 at 01:36:21 PM
CAS classification : [_linear]

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

Solution by Maple

Time used: 0.003 (sec). Leaf size: 16

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

Solution by Mathematica

Time used: 0.028 (sec). Leaf size: 20

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