29.8.31 problem 236

Internal problem ID [4836]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 8
Problem number : 236
Date solved : Monday, January 27, 2025 at 09:41:57 AM
CAS classification : [_linear]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.031 (sec). Leaf size: 21

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