3.26 problem 27

Internal problem ID [953]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 2, First order equations. separable equations. Section 2.2 Page 52
Problem number: 27.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }-a y+b y^{2}=0} \] With initial conditions \begin {align*} [y \left (0\right ) = \operatorname {y0}] \end {align*}

Solution by Maple

Time used: 0.032 (sec). Leaf size: 25

dsolve([diff(y(x),x)=a*y(x)-b*y(x)^2,y(0) = y0],y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {a \operatorname {y0}}{\left (-\operatorname {y0} b +a \right ) {\mathrm e}^{-a x}+\operatorname {y0} b} \]

Solution by Mathematica

Time used: 0.854 (sec). Leaf size: 27

DSolve[{y'[x]==a*y[x]-b*y[x]^2,y[0]==y0},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {a \text {y0} e^{a x}}{b \text {y0} \left (e^{a x}-1\right )+a} \]