Internal problem ID [2787]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 2
Problem number: 32.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
Solve \begin {gather*} \boxed {y^{\prime }-\sin \relax (x )-2 y \tan \relax (x )=0} \end {gather*}
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 29
dsolve(diff(y(x),x) = sin(x)+2*y(x)*tan(x),y(x), singsol=all)
\[ y \relax (x ) = \frac {-3 \cos \relax (x )-\cos \left (3 x \right )+12 c_{1}}{6 \cos \left (2 x \right )+6} \]
✓ Solution by Mathematica
Time used: 0.049 (sec). Leaf size: 19
DSolve[y'[x]==Sin[x]+2*y[x]*Tan[x],y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\frac {\cos (x)}{3}+c_1 \sec ^2(x) \\ \end{align*}