ArticleslgStudy

mathematics

Levinson recursion

Levinson recursion 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 Levinson recursion rather than just read about it. In short: Levinson recursion or Levinson–Durbin recursion is a procedure in linear algebra to recursively calculate the solution to an equation involving a Toeplitz matrix. The algorithm runs in Θ(n2) time, which is a strong improvement over Gauss–Jordan elimination, which runs in Θ(n3).

Key takeaways

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

Reference excerpt

Levinson recursion or Levinson–Durbin recursion is a procedure in linear algebra to recursively calculate the solution to an equation involving a Toeplitz matrix. The algorithm runs in Θ(n2) time, which is a strong improvement over Gauss–Jordan elimination, which runs in Θ(n3). The Levinson–Durbin algorithm was proposed first by Norman Levinson in 1947, improved by James Durbin in 1960, and subsequently improved to 4n2 and then 3n2 multiplications by W. F. Trench and S. Zohar, respectively. Other methods to process data include Schur decomposition and Cholesky decomposition. In comparison to these, Levinson recursion (particularly split Levinson recursion) tends to be faster computationally, but more sensitive to computational inaccuracies like round-off errors. The Bareiss algorithm for Toeplitz matrices (not to be confused with the general Bareiss algorithm) runs about as fast as Levinson recursion, but it uses O(n2) space, whereas Levinson recursion uses only O(n) space. The Bareiss algorithm, though, is numerically stable, whereas Levinson recursion is at best only weakly stable (i.e. it exhibits numerical stability for well-conditioned linear systems). Newer algorithms, called asymptotically fast or sometimes superfast Toeplitz algorithms, can solve in Θ(n (log n)p) for various p (e.g. p = 2, p = 3). Levinson recursion remains popular for several reasons; for one, it is relatively easy to understand in comparison; for another, it can be faster than a superfast algorithm for small n (usually n < 256).

Derivation

Background Matrix equations follow the form

𝐌x→=y→. The Levinson–Durbin algorithm may be used for any such equation, as long as M is a known Toeplitz matrix with a nonzero main diagonal. Here y→ is a known vector, and x→ is an unknown vector of numbers xi yet to be determined. For the sake of this article, êi is a vector made up entirely of zeroes, except for its ith place, which holds the value one. Its length will be implicitly determined by the surrounding context. The term N refers to the width of the matrix above – M is an N×N matrix. Finally, in this article, superscripts refer to an inductive index, whereas subscripts denote indices. For example (and definition), in this article, the matrix Tn is an n×n matrix that copies the upper left n×n block from M – that is, Tnij = Mij. Tn is also a Toeplitz matrix, meaning that it can be written as

𝐓n=[t0t−1t−2…t−n+1t1t0t−1…t−n+2t2t1t0…t−n+3⋮⋮⋮⋱⋮tn−1tn−2tn−3…t0].

Introductory steps The algorithm proceeds in two steps. In the first step, two sets of vectors, called the forward and backward vectors, are established. The forward vectors are used to help get the set of backward vectors; then they can be immediately discarded. The backwards vectors are necessary for the second step, where they are used to build the solution desired. Levinson–Durbin recursion defines the nth "forward vector", denoted f→n, as the vector of length n which satisfies:

𝐓nf→n=ê1. The nth "backward vector" b→n is defined similarly; it is the vector of length n which satisfies:

𝐓nb→n=ên. An important simplification can occur when M is a symmetric matrix; then the two vectors are related by bni = fnn+1−i – that is, they are row-reversals of each other. This can save some extra computation in that special case.

Obtaining the backward vectors Even if the matrix is not symmetric, then the nth forward and backward vector may be found from the vectors of length n − 1 as follows. First, the forward vector may be extended with a zero to obtain:

