Advances on the recovery of (perturbed) Cauchy matrices


Abstract

Given a (possibly approximate) Cauchy matrix, how can we efficiently compute its generators? Expanding on previous work by Liesen and Luce [Linear Algebra Appl. 493 (2016) 261–280], we present a general family of algorithms for Cauchy parameter recovery, together with new error estimates. We also introduce a displacement-based approximation, which leads to a new algorithm for Cauchy parameter recovery. Numerical experiments show that the algorithm based on the displacement approximation is generally more accurate than the other algorithms.

Cauchy matrix ,low-rank matrix approximation ,best approximation ,data recovery ,CUR decomposition

15B05 ,65Y20

1 Introduction↩︎

Cauchy matrices are a family of structured matrices appearing in interpolation and approximation problems with rational functions. Moreover, they belong to the class of displacement structured matrices and, as such, they share notable computational properties with other structured matrix families, e.g., Toeplitz, Vandermonde, and Hankel matrices [1]. In fact, several algebraic computations involving Cauchy matrices can be performed efficiently using fast algorithms [2]. This is because, although a Cauchy matrix is fully populated by nonzero entries, it can be exactly described by a set of parameters growing linearly with the dimension. Cauchy matrices have been characterized in [3] as transition matrices between the eigenbases of two diagonalizable matrices that differ by a rank-one term. Moreover, row- and column-scaled versions of Cauchy matrices also appear in the numerical solution of secular equations and as eigenvector matrices of particular symmetric quasiseparable matrices [4].

The present work is motivated by the results of Liesen and Luce [5], who addressed the problem of determining whether a given matrix is Cauchy or can be approximated by a matrix with that structure. To this goal, the authors of [5] presented two algorithms. The first determines the parameters that define a Cauchy matrix using only the values in its first row and column. The second computes the parameters of a Cauchy matrix that best approximates a perturbed data matrix, in some sense. Both algorithms have optimal complexity, and the second is accompanied by a posteriori error bounds, i.e., upper bounds on the approximation errors based on the evaluation of suitably defined residuals. These algorithms are based on a characteristic property of Cauchy matrices: the matrix obtained by entrywise reciprocation is rank-two and has a specific structure. Therefore, the problems discussed by Liesen and Luce are somewhat related to the issue of representing rank-two matrices appropriately. In the case of generic matrices with non-negative elements, this latter problem is addressed in great depth in [6].

The problem of reconstructing a matrix having some kind of structure from noisy data is a well-known topic in numerical linear algebra that has been developed recently along different directions, because of the applications in mathematical modeling, signal processing, data compression, time series analysis, etc. For example, in [7] the authors address the problem of best approximation of a given matrix by a matrix of lower rank in the elementwise maximum norm. Comprehensive summaries on the construction of a structured low-rank matrix that is nearest to a given matrix are given in [8], [9]. Also the reconstruction of perturbed matrices with displacement structures, notably Toeplitz, Hankel, and Vandermonde matrices, has received some attention, see e.g., [10][12]. The computational approaches are usually based on the minimization of a possibly non-convex objective functional which measures the error between the data matrix and the approximating one, which may be subject to both rank and structural constraints. Analogous techniques are also employed for solving completion problems with displacement structured matrices, see [13].

In this work, we take a deeper look at the problem of recovering a Cauchy matrix from perturbed data. After collecting some preliminary notions and results on Cauchy matrices in the next section, Section 3 proposes a unified framework for the description and analysis of the algorithms in [5], based on a suitable family of projectors onto a subspace of rank-2 matrices. This framework allows us to introduce a parametrized algorithm, here called Algorithm 3, for solving our parameter recovery problem that includes both algorithms discussed by Liesen and Luce as particular cases. Moreover, we provide error bounds on the recovered parameters that are a priori, that is, intrinsic to the algorithm and do not depend on residual norms. For notational simplicity, we limit ourselves to considering real square matrices. Extending our results to rectangular and complex matrices only requires straightforward notational amendments and minor adaptations. On the other hand, we consider measuring approximation errors in both the Frobenius norm and the elementwise maximum norm.

Section 4 provides a further analysis of Algorithm 1 in [5] that relies on CUR factorization theory and provides new error estimates that involve singular values of an augmented matrix. In Section 5 we formulate a measure of ‘Cauchyness’ based on the displacement characterization of the Cauchy structure, and propose a recovery strategy based on the minimization of that measure, which leads to Algorithm 4. Finally, we present in Section 6 the results of a series of numerical experiments to illustrate the performance of the various algorithms on perturbed Cauchy matrices. As a side note, we discuss in the Appendix a parametrization of (entrywise reciprocated) Cauchy matrices that is perfectly well conditioned. Compared to the one originally presented in [5], the new parametrization has a tighter error bound when recovering a perturbed Cauchy matrix via Algorithm 2.

1.1 Notation↩︎

The following notation will be used throughout this paper. The maximum (Chebyshev) norm and the Frobenius norm of a matrix \(A\in{\mathbb{R}}^{n\times n}\) are defined as \[\|A\|_{\max}= \max_{i,j=1,\ldots,n}|A_{ij}| , \qquad \|A\|_\mathrm{F}= \bigg(\sum_{i,j=1}^n A_{ij}^2\bigg)^{1/2} ,\] respectively. We sometimes use the symbol \(\|\cdot\|_\star\) to denote any of the above matrix norms. These norms share the property presented in the following lemma.

Lemma 1. If \(A,B\in{\mathbb{R}}^{n\times n}\) are two matrices such that \(|A_{ij} - B_{ij}|/|A_{ij}| \leq \alpha\) for every \(i,j=1,\ldots,n\) for some \(\alpha \geq 0\), then \(\|A - B\|_\star/\|A\|_\star \leq \alpha\).

An \(n\times n\) identity matrix is denoted \(I_n\) or simply \(I\) if the size is evident. The symbol \(\mathbf{1}\) denotes the all-ones vector of appropriate size, \(\mathbf{1}=(1,\ldots,1)^T\in{\mathbb{R}}^n\). We also write \(\mathbf{1}_n\) to explicitly indicate the size. Denote as \(\mathrm{vec}\) the vectorization operator such that \(\mathrm{vec}(A)\) is the vector in \({\mathbb{R}}^{n^2}\) obtained by stacking the columns of \(A\). Note that \(\|A\|_{\max}= \|\mathrm{vec}(A)\|_\infty\) and \(\|A\|_\mathrm{F}= \|\mathrm{vec}(A)\|_2\). The symbol \(\otimes\) denotes the Kronecker product. The following well-known identity establishes a relationship between matrix multiplication, Kronecker product, and vectorization: \[\label{eq:ABC} \mathrm{vec}(ABC) = (C^T\otimes A)\mathrm{vec}(B) .\tag{1}\] Let \(M\) and \(N\) two matrices with the same number of columns. The Matlab-style notation \([M;N]\) denotes the matrix obtained by stacking \(M\) on top of \(N\). Conversely, if \(M\) and \(N\) have the same number of rows then \([M\;N]\) indicates the matrix obtained by concatenating the rows of \(M\) and \(N\). For a matrix \(X\in{\mathbb{R}}^{n\times n}\) with no zero entries we denote as \({X}^{[-1]}\in{\mathbb{R}}^{n\times n}\) the entrywise reciprocal matrix, \[{X}^{[-1]}_{ij} = 1/X_{ij} .\] For any vector \(x\in{\mathbb{R}}^n\) we denote \(\mathrm{Diag}(x)\) the \(n\times n\) diagonal matrix with the entries of \(x\) in the main diagonal.

2 Preliminaries on Cauchy matrices and the recovery of Cauchy points↩︎

A matrix \(C \in{\mathbb{R}}^{n\times n}\) is a Cauchy matrix if \[C_{ij} = \frac{1}{x_i-y_j}\] for real numbers \(x_1,\ldots,x_n\) and \(y_1,\ldots,y_n\) such that \(x_i \neq y_j\) for \(i,j=1,\ldots,n\). We say that the vectors \(x = [x_i]_{i=1,\ldots,n}\) and \(y = [y_i]_{i=1,\ldots,n}\) are Cauchy points of the matrix \(C\), and we adopt the notation \(C = \mathop{\mathrm{\tt Cauchy}}(x,y)\). Note that the Cauchy points are defined up to an additive constant. In fact, it is not hard to check that \(\mathop{\mathrm{\tt Cauchy}}(x,y) = \mathop{\mathrm{\tt Cauchy}}(x+\alpha\mathbf{1},y+\alpha\mathbf{1})\) for every \(\alpha\in{\mathbb{R}}\). Following [5] we say that the Cauchy points \(x\) and \(y\) of a Cauchy matrix \(C\) are normalized if \(\sum_{i=1}^n (x_i^2 + y_i^2)\) is minimal among all possible Cauchy points. It can be easily verified that, given \(C = \mathop{\mathrm{\tt Cauchy}}(x,y)\), the vectors \(\hat{x} = x -\alpha\mathbf{1}\) and \(\hat{y} = y -\alpha\mathbf{1}\) with \(\alpha = \sum_i(x_i+y_i)/(2n)\) are the normalized Cauchy points of \(C\).

Let \(\mathcal{D}\subset {\mathbb{R}}^{n\times n}\) be the set \[\label{eq:defD} \mathcal{D} = \{ x\mathbf{1}^T - \mathbf{1}y^T\in{\mathbb{R}}^{n\times n}\, |\, x,~y\in{\mathbb{R}}^n\} ,\tag{2}\] which is a vector subspace of \({\mathbb{R}}^{n\times n}\) of dimension \(2n-1\). Based on this definition, we can say that a matrix \(A \in{\mathbb{R}}^{n\times n}\) is a Cauchy matrix if and only if it has no zero entries and \({A}^{[-1]}\in\mathcal{D}\). Let us also introduce the matrix-valued operator \(\Delta:{\mathbb{R}}^n\times {\mathbb{R}}^n\mapsto{\mathbb{R}}^{n\times n}\) defined as \[\Delta(x,y) = x\mathbf{1}^T - \mathbf{1}y^T .\] It holds \(\mathrm{Range}(\Delta) = \mathcal{D}\). Moreover, if \(x,y\) are Cauchy points then \(\mathop{\mathrm{\tt Cauchy}}(x,y) = {\Delta(x,y)}^{[-1]}\). However, not all matrices in \(\mathcal{D}\) are entrywise reciprocals of Cauchy matrices. We call generators of a matrix \(D\in\mathcal{D}\) any vector pair \((x,y)\) such that \(D = \Delta(x,y)\). Furthermore, we say that \((x,y)\) are normalized if \(\sum_{i=1}^n (x_i^2 + y_i^2)\) is minimal.

