2.1 problem 1

Internal problem ID [4241]

Book: Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley. 2006
Section: Chapter 8, Ordinary differential equations. Section 2. Separable equations. page 398
Problem number: 1.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

\[ y \relax (x ) = \frac {3 x}{2} \]

Solution by Mathematica

Time used: 0.034 (sec). Leaf size: 10

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

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