2.29 problem 29

Internal problem ID [507]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.2. Page 48
Problem number: 29.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }-\frac {b +a y}{d +c y}=0} \]

Solution by Maple

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

dsolve(diff(y(x),x) = (b+a*y(x))/(d+c*y(x)),y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {c_{1} a^{2}+x \,a^{2}-\left (-\operatorname {LambertW}\left (-\frac {c \,{\mathrm e}^{\frac {c_{1} a^{2}}{a d -b c}+\frac {x \,a^{2}}{a d -b c}+\frac {b c}{a d -b c}}}{-a d +b c}\right )+\frac {c_{1} a^{2}+x \,a^{2}+b c}{a d -b c}\right ) a d +\left (-\operatorname {LambertW}\left (-\frac {c \,{\mathrm e}^{\frac {c_{1} a^{2}}{a d -b c}+\frac {x \,a^{2}}{a d -b c}+\frac {b c}{a d -b c}}}{-a d +b c}\right )+\frac {c_{1} a^{2}+x \,a^{2}+b c}{a d -b c}\right ) b c}{a c} \]

Solution by Mathematica

Time used: 15.036 (sec). Leaf size: 83

DSolve[y'[x] == (b+a*y[x])/(d+c*y[x]),y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {-b c+(a d-b c) W\left (-\frac {c \left (e^{-1-\frac {a^2 (x+c_1)}{b c}}\right ){}^{\frac {b c}{b c-a d}}}{b c-a d}\right )}{a c} \\ y(x)\to -\frac {b}{a} \\ \end{align*}