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.
deq ≔ rectodiffeq⁡5⁢n+10⁢u⁡n+a⁢u⁡n+1−u⁡n+2,u⁡0=0,u⁡1=0,u⁡n,f⁡t
deq ≔ a⁢t+10⁢t2−1⁢f⁡t+5⁢t3⁢ⅆⅆt⁢f⁡t
deq ≔ rectodiffeq⁡n−10⁢u⁡n+1−u⁡n,u⁡n,y⁡z
deq ≔ −z−11⁢y⁡z+z⁢ⅆⅆz⁢y⁡z
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.