8.17 problem 222

Internal problem ID [3478]

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

CAS Maple gives this as type [_linear]

\[ \boxed {\left (x +1\right ) y^{\prime }-2 y=\left (x +1\right )^{4}} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.032 (sec). Leaf size: 22

DSolve[(1+x) y'[x]==(1+x)^4+2 y[x],y[x],x,IncludeSingularSolutions -> True]
 

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