56.1.25 problem 26

Internal problem ID [8737]
Book : Own collection of miscellaneous problems
Section : section 1.0
Problem number : 26
Date solved : Sunday, March 30, 2025 at 01:29:14 PM
CAS classification : [_quadrature]

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

Maple. Time used: 0.001 (sec). Leaf size: 5
ode:=x*diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \]
Mathematica. Time used: 0.002 (sec). Leaf size: 7
ode=x*D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_1 \]
Sympy. Time used: 0.037 (sec). Leaf size: 3
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} \]