2.4 problem 4

2.4.1 Maple step by step solution
2.4.2 Maple trace
2.4.3 Maple dsolve solution
2.4.4 Mathematica DSolve solution

Internal problem ID [8093]
Book : Second order enumerated odes
Section : section 2
Problem number : 4
Date solved : Tuesday, October 22, 2024 at 03:00:19 PM
CAS classification : [_Liouville, [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_xy]]

Solve

\begin{align*} y^{\prime \prime }+\left (\sin \left (x \right )+2 x \right ) y^{\prime }+\cos \left (y\right ) y {y^{\prime }}^{2}&=0 \end{align*}

2.4.1 Maple step by step solution

2.4.2 Maple trace
Methods for second order ODEs:
 
2.4.3 Maple dsolve solution

Solving time : 0.004 (sec)
Leaf size : 34

dsolve(diff(diff(y(x),x),x)+(sin(x)+2*x)*diff(y(x),x)+cos(y(x))*y(x)*diff(y(x),x)^2 = 0, 
       y(x),singsol=all)
 
\[ \int _{}^{y}{\mathrm e}^{\cos \left (\textit {\_a} \right )+\sin \left (\textit {\_a} \right ) \textit {\_a}}d \textit {\_a} -c_1 \left (\int {\mathrm e}^{-x^{2}+\cos \left (x \right )}d x \right )-c_2 = 0 \]
2.4.4 Mathematica DSolve solution

Solving time : 1.456 (sec)
Leaf size : 53

DSolve[{D[y[x],{x,2}]+(Sin[x]+2*x)*D[y[x],x]+Cos[y[x]]*y[x]*(D[y[x],x])^2==0,{}}, 
       y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \text {InverseFunction}\left [\int _1^{\text {$\#$1}}e^{\cos (K[1])+K[1] \sin (K[1])}dK[1]\&\right ]\left [\int _1^x-e^{\cos (K[2])-K[2]^2} c_1dK[2]+c_2\right ] \]