4.6 problem 7

Internal problem ID [537]

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

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }+k \left (y-1\right )^{2}=0} \]

Solution by Maple

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

dsolve(diff(y(t),t) = -k*(-1+y(t))^2,y(t), singsol=all)
 

\[ y \left (t \right ) = \frac {c_{1} k +t k +1}{k \left (t +c_{1} \right )} \]

Solution by Mathematica

Time used: 0.139 (sec). Leaf size: 30

DSolve[y'[t]== -k*(-1+y[t])^2,y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to \frac {k t+1-c_1}{k t-c_1} y(t)\to 1 \end{align*}