74.15.2 problem 2

Internal problem ID [16362]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 4. Higher Order Equations. Exercises 4.7, page 195
Problem number : 2
Date solved : Thursday, March 13, 2025 at 08:11:07 AM
CAS classification : [[_Emden, _Fowler], [_2nd_order, _linear, `_with_symmetry_[0,F(x)]`]]

\begin{align*} 3 x^{2} y^{\prime \prime }-4 x y^{\prime }+2 y&=0 \end{align*}

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