Internal problem ID [13056]
Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th
edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 1. First-Order Differential Equations. Review Exercises for chapter 1. page
136
Problem number: 43.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_Riccati]
\[ \boxed {y^{\prime }-\left (y-2\right ) \left (y+1-\cos \left (t \right )\right )=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 81
dsolve(diff(y(t),t)=(y(t)-2)*(y(t)+1-cos(t)),y(t), singsol=all)
\[ y \left (t \right ) = \frac {-2 c_{1} {\mathrm e}^{-2 t} \left (\int {\mathrm e}^{-\frac {3 \pi }{2}+3 t -\sin \left (t \right )}d t \right )+c_{1} {\mathrm e}^{t -\frac {3 \pi }{2}-\sin \left (t \right )}+2 i {\mathrm e}^{-2 t +\pi }}{-c_{1} {\mathrm e}^{-2 t} \left (\int {\mathrm e}^{-\frac {3 \pi }{2}+3 t -\sin \left (t \right )}d t \right )+i {\mathrm e}^{-2 t +\pi }} \]
✓ Solution by Mathematica
Time used: 3.379 (sec). Leaf size: 224
DSolve[y'[t]==(y[t]-2)*(y[t]+1-Cos[t]),y[t],t,IncludeSingularSolutions -> True]
\begin{align*} y(t)\to -\frac {-2 \int _1^{e^{i t}}e^{\frac {i \left (K[1]^2-1\right )}{2 K[1]}} K[1]^{-1-3 i}dK[1]+i e^{\frac {1}{2} i e^{-i t} \left (-1+e^{2 i t}\right )} \left (e^{i t}\right )^{-3 i}-2 c_1}{\int _1^{e^{i t}}e^{\frac {i \left (K[1]^2-1\right )}{2 K[1]}} K[1]^{-1-3 i}dK[1]+c_1} \\ y(t)\to 2 \\ y(t)\to 2-\frac {i e^{\frac {1}{2} i e^{-i t} \left (-1+e^{2 i t}\right )} \left (e^{i t}\right )^{-3 i}}{\int _1^{e^{i t}}e^{\frac {i \left (K[1]^2-1\right )}{2 K[1]}} K[1]^{-1-3 i}dK[1]} \\ \end{align*}