56.32.2 problem Ex 2

Internal problem ID [14260]
Book : An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section : Chapter VIII, Linear differential equations of the second order. Article 55. Summary. Page 129
Problem number : Ex 2
Date solved : Thursday, October 02, 2025 at 09:27:22 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} \left (x -3\right ) y^{\prime \prime }-\left (4 x -9\right ) y^{\prime }+\left (3 x -6\right ) y&=0 \end{align*}
Maple. Time used: 0.004 (sec). Leaf size: 30
ode:=(x-3)*diff(diff(y(x),x),x)-(4*x-9)*diff(y(x),x)+(3*x-6)*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.14 (sec). Leaf size: 42
ode=(x-3)*D[y[x],{x,2}]-(4*x-9)*D[y[x],x]+(3*x-6)*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} 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} \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((x - 3)*Derivative(y(x), (x, 2)) + (3*x - 6)*y(x) - (4*x - 9)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False