ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 10 Mar 2023 17:37:45 +0100How to solve differential equation series solutionhttps://ask.sagemath.org/question/66849/how-to-solve-differential-equation-series-solution/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)?Thu, 09 Mar 2023 02:00:34 +0100https://ask.sagemath.org/question/66849/how-to-solve-differential-equation-series-solution/Comment by achrzesz for <p>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)?</p>
https://ask.sagemath.org/question/66849/how-to-solve-differential-equation-series-solution/?comment=66871#post-id-66871My advice is to search for:
solve_linear_de
in
https://doc.sagemath.org/html/en/reference/power_series/sage/rings/power_series_ring_element.html
1st_power_series
2nd_power_series_ordinary
2nd_power_series_regular
in
https://docs.sympy.org/latest/modules/solvers/ode.html
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
https://fricas.github.io/book.pdf p.353.
In some cases the initial conditions may be symbolic, so general solutions can be obtainedFri, 10 Mar 2023 17:37:45 +0100https://ask.sagemath.org/question/66849/how-to-solve-differential-equation-series-solution/?comment=66871#post-id-66871Comment by Emmanuel Charpentier for <p>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)?</p>
https://ask.sagemath.org/question/66849/how-to-solve-differential-equation-series-solution/?comment=66855#post-id-66855Try :
desolve?
then
desolve_system?
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](https://doc.sagemath.org/), where you'll find, among many other things, links to various tutorials.Thu, 09 Mar 2023 19:25:15 +0100https://ask.sagemath.org/question/66849/how-to-solve-differential-equation-series-solution/?comment=66855#post-id-66855