The following Algorithm 1, borrowed from [5], recovers the normalized Cauchy points of a given Cauchy matrix. The computed vectors \(x\) and \(y\) are identified by equating the entries in the first row and column of \(\Delta(x,y)\) and the entrywise inverse of the input matrix. If the input matrix \(A\) is Cauchy then \(x\) and \(y\) are normalized Cauchy points such that \(A = \mathop{\mathrm{\tt Cauchy}}(x,y)\). However, Algorithm 1 can also be applied to a generic matrix with nonzero entries, in which case the vectors \(x\) and \(y\) are normalized generators of a matrix in \(\mathcal{D}\).

Figure 1: Recovery of normalized generators

Now, suppose that \(A\) is a perturbed Cauchy matrix, that is, \(A = B + E\) where \(B\) is Cauchy and \(E\) is a perturbation matrix with ‘small’ entries. Aiming at recovering the matrix \(B\), the authors of [5] propose the Algorithm 2 below which computes vectors \(x\) and \(y\) such that \(\Delta(x,y)\) is the solution of \[\label{eq:minF} \min_{X\in\mathcal{D}}\|{A}^{[-1]} - X\|_\mathrm{F}^2 .\tag{3}\]

Algorithm 2 is obtained by converting 3 to a standard least squares problem via vectorization, and deriving an explicit formula for the least norm solution. The correctness of this algorithm is shown in [5], which also provides a necessary and sufficient condition for the inequality \(x_i\neq y_j\) to hold for \(i,j=1,\ldots,n\). In this case, \(\mathop{\mathrm{\tt Cauchy}}(x,y)\) can be considered as an approximation of the hidden Cauchy matrix \(B\). On the other hand, it is also shown in [5] that these algorithms may fail to provide Cauchy points when the data matrix is noisy, since the condition \(x_i\neq y_j\) may not be fulfilled for all \(i,j=1,\ldots,n\) in some cases. The following theorem shows that, if \({A}^{[-1]}\) is quite close to \(\mathcal{D}\) then \(A\) can be approximated by a Cauchy matrix, and also provides a relative normwise estimate of the approximation error, see [5].

Figure 2: Normalized generators from the solution of 3

Theorem 1. Let \(A\in{\mathbb{R}}^{n\times n}\) be a matrix with no zero entries and let \(D \in\mathcal{D}\) be a matrix such that \[\label{eq:hyp} | 1 - A_{ij}D_{ij}| \leq \beta < 1\qquad{(1)}\] for \(i,j = 1,\ldots,n\). Then \(D =\Delta(x,y)\) with \(\min_{i,j}|x_i - y_j| \geq (1-\beta)/\|A\|_{\max}\). Moreover, if \(C = \mathop{\mathrm{\tt Cauchy}}(x,y)\) then \[\frac{\|A - C\|_\star}{\|A\|_\star} \leq \frac{\beta}{1-\beta} .\]

This theorem has been proven in [5] in the \(\star = \mathrm{F}\) case. However, the original proof incidentally shows that \[\frac{|A_{ij} - C_{ij}|}{|A_{ij}|} \leq \frac{\beta}{1-\beta} ,\] which is easily deduced from ?? . By this inequality and Lemma 1, we can conclude that Theorem 1 is also true in the Chebyshev norm. The first part of the claim shows that the vectors \(x\) and \(y\) are Cauchy points, whereas the last part provides a relative normwise approximation error of \(C\) with respect to \(A\). As \(C_{ij} = 1/D_{ij}\), the leftmost term in ?? can be rewritten as \[\label{eq:rearranged} | 1 - A_{ij}D_{ij}| = |A_{ij}| \bigg| \frac{1}{A_{ij}} - \frac{1}{C_{ij}} \bigg| = \frac{|C_{ij} - A_{ij}|}{|C_{ij}|}.\tag{4}\] Thus the constant \(\beta\) in ?? is a bound on the entrywise relative error between the matrices \({A}^{[-1]}\) and \({C}^{[-1]}\) or, equivalently, between \(C\) and \(A\). In passing, we note that Theorem 1 holds for every matrix \(D\in\mathcal{D}\) that fulfils the hypothesis ?? , not just the matrix attaining the minimum in 3 . Furthermore, it is not difficult to complement Theorem 1 with the following result, which provides a sort of stability estimate for the recovery of the matrix \(C\).

Corollary 1. In the same hypotheses and notations of Theorem 1, it holds \(\|C\|_\star\leq \|A\|_\star/(1-\beta)\), where \(\|\cdot\|_\star\) denotes either the Frobenius or the Chebyshev norm.

Proof. Using ?? and 4 , for all \(i,j=1,\ldots,n\) we have \[\beta |C_{ij}| \geq |C_{ij} - A_{ij}| \geq |C_{ij}| - |A_{ij}| .\] Thus \(|A_{ij}| \geq |C_{ij}| (1-\beta)\), and the claim follows. ◻

3 A general family of algorithms for Cauchy parameter recovery↩︎

In this section, we uncover a common structure of the two algorithms in the preceding section. This structure allows us to devise a parametrized algorithm for the approximation of a perturbed Cauchy matrix, which includes Algorithm 1 and 2 as particular cases. Furthermore, we provide a priori error bounds on the approximation computed by this algorithm. A close look at Algorithms 1 and 2 reveals that they implement linear projectors onto \(\mathcal{D}\). To reveal the common structure of these projectors we introduce the matrix function \(\Phi:{\mathbb{R}}^{n\times n}\mapsto {\mathbb{R}}^{n\times n}\) given by \(\Phi(X) = X - MXN^T\) for some auxiliary matrices \(M\) and \(N\).

Theorem 2. The matrix function \(\Phi(X) = X - MXN^T\) is a projector onto \({\mathcal{D}}\subset{\mathbb{R}}^{n\times n}\) if and only if there exist \(v,w\in{\mathbb{R}}^n\) such that \(\mathbf{1}^Tv = \mathbf{1}^Tw = 1\), \(M = I - \mathbf{1}v^T\) and \(N = I - \mathbf{1}w^T\).

Proof. Let \(A,B\in{\mathbb{R}}^{n\times n}\) be such that \(M=I-A\), \(N=I-B\). Suppose first that for any \(X\in\mathbb{R}^{n\times n}\) there exist \(x,y\in{\mathbb{R}}^n\) such that \[\label{eq:block} X - MXN^T =x\mathbf{1}^T - \mathbf{1}y^T .\tag{5}\] The left-hand side of 5 can be written as \(AX + (I-A)XB^T\). Let \(i,j\in\{1,\ldots,n\}\) with \(i\neq j\) be fixed, and consider the matrix \(X = ze_i^T\) where \(z\in{\mathbb{R}}^n\) is arbitrary. Multiplying both sides of 5 by \(e_i-e_j\) and simplifying, we obtain on the left-hand side \[\begin{align} AX(e_i-e_j) + (I-A)XB^T(e_i-e_j) & = Az + (I-A)ze_i^T B^T(e_i-e_j) \\ & = Az + \xi_{ij}(I-A)z \\ & = [(1-\xi_{ij})A - \xi_{ij}I]z , \end{align}\] with \(\xi_{ij} = B_{ii} - B_{ji}\) and \[(x\mathbf{1}^T - \mathbf{1}y^T)(e_i-e_j) = \mathbf{1}(y_j-y_i)\] on the right-hand side. Note that \(\xi_{ij}\) does not depend on \(z\). Since \(z\) is arbitrary, we conclude that \((1-\xi_{ij})A - \xi_{ij}I\) is a rank-one matrix whose image is \(\mathrm{Span}(\mathbf{1})\) for any \(i\neq j\). But then \(A = \mathbf{1}v^T\) for some \(v\in{\mathbb{R}}^n\). Moreover, \(0 = \xi_{ij} = B_{ii} - B_{ji}\), whence \(B = \mathbf{1}w^T\) for some \(w\in{\mathbb{R}}^n\). Finally, imposing that \(\Phi\) is the identity on \(\mathcal{D}\) we obtain \[x\mathbf{1}^T - \mathbf{1}y^T = \Phi(x\mathbf{1}^T - \mathbf{1}y^T) = \mathbf{1}v^T(x\mathbf{1}^T - \mathbf{1}y^T) + (I-\mathbf{1}v^T) (x\mathbf{1}^T - \mathbf{1}y^T) w\mathbf{1}^T ,\] which must be true for any choice of \(x,y\in{\mathbb{R}}^n\). Using some algebra, we eventually arrive at the identities \(v^T\mathbf{1}= 1\) and \(w^T\mathbf{1}= 1\), which proves one part of the claim.

The converse implication is simpler to prove. Indeed, if \(M\) and \(N\) are as in the hypotheses then \[\Phi(X) = \mathbf{1}v^T X + Xw\mathbf{1}^T - \mathbf{1}v^TX w\mathbf{1}^T = x\mathbf{1}- \mathbf{1}y^T \in{\mathcal{D}},\] where we set \(x = Xw\) and \(y = X^Tv - (v^TXw)\mathbf{1}\). Furthermore, if \(X = x\mathbf{1}^T - \mathbf{1}y^T\) then, after some simplification, \[\begin{align} \Phi(X) & = \mathbf{1}v^T (x\mathbf{1}^T - \mathbf{1}y^T) + (x\mathbf{1}^T - \mathbf{1}y^T)w\mathbf{1}^T - \mathbf{1}v^T(x\mathbf{1}^T - \mathbf{1}y^T)w\mathbf{1}^T \\ & = \ldots = x\mathbf{1}^T - \mathbf{1}y^T = X , \end{align}\] and the proof is complete. ◻

As we will show shortly after, Theorem 2 allows us to generalize Algorithms 1 and 2 employing any one of the projectors described there and recovering the Cauchy points from one row and column of \(\Phi(A^{[-1]})\). To this goal, we introduce the following notation. Let \(u\in\mathbb{R}^n\) and define the matrix \[\label{eq:M95u} M_u=I - \mathbf{1}u^T\in\mathbb{R}^{n\times n}.\tag{6}\]

Theorem 3. Let \(A\in{\mathbb{R}}^{n\times n}\) be a matrix with no zero entries.

  • Let \(\Phi_1(X) = X - M_{e_1}XM_{e_1}^T\) and let \(x,y\) be the vectors computed by Algorithm 1 with input \(A\). Then \(\Delta(x,y) = \Phi_1({A}^{[-1]})\).

  • Let \(\Phi_2(X) = X - M_{\mathbf{1}/n}XM_{\mathbf{1}/n}^T\). Then \(\Phi_2\) is the projector onto \(\mathcal{D}\) orthogonal with respect to the Frobenius inner product \(\langle X,Y\rangle = \mathrm{trace}(Y^TX)\). Moreover, if \(x,y\) are the vectors computed by Algorithm 2 with input \(A\) then \(\Delta(x,y) = \Phi_2({A}^{[-1]})\).

