2.5 problem Problem 5

Internal problem ID [2117]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.4, Separable Differential Equations. page 43
Problem number: Problem 5.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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