ArticleslgStudy

mathematics

Recurrence relation

Recurrence relation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Recurrence relation rather than just read about it. In short: In mathematics and computer science, a recurrence relation is an equation according to which the n {\displaystyle n} th term of a sequence of numbers is equal to some combination of the previous terms. Often, only k {\displaystyle k} previous terms of the sequence appear in the equation, for a parameter k {\displaystyle k} that is independent of n {\displaystyle n} ; this number k {\displaystyle k} is called the ord…

Key takeaways

  • Recurrence relation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Recurrence relation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Recurrence relation from memory before moving on to harder problems.

Reference excerpt

In mathematics and computer science, a recurrence relation is an equation according to which the n {\displaystyle n} th term of a sequence of numbers is equal to some combination of the previous terms. Often, only k {\displaystyle k} previous terms of the sequence appear in the equation, for a parameter k {\displaystyle k} that is independent of n {\displaystyle n} ; this number k {\displaystyle k} is called the order of the relation. If the values of the first k {\displaystyle k} numbers in the sequence have been given, the rest of the sequence can be calculated by repeatedly applying the equation. In linear recurrences, the nth term is equated to a linear function of the k {\displaystyle k} previous terms. A famous example is the recurrence for the Fibonacci numbers,

F n = F n − 1 + F n − 2 {\displaystyle F_{n}=F_{n-1}+F_{n-2}}

where the order k {\displaystyle k} is two and the linear function merely adds the two previous terms. This example is a linear recurrence with constant coefficients, because the coefficients of the linear function (1 and 1) are constants that do not depend on n . {\displaystyle n.} For these recurrences, one can express the general term of the sequence as a closed-form expression of n {\displaystyle n} . As well, linear recurrences with polynomial coefficients depending on n {\displaystyle n} are also important, because many common elementary functions and special functions have a Taylor series whose coefficients satisfy such a recurrence relation (see holonomic function). Solving a recurrence relation means obtaining a closed-form solution: a non-recursive function of n {\displaystyle n} . The concept of a recurrence relation can be extended to multidimensional arrays, that is, indexed families that are indexed by tuples of natural numbers.

Definition A recurrence relation is an equation that expresses each element of a sequence as a function of the preceding ones. More precisely, in the case where only the immediately preceding element is involved, a recurrence relation has the form

u n = φ ( n , u n − 1 ) for n > 0 , {\displaystyle u_{n}=\varphi (n,u_{n-1})\quad {\text{for}}\quad n>0,}

where

φ : N × X → X {\displaystyle \varphi :\mathbb {N} \times X\to X}

is a function, where X is a set to which the elements of a sequence must belong. For any u 0 ∈ X {\displaystyle u_{0}\in X} , this defines a unique sequence with u 0 {\displaystyle u_{0}} as its first element, called the initial value. It is easy to modify the definition for getting sequences starting from the term of index 1 or higher. This defines recurrence relation of first order. A recurrence relation of order k has the form

u n = φ ( n , u n − 1 , u n − 2 , … , u n − k ) for n ≥ k , {\displaystyle u_{n}=\varphi (n,u_{n-1},u_{n-2},\ldots ,u_{n-k})\quad {\text{for}}\quad n\geq k,}

where φ : N × X k → X {\displaystyle \varphi :\mathbb {N} \times X^{k}\to X} is a function that involves k consecutive elements of the sequence. In this case, k initial values are needed for defining a sequence.

Examples

Factorial The factorial is defined by the recurrence relation

n ! = n ⋅ ( n − 1 ) ! for n > 0 , {\displaystyle n!=n\cdot (n-1)!\quad {\text{for}}\quad n>0,}

and the initial condition

0 ! = 1. {\displaystyle 0!=1.}

This is an example of a linear recurrence with polynomial coefficients of order 1, with the simple polynomial (in n)

n {\displaystyle n}

as its only coefficient.

Logistic map An example of a recurrence relation is the logistic map defined by

x n + 1 = r x n ( 1 − x n ) , {\displaystyle x_{n+1}=rx_{n}(1-x_{n}),}

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Recurrence relation

Start with the simplest possible case. Write down what Recurrence relation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Recurrence relation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Recurrence relation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Recurrence relation

In research
Recurrence relation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Recurrence relation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Recurrence relation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algebra, Combinatorics, Recurrence relations, so understanding it makes those chapters shorter.
In everyday life
Look for Recurrence relation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Recurrence relation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Recurrence relation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Recurrence relation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Recurrence relation in simple terms?

In mathematics and computer science, a recurrence relation is an equation according to which the n {\displaystyle n} th term of a sequence of numbers is equal to some combination of the previous terms. Often, only k {\displaystyle k} previous terms of the sequence appear in the equation, for a para…

Why does Recurrence relation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Recurrence relation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Recurrence relation.

Tags

  • Algebra
  • Combinatorics
  • Recurrence relations

Keep exploring