1.7 problem HW 1 problem 13

Internal problem ID [6282]

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]

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

Solution by Maple

Time used: 0.14 (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 \relax (x )^{2}+\sin \relax (x )-\cos \left (y \relax (x )\right )+c_{1} = 0 \]

Solution by Mathematica

Time used: 0.333 (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 ] \]