4.7 problem 7

Internal problem ID [1949]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 8, page 34
Problem number: 7.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_exact]

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

Solution by Maple

Time used: 0.016 (sec). Leaf size: 16

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

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

Solution by Mathematica

Time used: 0.151 (sec). Leaf size: 19

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

\[ \text {Solve}[2 x \sin (y(x))-y(x) \sin (x)=c_1,y(x)] \]