Internal
problem
ID
[8664]
Book
:
Elementary
differential
equations.
Rainville,
Bedient,
Bedient.
Prentice
Hall.
NJ.
8th
edition.
1997.
Section
:
CHAPTER
18.
Power
series
solutions.
18.11
Many-Term
Recurrence
Relations.
Exercises
page
391
Problem
number
:
2
Date
solved
:
Sunday, March 30, 2025 at 01:22:52 PM
CAS
classification
:
[_Jacobi]
Using series method with expansion around
Order:=8; ode:=2*x*(1-x)*diff(diff(y(x),x),x)+(-2*x+1)*diff(y(x),x)+(x+2)*y(x) = 0; dsolve(ode,y(x),type='series',x=0);
ode=2*x*(1-x)*D[y[x],{x,2}]+(1-2*x)*D[y[x],x]+(2+x)*y[x]==0; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,7}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x*(1 - x)*Derivative(y(x), (x, 2)) + (1 - 2*x)*Derivative(y(x), x) + (x + 2)*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_regular",x0=0,n=8)