gfun
poltodiffeq
determine the differential equation satisfied by a polynomial in holonomic functions
Calling Sequence
Parameters
Description
Examples
poltodiffeq(P, listdiffeq, list_unknowns, y(z))
P
-
polynomial in z and y1(z), y2(z), ... and possibly their derivatives and repeated derivatives
listdiffeq
list containing, for each of y1(z), y2(z), ..., either a linear differential equation it satisfies or a set containing the equation together with initial conditions
list_unknowns
list of function names [y1⁡z,y2⁡z,...]
y
name; holonomic function name
z
name; variable of the holonomic function y
The poltodiffeq(P, listdiffeq, list_unknowns, y(z)) command returns a linear differential equation satisfied by the polynomial P.
If y1(z), y2(z), ... are holonomic function solutions of listdiffeq[1], listdiffeq[2], ..., the poltodiffeq function returns a linear differential equation satisfied by P⁡z,y1⁡z,....
with⁡gfun:
Sin≔diff⁡y1⁡z,z,z=−y1⁡z,y1⁡0=0,D⁡y1⁡0=1:
Cos≔diff⁡y2⁡z,z,z=−y2⁡z,y2⁡0=1,D⁡y2⁡0=0:
poltodiffeq⁡y1⁡z2+y2⁡z2,Sin,Cos,y1⁡z,y2⁡z,y⁡z
ⅆ3ⅆz3y⁡z+4⁢ⅆⅆzy⁡z,y⁡0=1,D⁡y⁡0=0,D2⁡y⁡0=0
poltodiffeq⁡y1⁡z2+diff⁡y1⁡z,z2,Sin,y1⁡z,y⁡z
ⅆⅆzy⁡z,y⁡0=1
See Also
gfun[`diffeq+diffeq`]
gfun[`diffeq*diffeq`]
gfun[parameters]
gfun[poltorec]
Download Help Document