83.36.5 problem 5

Internal problem ID [19368]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter VIII. Linear equations of second order. Excercise VIII (A) at page 125
Problem number : 5
Date solved : Monday, March 31, 2025 at 07:11:38 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} \left (3-x \right ) y^{\prime \prime }-\left (9-4 x \right ) y^{\prime }+\left (6-3 x \right ) y&=0 \end{align*}

Maple. Time used: 0.004 (sec). Leaf size: 30
ode:=(3-x)*diff(diff(y(x),x),x)-(9-4*x)*diff(y(x),x)+(6-3*x)*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{x} \left (c_1 +c_2 \left (4 x^{3}-42 x^{2}+150 x -183\right ) {\mathrm e}^{2 x}\right ) \]
Mathematica. Time used: 0.049 (sec). Leaf size: 42
ode=(3-x)*D[y[x],{x,2}]-(9-4*x)*D[y[x],x]+(6-3*x)*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \frac {1}{8} c_2 e^{3 x-9} \left (4 x^3-42 x^2+150 x-183\right )+c_1 e^{x-3} \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((3 - x)*Derivative(y(x), (x, 2)) + (6 - 3*x)*y(x) - (9 - 4*x)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False