8.17 problem 222

Internal problem ID [2970]

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]

Solve \begin {gather*} \boxed {\left (x +1\right ) y^{\prime }-\left (x +1\right )^{4}-2 y=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to (x+1)^2 \left (\frac {x^2}{2}+x+c_1\right ) \\ \end{align*}