Proof. Let \(A\), \(x\) and \(y\) be as in the first part of the claim. Let \(Z = {A}^{[-1]}\) and \(B = \Phi_1(Z)\) for notational convenience. With simple passages, \[B = Z - (I - \mathbf{1}e_1^T)Z(I - e_1\mathbf{1}^T) = \mathbf{1}e_1^TZ + Ze_1\mathbf{1}^T - Z_{11}\mathbf{1}\mathbf{1}^T .\] Recall that the first row and column of \(\Delta(x,y)\) coincide with those of \(Z\). From the relations \(y_j = -Z_{1j}\) and \(x_i = Z_{i1} - Z_{11}\), for \(i,j=1\ldots,n\) we have \[B_{ij} = Z_{1j} + Z_{i1} - Z_{11} = x_i - y_j.\] Thus \(B = \Delta(x,y)\). In particular, the first row and column of \(B\) coincide with those of \({A}^{[-1]}\). This proves the first claim.

For the second part of the claim, let \(D = x\mathbf{1}^T - \mathbf{1}y^T \in{\mathcal{D}}\) be arbitrary. Then the identity \(\Phi_2(D) = D\) can be derived by elementary manipulations. Finally, consider the inner product \(\langle X - \Phi(X),D\rangle\) for arbitrary \(X\in{\mathbb{R}}^{n\times n}\) and \(D\in{\mathcal{D}}\). We have \[\begin{align} \langle X - \Phi(X),D\rangle & = \frac{1}{n} \langle \mathbf{1}\mathbf{1}^TX + X \mathbf{1}\mathbf{1}^T - \mathbf{1}\mathbf{1}^TX\mathbf{1}\mathbf{1}^T /n , D \rangle \\ & = \frac{1}{n} \langle X , \mathbf{1}\mathbf{1}^TD + D \mathbf{1}\mathbf{1}^T - \mathbf{1}\mathbf{1}^T D \mathbf{1}\mathbf{1}^T/n \rangle \\ & = \langle X , D - \Phi(D) \rangle = 0 . \end{align}\] Thus the residual \(X - \Phi_2(X)\) is orthogonal to \({\mathcal{D}}\), proving that \(\Phi_2\) is an orthogonal projector onto \({\mathcal{D}}\). In particular, \(\Phi_2({A}^{[-1]})\) attains the minimum in 3 , exactly as the output of Algorithm 2, thus proving the last part of the claim. ◻

Theorem 3 characterizes the result of Algorithm 1 in terms of the matrix function \(\Phi_1(X) = X - MXM^T\) with \(M = I-\mathbf{1}e_1^T\), which is a projector onto \({\mathcal{D}}\). Also Algorithm 2, which computes the matrix in \({\mathcal{D}}\) that is the closest in Frobenius norm to a given matrix, is described in terms of the projector \(\Phi_2\). It is then natural to ask if we can devise other algorithms for reconstructing a Cauchy approximation of \(A\) that correspond to different projectors onto \({\mathcal{D}}\). Also, recall that Algorithm 1 only uses information from the first row and column of \(A\), thus achieving linear complexity, whereas it might be useful to use information from the other matrix elements as well, even at an increased computational cost.

Algorithm 3 here below computes the normalized generators of the matrix obtained from a generic projector from Theorem 2. The vectors \(v,w\in{\mathbb{R}}^n\) that characterize the projector are given in input to the algorithm, together with the data matrix \(A\). The correctness of the algorithm is shown in Lemma 2, and a priori bounds on the approximation error are given in Theorem 4. The computational cost is, in general, \(O(n^2)\), but the algorithm is well-suited for parallel implementation, with a cost of \(O(n)\) per processor.

Figure 3: Recovery of normalized generators – variant with parametrized projectors

Lemma 2. Let \(v,w\in\mathbb{R}^n\) such that \(v^T\mathbf{1}=w^T\mathbf{1}=1\). Let \(A\in{\mathbb{R}}^{n\times n}\) be a matrix with no zero entries, and let \(x,y\) be the vectors computed by Algorithm 3 with input \(A\). Then \(\Delta(x,y) = {A}^{[-1]} - M_v{A}^{[-1]}M_w^T\). In particular, if \(A\) is Cauchy then \(A = \mathop{\mathrm{\tt Cauchy}}(x,y)\).

Proof. From the definition of \(M_v\) and \(M_w\) we have \[\begin{align} {A}^{[-1]} - M_v{A}^{[-1]}M_w^T & = {A}^{[-1]} - (I-\mathbf{1}v^T){A}^{[-1]}(I- w \mathbf{1}^T) \\ & = \mathbf{1}v^T {A}^{[-1]} + {A}^{[-1]}w\mathbf{1}^T - \mathbf{1}v^T{A}^{[-1]}w\mathbf{1}^T. \end{align}\] The entry in position \((i,j)\) is given by \[\begin{align} [{A}^{[-1]} - M_v{A}^{[-1]}M_w^T]_{i,j} & = e_i^T ({A}^{[-1]} - M_v{A}^{[-1]}M_w^T) e_j \\ & = e_i^T\mathbf{1}v^T {A}^{[-1]}e_j + e_i^T{A}^{[-1]}w\mathbf{1}^T e_j - e_i^T\mathbf{1}v^T{A}^{[-1]}w\mathbf{1}^T e_j \\ & = e_i^T{A}^{[-1]}w - v^T{A}^{[-1]}w + v^T {A}^{[-1]}e_j. \end{align}\] Now, let \[y = - {{A}^{[-1]}}^T v , \qquad \theta = - v^T {A}^{[-1]} w , \qquad x = \theta \mathbf{1}+ {A}^{[-1]} w .\] Note that these quantities are those computed in lines 2, 3, and 5 of Algorithm 3, respectively. Therefore we have \[[{A}^{[-1]} - M_v{A}^{[-1]}M_w^T]_{i,j} = x_i - y_j,\] with \(x_i\), \(y_j\) computed as in Algorithm 3. The last assertion follows immediately from the property \(M_v\mathbf{1}= M_w\mathbf{1}= 0\). ◻

Hereafter we make use of the best approximation measure \[\kappa_\star(A) = \min_{X\in \mathcal{D}}\|{A}^{[-1]}-X\|_\star ,\] where \(\|\,\cdot\,\|_\star\) stands for either the Chebyshev norm or the Frobenius norm, according to whether \(\star = {\max}\) or \(\star = \mathrm{F}\), respectively. Recall that Algorithm 2 computes the solution of 3 , hence \(\kappa_\mathrm{F}(A)\) can be obtained explicitly from that solution. For later reference, we state in the next lemma a permutational invariance property of this measure, whose trivial proof is omitted for brevity.

Lemma 3. Let \(P,Q\) be permutation matrices. If \(A\) has only nonzero entries then \(\kappa_\star(PAQ) = \kappa_\star(A)\).

The next result shows that the matrix \(\Delta(x,y)\) obtained from Algorithm 3 is never too far from a matrix in \(\mathcal{D}\) that is closest to \({A}^{[-1]}\), in both the Frobenius and Chebyshev norms. Recall that Algorithm 3 includes Algorithm 1 and Algorithm 2 as particular cases.

Theorem 4. Let \(\Delta(x,y)\in\mathcal{D}\) be the matrix obtained from the output of Algorithm 3, that is, \(\Delta(x,y) = {A}^{[-1]} - M_v{A}^{[-1]}M_w^T\), where \(A\) has no zero entries. Then, \[\label{eq:bestbound} \|{A}^{[-1]} - \Delta(x,y)\|_\star \leq \alpha \kappa_\star(A)\qquad{(2)}\] with \(\alpha = \|M_v\|_\infty\| M_w\|_\infty\) if \(\star = \max\) and \(\alpha = \|M_v\|_2\| M_w\|_2\) if \(\star = \mathrm{F}\). Furthermore, if \(x\) and \(y\) are Cauchy points then, for \(C = \mathop{\mathrm{\tt Cauchy}}(x,y)\) we also have \[\label{eq:thm3465} \frac{\|A - C\|_\star}{\|A\|_\star} \leq \nu \kappa_{\max}(A)\|C\|_{\max}, \qquad \frac{\|A - C\|_\star}{\|C\|_\star} \leq \nu \kappa_{\max}(A)\|A\|_{\max}.\qquad{(3)}\] with \(\nu = \|M_v\|_\infty\| M_w\|_\infty\).

Proof. Let \(Z = {A}^{[-1]}\) and let \(B\in\mathcal{D}\) be a matrix such that \(\kappa_\star(A) = \|{A}^{[-1]} - B\|_\star\). Consider first the Chebyshev norm case, \(\star = \max\). By Lemma 2 we know that \(M_v B M_w^T\) is the zero matrix. Hence, \[\begin{align} \|Z - \Delta(x,y)\|_{\max}= \|M_v Z M_w^T\|_{\max} & = \|M_v (Z - B) M_w^T\|_{\max}\\ & = \|(M_w\otimes M_v) \mathrm{vec}(Z - B) \|_\infty \\ & \leq \|M_w\otimes M_v\|_\infty \|Z - B\|_{\max}. \end{align}\] The identity \(\|M_w\otimes M_v\|_\infty = \|M_w\|_\infty\| M_v\|_\infty\) completes the proof. The Frobenius norm case goes exactly along the same lines but making use of the bound \[\|(M_w\otimes M_v)\mathrm{vec}(Z - B)\|_2 \leq \|M_w\otimes M_v\|_2 \|Z - B\|_\mathrm{F}\] and the identity \(\|M_w\otimes M_v\|_2 = \|M_w\|_2\| M_v\|_2\).

Finally, assuming that \(x\) and \(y\) are Cauchy points, let \(B = \Delta(x,y)\) so that \(C = {B}^{[-1]}\). First we note that, for \(i,j = 1,\ldots,n\) we have \[\begin{align} \bigg|\frac{1}{A_{ij}} - B_{ij}\bigg| = \bigg|\frac{1}{A_{ij}} - \frac{1}{C_{ij}}\bigg| & = \frac{|A_{ij} - C_{ij}|}{|A_{ij}C_{ij}|} \\ & \geq \frac{|A_{ij} - C_{ij}|}{|A_{ij}|\|C\|_{\max}} . \end{align}\] Let \(\nu = \|M_v\|_\infty\| M_w\|_\infty\). Using the first part, we get \[\frac{|A_{ij} - C_{ij}|}{|A_{ij}|} \leq \bigg|\frac{1}{A_{ij}} - B_{ij}\bigg| \|C\|_{\max} \leq \|{A}^{[-1]} - B\|_{\max}\|C\|_{\max} \leq \nu \kappa_{\max}(A)\|C\|_{\max}.\] Lemma 1 now applies to prove the leftmost inequality in ?? . Analogously, \[\bigg|\frac{1}{A_{ij}} - B_{ij}\bigg| = \frac{|A_{ij} - C_{ij}|}{|A_{ij}C_{ij}|} \geq \frac{|A_{ij} - C_{ij}|}{|C_{ij}|\|A\|_{\max}} .\] Hence \[\frac{|A_{ij} - C_{ij}|}{|C_{ij}|} \leq \bigg|\frac{1}{A_{ij}} - B_{ij}\bigg| \|A\|_{\max} \leq \nu \kappa_{\max}(A) \|A\|_{\max}.\] It remains to apply Lemma 1 to complete the proof. ◻

