5.29 problem 145

Internal problem ID [2893]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 5
Problem number: 145.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {y^{\prime } x +y-x^{3}=0} \end {gather*}

Solution by Maple

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

dsolve(x*diff(y(x),x) = x^3-y(x),y(x), singsol=all)
 

\[ y \relax (x ) = \frac {\frac {x^{4}}{4}+c_{1}}{x} \]

Solution by Mathematica

Time used: 0.029 (sec). Leaf size: 19

DSolve[x y'[x]==x^3-y[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {x^3}{4}+\frac {c_1}{x} \\ \end{align*}