57.1.39 problem 39

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

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

Solution by Maple

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

dsolve((x-1)*diff(y(x),x)=0,y(x), singsol=all)
 
\[ y = c_{1} \]

Solution by Mathematica

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

DSolve[(x-1)*D[y[x],x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to c_1 \]