Internal
problem
ID
[8166]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
4.
Power
Series
Solutions
and
Special
Functions.
Problems
for
review
and
discovert.
(B)
Challenge
Problems
.
Page
194
Problem
number
:
1(c)
Date
solved
:
Sunday, March 30, 2025 at 12:47:10 PM
CAS
classification
:
[_Gegenbauer]
Using series method with expansion around
Order:=8; ode:=(-x^2+1)*diff(diff(y(x),x),x)-2*x*diff(y(x),x)+p*(p+1)*y(x) = 0; dsolve(ode,y(x),type='series',x=infinity);
ode=(1-x^2)*D[y[x],{x,2}]-2*x*D[y[x],x]+p*(p+1)*y[x]==0; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,Infinity,7}]
from sympy import * x = symbols("x") p = symbols("p") y = Function("y") ode = Eq(p*(p + 1)*y(x) - 2*x*Derivative(y(x), x) + (1 - x**2)*Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_ordinary",x0=inf,n=8)