1.3 problem 3

Internal problem ID [2627]

Book: An introduction to the solution and applications of differential equations, J.W. Searl, 1966
Section: Chapter 4, Ex. 4.1
Problem number: 3.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {y^{\prime } \ln \relax (x )+\frac {x +y}{x}=0} \end {gather*}

Solution by Maple

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

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

\[ y \relax (x ) = \frac {c_{1}-x}{\ln \relax (x )} \]

Solution by Mathematica

Time used: 0.038 (sec). Leaf size: 16

DSolve[Log[x]*y'[x]+(x+y[x])/x==0,y[x],x,IncludeSingularSolutions -> True]
 

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