15.5 problem 413

Internal problem ID [3159]

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

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.085 (sec). Leaf size: 20

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

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