Previous Up Next

6.13.3  Values of a recurrence relation or a system: rsolve

(See also Section 6.13.2.)

The rsolve command is an alternate way to find the values of a recurrence relation. Note that rsolve is more flexible than seqsolve since:


For example, if a recurrence relation is defined by un+1 = f(un,n) with u0 = a, the arguments to rsolve will be u(n+1) = f(u(n),n), u(n) and u(0)=a.

The recurrence relation must either be a homogeneous linear part with a nonhomogeneous part being a linear combination of polynomials in n times geometric terms in n (such as un+1 = 2 un + n 3n), or a linear fractional transformation (such as un+1 = (un−1)/(un−2)).


Examples.


Previous Up Next