70.12.20 problem 32

Internal problem ID [18863]
Book : Differential equations. An introduction to modern methods and applications. James Brannan, William E. Boyce. Third edition. Wiley 2015
Section : Chapter 4. Second order linear equations. Section 4.2 (Theory of second order linear homogeneous equations). Problems at page 226
Problem number : 32
Date solved : Thursday, October 02, 2025 at 03:32:19 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Using reduction of order method given that one solution is

\begin{align*} y&=t \end{align*}
Maple. Time used: 0.004 (sec). Leaf size: 12
ode:=t^2*diff(diff(y(t),t),t)-t*(t+2)*diff(y(t),t)+(t+2)*y(t) = 0; 
dsolve(ode,y(t), singsol=all);
 
\[ y = t \left ({\mathrm e}^{t} c_2 +c_1 \right ) \]
Mathematica. Time used: 0.024 (sec). Leaf size: 17
ode=t^2*D[y[t],{t,2}]-t*(t+2)*D[y[t],t]+(t+2)*y[t]==0; 
ic={}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\begin{align*} y(t)&\to e t \left (c_2 e^t+c_1\right ) \end{align*}
Sympy
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(t**2*Derivative(y(t), (t, 2)) - t*(t + 2)*Derivative(y(t), t) + (t + 2)*y(t),0) 
ics = {} 
dsolve(ode,func=y(t),ics=ics)
 
False