2.19 problem 23

Internal problem ID [1667]

Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 1.2. Page 9
Problem number: 23.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }+\tan \left (t \right ) y-\sin \left (t \right ) \cos \left (t \right )=0} \]

Solution by Maple

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

dsolve(diff(y(t),t)+tan(t)*y(t)=cos(t)*sin(t),y(t), singsol=all)
 

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

Solution by Mathematica

Time used: 0.046 (sec). Leaf size: 15

DSolve[y'[t]+Tan[t]*y[t]==Cos[t]*Sin[t],y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to \cos (t) (-\cos (t)+c_1) \\ \end{align*}