does sympy dsolve implement series solution for regular point for first order ode (Frobenius series) ?

18 views
Skip to first unread message
unread,
May 2, 2025, 10:55:15 PMMay 2
to sympy
Does sympy not support solving first order ode using series method when expansion point is regular singular. 

Is this correct? Wanted to check if I am doing something wrong. I am using hint

"1st_power_series"

I searched and see no other hints I could use for first order. Here is one example of many
-------------------------------
from sympy import *
x = symbols("x")
y = Function("y")
ode = Eq(x*Derivative(y(x), x) + y(x),0)
ics = {}
dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)
------------------------------------

It gives 
 ValueError : ODE x*Derivative(y(x), x) + y(x) does not match hint 1st_power_series

I am using 1.13.3 on Linux.

This page has table of many more such examples with links to all the code used. It shows sympy failed to solved all these problems.

Thanks,
--Nasser

Reply all
Reply to author
Forward
0 new messages