Internal
problem
ID
[2621]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
2.
Second
order
differential
equations.
Section
2.8.
Series
solutions.
Excercises
page
197
Problem
number
:
11
Date
solved
:
Sunday, March 30, 2025 at 12:11:46 AM
CAS
classification
:
[_Gegenbauer, [_2nd_order, _linear, `_with_symmetry_[0,F(x)]`]]
Using series method with expansion around
Order:=6; ode:=(-t^2+1)*diff(diff(y(t),t),t)-t*diff(y(t),t)+alpha^2*y(t) = 0; dsolve(ode,y(t),type='series',t=0);
ode=(1-t^2)*D[y[t],{t,2}]-t*D[y[t],t]+\[Alpha]^2*y[t]==0; ic={}; AsymptoticDSolveValue[{ode,ic},y[t],{t,0,5}]
from sympy import * t = symbols("t") Alpha = symbols("Alpha") y = Function("y") ode = Eq(Alpha**2*y(t) - t*Derivative(y(t), t) + (1 - t**2)*Derivative(y(t), (t, 2)),0) ics = {} dsolve(ode,func=y(t),ics=ics,hint="2nd_power_series_ordinary",x0=0,n=6)