29.14.17 problem 398

Internal problem ID [4996]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 14
Problem number : 398
Date solved : Tuesday, March 04, 2025 at 07:41:51 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime } \sqrt {X}&=\sqrt {Y} \end{align*}

Maple. Time used: 0.001 (sec). Leaf size: 14
ode:=diff(y(x),x)*X^(1/2) = Y^(1/2); 
dsolve(ode,y(x), singsol=all);
 
\[ y \left (x \right ) = \frac {\sqrt {Y}\, x}{\sqrt {X}}+c_{1} \]
Mathematica. Time used: 0.003 (sec). Leaf size: 20
ode=D[y[x],x] Sqrt[X]==Sqrt[Y]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \frac {x \sqrt {Y}}{\sqrt {X}}+c_1 \]
Sympy. Time used: 0.122 (sec). Leaf size: 15
from sympy import * 
x = symbols("x") 
X = symbols("X") 
Y = symbols("Y") 
y = Function("y") 
ode = Eq(sqrt(X)*Derivative(y(x), x) - sqrt(Y),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} + \frac {\sqrt {Y} x}{\sqrt {X}} \]