40.3.36 problem 27

Internal problem ID [6640]
Book : Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section : Chapter 5. Equations of first order and first degree (Exact equations). Supplemetary problems. Page 33
Problem number : 27
Date solved : Monday, January 27, 2025 at 02:16:30 PM
CAS classification : [_separable]

\begin{align*} -y+x y^{\prime }&=0 \end{align*}

Solution by Maple

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

dsolve(-y(x)+x*diff(y(x),x)=0,y(x), singsol=all)
 
\[ y = c_1 x \]

Solution by Mathematica

Time used: 0.026 (sec). Leaf size: 14

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