15.8.1 problem 1

Internal problem ID [3004]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 12, page 46
Problem number : 1
Date solved : Monday, January 27, 2025 at 07:07:24 AM
CAS classification : [_separable]

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

Solution by Maple

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

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

Solution by Mathematica

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

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