1.7 problem HW 1 problem 13

Internal problem ID [7035]

Book: Selected problems from homeworks from different courses
Section: Math 2520, summer 2021. Differential Equations and Linear Algebra. Normandale college, Bloomington, Minnesota
Problem number: HW 1 problem 13.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_exact]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ \text {Solve}\left [x y(x)^2-\cos (y(x))+\sin (x)=c_1,y(x)\right ] \]