12.7.3 problem 3

Internal problem ID [1713]
Book : Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section : Chapter 2, First order equations. Exact equations. Integrating factors. Section 2.6 Page 91
Problem number : 3
Date solved : Monday, January 27, 2025 at 05:32:11 AM
CAS classification : [_separable]

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

Solution by Maple

Time used: 0.001 (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.022 (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*}