On Tuesday, March 8, 2016 at 4:04:46 PM UTC+1, Subham Tibra wrote: > > > On Tuesday, March 8, 2016 at 1:59:43 PM UTC+5:30, Fredrik Johansson wrote: >> >> >> If the given differential equation is inhomogeneous, you need to convert >> it to homogeneous form, so a bit of preprocessing is needed anyway. >> > > Does converting an inhomogeneous diff. eq. to homogeneous one, here means > just removing the inhomogeneous part? > > Inhomogeneous: a(x)*f(x) + a1(x)*f'(x) + ........ = g(x) > Homogeneous: a(x)*f(x) + a1(x)*f'(x) + ........ = 0 >
No. Assuming that g(x) is holonomic (otherwise this won't work), you must use its annihilator to convert the inhomogeneous differential equation for f(x) to a homogeneous one. By linearity, I think this just means computing an annihilator for h + g where h is a solution of the homogeneous part of the original equation. But don't quote me on that. I think the details are covered in some of the references. Fredrik -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/dbb640b3-3433-4b2e-bae2-65612bf94615%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
