15.35 problem 443

Internal problem ID [3697]

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

CAS Maple gives this as type [[_homogeneous, `class C`], _exact, _rational, [_Abel, `2nd type`, `class A`]]

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

Solution by Maple

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

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

\begin{align*} y \left (x \right ) = -2-x -\sqrt {-6 c_{1} +6 x +4} y \left (x \right ) = -2-x +\sqrt {-6 c_{1} +6 x +4} \end{align*}

Solution by Mathematica

Time used: 0.126 (sec). Leaf size: 43

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

\begin{align*} y(x)\to -x-\sqrt {6 x+4+c_1}-2 y(x)\to -x+\sqrt {6 x+4+c_1}-2 \end{align*}