The next lemma provides a technical result required later.

Lemma 4. For any \(u\in{\mathbb{R}}^n\) we have

  1. \(\|M_u\|_\infty \leq 1 + \|u\|_1\), with equality if \(u_i > 0\) for some \(i=1,\ldots,n\);

  2. \(\|M_u\|_2 \leq 1 + \sqrt{n}\|u - \mathbf{1}/n\|_2\).

Proof. From 6 we obtain immediately \(\|M_u\|_\infty \leq \|I\|_\infty + \|\mathbf{1}u^T\|_\infty = 1 + \|u\|_1\). Moreover, if \(u_i > 0\) then \(\|M_u\|_{\infty} \geq \sum_j |M_{ij}| = 1 + \sum_j |u_j| = 1+\|u\|_1\), and the first part follows. To prove the second part, we first observe that \(I-\mathbf{1}\mathbf{1}^T/n\) is the orthogonal projector onto \(\mathrm{Span}(\mathbf{1})\), so \(\|I - \mathbf{1}\mathbf{1}^T/n\|_2 = 1\). Thus, \[\begin{align} \|M_u\|_2 = \|I-\mathbf{1}u^T\|_2 & \leq \|I - \mathbf{1}\mathbf{1}^T/n\|_2 + \|\mathbf{1}(u - \mathbf{1}/n)^T \|_2 \\ & = 1 + \|\mathbf{1}\|_2 \|u - \mathbf{1}/n\|_2 = 1 + \sqrt{n}\|u - \mathbf{1}/n\|_2 , \end{align}\] and the proof is complete. ◻

The next corollary provides easily computable formulas for the constant \(\alpha\) in Theorem 4. We refrain from including the proof since it is an immediate consequence of Lemma 4

Corollary 2. For any vectors \(v,w\in{\mathbb{R}}^n\), the constant \(\alpha\) in ?? can be chosen as

  1. \((1 + \| v \|_1)(1 + \| w \|_1)\) if \(\star = \max\), with equality if \(v_i > 0\) and \(w_j > 0\) for some \(i,j=1,\ldots,n\);

  2. \((1 + \sqrt{n}\| v - \mathbf{1}/n\|_2) (1 + \sqrt{n}\| w - \mathbf{1}/n \|_2)\) if \(\star = \mathrm{F}\).

We point out that the inequalities in ?? and in Corollary 2 can be attained as equalities. For instance, we know that when \(x\) and \(y\) are computed by Algorithm 2 we have \(\|{A}^{[-1]}-\Delta(x,y)\|_\mathrm{F}= \kappa_\mathrm{F}(A)\) if \(A\) has no zero entries, owing to Theorem 3. On the other hand, point 2 of Corollary 2 gives \(\alpha = 1\) as \(v = w = \mathbf{1}/n\) in Algorithm 2, showing that the estimate in Theorem 4 is optimal. The result below provides analogous error bounds for the approximation given by Algorithm 1.

Corollary 3. Let \(\Delta(x,y)\in\mathcal{D}\) be the matrix obtained from the output of Algorithm 1, that is, \(\Delta(x,y) = {A}^{[-1]} - M_{e_1}{A}^{[-1]}M_{e_1}^T\). Then, \(\|{A}^{[-1]} - \Delta(x,y)\|_\star \leq \alpha \kappa_\star(A)\) where \(\alpha = 4\) if \(\star = \max\) and \(\alpha = n\) if \(\star = \mathrm{F}\). Furthermore, if \(x\) and \(y\) are Cauchy points then, for \(C = \mathop{\mathrm{\tt Cauchy}}(x,y)\) we also have \[\frac{\|A - C\|_\star}{\|A\|_\star} \leq 4\kappa_{\max}(A)\|C\|_{\max}, \qquad \frac{\|A - C\|_\star}{\|C\|_\star} \leq 4\kappa_{\max}(A)\|A\|_{\max}.\]

Proof. The identity \(\|M_{e_1}\|_\infty = 2\) is an immediate consequence of Corollary 2, point 1. To compute \(\|M_{e_1}\|_2\), note that \[M_{e_1}M_{e_1}^T = (I-\mathbf{1}e_1^T)(I - e_1 \mathbf{1}^T) = I - \mathbf{1}e_1^T - e_1 \mathbf{1}^T + \mathbf{1}\mathbf{1}^T = \begin{pmatrix} 0 & \\ & S \end{pmatrix} ,\] where \(S = I + \mathbf{1}\mathbf{1}^T\in{\mathbb{R}}^{(n-1)\times (n-1)}\). By elementary techniques and Perron-Frobenius theory, we deduce that the spectral radius of \(S\) is \(n\), due to the identity \(S\mathbf{1}= n\mathbf{1}\). Consequently, \(\|M_{e_1}\|_2 = \sqrt{\rho(M_{e_1}M_{e_1}^T)} = \sqrt{\rho(S)} = \sqrt{n}\). The claim is now a consequence of Theorem 4. ◻

Remark 5. In view of Theorem 4, one may want to choose vectors \(v\) and \(w\) in Algorithm 3 to minimize \(\alpha\). Because of the definition of \(\kappa_\star\), we trivially have \(\alpha \geq 1\), and this lower bound is attained in the Frobenius norm case when \(u = v = \mathbf{1}/n\) as in Algorithm 2, see Corollary 2. Instead, if \(\star = \max\) then the lower bound for \(\alpha\) increases to \(4\). Indeed, the constraints \(v^T\mathbf{1}=1\), \(w^T\mathbf{1}=1\) imply that \(v\) and \(w\) have at least one positive entry, and moreover, \(\|v\|_1\geq 1\) and \(\|w\|_1\geq 1\). Hence, \(\alpha = \|M_u\|_\infty\|M_v\|_\infty \geq 4\) by Lemma 4. Choosing \(v\) and \(w\) with nonnegative entries we have \(\|v\|_1=\|w\|_1=1\) and therefore \(\alpha = \|M_u\|_\infty\|M_v\|_\infty = 4\). This value is attained when, for example, \(v = w = e_1\) as in Algorithm 1, and \(v = w = \mathbf{1}/n\) as in Algorithm 2, see Theorem 3.

4 A deeper analysis of Algorithm 1 using CUR approximation theory↩︎

Due to its simplicity and the effectiveness of the error bounds in Corollary 3, the possibility of using Algorithm 1 to recover a perturbed Cauchy matrix deserves a deeper analysis. In what follows, we are concerned with a priori error bounds, that is, bounds that are inherent to Algorithm 1. In fact, Theorem 1 allows us to estimate the error \(\|A-{D}^{[-1]}\|_\star\) on the basis of the entrywise residual \(|1-A_{ij}D_{ij}|\), thus giving an ‘a posteriori’ bound. Instead, in this section we present estimates of the approximation error based on more intrinsic properties of \(A\) or other closely related matrices. Furthermore, while the hypothesis ?? constrains the entries of \(D\) (and \(C\), as a consequence) to agree in sign with the corresponding entries of \(A\), the results in this section are much less restrictive. Actually, Corollary 3 is one result in this vein, which follows from the projector-based analysis developed in Section 3. Here, we present a further study of Algorithm 1 based on CUR approximation theory.

The CUR approximation of a matrix is a technique employed in numerical linear algebra to devise low-rank approximations of matrices [14], [15]. The concept revolves around decomposing a given matrix \(A\) into three factors, often denoted by \(C\), \(U\) and \(R\). Here, \(C\) is a matrix formed by a selection of columns from \(A\), \(R\) denotes a selection of rows from \(A\), and \(U\) is a small matrix linking the previous two. This may result in the approximated factorization \(A\approx CUR\), which may become an identity when the rank of the factors equals the rank of \(A\). In what follows, we make use of the following result, which is a minor reworking of Theorem 2.2 in [16], one of the main results in CUR approximation theory.

Theorem 6. Suppose that \(A\) is a block matrix of the form \[A = \begin{pmatrix} A_{11} & A_{12} \\ A_{21} & A_{22} \end{pmatrix} ,\] where \(A_{11}\) is \(k\times k\) and nonsingular, and, if \(B\) is any \(k\times k\) submatrix of \(A\) then \(|\det(A_{11})|\geq \nu |\det(B)|\) for some \(0 < \nu \leq 1\). Let \(C = [A_{11} ; A_{21}]\), \(U = A_{11}^{-1}\), and \(R = [A_{11} \;A_{12}]\). Then \[\|A - CUR\|_{\max} \leq \nu^{-1}(k+1) \sigma_{k+1}(A) ,\] where \(\sigma_{k+1}(A)\) is the \((k+1)\)-th largest singular value of \(A\).

Let \(A\) be a possibly perturbed Cauchy matrix. With no loss in generality, we can suppose that \(\max_{i,j}|A_{ij}| = 1\). Indeed, the reconstruction of a Cauchy matrix is homogeneous with respect to multiplicative constants. For clarity, if \(x\) and \(y\) are the vectors computed by Algorithm 1 with input matrix \(A\) and we let \(C = \mathop{\mathrm{\tt Cauchy}}(x,y)\) then, for any nonzero scalar \(\alpha\), the vectors computed by Algorithm 1 with input matrix \(\alpha A\) are \(x/\alpha\) and \(y/\alpha\), so that the reconstructed Cauchy matrix is \(\mathop{\mathrm{\tt Cauchy}}(x/\alpha,y/\alpha) = \alpha C\). Furthermore, by Lemma 3, we can safely suppose that \(A_{11} = 1\) is an entry of maximum modulus.

