1.8 problem 8

Internal problem ID [8345]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 8.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }+\tan \left (x \right ) y=\sin \left (2 x \right )} \]

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(x)\to \cos (x) (-2 \cos (x)+c_1) \]