(mathematics) An equation relating a term in a sequence to one or more of its predecessors in the sequence.
| Sci-Tech Dictionary: recurrence relation |
(mathematics) An equation relating a term in a sequence to one or more of its predecessors in the sequence.
| 5min Related Video: Recurrence relation |
| Wikipedia: Recurrence relation |
In mathematics, a recurrence relation is an equation that defines a sequence recursively: each term of the sequence is defined as a function of the preceding terms.
A difference equation is a specific type of recurrence relation.
An example of a recurrence relation is the logistic map:

Some simply defined recurrence relations can have very complex (chaotic) behaviours, and they are a part of the field of mathematics known as nonlinear analysis.
Solving a recurrence relation means obtaining a closed-form solution: a non-recursive function of n.
Contents |
The Fibonacci numbers are defined using the linear recurrence relation

with seed values:


Explicitly, recurrence yields the equations:



etc.
We obtain the sequence of Fibonacci numbers which begins:
It can be solved by methods described below yielding the closed form expression which involve powers of the two roots of the characteristic polynomial t2 = t + 1; the generating function of the sequence is the rational function t / (1 − t − t2).
An order
linear homogeneous recurrence relation with constant coefficients is an equation of the form:

where the d coefficients
(for all
) are constants.
More precisely, this is an infinite list of simultaneous linear equations, one for each n > d − 1. A sequence which satisfies a relation of this form is called a linear recursive sequence or LRS. There are d degrees of freedom for LRS, the initial values (initial conditions)
can be taken to be any values but then the linear recurrence determines the sequence uniquely.
The same coefficients yield the characteristic polynomial (also "auxiliary polynomial")

