Article 77XC8 Three-term recurrences

Three-term recurrences

by
John
from John D. Cook on (#77XC8)

There many examples of families of functions where each function can be computed as a linear combination of the two previous terms

recurrence.svg

wherea andb are functions ofx but not on n. This is called a three-term recurrence formula.

It's amazing how often you can run into three-term recurrence formulas. There are theorems that give conditions for such recurrences to hold, but I haven't reached the bottom of that rabbit hole [1].

For this post I just want to give examples.

NB: before using any of the recurrences below, see the next post for a numerical pitfall to avoid.

Bessel functions of the first and second kind:

recurrence_bessel.svg

Modified Bessel functions of the first and second kind:

recurrence_modified_bessel.svg

Chebyshev polynomials of the first and second kind:

recurrence_chebyshev.svg

Hermite polynomials (physicists' convention):

recurrence_hermite.svg

Legendre polynomials:

recurrence_legendre.svg

[1] See Bochner's theorem for orthogonal polynomials, the Nikiforov-Uvarov method, and Infeld-Hull factorization.

The post Three-term recurrences first appeared on John D. Cook.
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments