# A tridiagonal matrix construction by the quotient difference recursion formula in the case of multiple eigenvalues

- Kanae Akaiwa
^{1}Email author, - Masashi Iwasaki
^{2}, - Koichi Kondo
^{3}and - Yoshimasa Nakamura
^{1}

**6**:10

**DOI: **10.1186/s40736-014-0010-0

© Akaiwa et al.; Licensee Springer 2014

**Received: **12 November 2013

**Accepted: **25 March 2014

**Published: **16 September 2014

## Abstract

In this paper, we grasp an inverse eigenvalue problem which constructs a tridiagonal matrix with specified multiple eigenvalues, from the viewpoint of the quotient difference (qd) recursion formula. We also prove that the characteristic and the minimal polynomials of a constructed tridiagonal matrix are equal to each other. As an application of the qd formula, we present a procedure for getting a tridiagonal matrix with specified multiple eigenvalues. Examples are given through providing with four tridiagonal matrices with specified multiple eigenvalues.

### Keywords

Quotient difference formula Tridiagonal matrix Multiple eigenvalues Characteristic polynomial Minimal polynomial## 1 Introduction

One of the important problems in linear algebra is to construct matrices with specified eigenvalues. This is an inverse eigenvalue problem which is classified in Structured Inverse Eigenvalue Problem (SIEP) called in [1]. The main purpose of this paper is to design a procedure for solving an SIEP in the case where the constructed matrix has tridiagonal form with multiple eigenvalues, through reconsidering the quotient difference (qd) formula. It is known that the qd formula has the applications to computing a continued fraction expansion of power series [5], zeros of polynomial [3], eigenvalues of a so-called Jacobi matrix [9] and so on. Though the book [9] refers to an aspect similar to in the following sections, it gives only an anticipated comment without proof in the case of multiple eigenvalues. There is no observation about numerical examples for verifying it. The key point for the purpose is to investigate the Hankel determinants appearing in the determinant solution to the qd formula with the help of the Jordan canonical form. In this paper, we give our focus on the unsettled case in order to design a procedure for constructing a tridiagonal matrix with specified multiple eigenvalues, based on the qd formula. The reason why the sequence of discussions was stopped is expected that multiple-precision arithmetic and symbolic computing around the published year of Rutishauser’s works for the qd formula were not sufficiently developed. The qd formula, strictly speaking the differential form of it, for computing tridiagonal eigenvalues acts with high relative accuracy in single-precision or double-precision arithmetic [7], while, actually, that serving for constructing a tridiagonal matrix gives rise to no small errors. Thus, the qd formula serving for constructing a tridiagonal matrix is not so worth in single-precision or double-precision arithmetic. In recent computers, it is not difficult to employ not only single or double precision arithmetic but also arbitrary-precision arithmetic or symbolic computing. In fact, an expression involving only symbolic quantities achieves exact arithmetic on the scientific computing software such as Wolfram Mathematica, Maple and so on. Numerical errors frequently occur in finite-precision arithmetic, so that a constructed tridiagonal matrix probably does not have multiple eigenvalues without symbolic computing. The resulting procedure in this paper is assumed to be carried out on symbolic computing.

This paper is organized as follows. In Section 2, we first give a short explanation of some already obtained properties concerning the qd formula. In Section 3, we observe a tridiagonal matrix whose characteristic polynomial is associated with the minimal polynomial of a general matrix through reconsidering the qd formula. The tridiagonal matrix essentially differs from the Jacobi matrix in that it is not always symmetrized. We also discuss the characteristic and the minimal polynomials of a tridiagonal matrix in Section 4. In Section 5, we design a procedure for constructing a tridiagonal matrix with specified multiple eigenvalues, and then demonstrate four tridiagonal matrices as examples of the resulting procedure. Finally, in Section 6, we give conclusion.

## 2 Some properties for the qd recursion formula

In this section, we briefly review two theorems in [4] concerning the qd formula from the viewpoint of a generating function, the Hankel determinant and a tridiagonal matrix.

*n*=0,1,…. Moreover, let

*F*(

*z*) be a generating function associated with \(\{\,f_{n}\}_{0}^{\infty }\) as

*F*(

*z*) is a rational function with respect to

*z*with a pole of order

*l*

_{0}≥0 at infinity and finite poles

*z*

