69.22.16 problem 721

Internal problem ID [18482]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Chapter 2 (Higher order ODEs). Section 17. Boundary value problems. Exercises page 163
Problem number : 721
Date solved : Thursday, October 02, 2025 at 03:14:10 PM
CAS classification : [[_2nd_order, _missing_y]]

\begin{align*} x y^{\prime \prime }+y^{\prime }&=0 \end{align*}
Maple. Time used: 0.003 (sec). Leaf size: 10
ode:=x*diff(diff(y(x),x),x)+diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_2 \ln \left (x \right )+c_1 \]
Mathematica. Time used: 0.006 (sec). Leaf size: 13
ode=x*D[y[x],{x,2}]+D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 \log (x)+c_2 \end{align*}
Sympy. Time used: 0.059 (sec). Leaf size: 8
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*Derivative(y(x), (x, 2)) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} + C_{2} \log {\left (x \right )} \]