5.29 problem 146

Internal problem ID [3402]

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

CAS Maple gives this as type [_linear]

\[ \boxed {x y^{\prime }-y=x^{3}+1} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {1}{2} x^{3}-1+c_{1} x \]

Solution by Mathematica

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

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

\[ y(x)\to \frac {x^3}{2}+c_1 x-1 \]