73.3.44 problem 4.8 (c)

Internal problem ID [15078]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 4. SEPARABLE FIRST ORDER EQUATIONS. Additional exercises. page 90
Problem number : 4.8 (c)
Date solved : Tuesday, January 28, 2025 at 07:29:54 AM
CAS classification : [_separable]

\begin{align*} y^{\prime }&=2 x -1+2 y x -y \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=-1 \end{align*}

Solution by Maple

Time used: 0.004 (sec). Leaf size: 5

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

Solution by Mathematica

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

DSolve[{D[y[x],x]==2*x-1+2*x*y[x]-y[x],{y[0]==-1}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -1 \]