For notation simplicity, let \(Z = {A}^{[-1]}\). Partition the matrix \(Z\) as follows: \[Z = \begin{pmatrix} 1 & w^T \\ v & Y \end{pmatrix}\] where \(v,w\in{\mathbb{R}}^{n-1}\) and \(Y\in{\mathbb{R}}^{(n-1)\times (n-1)}\). Let \(B = Z - M_{e_1}ZM_{e_1}^T\) be the matrix constructed from the output of Algorithm 1. By simple computations, \[Z - B = \begin{pmatrix} 0 & 0 \\ 0 & S \end{pmatrix}\] where \(S = Y - \mathbf{1}w^T - v\mathbf{1}^T + \mathbf{1}\mathbf{1}^T\). Introduce the bordered matrix \[\label{eq:Zhat} \widehat Z = \begin{pmatrix} 0 & \mathbf{1}^T \\ \mathbf{1}& Z \end{pmatrix} = \begin{pmatrix} 0 & 1 & \mathbf{1}^T \\ 1 & 1 & w^T \\ \mathbf{1}& v & Y \end{pmatrix}\tag{7}\] and consider the partitioning \[\label{eq:Zhatpart} \widehat Z = \begin{pmatrix} \widehat Z_{11} & \widehat Z_{12} \\ \widehat Z_{21} & Y \end{pmatrix} .\tag{8}\] Here \(\widehat Z_{11}\in{\mathbb{R}}^{2\times 2}\), \(\widehat Z_{12} = (\mathbf{1}\;w)^T \in{\mathbb{R}}^{2\times(n-1)}\) and \(\widehat Z_{21} = (\mathbf{1}\;v) \in{\mathbb{R}}^{(n-1)\times 2}\). In particular, \[\widehat Z_{11} = \begin{pmatrix} 0 & 1\\ 1 & 1 \end{pmatrix}, \qquad \widehat Z_{11}^{-1} = \begin{pmatrix} -1 & 1\\ 1 & 0 \end{pmatrix} .\] The Schur complement of \(\widehat Z_{11}\) in \(\widehat Z\) is \[Y - \widehat Z_{21}\widehat Z_{11}^{-1}\widehat Z_{12} = Y - v\mathbf{1}^T + \mathbf{1}\mathbf{1}^T - \mathbf{1}w^T = S .\] This identity shows that the residual \({A}^{[-1]} - \Delta(x,y)\) of Algorithm 1 can be written as Schur complement of a suitable bordering of the matrix \({A}^{[-1]}\). Moreover, consider the rank-2 CUR approximation of \(\widehat Z\) corresponding to the partitioning in 8 . We have \[\begin{align} \widehat Z - \begin{pmatrix} \widehat Z_{11} \\ \widehat Z_{21} \end{pmatrix} \widehat Z_{11}^{-1} \begin{pmatrix} \widehat Z_{11} & \widehat Z_{12} \end{pmatrix} & = \widehat Z - \begin{pmatrix} 0 & 1 & \mathbf{1}^T \\ 1 & 1 & w^T \\ \mathbf{1}& v & v\mathbf{1}^T + \mathbf{1}w^T - \mathbf{1}\mathbf{1}^T \end{pmatrix} \\ & = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & S \end{pmatrix} = \begin{pmatrix} O & \\ & Z - B \end{pmatrix}. \end{align}\] Thus \(\|{A}^{[-1]} - B\|_\star\) is equal to the residual of the CUR approximation of \(Z\). The latter can be estimated using Theorem 6, as follows.

Corollary 4. Under the (non-restrictive) assumptions on \(A\) and \(Z\) stated above, if \(x,y\) is the output of Algorithm 1 applied to \(A\) and \(\widehat Z\) is the matrix in 7 then \[\|{A}^{[-1]} - \Delta(x,y)\|_{\max}\leq 6 \sigma_{3}(\widehat Z) .\]

Proof. By 7 , we have \(|\det(\widehat Z_{11})| = 1\). Furthermore, since \(|A_{ij}| \leq 1\) for all \(i,j\), the determinant of every \(2\times 2\) submatrix of \(A\) has a modulus not larger than \(2\). Thus, the claim follows straightforwardly from Theorem 6 applied to \(\widehat Z\) with \(k = 2\) and \(\nu = 1/2\). ◻

The inequality in Corollary 4 shows a nontrivial relation between the reconstruction error in max-norm and the third singular value of a bordering of \({A}^{[-1]}\), thus providing a guarantee on the quality of the output of Algorithm 1 that can be estimated a priori from \(A\). The following result shows that \(\sigma_3(\widehat Z)\) quantifies the (non-)Cauchyness of \(A\), being essentially equivalent to \(\kappa_\star(A)\).

Theorem 7. Let \(A\) be a matrix with no null entries, and let \(\widehat Z\) be the matrix in 7 . Then \[\kappa_{\max}(A)/6 \leq \sigma_3(\widehat Z) \leq \kappa_\mathrm{F}(A) .\] In particular, \(A\) is Cauchy if and only if \(\sigma_3(\widehat Z) = 0\).

Proof. In the notation of Corollary 4, we have \(\kappa_{\max}(A) \leq \|{A}^{[-1]} - \Delta(x,y)\|_{\max}\leq 6 \sigma_{3}(\widehat Z)\), and the leftmost inequality in the claim follows. For the other inequality, let \(B\in\mathcal{D}\) be the matrix such that \(\|{A}^{[-1]} - B\|_\mathrm{F}= \kappa_\mathrm{F}(A)\). Introduce the bordered matrix \[\widehat B = \begin{pmatrix} 0 & \mathbf{1}^T \\ \mathbf{1}& B \end{pmatrix} .\] Note that \(\widehat B\) has rank \(2\). Indeed, \(B = \Delta(x,y)\) for some vector pair \((x,y)\), and \[\widehat B = \begin{pmatrix} 0 & \mathbf{1}^T \\ \mathbf{1}& x\mathbf{1}^T - \mathbf{1}y^T \end{pmatrix} = \begin{pmatrix} 0 & 1 \\ \mathbf{1}& x \end{pmatrix} \begin{pmatrix} 1 & 0 \\ -y & \mathbf{1}\end{pmatrix}^T .\] Then, by Eckart-Young theorem, \[\kappa_\mathrm{F}(A) = \| {A}^{[-1]} - B\|_\mathrm{F} = \| \widehat Z - \widehat B\|_\mathrm{F}\geq \sigma_3(\widehat Z) ,\] and the proof is complete. ◻

5 A displacement-based recovery method↩︎

In this section, we introduce a new optimality criterion to approximate a given matrix \(A\) by a Cauchy matrix. This criterion leads to an \(O(n^3)\) algorithm to compute a Cauchy approximation to \(A\) that does not make use of \({A}^{[-1]}\). Given vectors \(x,y\) the matrix operator \(\nabla_{x,y}:A\mapsto D_x A - A D_y\) is often called a displacement operator [17]. This operator is invertible if and only if \(x\) and \(y\) are Cauchy points, and in this case, the matrix \(\mathop{\mathrm{\tt Cauchy}}(x,y)\) is the (unique) solution of the Sylvester matrix equation \(\nabla_{x,y}(X) = \mathbf{1}\mathbf{1}^T\). Thus we may consider the number \[\label{eq:defbeta} \beta_\star(A) = \min_{x,y}\|\nabla_{x,y}(A) - \mathbf{1}\mathbf{1}^T\|_\star\tag{9}\] as a measure of ‘Cauchyness’ of a matrix \(A\). Indeed, \(\beta_\star(A) = 0\) if and only if \(A\) is a Cauchy matrix. Moreover, Theorem 1 proved that if \(\beta_{\max}(A)\) is less than \(1\) then \(A\) is close to a Cauchy matrix. The relationship between \(\beta_\star\) and \(\kappa_\star\) is shown here below.

Theorem 8. If \(A\) is a matrix without null entries then \[\frac{\kappa_\star(A)}{\|{A}^{[-1]}\|_{\max}} \leq \beta_\star(A) \leq \kappa_\star(A) \|A\|_{\max}.\]

Proof. For any two vectors \(v,w\in{\mathbb{R}}^n\), vectorizing the matrix \(\nabla_{v,w}(A) - \mathbf{1}\mathbf{1}^T\) via 1 we obtain \[\begin{align} \mathrm{vec}(\nabla_{v,w}(A) - \mathbf{1}\mathbf{1}^T) & = (D_v \otimes I - I \otimes D_w)\mathrm{vec}(A) - \mathbf{1}\\ & = \mathrm{Diag}(\mathrm{vec}(A)) \big[v\otimes \mathbf{1}- \mathbf{1}\otimes w - \mathrm{vec}({A}^{[-1]}) \big] \\ & = \mathrm{Diag}(\mathrm{vec}(A)) \big[\mathrm{vec}\big(\Delta(v,w) - {A}^{[-1]}\big) \big] . \end{align}\] Hence, if \(v,w\) are such that \(\kappa_\star(A) = \|{A}^{[-1]} - \Delta(v,w)\|_\star\) then \[\beta_\star(A) \leq \|\nabla_{v,w}(A) - \mathbf{1}\mathbf{1}^T\|_\star \leq \|A\|_{\max} \|\Delta(v,w) - {A}^{[-1]}\|_\star = \|A\|_{\max} \kappa_\star(A) ,\] which proves the rightmost inequality in the claim. With similar arguments, \[\mathrm{vec}\big(\Delta(x,y) - {A}^{[-1]}\big) = \mathrm{Diag}(\mathrm{vec}(A))^{-1} \mathrm{vec}(\nabla_{x,y}(A) - \mathbf{1}\mathbf{1}^T) .\] Noting that \(\mathrm{Diag}(\mathrm{vec}(A))^{-1} = \mathrm{Diag}\big(\mathrm{vec}({A}^{[-1]})\big)\) and taking norms, we get \[\|\Delta(x,y) - {A}^{[-1]}\|_\star \leq \|{A}^{[-1]}\|_{\max}\|\nabla_{x,y}(A) - \mathbf{1}\mathbf{1}^T\|_\star .\] Take \(v,w\) such that \(\beta_\star(A) = \|\nabla_{v,w}(A) - \mathbf{1}\mathbf{1}\|_\star\). Then, \[\begin{align} \beta_\star(A) = \|\nabla_{v,w}(A) - \mathbf{1}\mathbf{1}\|_\star & \geq \|\Delta(v,w) - {A}^{[-1]}\|_\star / \|{A}^{[-1]}\|_{\max}\\ & \geq \min_{x,y}\|\Delta(x,y) - {A}^{[-1]}\|_\star / \|{A}^{[-1]}\|_{\max} = \kappa_\star(A) / \|{A}^{[-1]}\|_{\max}, \end{align}\] and the proof is complete. ◻

5.1 Minimizing the entrywise relative error↩︎

The constant \(\beta_\star(A)\) introduced in 9 can be interpreted as a measure of the closeness of a matrix \(A\) to the set of Cauchy matrices. In this section, we show that the computation of \(\beta_\mathrm{F}(A)\) can be performed exactly and efficiently by solving a least squares problem. The solution to this problem immediately provides a Cauchy matrix that is closest to \(A\) in the sense that we specify hereafter, exactly as Algorithm 2 yields a Cauchy approximation to a given matrix \(A\) by computing \(\kappa_\mathrm{F}(A)\).

