Internal problem ID [1964]
Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-1, page 12
Problem number: 1.2-1 (g).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
Solve \begin {gather*} \boxed {y^{\prime }-\tan \relax (t ) y-\sec \relax (t )=0} \end {gather*}
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 12
dsolve(diff(y(t),t)=y(t)*tan(t)+sec(t),y(t), singsol=all)
\[ y \relax (t ) = \frac {t +c_{1}}{\cos \relax (t )} \]
✓ Solution by Mathematica
Time used: 0.043 (sec). Leaf size: 12
DSolve[y'[t]==y[t]*Tan[t]+Sec[t],y[t],t,IncludeSingularSolutions -> True]
\begin{align*} y(t)\to (t+c_1) \sec (t) \\ \end{align*}