Internal
problem
ID
[7338]
Book
:
ADVANCED
ENGINEERING
MATHEMATICS.
ERWIN
KREYSZIG,
HERBERT
KREYSZIG,
EDWARD
J.
NORMINTON.
10th
edition.
John
Wiley
USA.
2011
Section
:
Chapter
5.
Series
Solutions
of
ODEs.
REVIEW
QUESTIONS.
page
201
Problem
number
:
12
Date
solved
:
Sunday, March 30, 2025 at 11:54:44 AM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using series method with expansion around
Order:=6; ode:=x*diff(diff(y(x),x),x)+(-2*x+1)*diff(y(x),x)+(x-1)*y(x) = 0; dsolve(ode,y(x),type='series',x=0);
ode=x*D[y[x],{x,2}]+(1-2*x)*D[y[x],x]+(x-1)*y[x]==0; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), (x, 2)) + (1 - 2*x)*Derivative(y(x), x) + (x - 1)*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_regular",x0=0,n=6)