1.12 problem 12

Internal problem ID [6302]

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]

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

Solution by Maple

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

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

\[ y \left (x \right ) = 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*}