convert a linear recurrence into a differential equation
rectodiffeq(eqns, u(n), f(z))
single equation or set of equations
name; recurrence name
name; index of the recurrence u
name; function name
name; variable of the function z
The rectodiffeq(eqns, u(n), f(z)) command converts a linear recurrence into a differential equation.
Let f be the generating function associated with the sequence u(n) where f⁡z=∑n=0∞⁡u⁡n⁢zn. The rectodiffeq function returns a linear differential equation with polynomial coefficients satisfied by f.
The input syntax is the same as for rsolve. The first argument is a single recurrence relation or a set containing one recurrence relation and boundary conditions. The recurrence relation is linear in the variable u, with polynomial coefficients in n. The terms of the sequence appearing in the relation should be of the form u⁡n+k, with k as an integer.
The function returns either a single differential equation, or a set containing a differential equation and initial conditions.
Download Help Document
What kind of issue would you like to report? (Optional)