On this page
Some matrices can be written down from their first row and first column alone. These are Toeplitz matrices, and they appear whenever a process looks the same no matter when you start watching it. Here is where they come from, an autocorrelation example worked by hand, and why their structure makes them cheap to solve.
What is a Toeplitz matrix?
A Toeplitz matrix is a matrix in which each descending diagonal from left to right is constant (Wikipedia: Toeplitz matrix). The entry in row i, column j depends only on i − j. A 3×3 example:
Row 1: a, b, c
Row 2: d, a, b
Row 3: e, d, a
An n×n Toeplitz matrix has at most 2n − 1 distinct values rather than n², according to the same article.
Why do convolution and time series give Toeplitz matrices?
In a convolution y(k) = Σ h(m) x(k − m), input x(j) gets weight h(k − j) in output y(k), which depends only on k − j. So convolution is multiplication by a Toeplitz matrix, as the Toeplitz matrix article shows. Our explainer on convolution with flip and slide covers the basics.
A stationary time series has statistics that do not drift, so the correlation between two readings depends only on the lag between them. The covariance matrix of n consecutive readings is then a symmetric Toeplitz matrix. Robert M. Gray's tutorial Toeplitz and Circulant Matrices: A Review applies its theorems to covariance matrices of discrete-time random processes. For the school version of time series, see moving averages and trend in Class 12 Applied Maths.
A worked autocorrelation matrix
Take a made-up series with autocorrelations r0 = 1, r1 = 0.8, r2 = 0.5 and r3 = 0.2. Its 3×3 autocorrelation matrix R is:
Row 1: 1, 0.8, 0.5
Row 2: 0.8, 1, 0.8
Row 3: 0.5, 0.8, 1
To predict x(t) ≈ a1·x(t − 1) + a2·x(t − 2) + a3·x(t − 3) with least mean squared error, solve R·a = (0.8, 0.5, 0.2). Norman Levinson gave a recursion for this kind of prediction problem in a paper in volume 25 of the Journal of Mathematics and Physics (DOI 10.1002/sapm1946251261).
How does the Levinson recursion solve it in O(n²)?
The recursion solves the 1×1 problem, then grows it one size at a time, using one new number k (the reflection coefficient) and tracking E, the leftover prediction error.
Order 1: a1 = r1 / r0 = 0.8, and E1 = 1 − 0.8² = 0.36.
Order 2: k2 = (r2 − 0.8 × r1) / E1 = (0.5 − 0.64) / 0.36 = −7/18. Update a1 = 0.8 − k2 × 0.8 = 10/9, set a2 = k2, and E2 = E1(1 − k2²) = 11/36.
Order 3: k3 = (r3 − a1·r2 − a2·r1) / E2 = −8/55 ≈ −0.145. Update a1 = 10/9 − k3 × (−7/18) = 58/55 ≈ 1.055, a2 = −7/18 − k3 × 10/9 = −5/22 ≈ −0.227, a3 = k3, and E3 ≈ 0.299.
Check row 1: 1.055 − 0.8 × 0.227 − 0.5 × 0.145 = 0.800. Rows 2 and 3 give 0.5 and 0.2.
Step m costs a number of operations proportional to m, so n steps cost on the order of n². The Levinson recursion runs in Θ(n²) time against Θ(n³) for Gauss–Jordan elimination; James Durbin improved it in a 1960 paper on fitting time-series models (DOI 10.2307/1401322). The same article warns it is at best weakly stable, reliable only for well-conditioned systems; our post on the condition number of a matrix explains what that means.
How are Toeplitz matrices related to circulant matrices?
A circulant matrix is one in which each row is the row above shifted cyclically by one place, a special class of Toeplitz matrix (Wikipedia: Circulant matrix). The discrete Fourier transform diagonalises every circulant, so its eigenvalues are the DFT of its generating vector (its first column) and its nonsingular systems solve with the FFT in O(n log n) operations, per the same article.
A Toeplitz matrix and a matching circulant differ only near the corners, as the image above shows. As n grows, Toeplitz matrices become asymptotically equivalent to circulants, a result the Toeplitz matrix article calls the Grenander–Szegő theorem. Szegő's theorem says that, for Hermitian Toeplitz matrices whose diagonals are the Fourier coefficients of a function w(θ), and under suitable conditions, the eigenvalues spread like the values of w, so their average tends to the average of w (Szegő limit theorems). Szegő's first limit theorem, on Toeplitz determinants, appeared in Mathematische Annalen in 1915 (DOI 10.1007/BF01458220).
If the Fourier step feels shaky, the Fermi Concept Library covers every concept in mathematics, each with its own lesson and its place in the map.
A checklist for spotting and solving a Toeplitz system
Does every entry depend only on i − j? Store just the first row and column.
Symmetric, from autocorrelations? Use Levinson and watch that every k stays between −1 and 1.
Ill-conditioned? Prefer a stable method, such as the Bareiss algorithm the Levinson article describes.
Periodic data or very large n? Think circulant and FFT.
To practise, change r3 to 0.4 and rerun step 3 by hand. The Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer.



