24.1.8 problem 2(b)

Internal problem ID [4197]
Book : Elementary Differential equations, Chaundy, 1969
Section : Exercises 3, page 60
Problem number : 2(b)
Date solved : Monday, January 27, 2025 at 08:41:51 AM
CAS classification : [_linear]

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

Solution by Maple

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

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

Solution by Mathematica

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

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