1.8 problem 8

Internal problem ID [2550]

Book: Advanced Mathematica, Book2, Perkin and Perkin, 1992
Section: Chapter 11.3, page 316
Problem number: 8.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {\left (1-x \right ) y^{\prime }-y=0} \end {gather*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 11

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

\[ y \relax (x ) = \frac {c_{1}}{x -1} \]

Solution by Mathematica

Time used: 0.025 (sec). Leaf size: 20

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

\begin{align*} y(x)\to \frac {c_1}{1-x} \\ y(x)\to 0 \\ \end{align*}