𝐓n[f→n−10]=[ t−n+1 𝐓n−1 t−n+2 ⋮tn−1tn−2…t0][ f→n−1 0 ]=[10⋮0εfn]. In going from Tn−1 to Tn, the extra column added to the matrix does not perturb the solution when a zero is used to extend the forward vector. However, the extra row added to the matrix has perturbed the solution; and it has created an unwanted error term εf which occurs in the last place. The above equation gives it the value of:

εfn = ∑i=1n−1 Mni fin−1 = ∑i=1n−1 tn−i fin−1. This error will be returned to shortly and eliminated from the new forward vector; but first, the backwards vector must be extended in a similar (albeit reversed) fashion. For the backwards vector,

𝐓n[0b→n−1]=[t0…t−n+2t−n+1⋮ tn−2 𝐓n−1 tn−1 ][ 0 b→n−1 ]=[εbn0⋮01]. As before, the extra column added to the matrix does not perturb this new backwards vector; but the extra row does. Here we have another unwanted error εb with value:

εbn = ∑i=2n M1i bi−1n−1 = ∑i=1n−1 t−i bin−1. These two error terms can be used to form higher-order forward and backward vectors described as follows. Using the linearity of matrices, the following identity holds for all (α,β):

𝐓(α[f→ 0]+β[0 b→])=α[10⋮0εf]+β[εb0⋮01]. If α and β are chosen so that the right hand side yields ê1 or ên, then the quantity in the parentheses will fulfill the definition of the nth forward or backward vector, respectively. With those alpha and beta chosen, the vector sum in the parentheses is simple and yields the desired result. To find these coefficients, αfn, βfn are such that :

f→n=αfn[f→n−10]+βfn[0b→n−1] and respectively αbn, βbn are such that :

b→n=αbn[f→n−10]+βbn[0b→n−1]. By multiplying both previous equations by 𝐓n one gets the following equation:

[1εbn00⋮⋮00εfn1][αfnαbnβfnβbn]=[1000⋮⋮0001]. Now, all the zeroes in the middle of the two vectors above being disregarded and collapsed, only the following equation is left:

[1εbnεfn1][αfnαbnβfnβbn]=[1001]. With these solved for (by using the Cramer 2×2 matrix inverse formula), the new forward and backward vectors are:

f→n=11−εbnεfn[f→n−10]−εfn1−εbnεfn[0b→n−1] b→n=11−εbnεfn[0b→n−1]−εbn1−εbnεfn[f→n−10]. Performing these vector summations, then, gives the nth forward and backward vectors from the prior ones. All that remains is to find the first of these vectors, and then some quick sums and multiplications give the remaining ones. The first forward and backward vectors are simply:

f→1=b→1=[1M11]=[1t0].

Using the backward vectors The above steps give the N backward vectors for M. From there, a more arbitrary equation is:

y→=𝐌 x→. The solution can be built in the same recursive way that the backwards vectors were built. Accordingly, x→ must be generalized to a sequence of intermediates x→n, such that x→N=x→. The solution is then built recursively by noticing that if

𝐓n−1[x1n−1x2n−1⋮xn−1n−1]=[y1y2⋮yn−1]. Then, extending with a zero again, and defining an error constant where necessary:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Levinson recursion

Start with the simplest possible case. Write down what Levinson recursion 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 Levinson recursion 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 Levinson recursion 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 Levinson recursion

In research
Levinson recursion 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 Levinson recursion 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
Levinson recursion is common in secondary-school and first-year university syllabi. It links to neighbouring topics Matrices (mathematics), Numerical analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Levinson recursion 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Levinson recursion” →

How to study Levinson recursion in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Levinson recursion 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 Levinson recursion out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Levinson recursion in simple terms?

Levinson recursion or Levinson–Durbin recursion is a procedure in linear algebra to recursively calculate the solution to an equation involving a Toeplitz matrix. The algorithm runs in Θ(n2) time, which is a strong improvement over Gauss–Jordan elimination, which runs in Θ(n3).

Why does Levinson recursion 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 Levinson recursion?

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 Levinson recursion.

Tags

  • Matrices (mathematics)
  • Numerical analysis

Keep exploring