6.37 problem Exercise 12.37, page 103

Internal problem ID [4049]

Book: Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section: Chapter 2. Special types of differential equations of the first kind. Lesson 12, Miscellaneous Methods
Problem number: Exercise 12.37, page 103.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {\cos \left (x \right ) y^{\prime }+y+\left (\sin \left (x \right )+1\right ) \cos \left (x \right )=0} \]

Solution by Maple

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

dsolve(diff(y(x),x)*cos(x)+y(x)+(1+sin(x))*cos(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {-2 \ln \left (\sec \left (x \right )+\tan \left (x \right )\right )+2 \ln \left (\cos \left (x \right )\right )+\sin \left (x \right )+c_{1}}{\sec \left (x \right )+\tan \left (x \right )} \]

Solution by Mathematica

Time used: 0.687 (sec). Leaf size: 40

DSolve[y'[x]*Cos[x]+y[x]+(1+Sin[x])*Cos[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to e^{-2 \text {arctanh}\left (\tan \left (\frac {x}{2}\right )\right )} \left (\sin (x)+4 \log \left (\cos \left (\frac {x}{2}\right )-\sin \left (\frac {x}{2}\right )\right )+c_1\right ) \\ \end{align*}