6.7 problem 1.2-1 (g)

Internal problem ID [2473]

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]

\[ \boxed {y^{\prime }-y \tan \left (t \right )=\sec \left (t \right )} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.04 (sec). Leaf size: 12

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

\[ y(t)\to (t+c_1) \sec (t) \]