Remark 9. Before proceeding further, we point out that the \((i,j)\)-entry of the matrix \(\nabla_{x,y}(A) - \mathbf{1}\mathbf{1}^T\) appearing in the definition of \(\beta_\star(A)\) is \(A_{ij}(x_i-y_j) - 1\). The identities \[\frac{|1/A_{ij} - (x_i-y_j)|}{1/|A_{ij}|} = \big|A_{ij}(x_i-y_j) - 1\big|\] and \[\frac{|A_{ij} - 1/(x_i-y_j)|}{1/|x_i-y_j|} = \big|A_{ij}(x_i-y_j) - 1\big|\] suggest that the optimization of \(\|\nabla_{x,y}(A) - \mathbf{1}\mathbf{1}^T\|_\star\) is related to the minimization of entrywise relative errors between \(A\) and the Cauchy matrix that approximates it. By comparison, note that \(\kappa_\star(A)\) derives from minimizing the entrywise absolute error \(|1/A_{ij} - (x_i-y_j)|\).

When \(\star = \mathrm{F}\) then 9 can be restated as follows: \[\min_{x,y\in{\mathbb{R}}^n} \sum_{i,j} (A_{ij}(x_i - y_j) - 1)^2 .\] This problem can be written in the form of a linear least squares problem as follows: \[\label{eq:betaF} \min_{x,y} \| WU \begin{bmatrix} x \\ y \end{bmatrix} - \mathbf{1}\|_2^2\tag{10}\] where \(W = \mathrm{Diag}(\mathrm{vec}(A))\) and \(U\) is the \(n^2\times 2n\) matrix \[U = \big[ \mathbf{1}\otimes I \quad -I\otimes \mathbf{1}\big] .\] Equation 10 admits infinite solutions corresponding to the different parametrizations of a matrix in \({\mathcal{D}}\). In fact, the rank of \(U\) is \(2n-1\), and the kernel of \(U\) consists of the constant vectors. So the normalized (i.e., least 2-norm) solution of 10 is given by \[\begin{bmatrix} x \\ y \end{bmatrix} = (WU)^+ \mathbf{1},\] where the superscript \({}^+\) represents the Moore-Penrose inverse.

To proceed further, recall the following result from [18] on the Moore-Penrose inverse.

Theorem 10. Let \(M\in{\mathbb{R}}^{m\times n}\) with \(m\geq n\) and \(\mathrm{rank}(M) = n-1\). Let \(v\in{\mathbb{R}}^n\) be a unit vector such that \(Mv = 0\). Then the matrix \(M^TM + vv^T\) is invertible and \(M^+ = (M^TM + vv^T)^{-1}M^T\).

