15.4 problem 412

Internal problem ID [3158]

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

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.121 (sec). Leaf size: 18

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

\begin{align*} y(x)\to -c_1 (\sin (x)-1) \\ y(x)\to 0 \\ \end{align*}