Internal problem ID [14167]
Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton.
Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.2, page 39
Problem number: 9.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_separable]
\[ \boxed {y^{\prime }-\frac {y+2}{2 t +1}=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 15
dsolve(diff(y(t),t)=(y(t)+2)/(2*t+1),y(t), singsol=all)
\[ y \left (t \right ) = \sqrt {2 t +1}\, c_{1} -2 \]
✓ Solution by Mathematica
Time used: 0.03 (sec). Leaf size: 24
DSolve[y'[t]==(y[t]+2)/(2*t+1),y[t],t,IncludeSingularSolutions -> True]
\begin{align*} y(t)\to -2+c_1 \sqrt {2 t+1} \\ y(t)\to -2 \\ \end{align*}