2.6 problem 31

Internal problem ID [2786]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 2
Problem number: 31.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {y^{\prime }-\sin \left (2 x \right )+y \tan \relax (x )=0} \end {gather*}

Solution by Maple

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

dsolve(diff(y(x),x) = sin(2*x)-y(x)*tan(x),y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[y'[x]==Sin[2*x]-y[x]*Tan[x],y[x],x,IncludeSingularSolutions -> True]
 

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