The matrix \(W\) is nonsingular, due to the hypothesis \(A_{ij} \neq 0\), and a unit vector in the kernel of \(U\) is \(v = \mathbf{1}/\sqrt{2n}\). So the formula for the normalized solution of 10 is \[\begin{bmatrix} x \\ y \end{bmatrix} = \bigg[ U^TW^2U + \frac{1}{2n} \mathbf{1}\mathbf{1}^T \bigg]^{-1}U^T W \mathbf{1}.\] Equivalently, the unknown parameters can be recovered from the solution of the linear system \[\label{eq:normaleq} \bigg[ U^TW^2U + \frac{1}{2n} \mathbf{1}\mathbf{1}^T \bigg] \begin{bmatrix} x \\ y \end{bmatrix} = U^T W \mathbf{1}.\tag{11}\] The right-hand side of the linear system is \[U^T W \mathbf{1}= \begin{pmatrix} b^{(1)} \\ b^{(2)} \end{pmatrix}\] with \[b^{(1)}_{i} = \sum_{j=1}^n A_{ij} \qquad b^{(2)}_{i} = \sum_{j=1}^n A_{ji} .\] The matrix \(U^TW^2U\) has the \(2\times 2\) block form \[\label{eq:UTW2U} U^TW^2U = \begin{pmatrix} \mathrm{Diag}(d^{(1)}) & -B \\ -B^T & \mathrm{Diag}(d^{(2)}) \end{pmatrix} ,\tag{12}\] where \(B\) is the entrywise square of \(A\), that is, \(B_{ij} = A_{ij}^2\), and for \(i = 1,\ldots,n\) \[d^{(1)}_{i} = \sum_{j=1}^n A_{ij}^2 \qquad d^{(2)}_{i} = \sum_{j=1}^n A_{ji}^2 .\] The solution of 10 or 11 generally has \(O(n^3)\) computational cost. We can reduce the problem of solving 11 to that of the solution of an \(n\times n\) linear system. First observe that, since the matrix \(U^T W^2 U\) has rank \(2n-1\) and \(U^T W^2 U\mathbf{1}=0\), then all the solutions of 11 are \([x; y]+\gamma \mathbf{1}\), where \([x; y]\) is any solution and \(\gamma\) is an arbitrary constant. However, the generators \(x\) and \(y\) are normalized exactly when the vector \([x;y]\) has zero sum. Therefore, we look for the solution \([x ; y]\) such that \(\mathbf{1}^T [x; y]=0\), so that we solve the system \[\label{eq:UTW2Usystem} U^T W^2 U \begin{bmatrix} x \\ y \end{bmatrix}= U^T W \mathbf{1}.\tag{13}\] From the block structure 12 , by applying one step of block Gaussian elimination, we find that 13 is equivalent to \[\begin{pmatrix} \operatorname{Diag}(d^{(1)}) & -B\\ 0 & S \end{pmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{pmatrix} I & 0 \\ B^T \operatorname{Diag}(d^{(1)})^{-1} & I \end{pmatrix} \begin{bmatrix} b^{(1)} \\ -b^{(2)} \end{bmatrix},\] where \(S=\operatorname{Diag}(d^{(2)})-B^T \operatorname{Diag}(d^{(1)})^{-1} B\), that is equivalent to the following equations \[\begin{align} x &= \operatorname{Diag}(d^{(1)})^{-1}( b^{(1)} + By),\tag{14} \\ S y & = B^T \operatorname{Diag}(d^{(1)})^{-1} b^{(1)} - b^{(2)}.\tag{15} \end{align}\] The matrix of the latter system is a singular M-matrix, such that \(S\mathbf{1}=0\). From the property \((S-\frac{1}{n}\mathbf{1}\mathbf{1}^T)^{-1}S=I-\frac{1}{n}\mathbf{1}\mathbf{1}^T\), we deduce that the general solution of 15 is \[y=\left(S-\frac{1}{n}\mathbf{1}\mathbf{1}^T\right)^{-1} c+ \gamma \mathbf{1},\] where \(c= B^T \operatorname{Diag}(d^{(1)})^{-1} b^{(1)} + b^{(2)}\) and \(\gamma\) is an arbitrary constant. Another approach to solve 15 consists in considering the \((n-1)\times (n-1)\) nonsingular linear system \(\hat{S} \hat{y}=\hat{c}\), where \(\hat{S}\) is obtained by removing the last row and the last column of \(S\) and \(\hat{c}\) is obtained by removing the last entry of the right-hand side \(c\). Then the vector \(y=[\hat{y}; 0]\) is a particular solution of 15 and all the solutions are \(y+\gamma \mathbf{1}\), with arbitrary \(\gamma\).

Once a solution \(y\) of 15 is computed, the vector \(x\) can be recovered from 14 . Altogether, the solution of 10 can be computed at the cost of \(O(n^3)\) arithmetic operations. The resulting procedure is shown in Algorithm 4.

Figure 4: Recovery of normalized generators from 10

6 Numerical experiments↩︎

For numerical tests, we implemented Algorithms 14 in MATLAB. In Algorithm 4, eq. 15 was solved by applying the backslash operator to the linear system \(\left(S-\frac{1}{n}\mathbf{1}\mathbf{1}^T\right)y=c\). The experiments were run in MATLAB R2024b on a Dell XPS 13 9340 laptop equipped with an Intel Core Ultra 7 155H processor and \(32\) GB of RAM, running Ubuntu 24.04.2 LTS.

Example 1.

We choose a set of uniformly spaced and interlaced Cauchy points, \(x_i = i/n\) and \(y_i = x_i + 1/(2n)\) for \(i = 1,\ldots,n\), and set \(C = \mathop{\mathrm{\tt Cauchy}}(x,y)\). This configuration emphasizes the performance differences among the algorithms. Firstly, we set \(n = 100\). For several noise levels \(\delta\in[10^{-9},10^{-1}]\) we apply a multiplicative componentwise perturbation to \(C\): \[A_{i,j}=(1\pm\delta)C_{i,j}\] where the sign in the perturbation factor is chosen uniformly at random. The same sign pattern is used for all values of \(\delta\). This construction allows us to consider \(\delta\) as a precise estimate of \(\beta_{\max}(A)\), since the absolute value of every entry of the matrix \(\nabla_{x,y}(A) - \mathbf{1}\mathbf{1}^T\) is \(\delta\).

We then apply Algorithms 14 to \(A\) and compute Cauchy matrices \(C_1\), \(C_2\), \(C_3\), \(C_4\) from the Cauchy points obtained from the algorithms in the previous sections. For Algorithm 3, vectors \(v\) and \(w\) are chosen such that \(v_j=w_j=2(n-j+1)/n(n+1)\), i.e., entries are positive, uniformly decreasing and have unit sum.

Figure 5 shows the relative normwise errors \(\|C-C_i\|_\mathrm{F}/\|C\|_\mathrm{F}\) (left panel) and \(\|A-C_i\|_\mathrm{F}/\|A\|_\mathrm{F}\) (right panel). They visually appear to be very close to each other. Algorithm 4 provides the best approximation quality in this example by several orders of magnitude, while Algorithm 1 is the least accurate. The dotted line in the figure shows \(\beta_{\max}(A)\), that is \(\delta\). This information is included in relation to Theorem 1, since \(\beta_{\max}(A)\) is a lower bound for the constant \(\beta\) appearing in that theorem. Remarkably, Algorithm 4 produces errors that are below this value.

We also compare the performances of Algorithms 14 on matrices of increasing size. Here \(\delta=10^{-5}\) is fixed, and matrix size increases from \(100\) to \(2000\). Figure 6 shows relative normwise errors for the four algorithms. As in the previous case, Algorithm 4 yields the best approximation quality; moreover, in contrast to the other algorithms, the relative approximation errors are quite insensitive to \(n\).

Figure 5: Relative normwise errors for Example 1. Here C is the original Cauchy matrix and C_i, i=1,2,3,4 are the Cauchy matrices recovered from the corresponding algorithms from A. The parameter \delta measures the magnitude of entrywise relative perturbations applied to C. The dashed line represents \beta_{\max}(A). Matrix size is 100\times 100.
Figure 6: Relative normwise errors for Example 1. Here C is the original Cauchy matrix and C_i, i=1,2,3,4 are the Cauchy matrices recovered from the corresponding algorithms from the perturbed matrix A with \delta=10^{-5}. Matrix size increases from 100 to 2000 by steps of 100.

Example 2.

Figure 7: Relative normwise errors for Example 2. Here C_i, i=1,2,3,4 are the Cauchy matrices recovered by the corresponding algorithms. The dashed lines represent the upper bound from ?? . Matrix size is 100\times 100.

This experiment aims to illustrate the validity of a bound from Theorem 4. We generate Cauchy points as in Example 1 with \(n=100\). For several noise levels \(\delta\in[10^{-9},10^{-1}]\) we apply an additive componentwise perturbation to \(D = \Delta(x,y)\), that is, we set \(Z_{ij} = D_{ij} \pm \delta\), where the sign in the perturbation is chosen uniformly at random. The same sign pattern is used for all values of \(\delta\). Then we set \(A = {Z}^{[-1]}\). This construction allows us to consider \(\delta\) as a precise estimate of \(\kappa_{\max}(A)\), since the absolute value of every entry of the matrix \({A}^{[-1]} - D\) is \(\delta\).

For \(i = 1,\ldots,4\), we denote \(C_i\) the Cauchy matrices from the Cauchy points computed by Algorithm \(i\). Figure 7 shows the approximation errors \(\|A-C_i\|_{\mathrm{F}}/\|C_i\|_{\mathrm{F}}\) (left panel) and \(\|A-C_i\|_{\max}/\|C_i\|_{\max}\) (right panel). The dotted line represents the quantity \(4\kappa_{\max}(A)\|A\|_{\max}\), which is the approximation error bound in Theorem 4. The ‘Cauchyness’ criterion employed by Algorithm 4 appears to be more effective at recovering an approximation of the original matrix than the other algorithms. By contrast, Algorithm 1 produces the worst approximation, with an error that nearly reaches the upper bound.

Example 3.

Figure 8: Timings and linear fits for Algorithm 2 and 4, in log-log scale. The slope of the linear fits gives the exponent in the power law cn^\alpha.

As pointed out at the end of Section 5, a complexity analysis for Algorithm 4 gives an asymptotic computational cost of \(O(n^3)\) arithmetic operations. The analogous cost for Algorithm 2 is \(O(n^2)\), due to the matrix-vector products in the algorithm. In this example, we perform a timing test for Algorithms 2 and 4 with \(n\) ranging from \(500\) to \(5000\). For each matrix size, we compute the average time of ten runs. Then we fit the observed execution times to power laws of the form \(cn^\alpha\) using linear regressions on a log-log scale. The results are shown in Figure 8. The exponents computed by linear regressions closely match the theoretical values.

Example 4.

Figure 9: Relative normwise errors for Example 4. Here C_i, i=1,2,3,4 are the Cauchy matrices recovered by the corresponding algorithms. The matrix A is subject to an unbalanced perturbation with size \delta=10^{-5}. Matrix size increases from 100 to 2000 by steps of 100.

In Example 1, the perturbation is evenly spread across the test matrix. It is therefore understandable that Algorithm 2 works slightly better than Algorithm 3 applied with uniformly decreasing vectors \(v\) and \(w\). On a matrix where the perturbation mainly affects the trailing principal block, we expect the opposite behavior. To verify this conjecture numerically, we set up test data as in the second part of Example 1, except that the perturbation applied to entry \((i,j)\) is weighted by a factor \(n/(n-i+1)(n-j+1)\). Figure 9 shows that Algorithm 3 does indeed provide the best reconstruction of the original Cauchy matrix. However, the best approximation to \(A\) is given by Algorithm 4.

Example 5.

Figure 10: Normwise errors for Example 5. Here C_i, i=1,2,3,4 are the Cauchy matrices recovered from the corresponding algorithms, and D_i = {C_i}^{[-1]}. The matrix A = {Z}^{[-1]} is subject to a worst-case perturbation with size \delta=10^{-5}. Matrix size increases from 100 to 2000 by steps of 100.

In this example, we focus on errors for componentwise inverses of Cauchy matrices. Recall that Theorem 4 provides an upper bound for such errors, which depends on the norm of the projection operator associated with the chosen algorithm. From the proof of Theorem 4, one may also pinpoint worst-case perturbations that make the bound sharp (i.e., equality is attained). Such perturbations can be chosen as scalar multiples of the matrix obtained from a square columnwise reshape of the dominant right singular vector of the operator \(M_w\otimes M_v\). For instance, for the operator \(M_{e_1}\otimes M_{e_1}\) associated with Algorithm 1 such a worst-case perturbation is the \(n\times n\) matrix \(Y = vv^T/v^Tv\) where \(v = (1,-1/(n-1),\ldots,-1/(n-1))^T\in{\mathbb{R}}^n\) is the right singular vector of \(M_{e_1}\) associated with the dominant singular value, \(\|M_{e_1}\|_2 = \sqrt{n}\). Hence, \[\begin{align} Y(1,1)&=\frac{n-1}{n},\\ Y(1,i)&=Y(i,1)=-\frac{1}{n},\qquad & i=2,\ldots n,\\ Y(i,j)&= \frac{1}{n(n-1)}, & i,j=2,\ldots,n. \end{align}\] Notably, this matrix is orthogonal to \(\mathcal{D}\) with respect to the Frobenius inner product. This can be verified by computing the projection of \(Y\) onto \(\mathcal{D}\), using the projector \(\Phi_2\) in Theorem 3. The projection is zero, as \(\mathbf{1}^Tv = 0\). Consequently, if \(A\) is any matrix such that \({A}^{[-1]} = D + \delta Y\) for some \(\delta\geq 0\) and \(D\in\mathcal{D}\) then \(\kappa_\mathrm{F}(A) = \delta\). Moreover, if \(D_1\in\mathcal{D}\) denotes the matrix recovered by Algorithm 1 then \(\|{A}^{[-1]} - D_1\|_\mathrm{F}= \|M_{e_1}\|_2^2\, \kappa_\mathrm{F}(A) = n\delta\), that is, we have equality in Theorem 3.

For \(n\) ranging from \(100\) to \(2000\) we define a Cauchy matrix \(C\) as in Example 1, compute its componentwise inverse \(D\) and consider the perturbed matrix \(Z=D+\delta Y\), with \(\delta=10^{-5}\). Algorithms 14 are applied to \(A=Z^{[-1]}\), and we recover matrices \(D_i\in\mathcal{D}\) and \(C_i = {D_i}^{[-1]}\) for \(i=1, 2, 3, 4\). The left panel in Figure 10 shows errors \(\|Z-D_i\|_\mathrm{F}\). In accordance with Theorem 4 we expect \(\|Z-D_1\|_\mathrm{F}= n\delta\) and \(\|Z-D_2\|_\mathrm{F}= \delta\), as it actually occurs numerically. The relative errors \(\|A-C_i\|_\mathrm{F}/\|A\|_\mathrm{F}\) shown in the right panel increase as \(O(n)\), corresponding to the growth of \(\|A\|_{\max}\). Also in this example, the results of Algorithms 2 and 3 are almost indistinguishable, while Algorithm 4 provides the best approximation to \(A\), but not to \(C\).

Acknowledgements↩︎

This work was partially supported by the Italian Ministry of University and Research (MUR) through the PRIN 2022 “Low-rank Structures and Numerical Methods in Matrix and Tensor Computations and their Application” code 20227PCCKZ MUR D.D. financing decree n. of February 2nd, 2022 (CUP I53D23002280006 and CUP E53D23005520006), and through the MUR Excellence Department Project awarded to the Department of Mathematics, University of Pisa, CUP I57G22000700001. The authors are also affiliated to the INdAM-GNCS (Gruppo Nazionale di Calcolo Scientifico).

7 A different parametrization of \({\mathcal{D}}\)↩︎

Let \({\mathbb{R}}^n_0\) denote the set of zero-sum vectors in \({\mathbb{R}}^n\): \[{\mathbb{R}}^n_0 = \{x\in{\mathbb{R}}^n: \mathbf{1}^T x = 0\} .\] The matrix space \(\mathcal{D}\) introduced in 2 admits the following alternative description: \[\mathcal{D} = \{\hat{x}\mathbf{1}^T + \mathbf{1}\hat{y}^T + \alpha \mathbf{1}\mathbf{1}^T: \hat{x},\hat{y}\in {\mathbb{R}}^n_0,\;\alpha\in{\mathbb{R}}\} .\] More precisely, every matrix \(D\in\mathcal{D}\) can be written in a unique way as \[\label{eq:ourdecomp} D = \hat{x}\mathbf{1}^T + \mathbf{1}\hat{y}^T + \alpha \mathbf{1}\mathbf{1}^T\tag{16}\] for some \(\hat{x},\hat{y}\in {\mathbb{R}}^n_0\) and \(\alpha\in{\mathbb{R}}\). It is interesting to study the properties of this decomposition, which differs from the one using normalized generators introduced in [5] and recalled in Section 2. Notably, the three terms in the right-hand side of 16 are mutually orthogonal for the Frobenius inner product. Henceforth, for any \(D\in{\mathcal{D}}\) let \(\mathcal{R}(D)\) be the vector \([\hat{x}; \hat{y}; \sqrt{n}\alpha]\in{\mathbb{R}}^{2n+1}\) identified by 16 . We immediately obtain that \(\|D\|_\mathrm{F}= \sqrt{n}\|\mathcal{R}(D)\|_2\). Indeed, the orthogonality of the three terms in 16 gives \[\|D\|_\mathrm{F}^2 = \|\hat{x}\mathbf{1}^T\|_\mathrm{F}^2 + \|\mathbf{1}\hat{y}^T\|_\mathrm{F}^2 + \|\alpha \mathbf{1}\mathbf{1}^T\|_\mathrm{F}^2 = n \big( \|\hat{x}\|_2^2 + \|\hat{y}\|_2^2 +n\alpha^2 \big) = n \|\mathcal{R}(D)\|_2^2 .\] Thus, apart of the factor \(\sqrt{n}\), the map \(\mathcal{R}\) is an isometric bijection between the metric space \(({\mathcal{D}},\|\cdot\|_\mathrm{F})\) and the subspace \({\mathbb{R}}^n_0\times{\mathbb{R}}^n_0\times{\mathbb{R}}\) of \({\mathbb{R}}^{2n+1}\) endowed with the \(2\)-norm. As such, it produces a perfectly well conditioned representation of matrices in \({\mathcal{D}}\). This motivates us to evaluate the conditioning of the representation provided by normalized generators, as shown below.

Theorem 11. Let \(\bar x\) and \(\bar y\) be the normalized generators of \(D\in{\mathcal{D}}\). Then \[\|\mathcal{R}(D)\|_2 \leq \| [\bar x; \bar y] \|_2 \leq \sqrt{2} \|\mathcal{R}(D)\|_2 ,\] with attainable equalities.

Proof. Let \(x,y\) be arbitrary generators, not necessarily normalized, of a given matrix \(D\in{\mathcal{D}}\), and let \(\sigma_x = \mathbf{1}^T x/n\), \(\sigma_y = \mathbf{1}^T y/n\). As recalled in Section 2, \(x,y\) are normalized if and only if \(\sigma_x = - \sigma_y\). Now, \[\mathbf{1}^TD\mathbf{1}= \mathbf{1}^T(x\mathbf{1}^T - \mathbf{1}y^T)\mathbf{1}= n^2(\sigma_x - \sigma_y) .\] Furthermore, using 16 , \[\mathbf{1}^TD\mathbf{1}= \mathbf{1}^T(\hat{x}\mathbf{1}^T + \mathbf{1}\hat{y}^T + \alpha \mathbf{1}\mathbf{1}^T)\mathbf{1}= n^2\alpha .\] Thus \(\alpha = \sigma_x - \sigma_y\). Hence, given \(x\) and \(y\), the representation \(\mathcal{R}(D)\) can be obtained from the linear relationships \[\begin{align} \hat{x} & = x - \sigma_x \mathbf{1}\\ \hat{y} & = y - \sigma_y \mathbf{1}\\ \sqrt{n}\alpha & = \sqrt{n}(\sigma_x - \sigma_y) . \end{align}\] These identities can be rewritten in matrix-vector form as \(\mathcal{R}(D) = V [x;y]\), where \[V = \begin{pmatrix} I_n - \mathbf{1}\mathbf{1}^T/n & O \\ O & I_n - \mathbf{1}\mathbf{1}^T/n \\ \mathbf{1}_n^T/\sqrt{n} & -\mathbf{1}_n^T/\sqrt{n} \end{pmatrix} \in{\mathbb{R}}^{(2n+1)\times(2n)} .\] Thus \(\|\mathcal{R}(D)\|_2 \leq \|V\|_2\| [x; y] \|_2\), which is notably true for \([x; y] = [\bar x;\bar y]\). Conversely, for any given \(\mathcal{R}(D)\), the least \(2\)-norm solution of the linear equation \(\mathcal{R}(D) = V [x;y]\) gives the normalized generators of \(D\), that is, \([\bar x; \bar y] = V^+\mathcal{R}(D)\). This implies \(\|[\bar x; \bar y]\|_2 \leq \|V^+\|_2\|\mathcal{R}(D)\|_2\).

Let \(Q_n\in{\mathbb{R}}^{n\times(n-1)}\) be a matrix whose columns form an orthonormal basis of the subspace \({\mathbb{R}}^n_0\). Straightforward computations reveal that an SVD of \(V\) is the following: \[V = \begin{pmatrix} \textstyle 0 & Q_n & O & \frac{1}{\sqrt{n}}\mathbf{1}_n & 0 \\ 0 & O & Q_n & 0 & \frac{1}{\sqrt{n}}\mathbf{1}_n \\ 1 & 0 & 0 & 0 & 0 \end{pmatrix} \Sigma \begin{pmatrix} \textstyle \frac{1}{\sqrt{2n}}\mathbf{1}_n & Q_n & O & \frac{1}{\sqrt{2n}}\mathbf{1}_n \\ -\frac{1}{\sqrt{2n}}\mathbf{1}_n & O & Q_n & \frac{1}{\sqrt{2n}}\mathbf{1}_n \end{pmatrix}^T ,\] with \(\Sigma = \mathrm{Diag}(\sqrt{2}, 1, \ldots,1,0)\in{\mathbb{R}}^{(2n+1)\times(2n)}\). In particular, \(\|V\|_2 = \sqrt{2}\) and \(\|V^+\|_2 = 1\). This gives the inequalities in the claim. The leftmost inequality holds as an identity when both \(\bar x\) and \(\bar y\) are in \({\mathbb{R}}^n_0\), while the equality on the right is reached when, e.g., \(\bar x = \mathbf{1}_n\) and \(\bar y = -\mathbf{1}_n\). ◻

The following result is analogous to Theorem 3.6 in [5] (restricted to square matrices) but pertains to the representation 16 instead of the one with normalized generators. Our representation is shown to have a tighter error bound than the other one when recovering a perturbed Cauchy matrix via Algorithm 2.

Theorem 12. Let \(A = {D}^{[-1]}+N\) be a perturbed Cauchy matrix with nonzero entries, where \(D\in{\mathcal{D}}\). Let \(0\leq \gamma < 1\) be a constant such that \(|D_{ij}N_{ij}| \leq \gamma\) for all \(i,j=1,\ldots,n\). Moreover, let \(\widetilde{D}\in{\mathcal{D}}\) be the matrix obtained from the output of Algorithm 2 applied to \(A\). Then \[\frac{\|\mathcal{R}(\widetilde{D}) - \mathcal{R}(D)\|_2}{\|\mathcal{R}(D)\|_2} \leq \frac{\gamma}{1-\gamma} .\]

Proof. Let \(E = D - {A}^{[-1]}\). By hypothesis, \[E_{ij} = D_{ij} - \frac{1}{A_{ij}} = D_{ij} - \frac{D_{ij}}{1+D_{ij}N_{ij}} = D_{ij} \frac{D_{ij}N_{ij}}{1-D_{ij}N_{ij}} .\] Therefore \(|E_{ij}| \leq \gamma|D_{ij}|/(1-\gamma)\) and, consequently, \(\|E\|_\mathrm{F}\leq \gamma\|D\|_\mathrm{F}/(1-\gamma)\). In the notation of Theorem 3, we have \[\widetilde{D} = \Phi_2({A}^{[-1]}) = \Phi_2(D) + \Phi_2(E) = D + \Phi_2(E) .\] Furthermore, \[\|\widetilde{D} - D\|_\mathrm{F}= \|\Phi_2(E)\|_\mathrm{F} \leq \|E\|_\mathrm{F}\leq \|D\|_\mathrm{F}\frac{\gamma}{1-\gamma} ,\] since \(\Phi_2\) is an orthogonal projector. It remains to note that \[\frac{\|\mathcal{R}(\widetilde{D}) - \mathcal{R}(D)\|_2}{\|\mathcal{R}(D)\|_2} = \frac{\|\mathcal{R}(\widetilde{D} - D)\|_2}{\|\mathcal{R}(D)\|_2} = \frac{\|\widetilde{D} - D\|_2}{\|D\|_2} \leq \frac{\gamma}{1-\gamma} ,\] and the proof is complete. ◻

References↩︎

[1]
T. Kailath and A. H. Sayed, “Displacement structure: Theory and applications,” SIAM Review, vol. 37, no. 3, pp. 297–386, 1995, doi: 10.1137/1037082.
[2]
T. Kailath and A. H. Sayed, Eds., Fast reliable algorithms for matrices with structure. Society for Industrial; Applied Mathematics (SIAM), Philadelphia, PA, 1999, p. xvi+342.
[3]
A. G. Lynch, “Cauchy pairs and Cauchy matrices,” Linear Algebra Appl., vol. 471, pp. 320–345, 2015.
[4]
D. Fasino, “Orthogonal Cauchy-like matrices,” Numer. Algorithms, vol. 92, no. 1, pp. 619–637, 2023.
[5]
J. Liesen and R. Luce, “Fast recovery and approximation of hidden Cauchy structure,” Linear Algebra and its Applications, vol. 493, pp. 261–280, 2016.
[6]
E. Lindy, V. Noferini, and P. V. Dooren, “On rank-2 nonnegative matrix factorizations and their variants.” 2025, [Online]. Available: https://arxiv.org/abs/2507.20612.
[7]
I. Georgieva and C. Hofreither, “On best uniform approximation by low-rank matrices,” Linear Algebra Appl., vol. 518, pp. 159–176, 2017, doi: 10.1016/j.laa.2016.12.034.
[8]
M. T. Chu, R. E. Funderlic, and R. J. Plemmons, Special issue on structured matrices: analysis, algorithms and applications (Cortona, 2000)“Structured low rank approximation,” Linear Algebra Appl., vol. 366, pp. 157–172, 2003, doi: 10.1016/S0024-3795(02)00505-0.
[9]
I. Markovsky, “Structured low-rank approximation and its applications,” Automatica J. IFAC, vol. 44, no. 4, pp. 891–909, 2008, doi: 10.1016/j.automatica.2007.09.011.
[10]
C.-L. Wang, C. Li, and J. Wang, “Comparisons of several algorithms for Toeplitz matrix recovery,” Computers & Mathematics with Applications, vol. 71, no. 1, pp. 133–146, 2016, doi: https://doi.org/10.1016/j.camwa.2015.11.010.
[11]
D. Halikias and A. Townsend, “Structured matrix recovery from matrix-vector products,” Numerical Linear Algebra with Applications, vol. 31, no. 1, 2024, doi: 10.1002/nla.2531.
[12]
A. Fazzi, N. Guglielmi, and I. Markovsky, “A gradient system approach for Hankel structured low-rank approximation,” Linear Algebra Appl., vol. 623, pp. 236–257, 2021, doi: 10.1016/j.laa.2020.11.016.
[13]
D. Lazzaro and S. Morigi, “Matrix completion for matrices with low-rank displacement,” Electron. Trans. Numer. Anal., vol. 53, pp. 481–499, 2020, doi: 10.1553/etna\_vol53s481.
[14]
P. Drineas, M. W. Mahoney, and S. Muthukrishnan, “Relative-error \(CUR\) matrix decompositions,” SIAM J. Matrix Anal. Appl., vol. 30, no. 2, pp. 844–881, 2008, doi: 10.1137/07070471X.
[15]
K. Hamm and L. Huang, “Perspectives on CUR decompositions,” Appl. Comput. Harmon. Anal., vol. 48, no. 3, pp. 1088–1099, 2020, doi: 10.1016/j.acha.2019.08.006.
[16]
S. A. Goreinov and E. E. Tyrtyshnikov, The maximal-volume concept in approximation by low-rank matrices,” in Structured matrices in mathematics, computer science, and engineering, I (Boulder, CO, 1999), vol. 280, Amer. Math. Soc., Providence, RI, 2001, pp. 47–51.
[17]
T. Kailath, S. Y. Kung, and M. Morf, “Displacement ranks of matrices and linear equations,” J. Math. Anal. Appl., vol. 68, no. 2, pp. 395–407, 1979, doi: 10.1016/0022-247X(79)90124-0.
[18]
C. R. Rao and S. K. Mitra, Generalized inverse of matrices and its applications. John Wiley & Sons, Inc., New York-London-Sydney, 1971, p. xiv+240.