2.7 problem 1(g)

Internal problem ID [5391]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 1. What is a differential equation. Section 1.3 SEPARABLE EQUATIONS. Page 12
Problem number: 1(g).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

\[ y \left (x \right ) = \pi -\arccos \left (\frac {x^{3}}{3}+c_{1} \right ) \]

Solution by Mathematica

Time used: 0.425 (sec). Leaf size: 37

DSolve[y'[x]*Sin[y[x]]==x^2,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\arccos \left (-\frac {x^3}{3}-c_1\right ) \\ y(x)\to \arccos \left (-\frac {x^3}{3}-c_1\right ) \\ \end{align*}