4.47 problem Problem 65

Internal problem ID [2711]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.8, Change of Variables. page 79
Problem number: Problem 65.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _dAlembert]

\[ \boxed {-\frac {2 \ln \left (y\right )}{x}=-\frac {y^{\prime }}{y}+\frac {1-2 \ln \left (x \right )}{x}} \] With initial conditions \begin {align*} [y \left (1\right ) = {\mathrm e}] \end {align*}

Solution by Maple

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

dsolve([diff(y(x),x)/y(x)-2/x*ln(y(x))=1/x*(1-2*ln(x)),y(1) = exp(1)],y(x), singsol=all)
 

\[ y \left (x \right ) = x \,{\mathrm e}^{x^{2}} \]

Solution by Mathematica

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

DSolve[{y'[x]/y[x]-2/x*Log[y[x]]==1/x*(1-2*Log[x]),{y[1]==Exp[1]}},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to e^{x^2} x \]