4.10 problem 11

Internal problem ID [1952]

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: 11.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_exact]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ \text {Solve}[x \cos (y(x))+3 y(x) \cos (x)=c_1,y(x)] \]