gfun[algeqtodiffeq] - compute a differential equation satisfied by an algebraic function

Calling Sequence

algeqtodiffeq(p, y(z), ini, options)

Parameters

p - polynomial in y and z (or a polynomial equation)

y - name of the holonomic function

z - name of the generic variable associated with y

ini - (optional) initial conditions to specify a solution of eq

options - (optional) equation(s) of the form homogeneous=true, ini_cond=false, and/or operator=name

Description

Examples

> with(gfun):
algeqtodiffeq(y=1+z*y^2,y(z));
\[1+\left(-1+2 z \right) y \! \left(z \right)+\left(4 z^{2}-z \right) \left(\frac{d}{d z}y \! \left(z \right)\right)\]
> algeqtodiffeq(56*a^3+7*a^3*y^3-14*y*z,y(z),{y(0)=-2});
\[\left\{y \! \left(z \right) z -3 z^{2} \left(\frac{d}{d z}y \! \left(z \right)\right)+\left(108 a^{9}-2 z^{3}\right) \left(\frac{d^{2}}{d z^{2}}y \! \left(z \right)\right), y \! \left(0\right) = -2, D\! \left(y \right)\! \left(0\right) = -\frac{1}{3 a^{3}}\right\}\]

We can use algeqtodiffeq with diffeqtorec to determine fast Taylor expansions.

> p:=y=1+z*y+z*y^5;
\[y = z \,y^{5}+z y +1\]
> deq:=algeqtodiffeq(p,y(z)):
diffeqtoseries(deq,y(z),10);
\[1+2 z +12 z^{2}+112 z^{3}+1232 z^{4}+14832 z^{5}+189184 z^{6}+2512064 z^{7}+34358784 z^{8}+480745984 z^{9}+6848734464 z^{10}+\mathrm{O}\! \left(z^{11}\right)\]
> 

See Also

gfun, gfun[parameters], dsolve, gfun[diffeqtorec]