83.30.4 problem 4

Internal problem ID [19312]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter VII. Exact differential equations and certain particular forms of equations. Exercise VII (D) at page 109
Problem number : 4
Date solved : Monday, March 31, 2025 at 07:06:34 PM
CAS classification : [[_2nd_order, _missing_y]]

\begin{align*} y^{\prime \prime }+\frac {y^{\prime }}{x}&=0 \end{align*}

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