5.12 problem 8

Internal problem ID [986]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 2, First order equations. Transformation of Nonlinear Equations into Separable Equations. Section 2.4 Page 68
Problem number: 8.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

Time used: 0.094 (sec). Leaf size: 21

dsolve([diff(y(x),x)-x*y(x)=x*y(x)^(3/2),y(1) = 4],y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {4}{\left (-2+3 \,{\mathrm e}^{-\frac {\left (x -1\right ) \left (x +1\right )}{4}}\right )^{2}} \]

Solution by Mathematica

Time used: 0.33 (sec). Leaf size: 55

DSolve[{y'[x]-x*y[x]==x*y[x]^(3/2),y[1]==4},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {1}{4} \left (\tanh \left (\frac {1}{8} \left (-8 \text {arctanh}(3)-x^2+1\right )\right )-1\right )^2 \\ y(x)\to \frac {1}{4} \left (\tanh \left (\text {arctanh}(5)-\frac {x^2}{8}+\frac {1}{8}\right )-1\right )^2 \\ \end{align*}