whose d roots play a crucial role in finding and understanding the sequences satisfying the recurrence.
Linear recursive sequences are precisely the sequences whose generating function is a rational function: the denominator is the auxiliary polynomial (up to a transform), and the numerator is obtained from the seed values.
The simplest case are periodic sequences, an = an − d,
, which have sequence
and generating function a sum of geometric series:
![\begin{align}
& \frac{a_0 + a_1 x^1 + \cdots + a_{d-1}x^{d-1}}{1-x^d} \\[6pt]
& = \left(a_0 + a_1 x^1 + \cdots + a_{d-1}x^{d-1}\right) \\[3pt]
& {} \quad + \left(a_0 + a_1 x^1 + \cdots + a_{d-1}x^{d-1}\right)x^d \\[3pt]
& {} \quad + \left(a_0 + a_1 x^1 + \cdots + a_{d-1}x^{d-1}\right)x^{2d} + \cdots.
\end{align}](http://wpcontent.answers.com/math/c/d/c/cdcf677604b2a5936288d446cedd794e.png)
More generally, given the recurrence relation:

with generating function

the series is annihilated at ad and above by the polynomial:

That is, multiplying the generating function by the polynomial yields

as the coefficient on xn, which vanishes (by the recurrence relation) for
. Thus

so dividing yields

expressing the generating function as a rational function.
The denominator is xdp(1 / x), a transform of the auxiliary polynomial (equivalently, reversing the order of coefficients); one could also use any multiple of this, but this normalization is chosen both because of the simple relation to the auxiliary polynomial, and so that b0 = a0.
Given a sequence
of real numbers: the first difference
is defined as
.The second difference
is defined as
,which can be simplified to
.More generally: the kth difference
is defined as
.A difference equation is an equation composed of
and its kth differences.
Linear recurrence relations are difference equations, and conversely; since this is a simple and common form of recurrence, some authors use the two terms interchangeably/ For example, the difference equation

is equivalent to the recurrence relation

Thus one can solve many recurrence relations by rephrasing them as difference equations, and then solving the difference equation, analogously to how one solves ordinary differential equations; but it would be very difficult to make the Ackermann numbers into a difference equation, much less points on the solution to a differential equation.
See time scale calculus for a unification of the theory of difference equations with that of differential equations.
For order 1 no theory is needed; the recurrence

has the obvious solution an = rn with a0 = 1 and the most general solution is an = krn with a0 = k. Note that the characteristic polynomial is simply t − r = 0.
Solutions to such recurrence relations of higher order are found by systematic means, often using the fact that an = rn is a solution for the recurrence exactly when t = r is a solution of the characteristic polynomial. This can be approached directly or using generating functions (formal power series) or matrices.
Consider, for example, a recurrence relation of the form

When does it have a solution of the form an = rn? Substituting this guess (ansatz) in the recurrence relation, we find that
must be true for all n>1.Dividing through by rn − 2, we get that all these equations reduce to the same thing


Solve for r to obtain the two roots λ1, λ2. Different solutions are obtained depending on the nature of the roots: If these roots are distinct, we have the general solution

while if they are identical (when A2 + 4B = 0), we have

This is the most general solution, the two constants C and D can be chosen freely to produce a solution. If "initial conditions" a0 = a, a1 = b have been given then we can solve (uniquely) for C and D.
Given an LRS, one can write down the companion matrix of its characteristic polynomial, then put it in Jordan normal form (which is diagonal if the eigenvalues are distinct). Expressing the seed in terms of the eigenbasis, say

yields

which is a closed form expression (expand on the first coordinate to obtain a closed form expression for
).
If the companion matrix is not diagonalizable, then the resulting expression is more complicated, but conceptually the same.
This description is really no different from general method above, however it is more succinct. It also works nicely for situations like
Where there are several linked recurrences.
Certain difference equations, in particular Linear constant coefficient difference equations, can be solved using z-transforms. The z-transforms are a class of integral transforms that lead to more convenient algebraic manipulations and more straightforward solutions. There are cases in which obtaining a direct solution would be all but impossible, yet solving the problem via a thoughtfully chosen integral transform is straightforward.
Given a linear homogeneous recurrence relation with constant coefficients of order
, let
be the characteristic polynomial (also "auxiliary polynomial")

such that each
corresponds to each
in the original recurrence relation (see the general form above). Suppose
is a root of
having multiplicity
. This is to say that
divides
. The following two properties hold:
sequences
satisfies the recurrence relation.
varies over all distinct roots of
.As a result of this theorem a linear homogeneous recurrence relation with constant coefficients can be solved in the following manner:
.
counting multiplicity.
as a linear combination of all the roots (counting multiplicity as shown in the theorem above) with unknown coefficients
.
is the multiplicity of
)
from part 3 (plugging in
into the general solution of the recurrence relation) with the known values
from the original recurrence relation. Note, however, that the values
from the original recurrence relation used do not have to be contiguous, just
of them are needed (i.e. for an original linear homogeneous recurrence relation of order 3 one could use the values
). This process will produce a linear system of
equations with
unknowns. Solving these equations for the unknown coefficients
of the general solution and plugging these values back into the general solution will produce the particular solution to the original recurrence relation that fits the original recurrence relation's initial conditions (as well as all subsequent values
of the original recurrence relation).Interestingly, the method for solving linear differential equations is similar to the method above — the "intelligent guess" (ansatz) for linear differential equations with constant coefficients is
where
is a complex number that is determined by substituting the guess into the differential equation.
This is not a coincidence. If you consider the Taylor series of the solution to a linear differential equation:

