1.12 problem 12

Internal problem ID [6303]

Book: Own collection of miscellaneous problems
Section: section 1.0
Problem number: 12.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

dsolve([diff(y(x),x) = 2*y(x)/x,y(0) = 0],y(x), singsol=all)
 

\[ y \relax (x ) = c_{1} x^{2} \]

Solution by Mathematica

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

DSolve[{y'[x] == 2*y[x]/x,y[0]==0},y[x],x,IncludeSingularSolutions -> True]
 

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