29.8.16 problem 221

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

\begin{align*} \left (1+x \right ) y^{\prime }&=x^{3} \left (4+3 x \right )+y \end{align*}

Solution by Maple

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

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

Solution by Mathematica

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

DSolve[(1+x) D[y[x],x]==x^3(4+3 x)+y[x],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x^4+(4+c_1) x+4+c_1 \]