5.10 problem 10

Internal problem ID [552]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.6. Page 100
Problem number: 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.049 (sec). Leaf size: 20

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

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