_{ k }≠0 of order

*l*

_{ k }for

*k*=1,2,…,

*L*. Then the sum of the orders of the finite poles is

*l*=

*l*

_{1}+

*l*

_{2}+⋯+

*l*

_{ L }, and

*F*(

*z*) is factorized as

*G*(

*z*) is a polynomial of degree at most

*l*, and

*G*

_{0}(

*z*) is a polynomial of degree

*l*

_{0}if

*l*

_{0}>0, or

*G*

_{0}(

*z*)=0 if

*l*

_{0}=0. The following theorem gives the determinant solution to the qd recursion formula

**Theorem****1**.

*([*4

*], pp. 596, 603, 610)*Let

*F*(

*z*) be factorized as in (3). Then it holds that

From (9) with (5), it follows that \(e_{l}^{(n)}=0\) for *n*=0,1,…. Moreover, it turns out that \(q_{s}^{(n)}\) and \(e_{s}^{(n)}\) for *s*=*l*+1,*l*+2,… and *n*=0,1,… are not given in the same form as (8) and (9).

*s*-by-

*s*tridiagonal matrices,

with the qd variables \(q_{s}^{(n)}\) and \(e_{s}^{(n)}\). Let *I*_{
s
} be the *s*-by-*s* identity matrix. Then we obtain a theorem for the characteristic polynomial of \(T_{l}^{(n)}\).

**Theorem****2**.

*([*4

*], pp. 626, 635)*Let

*F*(

*z*) be factorized as in (3). Let us assume that \(H_{s}^{(n)}\) satisfies (6). For

*n*=0,1,…, it holds that

## 3 Tridiagonal matrix associated with general matrix

In this section, from the viewpoint of the characteristic and the minimal polynomials, we associate a general *M*-by-*M* complex matrix *A* with a tridiagonal matrix \(T_{l}^{(n)}\).

*λ*

_{1},

*λ*

_{2},…,

*λ*

_{ N }be the distinct eigenvalues of

*A*, which are numbered as |

*λ*

_{1}|≥|

*λ*

_{2}|≥⋯≥|

*λ*

_{ N }|. It is noted that some of |

*λ*

_{1}|,|

*λ*

_{2}|,…,|

*λ*

_{ N }| may equal to each other in the case where some of

*λ*

_{1},

*λ*

_{2},…,

*λ*

_{ N }are negative eigenvalues or complex eigenvalues. Let

*M*

_{ k }be the algebraic multiplicity of

*λ*

_{ k }, where

*M*=

*M*

_{1}+

*M*

_{2}+⋯+

*M*

_{ N }. For the identity matrix \(I_{M}\in \mathbb {R}^{M\times M}\), let

*ϕ*

_{ A }(

*z*)= det(

*z*

*I*

_{ M }−

*A*) be the characteristic polynomial of

*A*, namely,

*M*-dimensional complex vectors u and w, where the superscript

*H*denotes the Hermitian transpose. Originally,

*f*

_{0},

*f*

_{1},… were called the Schwarz constants, but they are usually today called the moments or the Markov parameters [2]. Since the matrix power series \(\sum _{n=0}^{\infty }(zA)^{n}\) is a Neumann series (cf. [6]), \(F(z)=\sum _{n=0}^{\infty }\boldsymbol {w}^{H}(zA)^{n}\boldsymbol {u}\) converges absolutely in the disk

*D*:|

*z*|<|

*λ*

_{1}|

^{−1}. Moreover, we derive

*F*(

*z*)=w

^{ H }(

*I*

_{ M }−

*z*

*A*)

^{−1}u which implies that

*F*(

*z*) is a rational function with the denominator det(

*I*

_{ M }−

*z*

*A*)=

*z*

^{ M }

*ϕ*

_{ A }(

*z*

^{−1}) as follows.

where \(\tilde {G}(z)\) is some polynomial with respect to *z*. It is remarkable that the numerator \(\tilde {G}(z)\) may have the same factors as the denominator \(\phantom {\dot {i}\!}(1-\lambda _{1}z)^{M_{1}}(1-\lambda _{2}z)^{M_{2}}\cdots (1-\lambda _{N}z)^{M_{N}}\). In other words, *F*(*z*) has the poles \(\lambda _{1}^{-1},\lambda _{2}^{-1},\dots,\lambda _{N}^{-1}\) whose orders are equal to or less than *M*_{1},*M*_{2},…,*M*_{
N
}, respectively.

