69.1.11 problem 11

Internal problem ID [14164]
Book : DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section : Chapter 8. Differential equations. Exercises page 595
Problem number : 11
Date solved : Tuesday, January 28, 2025 at 06:18:26 AM
CAS classification : [_separable]

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

Solution by Maple

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

dsolve((1+y(x))-(1-x)*diff(y(x),x)=0,y(x), singsol=all)
 
\[ y = \frac {-x +c_{1}}{x -1} \]

Solution by Mathematica

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

DSolve[(1+y[x])-(1-x)*D[y[x],x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to \frac {x+c_1}{1-x} \\ y(x)\to -1 \\ \end{align*}