82.2.1 problem Ex. 1

Internal problem ID [18727]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter II. Equations of the first order and of the first degree. Exercises at page 14
Problem number : Ex. 1
Date solved : Tuesday, January 28, 2025 at 12:12:30 PM
CAS classification : [_separable]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.024 (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*}