*A*in order to investigate the poles of

*F*(

*z*) with (13) even in the case where

*A*has multiple eigenvalues. Let \({\mathcal {M}}_{k}\) be the geometric multiplicity of

*λ*

_{ k }which indicates the dimension of eigenspace Ker(

*A*−

*λ*

_{ k }

*I*

_{ M }). It is noted that \({\mathcal {M}}_{k}\) is equal to or less than the algebraic multiplicity

*M*

_{ k }. The matrix

*A*has \({\mathcal {M}}_{k}\) eigenvectors corresponding to

*λ*

_{ k }, and then the eigenvectors, denoted by \(\boldsymbol {v}_{k,1},\boldsymbol {v}_{k,2},\dots,\boldsymbol {v}_{k,{\mathcal {M}}_{k}}\), satisfy

_{k,j}(1)=v

_{k,j}. Moreover, for \(j=1,2,\dots,{\mathcal {M}}_{k}\), let v

_{k,j}(2), v

_{k,j}(3), …, v

_{k,j}(

*m*

_{k,j}) denote the generalized eigenvectors associated with the eigenvectors v

_{k,j}(1), where

*m*

_{k,j}is the maximal integer such that v

_{k,j}(1), v

_{k,j}(2), …, v

_{k,j}(

*m*

_{k,j}) are linearly independent. Of course, \(m_{k,1}+m_{k,2}+\cdots +m_{k,{\mathcal {M}}_{k}}=M_{k}\). Then, the generalized eigenvectors v

_{k,j}(2),v

_{k,j}(3),…,v

_{k,j}(

*m*

_{k,j}) satisfy

*A*as

Without loss of generality, we may assume that \(m_{k,1}\ge m_{k,2}\ge \cdots \ge m_{k,{\mathcal {M}}_{k}}\).

Let \(m_{k}=\max \{m_{k,1},m_{k,2},\dots,m_{k,{\mathcal {M}}_{k}}\}\). Since \(m_{k,1}\ge m_{k,2}\ge \cdots \ge m_{k,{\mathcal {M}}_{k}}\), it is obvious that *m*_{
k
}=*m*_{k,1}. With the help of the Jordan canonical form of *A* as in (17), we get a proposition for the sequence \(\{\,f_{n}\}_{0}^{\infty }\) in (13).

**Proposition****1**.

*A*, namely, for some constants

*κ*

_{k,j,i},

*n*<

*i*−1. Also, for suitable u and w, it holds that

*Proof*.

*V*

^{−1}

*A*

*V*=

*J*in (17), it holds that

*A*

^{ n }=

*V*

*J*

^{ n }

*V*

^{−1}. By combining it with (13) and (24), we derive

*ρ*

_{k,j,i}be the column number in which v

_{k,j}(

*i*) arranges. Then it is obvious that

*V*

^{−1}v

_{k,j}(

*i*)=e

_{k,j}(

*i*) where e

_{k,j}(

*i*) denotes a unit vector such that the

*ρ*

_{k,j,i}th entry is 1 and the others are 0. Thus, it follows that

*J*is the block diagonal matrix, the matrix

*J*

^{ n }and its small blocks (

*J*

_{ k })

^{ n }are also so. It also turns out that (

*J*

_{k,j})

^{ n }is upper triangle. So, it is worth noting that

*J*

^{ n }e

_{k,j}(

*i*) becomes the

*ρ*

_{k,j,i}th column vector of

*J*

^{ n }and the zero-entries arrange in except for its

*ρ*

_{k,j,1}th,

*ρ*

_{k,j,2}th, …,

*ρ*

_{k,j,i}th rows. The Jordan blocks

*J*

_{k,j}can be decomposed as

*i*

^{′}th power becomes the zero-matrix

*O*for

*i*

^{′}≥

*m*

_{k,j}. Thus, (

*J*

_{k,j})

^{ n }can be expressed as

*m*

_{k,j}-dimensional unit vector e(

*i*) which is regarded as a part of e

_{k,j}(

*i*). Then, by taking account that \((E_{m_{k,j}})^{i^{\prime }-1}\boldsymbol {e}(i)=\boldsymbol {e}(i-i^{\prime }+1)\) in (32), we derive

