35.2.1 problem 1

Internal problem ID [6093]
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
Date solved : Monday, January 27, 2025 at 01:35:41 PM
CAS classification : [_separable]

\begin{align*} x y^{\prime }&=y \end{align*}

With initial conditions

\begin{align*} y \left (2\right )&=3 \end{align*}

Solution by Maple

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

dsolve([x*diff(y(x),x)=y(x),y(2) = 3],y(x), singsol=all)
 
\[ y = \frac {3 x}{2} \]

Solution by Mathematica

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

DSolve[{x*D[y[x],x]==y[x],{y[2]==3}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {3 x}{2} \]