How to solve differential equation series solution

asked 2023-03-09 02:01:35 +0200

posst gravatar image

How can I solve differential equation series in general solution in sage? Also, how can I adjust the default center x0=0 to another value(for example, x0=2)?

edit retag flag offensive close merge delete


Try :




This should go a long way towards solving your problem.

BTW, you should try the universal algorithm (a. k. a. RTFM)...

Googling sagemath documentation leads you there, where you'll find, among many other things, links to various tutorials.

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2023-03-09 19:25:15 +0200 )edit

My advice is to search for:

solve_linear_de in



2nd_power_series_regular in

In Sympy if the initial data are given at x0=1, then the expansion is around 1

The default center x0=0 can be adjusted in p.353.

In some cases the initial conditions may be symbolic, so general solutions can be obtained

achrzesz gravatar imageachrzesz ( 2023-03-10 17:37:45 +0200 )edit