5.4 problem 1.1-6 (d)

Internal problem ID [2466]

Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.1-6, page 7
Problem number: 1.1-6 (d).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }+y^{2}=1} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.713 (sec). Leaf size: 44

DSolve[y'[t]==1-y[t]^2,y[t],t,IncludeSingularSolutions -> True]
                                                                                    
                                                                                    
 

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