90.20.37 problem 24

Internal problem ID [25332]
Book : Ordinary Differential Equations. By William Adkins and Mark G Davidson. Springer. NY. 2010. ISBN 978-1-4614-3617-1
Section : Chapter 5. Second Order Linear Differential Equations. Exercises at page 337
Problem number : 24
Date solved : Friday, October 03, 2025 at 12:00:16 AM
CAS classification : [[_2nd_order, _linear, _nonhomogeneous]]

\begin{align*} t \left (t^{2}-4\right ) y^{\prime \prime }+y&={\mathrm e}^{t} \end{align*}

With initial conditions

\begin{align*} y \left (1\right )&=y_{1} \\ y^{\prime }\left (1\right )&=y_{1} \\ \end{align*}
Maple
ode:=t*(t^2-4)*diff(diff(y(t),t),t)+y(t) = exp(t); 
ic:=[y(1) = y__1, D(y)(1) = y__1]; 
dsolve([ode,op(ic)],y(t), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=t*(t^2-4)*D[y[t],{t,2}]+y[t]==Exp[t]; 
ic={y[1]==y1,Derivative[1][y][1] ==y1}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 

Not solved

Sympy
from sympy import * 
t = symbols("t") 
y1 = symbols("y1") 
y = Function("y") 
ode = Eq(t*(t**2 - 4)*Derivative(y(t), (t, 2)) + y(t) - exp(t),0) 
ics = {y(1): y1, Subs(Derivative(y(t), t), t, 1): y1} 
dsolve(ode,func=y(t),ics=ics)
 
NotImplementedError : solve: Cannot solve t*(t**2 - 4)*Derivative(y(t), (t, 2)) + y(t) - exp(t)