4.6 problem 8

Internal problem ID [1693]

Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 1.9. Page 66
Problem number: 8.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_exact]

\[ \boxed {2 t \cos \left (y\right )+3 y t^{2}+\left (t^{3}-t^{2} \sin \left (y\right )-y\right ) y^{\prime }=0} \] With initial conditions \begin {align*} [y \left (0\right ) = 2] \end {align*}

Solution by Maple

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

dsolve([2*t*cos(y(t))+3*t^2*y(t)+(t^3-t^2*sin(y(t))-y(t))*diff(y(t),t) = 0,y(0) = 2],y(t), singsol=all)
 

\[ y \left (t \right ) = \operatorname {RootOf}\left (-2 \textit {\_Z} \,t^{3}-2 \cos \left (\textit {\_Z} \right ) t^{2}+\textit {\_Z}^{2}-4\right ) \]

Solution by Mathematica

Time used: 0.259 (sec). Leaf size: 27

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

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