2.1 problem 1

Internal problem ID [1900]

Book: Differential Equations, Nelson, Folley, Coral, 3rd ed, 1964
Section: Exercis 6, page 25
Problem number: 1.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {x +y-y^{\prime } x=0} \end {gather*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 10

dsolve(x+y(x)=x*diff(y(x),x),y(x), singsol=all)
 

\[ y \relax (x ) = \left (\ln \relax (x )+c_{1}\right ) x \]

Solution by Mathematica

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

DSolve[x+y[x]==x*y'[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to x (\log (x)+c_1) \\ \end{align*}