gfun[`diffeq+diffeq`] - determine the differential equation satisfied by the sum of two holonomic functions

gfun[`diffeq*diffeq`] - determine the differential equation satisfied by the Cauchy product of two holonomic functions

gfun[hadamardproduct] - determine the differential equation satisfied by the Hadamard product of two holonomic functions

Calling Sequence

`diffeq+diffeq`(eq1, eq2, y(z), <homogeneous=bool>, <operator=name>)

`diffeq*diffeq`(eq1, eq2, y(z), <homogeneous=bool>, <operator=name>)

hadamardproduct(eq1, eq2, y(z), <homogeneous=bool>, <operator=name>)

Parameters

eq1, eq2 - two linear differential equations with polynomial coefficients

y,z - name of the holonomic function and itsXS generic variable

homogeneous - (optional) boolean requesting a homogeneous output; the default is false

operator - (optional) name used verbatim as the differential operator

Description

Examples

> with(gfun):
eq1 := D(y)(x)-y(x):
eq2 := (1+x)*(D@@2)(y)(x)+D(y)(x):
`diffeq+diffeq`(eq1,eq2,y(x));
\[\left(x^{2}+3 x +2\right) \left(\frac{d^{3}}{d x^{3}}y \! \left(x \right)\right)+\left(-x^{2}-2 x +1\right) \left(\frac{d^{2}}{d x^{2}}y \! \left(x \right)\right)+\left(-x -3\right) \left(\frac{d}{d x}y \! \left(x \right)\right)\]
> `diffeq*diffeq`(eq1,eq2,y(x));
\[\left(1+x \right) \left(\frac{d^{2}}{d x^{2}}y \! \left(x \right)\right)+\left(-2 x -1\right) \left(\frac{d}{d x}y \! \left(x \right)\right)+y \! \left(x \right) x\]
> hadamardproduct(eq1,eq2,y(x));
\[\{\left(1+x \right) \left(\frac{d}{d x}y \! \left(x \right)\right)+\left(\frac{d^{2}}{d x^{2}}y \! \left(x \right)\right) x -\_C_{1}, y \! \left(0\right) = \_C_{0}\}\]

See Also

gfun, gfun[poltodiffeq], gfun[rec+rec], gfun[rec*rec], gfun[cauchyproduct],