57.1.42 problem 42

Internal problem ID [9026]
Book : First order enumerated odes
Section : section 1
Problem number : 42
Date solved : Monday, January 27, 2025 at 05:27:36 PM
CAS classification : [_quadrature]

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

Solution by Maple

Time used: 0.002 (sec). Leaf size: 9

dsolve(x*y(x)*sin(x)*diff(y(x),x)=0,y(x), singsol=all)
 
\begin{align*} y &= 0 \\ y &= c_{1} \\ \end{align*}

Solution by Mathematica

Time used: 0.003 (sec). Leaf size: 12

DSolve[x*y[x]*Sin[x]*D[y[x],x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to 0 \\ y(x)\to c_1 \\ \end{align*}