29.37.24 problem 1146

Internal problem ID [5682]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 37
Problem number : 1146
Date solved : Tuesday, March 04, 2025 at 11:22:35 PM
CAS classification : [[_1st_order, _with_linear_symmetries], _dAlembert]

\begin{align*} \ln \left (y^{\prime }\right )+4 x y^{\prime }-2 y&=0 \end{align*}

Maple. Time used: 0.010 (sec). Leaf size: 75
ode:=ln(diff(y(x),x))+4*x*diff(y(x),x)-2*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y \left (x \right ) &= -\ln \left (2\right )+\frac {\ln \left (\frac {-1+\sqrt {16 c_{1} x +1}}{x}\right )}{2}-\frac {1}{2}+\frac {\sqrt {16 c_{1} x +1}}{2} \\ y \left (x \right ) &= -\ln \left (2\right )+\frac {\ln \left (\frac {-1-\sqrt {16 c_{1} x +1}}{x}\right )}{2}-\frac {1}{2}-\frac {\sqrt {16 c_{1} x +1}}{2} \\ \end{align*}
Mathematica. Time used: 0.103 (sec). Leaf size: 36
ode=Log[D[y[x],x]]+4*x*D[y[x],x]-2*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ \text {Solve}\left [W\left (4 x e^{2 y(x)}\right )-\log \left (W\left (4 x e^{2 y(x)}\right )+2\right )-2 y(x)=c_1,y(x)\right ] \]
Sympy. Time used: 1.339 (sec). Leaf size: 34
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(4*x*Derivative(y(x), x) - 2*y(x) + log(Derivative(y(x), x)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ C_{1} - 2 y{\left (x \right )} - \log {\left (W\left (4 x e^{2 y{\left (x \right )}}\right ) + 2 \right )} + W\left (4 x e^{2 y{\left (x \right )}}\right ) = 0 \]