1.21 problem 21

Internal problem ID [1890]

Book: Differential Equations, Nelson, Folley, Coral, 3rd ed, 1964
Section: Exercis 5, page 21
Problem number: 21.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y^{\prime }-\frac {y}{x}=0} \end {gather*} With initial conditions \begin {align*} [y \relax (1) = 3] \end {align*}

Solution by Maple

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

dsolve([diff(y(x),x)=y(x)/x,y(1) = 3],y(x), singsol=all)
 

\[ y \relax (x ) = 3 x \]

Solution by Mathematica

Time used: 0.023 (sec). Leaf size: 8

DSolve[{y'[x]==y[x]/x,y[1]==3},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to 3 x \\ \end{align*}