5.14 problem 10

Internal problem ID [988]

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: 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

Time used: 0.047 (sec). Leaf size: 16

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

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

Solution by Mathematica

Time used: 0.012 (sec). Leaf size: 14

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

\[ y(x)\to \left (1-2 e^x\right )^2 \]