*V*e

_{k,j}(

*i*−

*i*

^{′}+1)=v

_{k,j}(

*i*−

*i*

^{′}+1), by combining it with (29) and (33), we therefore have

*f*

_{ n }as

*m*

_{ k }≥

*m*

_{k,j}and \(\boldsymbol {w}^{H}\boldsymbol {v}_{k,j}(i-i^{\prime }+1)=\boldsymbol {v}^{H}_{k,j}(i-i^{\prime }+1)\boldsymbol {w}\), it follows that

The exchange of *i* for *i*^{′} in (35) brings us to (25) and (26).

For example, let us consider the case where the constants *κ*_{k,j,i} are all 1. Then u becomes the sum of all the eigenvectors and generalized eigenvectors. Moreover, let w=*V*^{−H}α in (25) where α is an *M*-dimensional vector with all the entries 1. Then it holds that \(\kappa _{k,j,i}\boldsymbol {v}_{k,j}^{H}(i^{\prime }-i+1)\boldsymbol {w}=\boldsymbol {e}_{k,j}^{\top }(i^{\prime }-i+1)\boldsymbol {\alpha }=1\). Thus, it is concluded that *c*_{k,i}≠0. The above discussion suggests that there exists at least a pair of u and w for satisfying (27).

Proposition 1 leads to a theorem concerning the generating function *F*(*z*) with the moments *f*_{
n
}=w^{
H
}*A*^{
n
}u.

**Theorem****3**.

*F*(

*z*) be the generating function with the moments

*f*

_{ n }=w

^{ H }

*A*

^{ n }u. Then,

*F*(

*z*) converges absolutely in the disk

*D*:|

*z*|<|

*λ*

_{1}|

^{−1}, and

*F*(

*z*) is expressed as

*λ*

_{ N }=0, then

*F*(

*z*) is expressed as

Let us assume that (27) holds for suitable u and w. If *λ*_{
N
}≠0, then *F*(*z*) has the finite poles \(\lambda _{1}^{-1},\lambda _{2}^{-1},\dots,\lambda _{N}^{-1}\) of the orders *m*_{1},*m*_{2},…,*m*_{
N
}, respectively, and the sum of the orders is *m*=*m*_{1}+*m*_{2}+⋯+*m*_{
N
}. If *λ*_{
N
}=0, then *F*(*z*) has the pole of the order *m*_{
N
}−1 at infinity and the finite poles \(\lambda _{1}^{-1},\lambda _{2}^{-1},\dots,\lambda _{N-1}^{-1}\) of the orders *m*_{1},*m*_{2},…,*m*_{
N
}, respectively, and the sum of the orders of all the finite poles is *m*−*m*_{
N
}.

*Proof*.

*f*

_{ n }in (26) into

*F*(

*z*) in (2), we get

*n*=

*n*

^{′}+

*i*−1, we derive

*z*|<1,

From (39) and (40), it turns out that *F*(*z*) converges absolutely in the disk *D*:|*z*|<|*λ*_{1}|^{−1}. Simultaneously, we have (36) for *z*∈*D*. It is obvious that (36) with *λ*_{
N
}=0 becomes (37). Moreover, (36) and (37) immediately lead to the latter half concerning the poles of *F*(*z*).

*ψ*

_{ A }(

*z*) be the polynomial whose degree is the smallest such that

*ψ*

_{ A }(

*A*)=

*O*. Here

*ψ*

_{ A }(

*z*) is called the minimal polynomial of

*A*. Let us recall here that the maximal dimension of the Jordan blocks \(J_{k,1},J_{k,2},\dots,J_{k,{\mathcal {M}}_{k}}\) corresponding to

*λ*

_{ k }is

*m*

_{ k }. So,

*ψ*

_{ A }(

*z*) is representable as

Therefore, we have the main theorem in this section for the relationship between the minimal polynomial of a general matrix *A* and the characteristic polynomial of a tridiagonal matrix \(T_{l}^{(n)}\).

**Theorem****4**.

*F*(

*z*) be given by the generating function with the moments

*f*

_{ n }=w

^{ H }

*A*

^{ n }u. Let us assume that (6) and (27) hold for suitable u and w. If

*λ*

_{1}≠0,

*λ*