you see that the coefficients of the series are given by the n-th derivative of f(x) evaluated at the point a. The differential equation provides a linear difference equation relating these coefficients.
This equivalence can be used to quickly solve for the recurrence relationship for the coefficients in the power series solution of a linear differential equation.
The rule of thumb (for equations in which the polynomial multiplying the first term is non-zero at zero) is that:
![y^{[k]} \to f[n+k]](http://wpcontent.answers.com/math/1/9/d/19d7803b0166b65a77fe2970279cc30e.png)
and more generally
![x^m*y^{[k]} \to n(n-1)(n-m+1)f[n+k-m]](http://wpcontent.answers.com/math/0/a/c/0acc80c8056f394455dfa25158339a69.png)
Example: The recurrence relationship for the Taylor series coefficients of the equation:
![(x^2 + 3x -4)y^{[3]} -(3x+1)y^{[2]} + 2y = 0\,](http://wpcontent.answers.com/math/e/e/3/ee3fd58586a3e67e5a34f5a4dde4df45.png)
is given by
![n(n-1)f[n+1] + 3nf[n+2] -4f[n+3] -3nf[n+1] -f[n+2]+ 2f[n] = 0\,](http://wpcontent.answers.com/math/b/8/2/b82d03a5c967d1e72b51142b7a0dd577.png)
or
![-4f[n+3] +2nf[n+2] + n(n-4)f[n+1] +2f[n] = 0.\,](http://wpcontent.answers.com/math/1/0/b/10b618dc04c186e3594fdead26c020c1.png)
This example shows how problems generally solved using the power series solution method taught in normal differential equation classes can be solved in a much easier way.
Example: The differential equation

has solution

The conversion of the differential equation to a difference equation of the Taylor coefficients is
.It is easy to see that the nth derivative of eax evaluated at 0 is an
If the recurrence is inhomogeneous, a particular solution can be found by the method of undetermined coefficients and the solution is the sum of the solution of the homogeneous and the particular solutions. Another method to solve an inhomogeneous recurrence is the method of symbolic differentiation. For example, consider the following recurrence:

This is an inhomogeneous recurrence. If we substitute
, we obtain the recurrence

Subtracting the original recurrence from this equation yields

or equivalently

This is a homogeneous recurrence which can be solved by the methods explained above. In general, if a linear recurrence has the form

where
are constant coefficients and p(n) is the inhomogeneity, then if p(n) is a polynomial with degree r, then this inhomogeneous recurrence can be reduced to a homogeneous recurrence by applying the method of symbolic differentiation r times.
Many linear homogeneous recurrence relations may be solved by means of the hypergeometric series. Special cases of these lead to recurrence relations for the orthogonal polynomials, and many special functions. For example, the solution to

is given by
,the Bessel function, while

is solved by

the confluent hypergeometric series.
When solving an ordinary differential equation numerically, one typically encounters a recurrence relation. For example, when solving the initial value problem

with Euler's method and a step size h, one calculates the values

by the recurrence

Systems of linear first order differential equations can be discretized exactly analytically using the methods shown in the discretization article.
Some of the best-known difference equations have their origins in the attempt to model population dynamics. For example, the Fibonacci numbers were once used as a model for the growth of a rabbit population.
The logistic map is used either directly to model population growth, or as a starting point for more detailed models. In this context, coupled difference equations are often used to model the interaction of two or more populations. For example, the Nicholson-Bailey model for a host-parasite interaction is given by

,with Nt representing the hosts, and Pt the parasites, at time t.
Integrodifference equations are a form of recurrence relation important to spatial ecology. These and other difference equations are particularly suited to modeling univoltine populations.
| This section requires expansion. |
In digital signal processing, recurrence relations can model feedback in a system, where outputs at one time become inputs for future time. They thus arise in infinite impulse response (IIR) digital filters.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| Best of the Web: Recurrence relation |
Some good "Recurrence relation" pages on the web:
Math mathworld.wolfram.com |
| divide-and-conquer relation (mathematics) | |
| recurrence formula methods (mathematics) | |
| recursion |
| What is a A recurrent type of headache? Read answer... | |
| What is flood recurrence interval? Read answer... | |
| What is the recurrence rate of ameloblastoma? Read answer... |
| Characterstic equation of recurrence relation? | |
| Recurrence relation in special function? | |
| Can recurrent ear infections be related to an immunoglobin deficiency? |
Copyrights:
![]() | Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Recurrence relation". Read more |
Mentioned in