1.130 problem 189

Internal problem ID [12227]

Book: DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section: Chapter 8. Differential equations. Exercises page 595
Problem number: 189.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.015 (sec). Leaf size: 21

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

\[ y \left (x \right ) = -x -3 \operatorname {LambertW}\left (-\frac {{\mathrm e}^{\frac {x}{3}} c_{1} {\mathrm e}^{-\frac {1}{3}}}{3}\right )-1 \]

Solution by Mathematica

Time used: 5.545 (sec). Leaf size: 35

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

\begin{align*} y(x)\to -3 W\left (-e^{\frac {x}{3}-1+c_1}\right )-x-1 y(x)\to -x-1 \end{align*}