_{2}≠0,…,

*λ*

_{ N }≠0, then it holds that

*Proof*.

It is remarkable that three integers *L*,*l*,*l*_{
k
} and a complex *z*_{
k
} associated with the tridiagonal matrix \(T_{l}^{(n)}\) in Theorem 2 are given in terms of three integers *N*,*m*,*m*_{
k
} and a complex *λ*_{
k
} associated with a general matrix *A*. If *λ*_{
N
}≠0, then it follows from the latter half of Theorem 3 that *L*=*N*, *l*=*m*, *l*_{0},*l*_{1}=*m*_{1},*l*_{2}=*m*_{2},…,*l*_{
N
}=*m*_{
N
} and \(z_{k}=\lambda _{k}^{-1}\). So, from (11) and (41), we derive (42). Similarly, if *λ*_{
N
}=0, then *L*=*N*−1, *l*=*m*−*m*_{
N
}, *l*_{0}=*m*_{
N
}−1,*l*_{1}=*m*_{1},*l*_{2}=*m*_{2},…,*l*_{N−1}=*m*_{N−1} and \(z_{k}=\lambda _{k}^{-1}\). Thus (11) and (41) lead to (43).

Incidentally, the editors in ([9], pp. 444–445) give a simple example with short comments concerning the minimal polynomial, the Jordan canonical form of *A* and the multiple poles of *F*(*z*).

## 4 Minimal polynomial of tridiagonal matrix

In this section, with the help of the Jordan canonical form, we clarify the relationship of the characteristic polynomial of the tridiagonal matrix \(T_{l}^{(n)}\) to the minimal one.

*l*=

*m*if

*λ*

_{ N }≠0 or

*l*=

*m*−

*m*

_{ N }if

*λ*

_{ N }=0. Let

*p*

_{0}(

*z*)=1 and

*p*

_{ s }(

*z*)= det(

*z*

*I*

_{ s }−

*T*

_{ s }) for

*s*=1,2,…,

*l*. Then

*p*

_{ l }(

*z*) is just the characteristic polynomial of

*T*

_{ l }, namely,

where *L*=*N* if *λ*_{
N
}≠0 or *L*=*N*−1 if *λ*_{
N
}=0. The following proposition gives the Jordan canonical form of the tridiagonal matrix *T*_{
l
}.

**Proposition****2**.

*P*such that

where *J*_{1,1},*J*_{2,1},…,*J*_{L,1} are of the same form as (23).

*Proof*.

*p*

_{0}(

*z*),

*p*

_{1}(

*z*), …,

*p*

_{ l }(

*z*) satisfy

*z*

*I*

_{ s }−

*T*

_{ s }) by the

*s*th row minors. By taking the 0th, the 1st, …, the (

*m*

_{ k }−1)th derivatives with respect to

*z*in (48), we get

*D*

^{ i }

*p*

_{ s }(

*z*) denotes the

*i*th derivative of

*p*

_{ s }(

*z*) with respect to

*z*. Let \(\boldsymbol {p}_{k,i}=(D^{i}p_{0}(\lambda _{k}),D^{i}p_{1}(\lambda _{k}),\dots,D^{i}p_{l-1}(\lambda _{k}))^{\top }\in \mathbb {C}^{l}\). Then, by substituting

*z*=

*λ*

_{ k }in (49) and by taking account that \(\phantom {\dot {i}\!}D^{i}p_{l}(\lambda _{k})=D^{i}(z-\lambda _{1})^{m_{1}}(z-\lambda _{2})^{m_{2}}\cdots (z-\lambda _{l})^{m_{l}}|_{z=\lambda _{k}}=0\) for

*i*=0,1,…,

*m*

_{ k }−1, we obtain

