A Matrix-Less Method to Approximate the Spectrum and the Spectral Function of Toeplitz Matrices with Real Eigenvalues
Sven-Erik Ekstr\"om

TL;DR
This paper introduces a matrix-less method to approximate the spectral distribution of Toeplitz matrices with real eigenvalues, validated through numerical experiments and capable of sometimes deriving analytical expressions.
Contribution
It proposes a novel matrix-less algorithm for spectral approximation of Toeplitz matrices with real eigenvalues, extending previous asymptotic analysis methods.
Findings
Validated the hypothesis that eigenvalues admit an asymptotic expansion with a real first function
Successfully tested the algorithm on diverse numerical examples
In some cases, derived analytical expressions for the spectral distribution function
Abstract
It is known that the generating function of a sequence of Toeplitz matrices may not describe the asymptotic distribution of the eigenvalues of if is not real. In this paper, we assume as a working hypothesis that, if the eigenvalues of are real for all , then they admit an asymptotic expansion of the same type as considered in previous works [1,10,12,13], where the first function appearing in this expansion is real and describes the asymptotic distribution of the eigenvalues of . After validating this working hypothesis through a number of numerical experiments, drawing inspiration from [12], we propose a matrix-less algorithm in order to approximate the eigenvalue distribution function . The proposed algorithm is tested on a wide range of numerical examples; in some cases, we are even able to find the analytical expression of…
| 0 | ||
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 |
| k | |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A Matrix-Less Method to Approximate the Spectrum and the Spectral Function of Toeplitz Matrices with Real Eigenvalues
Sven-Erik Ekström
(Athens University of Economics and Business
)
Abstract
It is known that the generating function of a sequence of Toeplitz matrices may not describe the asymptotic distribution of the eigenvalues of if is not real. In this paper, we assume as a working hypothesis that, if the eigenvalues of are real for all , then they admit an asymptotic expansion of the same type as considered in previous works [13, 1, 12, 10], where the first function appearing in this expansion is real and describes the asymptotic distribution of the eigenvalues of . After validating this working hypothesis through a number of numerical experiments, drawing inspiration from [12], we propose a matrix-less algorithm in order to approximate the eigenvalue distribution function . The proposed algorithm is tested on a wide range of numerical examples; in some cases, we are even able to find the analytical expression of . Future research directions are outlined at the end of the paper.
1 Introduction
Given a function , the Toeplitz matrix generated by is defined as
[TABLE]
where the numbers are the Fourier coefficients of , that is,
[TABLE]
It is known that the generating function , also known as the symbol of , describes the asymptotic distribution of the singular values of ; if is real or if and its essential range has empty interior and does not disconnect the complex plane, then also describes the asymptotic distribution of the eigenvalues of ; see [8, 15, 20] for details and [15, Section 3.1] for the notion of asymptotic singular value and eigenvalue distribution of a sequence of matrices. We will write to indicate that has an asymptotic singular value distribution described by and to indicate that has an asymptotic eigenvalue distribution described by . The cases of interest in this paper are those in which and the eigenvalues of are real for all . We believe that in these cases there exist a real function such that and the eigenvalues of admit an asymptotic expansion of the same type as considered in previous works [13, 1, 12, 10]. We therefore formulate the following working hypothesis.
Working Hypothesis**.**
Suppose that the eigenvalues of are real for all . Then, for every integer , every and every , the following asymptotic expansion holds:
[TABLE]
where:
- •
the eigenvalues of are arranged in non-decreasing order, ;
- •
* is a sequence of functions from to which depends only on ;*
- •
* and ;*
- •
* is the remainder (the error), which satisfies the inequality for some constant depending only on .*
Remark 1**.**
In the working hypothesis, we arrange the eigenvalues of in non-decreasing order, however, using a non-increasing order would result in another function . The case where the eigenvalues of can be described by a complex-valued or non-monotone function is out of the scope of this article and warrants further research.
2 Motivation and illustrative examples
In this section we present four examples in support of our working hypothesis. We also discuss the fact that standard double precision eigenvalue solvers (such as LAPACK, eig in Matlab, and eigvals in Julia) fail to give accurate eigenvalues of certain matrices ; see, e.g., [3, 21]. High-precision computations, by using packages such as GenericLinearAlgebra.jl [16] in Julia can compute the true eigenvalues, but they are very expensive from the computational point of view. Therefore, approximating on the grid and using matrix-less methods [12] to compute the spectrum of can be computationally very advantageous. Also, the presented approaches can be a valuable tool for the analysis of the spectra of non-normal Toplitz matrices having real eigenvalues.
Here is a short description of the four examples we are going to consider. In what follows, we denote by a “perfect” sampling grid, typically not equispaced, such that for ; such grids are discussed in [9].
- •
Example 1: is non-symmetric tridiagonal, is known, and the eigenvalues are known explicitly;
- •
Example 2: is symmetric pentadiagonal, , and the eigenvalues are not known explicitly;
- •
Example 3: is non-symmetric, is known, and the eigenvalues are not known explicitly;
- •
Example 4: is non-symmetric, is not known, and the eigenvalues are not known explicitly.
Example 1**.**
Consider the symbol
[TABLE]
The matrix is tridiagonal, and there exist a function
[TABLE]
such that , that is, they are similar and hence have the same eigenvalues. The eigenvalues are given explicitly by
[TABLE]
where is defined in the working hypothesis. Now, choose the Fourier coefficients , , and . In this case, we have
[TABLE]
and the spectrum of is real, even though the symbol is complex-valued. The Toeplitz matrices generated by and are given by
[TABLE]
We also note that is a symmetrized version of , in the sense that there exists a decomposition where is a diagonal matrix with elements , and ; see [17].
In the left panel of Figure 1 we represent the function (dashed black line), and (red line), and the eigenvalues (green dots) for . In the right panel of Figure 1 we show the function (red line) on the interval only (since it is even on ) and the eigenvalues (green dots).
In Figure 2 we present the numerically computed spectra (blue dots) and (beige dots), for , using a standard double precision eigenvalue solver. The analytical spectrum, defined by (11) and (12) is also shown (green dots). These numerically computed eigenvalues are related to the pseudospectrum, discussed for example in [21, 3, 18].
Example 2**.**
In this example we consider the symbol
[TABLE]
which generates a Toeplitz matrix associated with the second order finite difference approximation of the bi-Laplacian,
[TABLE]
The matrices are all Hermitian and sothey have a real spectrum. Moreover, we have , and . In Figure 3 we represent the symbol and the eigenvalues of for . The “perfect” sampling grid such that is not equispaced, but can in this case be obtained by either computing (since ), finding the roots in of , or using the expansion described in [9] for large .
Example 3**.**
In this example we consider the following symbol
[TABLE]
The Toeplitz matrix is a shifted version of the matrix considered in Example 2 (that is, the matrix associated with the second order finite difference approximation of the bi-Laplacian), and it is given by
[TABLE]
We note that
[TABLE]
which is equivalent to (41) in [19, Example 3.] with , , and . Hence by (43) in the same article we have that
[TABLE]
and the matrix would be full with for all .
In the left panel of Figure 4 we represent the functions (dashed black line), (red line) and the eigenvalues (green dots) for . In the right panel of Figure 4 we show the function (red line) on the interval only (since it is even on ) and the eigenvalues (green dots).
In Figure 5 we present the numerically computed spectra (blue dots) and (beige dots), for , using a standard double precision eigenvalue solver. The approximations of the true eigenvalues (green dots) are also shown, computed with 128 bit precision.
Example 4**.**
In this example we consider a symbol where the explicit formula for is not known explicitly. Let
[TABLE]
which generates the matrix
[TABLE]
From [19, Example 4.] we have strong indications that approximately for all .
In the left panel of Figure 6 we represent the symbol (dashed black line) and the eigenvalues , computed with a 256 bit eigenvalue solver (dashed red line) since is not known. The eigenvalues (green dots) for are also shown. In the right panel of Figure 6 show again the eigenvalues arranged in non-decreasing order (dashed red line) since is not known on the interval , since it is even on . Also the eigenvalues (green dots) are represented. The “perfect” grid is computed using data from Example 8. Numerically we have in agreement with [19].
In Figure 7 we present the numerically computed spectra (blue dots) and (beige dots), for , using a standard double precision eigenvalue solver. The true eigenvalues (green dots) are approximated using a 256 bit precision computation.
3 Describing the real-valued eigenvalue distribution
Assuming that is a real cosine trigonometric (RCTP) symbol associated with a symbol as in the working hypothesis, we introduce in Section 3.1 a new matrix-less method to accurately compute the expansion functions , where we recall that . Subsequently, in Section 3.2 we present procedures to obtain an approximation or even the analytical expression of .
3.1 Approximating the expansion functions in grid points
An asymptotic expansion of the eigenvalue errors , when sampling the symbol with the grid defined in the working hypothesis, under certain assumptions on implying that , was discussed in a series of papers [5, 6, 7]; such expansion can be deduced from
[TABLE]
where , , and are defined in the working hypothesis.
An algorithm was proposed in [13] to approximate the functions , which was subsequently extended to other types of Toeplitz-like matrices possessing an asymptotic expansion such as (52); see [1, 11, 10, 12]. We call this type of methods matrix-less, since they do not need to construct the large matrix to approximate its eigenvalues; indeed, they approximate the functions from small matrices and then they use this approximations to compute the approximate spectrum of through the formula
[TABLE]
Assuming that the eigenvalues of admit an asymptotic expansion in terms of an unknwn function instead of , as in our working hypothesis, we can use a slight modification of Algorithm 1 in [14, Section 2.1] in order to find approximations of both and the eigenvalues of through the following formula, analogous to (53):
[TABLE]
where the approximation of is obtained from small matrices as mentioned above.
Here follows an implementation in Julia of the algorithm that computes the approximations for ; the algorithm is written for clarity and not performance. All computations in this article are made with Julia 1.1.0 [4], using Float64 and BigFloat data types, and the GenericLinearAlgebra.jl package [16].
Algorithm 1**.**
Approximate expansion functions for on the grid .
using LinearAlgebra, GenericLinearAlgebra
setprecision(BigFloat,128)
Example: computeC(100, 4, BigFloat[2, -1], BigFloat[2, -2])
function computeC(n0 :: Integer, # Number of grid points in grid theta_{j,n0}
alpha :: Integer, # Number of c_k to approximate, k=0,...,alpha
vc :: Array{T,1}, # First column of T_n(f)
vr :: Array{T,1}, # First row of T_n(f)
revorder :: Bool=**false** # Reverse ordering of eigenvalues of T_n(f)
) where T
j0 = 1:n0
E = zeros(T,alpha+1,n0)
hs = zeros(T,alpha+1)
for kk = 1:alpha+1
nk = 2^(kk-1)*(n0+1)-1
jk = 2^(kk-1)*j0
hs[kk] = convert(T,1)/(nk+1)
Tnk = Toeplitz(nk,vc,vr)
eTnk = eigvals(Tnk)
**if** !isreal(eTnk)
error("Spectrum not real. Decrease n0 or alpha, or use BigFloat with higher precision.")
**end**
eTnk = sort(real.(eTnk),rev=revorder)
E[kk,:] = eTnk[jk]
end
V = zeros(T,alpha+1,alpha+1)
for ii = 1:alpha+1, jj = 1:alpha+1
V[ii,jj] = hs[ii]^(jj-1)
end
return C=V\E # Output: Matrix C, size (alpha+1,n0), with approximations c_k(theta_{j,n0})
end
Example: Toeplitz(100, Float64[2, -1], Float64[2, -2])
function Toeplitz(n :: Integer, # Order of Toeplitz matrix T_n(f)
vc :: Array{T,1}, # First column of T_n(f)
vr :: Array{T,1} # First row of T_n(f)
) where T
Tn = zeros(T,n,n)
for ii = 1:length(vc)
Tn = Tn + diagm(-ii+1 => vc[ii]*ones(T,n-ii+1))
end
for jj = 2:length(vr)
Tn = Tn + diagm( jj-1 => vr[jj]*ones(T,n-jj+1))
end
return Tn # Output: Toeplitz matrix of order n, defined by vectors vc and vr
end
Using the output , we can employ the interpolation–extrapolation technique described in [12] to efficiently compute very accurate approximations of and, through (54), the eigenvalues of for an arbitrarily large order . In the next section, we focus on the use of the approximations to describe .
3.2 Constructing a function from approximations
We here assume, for the sake of simplicity, that the sought function is real and even, so that it admits a cosine Fourier series of the form
[TABLE]
As we shall see, if is a real cosine trigonometric polynomial (RCTP), that is, a function of the form
[TABLE]
then we will be able to recover the exact expression of (see Examples 5 and 6); otherwise, we will get a truncated representation of the Fourier expansion of in (55) (see Examples 7 and 8). More specifically, what we do is the following: we consider the approximations provided by Algorithm 1 and we approximate the first Fourier coefficients with the numbers obtained by solving the linear system
[TABLE]
Algorithm 2**.**
Compute approximations of the Fourier coefficients of .
Example: computeghattilde(C[1,:])
function computeghattilde(c0 :: Array{T,1}) where T # Array of approximations c_0(theta_{j,n0})
n0 = length(c0)
t = LinRange(convert(T,pi)/(n0+1),n0*convert(T,pi)/(n0+1),n0)
G = zeros(T,n0,n0)
G[:,1] = ones(T,n0)
for jj = 2:n0
G[:,jj] = 2*cos.((jj-1)*t)
end
return ghattilde = G\c0 # Output: Coefficients ghattilde in (13)
end
4 Numerical examples
We now employ the proposed Algorithms 1 and 2 on a the symbols discussed in Examples 1–4 to highlight the applicability of the approach, in the respective Examples 5–8.
- •
Example 5: Only is non-zero, since gives exact eigenvalues, and the function is constructed.
- •
Example 6: Symbol , and , are recovered accurately, and the function is constructed.
- •
Example 7: Symbol , and , are recovered accurately, and a truncated RCTP representation of of is constructed.
- •
Example 8: Symbol , and , are constructed, and a truncated RCTP representation of of is constructed.
Example 5**.**
We return to the non-symmetric symbol of Example 1, and first use the proposed Algorithm 1. Note that care has to be taken when using for example standard Matlab eig command, since already for the returned eigenvalues are complex-valued (and wrong). In such a circumstance a choice of and needs to be such that . However, we here also use an arbitrary precision solver, GenericLinearAlgebra.jl in Julia, so we can increase precision such that theoretically any combination of and can be chosen. The performance however decreases fast as we increase the computational precision, showing the need for the current proposed algorithms.
In Figure 8 we present the computation of , for , and different precision and . In the left panel we show the approximated expansion functions , , where , and 128 bit precision computation. As is seen, the only non-zero is , which is expected since the exact eigenvalues are given by . In the right panel of Figure 8 we show the absolute error in the approximation of for double precision computation, with , and 128 bit computation, with .
Now we employ Algorithm 2 to compute the Fourier coefficients of . For illustrative purposes we only show a subset of the system (57). If we choose , we have three grid points equal to and , corresponding to indices . We then have
[TABLE]
We construct the following system with computed with (that is, and above) using double precision, and subsequently we compute ,
[TABLE]
We conclude from this computation that , which is the already known analytical expression; see (11) and (12). Note also that, in this simple example, the vector containing can be assumed to be equal to , which would yield the exact solution (to machine precision). Using the full system (57) in Algorithm 2 yields the same result. If we now would approximate the monotonically non-increasing (instead of the non-decreasing) in Algorithm 1 the vector containing would be and would yield the symbol . Obviously, the eigenvalues of are the same for both versions of .
Example 6**.**
We here return to the symmetric symbol , as in Example 2. Since we know , employing Algorithm 1 will return as an approximation of , and as , the expansion functions previously obtained and studied in [2, 14].
In Figure 9 we show in the left panel the approximated expansion functions for , computed using , . Computations are made with double precision. In the right panel of Figure 9 we show the absolute error of the approximation of , that is, .
The erratic behavior of close to in the left panel, and the increased error close to to in the right panel are due to the fact that the symbol violates the so-called simple-loop conditions, discussed in [2, 14].
Using Algorithm 2 we compute approximations of the Fourier coefficients of the mononically increasing to be , , and for . We thus recover the true symbol If Algorithm 1 was used to compute for the monotonically decreasing instead, the computed Fourier coefficients would be , and . In fact, for we have the same eigenvalues for and .
Example 7**.**
In this example we continue the investigation of from Example 3. In Figure 10 we show in the left panel the approximated expansion functions for and . Computations are made with 256 bit precision and the approximation overlaps well with , defined in (40). Note the erratic behavior of close to . In the right panel of Figure 10 we show the absolute values of the first one houndred approximated Fourier coefficients , given by Algorithm 2. In Table 1 we present the first ten true Fourier coefficients, , computed with defined in (40) and (7), and the approximations from Algorithm 2. Since is not an RCTP we can not recover the original simple expression of the symbol (40), but we can anyway obtain an approximated expression of through our Algorithm 2.
Example 8**.**
Finally, we return to the non-symmetric symbol discussed in Example 4, that is, . Again, we employ Algorithms 1 and 2 to study the symbols and . In the left panel of Figure 11 we present the approximated expansion functions in the working hypothesis, for and . Computations are made with 512 bit precision. The blue line, corresponds to the approximation of the unknown symbol . Recall the curve of in the right panel of Figure 6, which in principal matches the current . Note how all , for , are zero in apparently the same point . In the right panel of Figure 11 we see the first one houndred approximated Fourier coefficients of , by using Algorithm 2. In Table 2 is presented the first ten approximated Fourier coefficients, .
5 Conclusions
The working hypothesis in this article concerns the existence of an asymptotic expansion, such that there exists of a function describing the eigenvalue distribution of the Toeplitz matrices generated by a symbol . We have shown numerically that we can recover an approximation of the function . This is done by a matrix-less method described in Algorithm 1, which in principle can be modified so as to work without any information on or the way in which the eigenvalues of the smaller versions of are computed. Algorithm 1 can also be used to fast and accurately compute the eigenvalues of for an arbitrarily large order , as highlighted in (54). However, in this article we have focused only on using the obtained approximation of to find an approximation of its truncated Fourier series; and if is an RCTP, we have shown that it we are able to recover the original function analytically. These approaches can be a valuable tool for the exploration of the spectrum of Toeplitz and Toeplitz-like matrices previously not easily understood, because of high computational cost. For future research we propose the extension to complex-valued functions of the results presented herein, and also the study of matrices more general than .
6 Acknowledgments
The author would like to thank Carlo Garoni and Stefano Serra-Capizzano for valuable insights and suggestions during the preparation of this work. The author is financed by Athens University of Economics and Business.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] F. Ahmad, E. S. Al-Aidarous, D. A. Alrehaili, S.-E. Ekström, I. Furci, and S. Serra-Capizzano , Are the eigenvalues of preconditioned banded symmetric Toeplitz matrices known in almost closed form? , Numerical Algorithms, 78 (2017), pp. 867–893.
- 2[2] M. Barrera, A. Böttcher, S. M. Grudsky, and E. A. Maximenko , Eigenvalues of even very nice Toeplitz matrices can be unexpectedly erratic , in The Diversity and Beauty of Applied Operator Theory, Springer International Publishing, 2018, pp. 51–77.
- 3[3] R. M. Beam and R. F. Warming , The Asymptotic Spectra of Banded Toeplitz and Quasi-Toeplitz Matrices , SIAM Journal on Scientific Computing, 14 (1993), pp. 971–1006.
- 4[4] J. Bezanson, A. Edelman, S. Karpinski, and V. B. Shah , Julia: A Fresh Approach to Numerical Computing , SIAM Review, 59 (2017), pp. 65–98.
- 5[5] J. M. Bogoya, A. Böttcher, S. M. Grudsky, and E. A. Maximenko , Eigenvalues of Hermitian Toeplitz matrices with smooth simple-loop symbols , Journal of Mathematical Analysis and Applications, 422 (2015), pp. 1308–1334.
- 6[6] J. M. Bogoya, S. M. Grudsky, and E. A. Maximenko , Eigenvalues of Hermitian Toeplitz Matrices Generated by Simple-loop Symbols with Relaxed Smoothness , in Large Truncated Toeplitz Matrices, Toeplitz Operators, and Related Topics, Springer International Publishing, 2017, pp. 179–212.
- 7[7] A. Böttcher, S. M. Grudsky, and E. A. Maxsimenko , Inside the eigenvalues of certain Hermitian Toeplitz band matrices , Journal of Computational and Applied Mathematics, 233 (2010), pp. 2245–2264.
- 8[8] A. Böttcher and B. Silbermann , Introduction to Large Truncated Toeplitz Matrices , Springer New York, 1999.
