6.4 problem 4

Internal problem ID [124]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Chapter 1 review problems. Page 78
Problem number: 4.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_exact]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.261 (sec). Leaf size: 23

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

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