where *P*_{k,i}=(1/*i*!)p_{k,i}. Thus, by letting \(P=(P_{1,0}\,P_{1,1}\,\cdots \,P_{1,m_{1}-1}\,|\,P_{2,0}\,P_{2,1}\cdots \,P_{2,m_{2}-1}\,|\cdots \,|\,P_{L,0}\,P_{L,1}\,\cdots \,P_{L,m_{L}-1})\in \mathbb {C}^{l\times l}\), we have \((T_{l})^{\top }P=P\hat {J}\).

*P*is nonsingular. Of course,

*P*

_{k,i}≠

*O*since the (

*i*+1)th row of

*P*

_{k,i}is

*D*

^{ i }

*p*

_{ i }(

*λ*

_{ k })/

*i*!=1. Let

*W*

_{k,i}=Ker((

*T*

_{ l })

^{⊤}−

*λ*

_{ k }

*I*

_{ l })

^{ i }for

*i*=1,2,…

*m*

_{ k }−1, which indicates the generalized eigenspace of (

*T*

_{ l })

^{⊤}corresponding to

*λ*

_{ k }. Then it is obvious from (51) that ((

*T*

_{ l })

^{⊤}−

*λ*

_{ k }

*I*

_{ l })

*P*

_{k,0}=

*O*and

*P*

_{k,0}∈

*W*

_{k,1}. Eq. (51) with

*i*=1 also leads to that ((

*T*

_{ l })

^{⊤}−

*λ*

_{ k }

*I*

_{ l })

^{2}

*P*

_{k,1}=

*O*and

*P*

_{k,1}∈

*W*

_{k,2}. Simultaneously, it is observed that

*P*

_{k,1}∉

*W*

_{k,1}. Let us assume that

*P*

_{k,1}∈

*W*

_{k,1}, namely, (

*T*

_{ l })

^{⊤}

*P*

_{k,1}=

*λ*

_{ k }

*P*

_{k,1}. Then, from (51), we derive

*P*

_{k,0}=

*O*, which contradicts with

*P*

_{k,0}≠

*O*. Thus, it follows that

*P*

_{k,1}∉

*W*

_{k,1}. Similarly, by induction for

*i*=2,3,…,

*m*

_{ k }−1 in

*P*

_{k,i}, we have

From (52), it turns out that *P*_{k,i} for *i*=0,1,…,*m*_{
k
}−1 and *k*=1,2,…,*L* are linearly independent. Therefore, it is concluded that *P* is nonsingular and the Jordan canonical form of (*T*_{
l
})^{⊤} is given by (46).

*T*

_{ l })

^{⊤}becomes

which is equal to the characteristic polynomial of *T*_{
l
} in (45). If *m*_{1}=*m*_{2}=⋯=*m*_{
L
}=1, then it is obvious that *T*_{
l
} is diagonalizable. Otherwise, *T*_{
l
} is not diagonalizable. This is because multiplicity of roots in minimal polynomial coincides with maximal size of the Jordan blocks. To sum up, we have a theorem for the properties of the tridiagonal matrix *T*_{
l
}.

**Theorem****5**.

The minimal polynomial of *T*_{
l
} is equal to the characteristic one. Also, *T*_{
l
} is diagonalizable tridiagonal matrix if and only if it has no multiple eigenvalues.

## 5 Procedure for constructing tridiagonal matrix and its examples

In this section, based on the discussions in the previous sections, we first design a procedure for constructing a tridiagonal matrix with specified multiple eigenvalues. We next give four kinds of examples for demonstrating that the resulting procedure can provide with tridiagonal matrices with multiple eigenvalues. Examples have been carried out with our computer with OS: Mac OS X 10.8.5, CPU: Intel Core i7 2 GHz, RAM: 8 GB. We also use the scientific computing software Wolfram Mathematica 9.0. In every example, all the entries of u are simply set to 1 and those of w are not artificial. The readers will realize that the settings of u and w are not so difficult for satisfying (6) and (27).

*F*(

*z*) and the multiplicity of the eigenvalues coincide with the those of the poles of

*F*(

*z*). Theorems 3 and 4 claim that the minimal polynomial of a general matrix

*A*, denoted by

*ψ*

_{ A }(

*z*) is just the denominator of

*F*(

*z*) involving

*f*

_{ n }=w

^{ H }

*A*

^{ n }u, and it coincides with the characteristic polynomial of \(T_{l}^{(n)}\) denoted by

*ϕ*

_{ T }(

*z*), except for the factor corresponding to zero-eigenvalues. With the help of Theorem 1, we thus realize that the nonzero eigenvalues of \(T_{l}^{(0)}\) with the entries involving \(q_{1}^{(0)},q_{2}^{(0)},\dots,q_{l}^{(0)}\) and \(e_{1}^{(0)},e_{2}^{(0)},\dots,e_{l-1}^{(0)}\) become roots of the minimal polynomial

*ψ*

_{ A }(

*z*) in the case where \(q_{1}^{(0)},q_{2}^{(0)},\dots,q_{l}^{(0)}\) and \(e_{1}^{(0)},e_{2}^{(0)},\dots,e_{l-1}^{(0)}\) are given by the qd formula (4) under the initial settings \(e_{0}^{(n)}=0\) and \(q_{1}^{(n)}=f_{n+1}/f_{n}\) with

*f*

_{ n }=w

^{ H }

*A*

^{ n }u. See also Figure 1 for the diagram for getting \(q_{s}^{(n)}\) and \(e_{s}^{(n)}\) by the qd formula (4). A procedure for constructing \(T=T_{l}^{(0)}\) with the same nonzero eigenvalues as

*A*is therefore as follows.

- 1:
Set

*l*=*m*if*λ*_{ N }≠0 or*l*=*m*−*m*_{ N }if*λ*_{ N }=0. - 2:
- 3:
Compute

*f*_{ n }=w^{ H }*A*^{ n }u for*n*=0,1,…,2*l*−1. - 4:
Set \(e_{0}^{(n)}=0\) for

*n*=0,1,…,2*l*−3. - 5:
Compute \(q_{1}^{(n)}=f_{n+1}/f_{n}\) for

*n*=0,1,…,2*l*−2. - 6:Repeat (a) and (b) for
*s*=2,3,…,*l*.- (a)
Compute \(e_{s-1}^{(n)}=q_{s-1}^{(n+1)}+e_{s-2}^{(n+1)}-q_{s-1}^{(n)}\) for

*n*=0,1,…,2*l*−2*s*+1. - (b)
Compute \(q_{s}^{(n)} = q_{s-1}^{(n+1)}e_{s-1}^{(n+1)}/e_{s-1}^{(n)}\) for

*n*=0,1,…,2*l*−2*s*.

- (a)
- 7:
Construct a tridiagonal matrix by arranging \(q_{1}^{(0)},q_{2}^{(0)},\dots,q_{l}^{(0)}\) and \(e_{1}^{(0)},e_{2}^{(0)},\dots,e_{l-1}^{(0)}\).

According to Theorem 5, the minimal and the characteristic polynomials of the resulting tridiagonal matrix *T* are equal to each other. Moreover, *T* is diagonalizable if and only if it has no multiple eigenvalues.

It is necessary to control the eigenvalues of *A* for getting *T* as a tridiagonal matrix with specified eigenvalues. It is easy to specify the eigenvalues of the diagonal matrix and those of the Jordan matrix.

*z*−1)

^{3}(

*z*−2)

^{3}and (

*z*−1)(

*z*−2), respectively. So, the integers

*l*and

*m*are immediately determined as

*l*=2 and

*m*=6. Moreover, by letting u=(1,1,1,1,1,1)

^{⊤}and w=(1,1,1,1,1,1)

^{⊤}, we derive a tridiagonal matrix as

whose characteristic and minimal polynomials are both factorized as (*z*−1)(*z*−2). The tridiagonal matrix *T* is a diagonalizable matrix with the distinct eigenvalues 1 and 2.

*A*, namely,

*A*is equal to the minimal one, the integers

*l*and

*m*are determined as

*l*=

*m*=6. Then the procedure with u=(1,1,1,1,1,1)

^{⊤}and w=(1,1,0,1,0,1)

^{⊤}constructs a tridiagonal matrix, which can not be symmetrized,

The characteristic and the minimal polynomials of *A* and *T* are all the same polynomial with respect to *z*, which is factored as (*z*−2)^{6}. So, the tridiagonal matrix *T* is not diagonalizable.

*A*has multiple eigenvalues such as

*λ*

_{1}=3,

*λ*

_{2}=3,

*λ*

_{3}=3,

*λ*

_{4}=3,

*λ*

_{5}=3,

*λ*

_{6}=3,

*λ*

_{7}=2,

*λ*

_{8}=2. It is noted that |

*λ*

_{1}|=|

*λ*

_{2}|=|

*λ*

_{3}|=|

*λ*

_{4}|=|

*λ*

_{5}|=|

*λ*

_{6}|>|

*λ*

_{7}|=|

*λ*

_{8}|>0. The characteristic and the minimal polynomials of

*A*are factorized as (

*z*−2)

^{2}(

*z*−3)

^{6}and (

*z*−2)

^{2}(

*z*−3)

^{3}, respectively. So, let

*l*=5 and

*m*=8 in the procedure. Then, the settings u=(1,1,1,1,1,1,1,1)

^{⊤}and w=(1,1,1,1,1,1,1,1)

^{⊤}bring us to a tridiagonal matrix, which can not be symmetrized,

whose characteristic and minimal polynomials are both factorized as (*z*−2)^{2}(*z*−3)^{3}, which is just equal to the minimal one of *A*. The tridiagonal matrix *T* is not a diagonalizable matrix with eigenvalues 2 and 3 of multiplicity 2 and 3, respectively.

*A*be set as the Jordan matrix with complex eigenvalues 2+

*i*and 2−

*i*each of multiplicity 2 and distinct real eigenvalues 1 and 2, namely,

*A*are equal to each other, let

*l*=

*m*=6 in the procedure. Under the settings u=(1,1,1,1,1,1)

^{⊤}and w=(1,1,1,1,1,1)

^{⊤}, the resulting matrix

*T*is a real tridiagonal matrix, which can not be symmetrized,

The characteristic and the minimal polynomials of *A* and *T* are all the same polynomial with respect to *z*, which is factorized as (*z*−2+*i*)^{2}(*z*−2−*i*)^{2}(*z*−2)(*z*−1). So, the tridiagonal matrix *T* is not a diagonalizable matrix with the same complex multiple eigenvalues and real distinct ones as *A*.

## 6 Conclusion

In this paper, we clarify that the qd recursion formula is applicable to constructing a tridiagonal matrix with specified multiple eigenvalues. We first investigate the denominator of the generating function associated with the sequence given from two suitable vectors and the powers of a general matrix *A*, through considering the Jordan canonical form of *A*. Accordingly, it is observed that the minimal polynomial of *A* coincides with the characteristic polynomial of a tridiagonal matrix *T*, denoted by *ϕ*_{
T
}(*z*), or the polynomial \(\phantom {\dot {i}\!}z^{m_{L}}\phi _{T}(z)\) for the multiplicity *m*_{
L
} of the zero-eigenvalues of *A*. Next, by taking account of the Jordan canonical form of *T*, we show that the characteristic and the minimal polynomials of *T* are equal to each other. We finally present a procedure for constructing a tridiagonal matrix with specified multiple eigenvalues, and then give four examples for the resulting procedure.

## Declarations

### Acknowledgements

The authors would like to thank the reviewer for his/her careful reading and beneficial suggestions. This work is supported by JSPS KAKENHI Grant Number 23654032.

## Authors’ Affiliations

## References

- Chu, MT., Golub, GH.: Inverse Eigenvalue Problem: Theory, Algorithms, and Applications. Oxford University Press, New York (2005).View ArticleGoogle Scholar
- Gutknecht, MH., Parlett, BN.: From qd to LR, or, how were the qd and LR algorithms discovered?IMA J. Numer. Anal. 31, 741–754 (2011).MathSciNetView ArticleGoogle Scholar
- Henrici, P., Watkins, BO.: Finding zeros of a polynomial by the Q-D algorithm. Commut. ACM. 8, 570–574 (1965).MathSciNetView ArticleGoogle Scholar
- Henrici, P.: Applied and, Computational Complex Analysis, Vol. 1. John Wiley, New York (1974).Google Scholar
- Henrici, P.: Applied and Computational Complex Analysis, Vol. 2. John Wiley, New York (1977).Google Scholar
- Meyer, CD.: Matrix Analysis and Applied Linear Algebra. SIAM, Philadelphia (2000).View ArticleGoogle Scholar
- Parlett, BN.: The new qd algorithms. Acta Numerica. 4, 459–491 (1995).MathSciNetView ArticleGoogle Scholar
- Rutishauser, H.: Bestimmung der Eigenwerte und Eigenvektoren einer Matrix mit Hilfe des Quotienten-Differenzen-Algorithmus. Z. Angew. Math. Phys. 6, 387–401 (1955).MathSciNetView ArticleGoogle Scholar
- Rutishauser, H.: Lectures on Numerical Mathematics. Birkhäuser, Boston (1990).View ArticleGoogle Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License(http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.