77.1.108 problem 136 (page 198)

Internal problem ID [17927]
Book : V.V. Stepanov, A course of differential equations (in Russian), GIFML. Moscow (1958)
Section : All content
Problem number : 136 (page 198)
Date solved : Monday, March 31, 2025 at 04:51:39 PM
CAS classification : [[_3rd_order, _with_linear_symmetries]]

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

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