Docsity

Stability and Sensitivity of Darboux Transformation for Monic Jacobi Matrices, Papers of Communication and Presentation Skills

Toggle sidebar
bg1
STABILITY AND SENSITIVITY OF DARBOUX
TRANSFORMATION WITHOUT PARAMETER ∗
M. ISABEL BUENO†AND FROIL´
AN M. DOPICO‡
Abstract. The monic Jacobi matrix is a tridiagonal matrix which contains the parameters of
the three-term recurrence relation satisfied by the sequence of monic polynomials orthogonal with
respect to a measure. Darboux transformation without parameter changes a monic Jacobi matrix
associated with a measure µinto the monic Jacobi matrix associated with xdµ. This transformation
has been used in several numerical problems as in the computation of Gaussian quadrature rules.
In this paper, we analyze the stability of an algorithm which implements Darboux transformation
without parameter numerically and we also study the sensitivity of the problem. The main result
of the paper is that, although the algorithm for Darboux transformation without parameter is not
backward stable, it is forward stable. This means that the forward errors are of similar magnitude to
those produced by a backward stable algorithm. Moreover, bounds for the forward errors computable
with low cost are presented. We also apply the results to some classical families of orthogonal
polynomials.
Key words. Darb oux transformation, orthogonal polynomials, stability, sensitivity, tridiagonal
matrices, LU factorization, LR algorithm.
AMS subject classifications. 65G50, 42C05, 15A23, 65F30, 65F35.
1. INTRODUCTION. Let µbe an absolutely continuous measure on the real
line, that is, dµ =ω(x)dx, where ωis a weight function. Suppose that
ZR
xndµ
<∞,for n≥0,
where, if µis a positive measure, then ω(x) is a monotonically increasing function
while, if µis a signed measure, then ω(x) is a function of bounded variation. Let
us consider a sequence of monic polynomials {Pn}orthogonal with respect to the
measure µ, i.e.,
1. degree(Pn) = n, for n≥0.
2. RRPnPmdµ =Kn,mδnm, Kn,n 6= 0.
This sequence of monic orthogonal polynomials {Pn}satisfies a three-term recur-
rence relation
xPn(x) = Pn+1(x) + Bn+1Pn(x) + GnPn−1(x), n ≥0,
P−1(x) = 0, P0(x) = 1.
In matrix notation,
xP =JP,
∗This research has been partially supported by the Ministerio de Ciencia y Tecnolog´ıa of Spain
through grants BFM2003-06335-C03-02 (M. I. Bueno) and BFM2000-0008 (F. M. Dopico).
†Departamento de Matem´aticas, Universidad Carlos III de Madrid, Avda. de la Universidad, 30.
28911 Legan´es, Spain ([email protected], [email protected]).
‡Departamento de Matem´aticas, Universidad Carlos III de Madrid, ([email protected]).
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25

Partial preview of the text

Download Stability and Sensitivity of Darboux Transformation for Monic Jacobi Matrices and more Papers Communication and Presentation Skills in PDF only on Docsity!

STABILITY AND SENSITIVITY OF DARBOUX

TRANSFORMATION WITHOUT PARAMETER

∗

M. ISABEL BUENO † AND FROIL AN M. DOPICO´ ‡

Abstract. The monic Jacobi matrix is a tridiagonal matrix which contains the parameters of

the three-term recurrence relation satisfied by the sequence of monic polynomials orthogonal with

respect to a measure. Darboux transformation without parameter changes a monic Jacobi matrix

associated with a measure μ into the monic Jacobi matrix associated with xdμ. This transformation

has been used in several numerical problems as in the computation of Gaussian quadrature rules.

In this paper, we analyze the stability of an algorithm which implements Darboux transformation

without parameter numerically and we also study the sensitivity of the problem. The main result

of the paper is that, although the algorithm for Darboux transformation without parameter is not

backward stable, it is forward stable. This means that the forward errors are of similar magnitude to

those produced by a backward stable algorithm. Moreover, bounds for the forward errors computable

with low cost are presented. We also apply the results to some classical families of orthogonal

polynomials.

Key words. Darboux transformation, orthogonal polynomials, stability, sensitivity, tridiagonal

matrices, LU factorization, LR algorithm.

AMS subject classifications. 65G50, 42C05, 15A23, 65F30, 65F35.

  1. INTRODUCTION. Let μ be an absolutely continuous measure on the real

line, that is, dμ = ω(x)dx, where ω is a weight function. Suppose that

R

x

n dμ

< ∞, for n ≥ 0 ,

where, if μ is a positive measure, then ω(x) is a monotonically increasing function

while, if μ is a signed measure, then ω(x) is a function of bounded variation. Let

us consider a sequence of monic polynomials {Pn} orthogonal with respect to the

measure μ, i.e.,

  1. degree(Pn) = n, for n ≥ 0.

R PnPmdμ = Kn,mδnm, Kn,n 6 = 0.

This sequence of monic orthogonal polynomials {Pn} satisfies a three-term recur-

rence relation

xPn(x) = Pn+1(x) + Bn+1Pn(x) + GnPn− 1 (x), n ≥ 0 ,

P− 1 (x) = 0, P 0 (x) = 1.

In matrix notation,

xP = JP,

∗ This research has been partially supported by the Ministerio de Ciencia y Tecnolog´ıa of Spain

through grants BFM2003-06335-C03-02 (M. I. Bueno) and BFM2000-0008 (F. M. Dopico). † Departamento de Matem´aticas, Universidad Carlos III de Madrid, Avda. de la Universidad, 30.

28911 Legan´es, Spain ([email protected], [email protected]). ‡Departamento de Matem´aticas, Universidad Carlos III de Madrid, ([email protected]).

1

2 M. ISABEL BUENO AND FROIL AN M. DOPICO´

where P =

P 0 (x)

P 1 (x)

P 2 (x)

. . .

and

J =

B 1 1 0 0 ...

G 1 B 2 1 0 ...

0 G 2 B 3 1 ...

0 0 G 3 B 4 ...

The matrix J is said to be the monic Jacobi matrix associated with {Pn}.

In the context of applications, it is interesting to study how the monic Jacobi

matrix J changes when the measure μ is multiplied by a polynomial, i.e., π(x)dμ(x),

with π(x) a polynomial. The Darboux transformation without parameter, in the case

of semi-infinite tridiagonal matrices, is the process that allows us to obtain the monic

Jacobi matrix associated with xdμ. It has been shown [?, ?, ?] that the Darboux

transform of a semi-infinite tridiagonal matrix J can be computed as follows: 1)com-

pute the LU factorization without pivoting of J, where the main diagonal elements

of L are one, 2) multiply the factors L and U in reverse order, i.e., U L. Notice, as

pointed out in [?, ?], that this algorithm is an infinite version of one step of the LR

algorithm. But the finite version of our algorithm presents a significant difference:

once the factors U and L have been multiplied, a one rank matrix must be added. In

practice, we will not add this one rank matrix but delete the last row and column of

the output matrix.

More generally, the Darboux transformation without parameter and with shift

multiplies the measure by any polynomial of degree one, (ax + b)dμ. The Darboux

transformation (with parameter) can also be considered [?, ?]. It is just the inverse

process of Darboux transformation without parameter. We will not study these kinds

of transformations in this paper although in fact they are very interesting.

In the fields of Numerical Analysis, Approximation Theory, Differential Equa-

tions and Orthogonal Polynomials, the Darboux process has been used in different

ways. For instance, Golub and Kautsky [?, ?], as well as Galant [?], applied Darboux

transformation with shift to the calculation of Gaussian quadratures, in particular,

to those with multiple free and fixed knots. Taking into account that the eigenvalues

of any leading principal submatrix of a monic Jacobi matrix coincide with the zeros

of the orthogonal polynomial of degree equal to the order of the submatrix, the knots

of the quadratures can be calculated as the eigenvalues of some Jacobi matrices. A.

Gr¨unbaum and L. Haine have used Darboux transformation without parameter to ob-

tain Krall polynomials from classical families of orthogonal polynomials in the context

of the bispectral problem ([?] and [?]). It is important to mention a recent paper by

Gautschi [?] in which the relation of the Darboux process with orthogonal polynomials

and Gaussian quadratures is treated in a modern and affable manner.

Considering the importance given in the literature to the Darboux transformation

without parameter, it seems to be necessary to give an answer to the following ques-

tions: 1) Is the natural algorithm previously described for computing the Darboux

transform without parameter of a monic Jacobi matrix numerically stable?; 2) what

can we say about the conditioning of the problem? In fact, the answers to these ques-

tions are not trivial. Consider, for instance, that Darboux transformation without

4 M. ISABEL BUENO AND FROIL AN M. DOPICO´

2. DARBOUX TRANSFORMATION AND ORTHOGONAL POLY-

NOMIALS. In this section, we give some basic notions about Darboux transfor-

mation without parameter and its relation with orthogonal polynomials. Readers

specialized in orthogonal polynomials can skip straight to Section 3.

Consider a linear functional with real values L defined on the linear space of

polynomials with real coefficients. Then, L is said to be quasi-definite if there exists

a sequence of monic polynomials {Pn} orthogonal with respect to L, i.e.,

  • If Pn(x) = anx n + an− 1 x n− 1 + ... + a 1 x + a 0 , then an = 1,
  • degree(Pn) = n, for n ≥ 0 ,
  • L(Pn, Pm) = Kn,mδnm, Kn,n 6 = 0.

Because of Boas’s and Duran’s Theorems [?, ?], we can assure that L has an

integral representation, i.e., there exist a Borel measure μ and a weight function ω

such that

L(p) =

R

p dμ =

R

p(x) ω(x)dx.

Furthermore, {Pn} satisfies a three-term recurrence relation,

(2.1) Pn+1(x) = (x − Bn+1)Pn(x) − GnPn− 1 (x), n ≥ 0 ,

P− 1 (x) = 0, P 0 (x) = 1, Gn 6 = 0, ∀n.

In particular, Gn > 0 when μ is a positive measure.

Recall from (??) that, associated with the sequence of monic polynomials {Pn},

there exists the monic Jacobi matrix, J. But, if we consider a positive measure μ,

it is possible to construct a sequence of orthonormal polynomials with respect to μ.

In this case, the corresponding tridiagonal matrix is also symmetric and it is called

Jacobi matrix. For the sake of clarity, we will refer to the Jacobi matrix as symmetric

Jacobi matrix and we will use the notation Js to denote it.

Js =

B 1

G 1 0 0 ...

G 1 B 2

G 2 0 ...

G 2 B 3

G 3 ...

G 3 B 4 ...

It is interesting to point out the following properties [?].

Proposition 2.1. The eigenvalues of the leading principal submatrix of J of

order n are the zeros of the orthogonal polynomial Pn. The same holds for Js.

Proposition 2.2. Let μ be a positive measure supported in a subset of the

real line containing infinitely many points. If {Pn} denotes the sequence of monic

polynomials orthogonal with respect to μ, then the zeros of Pn are in the convex hull

of the support of the measure for any n.

Corollary 2.3. Let Js be a Jacobi matrix associated with a positive measure μ

supported in an interval contained in (0, ∞). Then, Js is a symmetric positive definite

matrix.

STABILITY AND SENSITIVITY OF DARBOUX TRANSFORMATION 5

2.1. Darboux transformation and kernel polynomials. In the sequel, we

will consider the modification xL of the linear functional L.

Given a quasi-definite linear functional L, the linear functional xL [?] is given by

(xL)(p) := L(xp) =

R

x p(x) ω(x)dx.

If {Pn} is the sequence of monic polynomials orthogonal with respect to L and

Pn(0) 6 = 0, for all n ≥ 0, then xL is a quasi-definite linear functional. The poly-

nomials orthogonal with respect to xL are the so-called kernel polynomials associated

with {Pn} [?].

There is a close relation between the monic Jacobi matrix associated with xL and

the monic Jacobi matrix associated with L. In fact, the first one can be obtained from

the second one by the application of the so-called Darboux transformation without

parameter.

Definition 2.4. Given a monic Jacobi matrix J, consider the tridiagonal matrix

J 1 such that

J = LU,

J 1 = U L,

where J = LU denotes the LU factorization without pivoting of J in such a way that

the elements of the main diagonal of L are ones. We say that J 1 is the Darboux

transform of J and the process that generates J 1 from J is the so-called Darboux

transformation without parameter.

In the sequel, for the sake of simplicity, we will refer to Darboux transformation

without parameter as Darboux transformation.

Theorem 2.5. [?] Let L be a quasi-definite linear functional and {Pn} the cor-

responding sequence of monic orthogonal polynomials. If Pn(0) 6 = 0, for all n ≥ 0 ,

then the Darboux transform of J is the monic Jacobi matrix associated with xL.

The previous result was already known by Galant and Gautschi although, in [?],

Galant gives a simpler result which is valid only for the case when the linear functional

is given in terms of a positive measure. In [?], Gautschi presents the same result but

he did not formulate it in matrix form.

In order to compute the Darboux transformation in practice, it is necessary to

give an equivalent result to Theorem ?? in the finite case. Recall that a monic Jacobi

matrix is a semi-infinite matrix. The next result is a trivial consequence of Theorem

??. We introduce the following shorthand notation: for any matrix A, An denotes

the n × n leading principal submatrix of A.

Corollary 2.6. [?] Let L be a quasi-definite linear functional and {Pn} the

corresponding sequence of monic orthogonal polynomials. If Pn(0) 6 = 0, for all n ≥ 0

and Jn = LnUn denotes the LU factorization without pivoting of the leading prin-

cipal submatrix of order n of J, then (J 1 )n− 1 = (UnLn)n− 1 is the leading principal

submatrix of order n − 1 of the monic Jacobi matrix associated with xL.

Remark 2.1. Notice that from a monic Jacobi matrix of order n, Darboux

transformation only provides a monic Jacobi matrix of order n − 1.

STABILITY AND SENSITIVITY OF DARBOUX TRANSFORMATION 7

  1. Multiplication of U times L.

J˜ = U L

  1. Deletion of the last row and column of J˜ which gives the matrix (J 1 )n− 1.

Notice that (J 1 )n− 1 is an (n − 1) × (n − 1) monic Jacobi matrix. In the sequel,

J(b, g) := (J 1 )n− 1 , where

J(b, g) =

b 1 1 0 · · · 0 0

g 1 b 2 1 · · · 0 0

0 g 2 b 3 · · · 0 0

. . .

0 0 0 · · · bn− 2 1

0 0 0 · · · gn− 2 bn− 1

and

b = [b 1 , ..., bn− 1 ]

T , g = [g 1 , ..., gn− 2 ]

T .

The following MATLAB code computes the LU factorization without pivoting of

J(B, G):

Algorithm 3.1. Given a monic Jacobi matrix J(B, G) ∈ R

n×n , this algorithm

computes the LU factorization without pivoting of J(B, G).

u(1)=B(1)

for i=1:n-

l(i)=G(i)/u(i)

u(i+1)=B(i+1)-l(i)

end

Although the previous algorithm is not our main goal and it appears implicitly in

the algorithm that computes Darboux transformation, for the sake of clarity, we give

it explicitly since we will refer to it.

The following algorithm computes the Darboux transform of a monic Jacobi ma-

trix, J(B, G):

Algorithm 3.2. Given a monic Jacobi matrix J(B, G) ∈ R

n×n , this algorithm

computes its Darboux transform of order n − 1 , J(b, g) ∈ R (n−1)×(n−1) .

u(1)=B(1)

for i=1:n-

l(i)=G(i)/u(i)

b(i)=u(i)+l(i)

u(i+1)=B(i+1)-l(i)

g(i)=u(i+1)l(i)

end

l(n-1)=G(n-1)/u(n-1)

b(n-1)=u(n-1)+l(n-1)

The computational cost of Algorithm 3.2 is 4n − 6 flops.

8 M. ISABEL BUENO AND FROIL AN M. DOPICO´

3.1. Input, output and matrix notation. In order to compute the (n − 1) ×

(n − 1) leading principal submatrix of the Darboux transform of J(B, G), Algorithm

3.2 only needs the vectors B(1 : n − 1) and G, i.e, the element Bn is not needed.

Therefore, Algorithm 3.2 has 2(n − 1) input parameters

B

′ = [B 1 , B 2 , ..., Bn− 1 ], G = [G 1 , G 2 , ..., Gn− 1 ]

and 2n − 3 output parameters

b = [b 1 , b 2 , ..., bn− 1 ], g = [g 1 , g 2 , ..., gn− 2 ].

We also observe that, in order to compute J(b, g), we do not need to com-

pute the complete LU factorization of J(B, G). In fact, we just need to compute

[u 1 , u 2 , ..., un− 1 ] and [l 1 , l 2 , ..., ln− 1 ]. Therefore, it can be said that Darboux transfor-

mation is a function depending on the parameters B

′ and G. Hence, in order to study

the backward error or the perturbation theory related with Darboux transformation,

we only have to consider these parameters.

Although this is precise from a mathematical point of view, we think that it is

not intuitive. Therefore, we will frequently use the matrix description of the Darboux

process in the statements of the theorems appearing in the backward error analysis

and in the perturbation theory of Darboux transformation as if the input parameters

were B and G. It is clear from the discussion above that, in these theorems, Bn and

un do not play any role.

3.2. Numerical Experiments. Now we show a few numerical experiments in

which we apply Algorithm ?? for computing the Darboux transformation to some

classical families of orthogonal polynomials. These experiments present a typical

behaviour which illustrates why the structured stability analysis presented in this

paper is needed. Recall [?] that a sequence of orthogonal polynomials is said to

be classical if it satisfies a linear second order differential equation with polynomial

coefficients

a 2 (x)y

′′

  • a 1 (x)y

′

  • a 0 (x)y + λy = 0,

where a 0 (x), a 1 (x) and a 2 (x) are polynomials of degrees at most 0, 1 and 2, re-

spectively and λ 6 = 0, i.e., for each integer n ≥ 0, the corresponding classical or-

thogonal polynomial Pn is an eigenfunction of a second order differential operator

a 2 (x)D

′′

  • a 1 (x)D

′

  • a 0 (x)I with λ = λn, the corresponding eigenvalue.

In particular, we consider Jacobi, Laguerre and Bessel polynomials. Both La-

guerre and Bessel polynomials are uniparametric families while Jacobi polynomials

are a biparametric family, i.e., we can obtain different sequences of Laguerre or Bessel

polynomials by varying the value of one parameter while the family of Jacobi poly-

nomials depends on two parameters. The differences among these three families are

related to the measures with respect to which they are orthogonal as well as to the

features of the corresponding symmetric Jacobi matrices (??).

  1. Jacobi polynomials are orthogonal with respect to a positive measure sup-

ported in [− 1 , 1]. The corresponding symmetric Jacobi matrix is not positive

definite.

  1. Laguerre polynomials are orthogonal with respect to a positive measure sup-

ported in (0, ∞). The corresponding symmetric Jacobi matrix is positive

definite.

10 M. ISABEL BUENO AND FROIL AN M. DOPICO´

  1. Results for Jacobi polynomials with parameters 1, − 1 /2.

n=10 n=50 n=

forb 1 .84 10 − 16 3 .17 10 − 16 4 .74 10 − 16

forg 7 .16 10 − 16 7 .9 10 − 16 1 .27 10 − 15

FORb 1 .63 10 − 16 3 .11 10 − 16 4 .62 10 − 16

FORg 6 .51 10 − 16 7 .8 10 − 16 1 .23 10 − 15

maxL 1. 15 1. 19 1. 2

κ 2 (J) 2 .86 10 3 3 .17 10 15 2 .5 10 30

κ 2 (L) 3. 91 4. 36 4. 4

κ 2 (U ) 6 .03 10 3 7 .07 10 15

10 30

  1. Results for Bessel polynomials with parameter 1/2.

n=10 n=50 n=

forb 2 .7 10

− 15 2 .02 10

− 14 1 .05 10

− 13

forg 4 .96 10

− 16 1 .23 10

− 15 1 .65 10

− 15

FORb 1 .11 10

− 16 1 .11 10

− 16 1 .11 10

− 16

FORg 1 .39 10

− 17 1 .39 10

− 17 1 .39 10

− 17

maxL 0. 23 0. 23 0. 23

κ 2 (J) 1 .52 10

9 6 .44 10

78 1 .56 10

187

κ 2 (L) 1. 34 1. 34 1. 34

κ 2 (U ) 1 .59 10

9 6 .7 10

78 1 .58 10

187

From the previous results, the following remarks arise. The numerical compu-

tation of normwise forward errors shows that Algorithm 3.2 applied to the previous

specific examples produces relative forward errors O(u). This is also the case for

componentwise forward errors except in the case of Bessel polynomials, where a mod-

erate dependence on the dimension of the problem appears. On the other hand, it is

well known that LU factorization without pivoting is not backward stable, in general,

especially when the growth factor is large [?, Lemma 9.6]. But, even for small growth

factors, large forward errors may appear in the L, U factors, because the usual bound

of the normwise condition number of LU factorization is (see [?, section 9.11] )

χ(J) = ‖L

− 1 ‖ 2 ‖U

− 1 ‖ 2 ‖J‖ 2.

This bound, χ(J), on the condition number of LU factorization can be improved

in an almost optimal way [?] to (minD diagonal κ 2 (LD))κ 2 (U ) for the L factor and

κ 2 (L)(minD diagonal κ 2 (DU )) for the U factor. The values of κ 2 (J), κ 2 (L) and κ 2 (U )

appearing in the three examples above show that all of them have one of the factors

L or U ill-conditioned and, then, large forward errors should be expected in the L or

U factor. Moreover, in two of the examples (Laguerre and Jacobi), since not all the

entries li of the matrix L are, in absolute value, less than one, pivoting is neccesary

to ensure the backward stability of LU factorization. Finally, the second step of the

algorithm (multiplication U L) is not backward stable either.

These facts imply that large errors should be expected, but they are not observed

in the experiments we have shown for Laguerre, Jacobi and Bessel polynomials. There-

fore, our goal is to develop a structured analysis of stability that explains these and

other examples. It is important to stress that, although in the three specific examples

discussed in this section, and in many others, the forward errors of Darboux transfor-

mation are of the order of machine precision, this is not always the case. For instance,

STABILITY AND SENSITIVITY OF DARBOUX TRANSFORMATION 11

in Section 9 some examples are presented for which the Darboux transformation of

Bessel polynomials is computed with very large forward errors. Therefore, accurate

bounds which allow us to estimate the magnitude of the forward error have to be

developed.

The previous remarks show that the analysis of the stability of Algorithm ??

is not trivial, one of the main reasons being that the structure of the mathematical

problem does not allow the use of pivoting.

  1. BACKWARD ERROR ANALYSIS. In this section we assume that the

elements of the monic Jacobi matrix J(B, G) are real floating point numbers. This

assumption may seem unsuitable for the problems we are dealing with. Consider,

for instance, the three examples discussed in the previous section. In these examples

the elements of J(B, G) are computed by using well known formulas for the classical

families of orthogonal polynomials (see Sec. ??). Therefore, some rounding errors

are neccesarily present in the input parameters B, G of Algorithm ??. If these errors

on the input change significantly the exact value of Darboux transformation, then

the errors produced specifically by Algorithm ?? may not govern the overall forward

errors. However, as we will show in Section ?? (see Remark ??), the forward errors

coming from small relative componentwise perturbations of B and G, are of the same

magnitude as the forward errors coming from Algorithm ?? applied to floating point

numbers. Thus our assumption on the input being floating point numbers can be

done without spoiling the applicability of our analysis and simplifies somewhat the

subsequent developments.

In the stability analysis, we use the standard model of floating point arithmetic:

f l(x op y) = (x op y)(1 + δ) =

x op y

1 + η

, |δ|, |η| ≤ u,

where x and y are floating point numbers , op = +, −, ∗, / and u is the unit roundoff

of the machine. Moreover, we assume that

f l(

x) =

x(1 + δ) =

x

1 + η

, |δ|, |η| ≤ u.

In the sequel, given a matrix A, then |A| denotes the matrix whose entries are

the absolute values of the entries of A.

We start giving a stability result for LU factorization without pivoting of monic

Jacobi matrices. Although more general results for tridiagonal matrices are given in

[?], the following theorem improves slightly those results taking into account that the

elements in the superdiagonal are ones.

Theorem 4.1. Let Algorithm 3.1 be applied to the monic Jacobi matrix J(B, G)

of order n. Then the computed factors

L,

U satisfy

J(B + ∆B, G + ∆G) =

L

U , |∆B| ≤ u|diag(

U )|, |∆G| ≤ u|G|.

Proof. For the computed quantities, we have

ˆl i =^

Gi

u ˆi

(1 + δi), |δi| ≤ u.

Therefore, |Gi − ˆuiˆli| ≤ |Gi|u, which proves the theorem for the entries in the subdi-

agonal, G. On the other hand,

uˆi(1 + i) = Bi − ˆli− 1 , |i| ≤ u.

STABILITY AND SENSITIVITY OF DARBOUX TRANSFORMATION 13

the LU factorization of the monic Jacobi matrix associated with Jacobi polynomials

is not componentwise backward stable. From Theorem ??,

|∆Bi|

|Bi|

≤ u

|uˆi|

|Bi|

|∆Gi|

|Gi|

≤ u.

Then, if “errback” denotes maxi=1:n{ 1 ,

|uˆi| |Bi| }, for Jacobi polynomials with parameters

1 , and − 1 / 2 , considered in previous section, we get

n=10 n=50 n=100 n=400 n=

errback 7 .07 10 2 1 .64 10 4 6 .5 10 4 1 .03 10 6 6 .44 10 6

The previous results show that Darboux transformation is not componentwise sta-

ble for Jacobi polynomials. However, the forward errors obtained for parameters

1 , − 1 / 2 are of order u (see table in Subsection ??). Therefore, to explain these errors

it is necessary to find the componentwise condition number with respect to the kind of

perturbations suggested by the backward error analysis.

  1. CONDITIONING. From now on we analyze the sensitivity of Darboux

transformation under perturbations of the initial data, i.e., the monic Jacobi matrix

J(B, G). We consider two kinds of perturbations:

  • Perturbations associated with the backward error found in Theorem ??.
  • Relative componentwise perturbations in B and G, i.e., |∆B| ≤ |B| and

|∆G| ≤ |G|, with small .

In both cases, the superdiagonal of ones stays unperturbed.

We measure the sensitivity of the problem by the notion of componentwise relative

condition number. In fact, since we consider two different kinds of perturbations, we

define two different condition numbers.

Definition 5.1. Let J(b, g) be the Darboux transform of order (n−1) of a monic

Jacobi matrix of order n, J(B, G), and J(b + ∆b, g + ∆g) be the Darboux transform

of order (n − 1) of the monic Jacobi matrix of order n, J(B + ∆B, G + ∆G). Let

J(B, G) = LU be the unique LU factorization of J(B, G). The componentwise relative

condition number of the Darboux transformation of the monic Jacobi matrix J(B, G)

with respect to perturbations associated with backward errors is defined as

condB (J(B, G)) := lim → 0

sup

max k

∆bk

bk

∆gk

gk

: |∆B| ≤ |diag(U )|, |∆G| ≤ |G|

.

Definition 5.2. Let J(b, g) be the Darboux transform of order (n−1) of a monic

Jacobi matrix of order n, J(B, G), and J(b + ∆b, g + ∆g) be the Darboux transform

of order (n − 1) of the monic Jacobi matrix of order n, J(B + ∆B, G + ∆G). The

componentwise relative condition number of the Darboux transformation of the monic

Jacobi matrix J(B, G) with respect to perturbations in components is defined as

condC (J(B, G)) := lim → 0

sup

max k

∆bk

bk

∆gk

gk

: |∆B| ≤ |B|, |∆G| ≤ |G|

14 M. ISABEL BUENO AND FROIL AN M. DOPICO´

Remark 5.1. In the two previous definitions maxk

∆bk bk

∆gk gk

denotes

max

∆b 1

b 1

∆bn− 1

bn− 1

∆g 1

g 1

∆gn− 2

gn− 2

It is well known that the forward errors produced by an algorithm can be bounded

by the backward error times the condition number. Taking into account Definition ??

and Theorem ??, it is easy to get the following bound for the forward error produced

by the algorithm that implements Darboux transformation.

Lemma 5.3. Let J(b, g) and J(

b, ˆg) be, respectively, the exact and the computed

Darboux transform of J(B, G) from Algorithm 3.2, then

max k

bk − ˆbk

bk

gk − ˆgk

gk

≤ u(1 + condB (J(B, G))) + O(u

2 ).

Notice that one has to be added to condB (J(B, G)) because Theorem ?? is a

mixed forward-backward error result.

In the next subsection we give some auxiliary results that are necessary to find

explicit expressions for reliable bounds for the condition numbers given by Definitions

?? and ??. In Subsection ?? we obtain those expressions as well as a relation between

both bounds, which essentially shows that condC (J(B, G)) and condB (J(B, G)) are

of similar magnitude.

5.1. Auxiliary results. This section contains some lemmas that are necessary

to prove some of the most important results of this paper. Readers who are not

interested in technical details can skip straight to Subsection ??.

Let J(B, G) and J(B + ∆B, G + ∆G) be monic Jacobi matrices such that the

corresponding LU factorization without pivoting exist and let

J(B, G) = LU,

J(B + ∆B, G + ∆G) = (L + ∆L)(U + ∆U ).

Moreover, the corresponding Darboux transforms are denoted by J(b, g) and J(b +

∆b, g + ∆g).

Taking into account Algorithm 3.1 and Subsection ??, it must be remembered

that, for the perturbed matrix,

(5.1) u 1 + ∆u 1 = B 1 + ∆B 1 ,

lk + ∆lk =

Gk + ∆Gk

uk + ∆uk

(5.2) , k = 1 : n − 1 ,

(5.3) uk+1 + ∆uk+1 = Bk+1 + ∆Bk+1 − lk − ∆lk, k = 1 : n − 2.

Moreover, taking into account Algorithm 3.

(5.4) bk + ∆bk = uk + ∆uk + lk + ∆lk, k = 1 : n − 1 ,

16 M. ISABEL BUENO AND FROIL AN M. DOPICO´

From Lemma ?? it is possible to obtain an expression for

∆bk bk

and

∆gk gk

in terms

of

∆uk uk

. In the sequel, for any number a,

δa :=

∆a

a

Lemma 5.8.

δbk =

lk

uk + lk

δGk +

uk − lk

uk + lk

(5.8) δuk, k = 1 : n − 1 ,

δgk =

lk

uk+

δBk+1 +

lk

uk+

(5.9) (δGk − δuk), k = 1 : n − 2.

Proof. From Lemma ?? and taking into account that bk = uk + lk,

δbk =

uk

uk + lk

δuk +

lk

uk + lk

(5.10) δlk.

Then, considering the expression for ∆lk in terms of ∆uk given in Lemma ??

δbk =

uk

uk + lk

δuk +

lk

uk + lk

(δGk − δuk),

and (??) follows in a straightforward way.

From Lemma ?? again and taking into account that gk = lkuk+1, we get

(5.11) δgk = δuk+1 + δlk = δuk+1 + δGk − δuk.

Then, from Lemma ??, it is possible to express δgk only in terms of δuk,

δgk = δGk +

lk

uk+

δBk+1 −

lk

uk+

(δGk − δuk) − δuk

and the result follows.

In order to find an explicit expression for condB (J(B, G)) and condC (J(B, G)),

it is necessary to find bounds for |δbk| and |δgk|. We first consider the perturbations

associated with the backward error appearing in the definition of condB (J(B, G)).

Lemma 5.9. Let us assume that |∆Bk| ≤ |uk|, and |∆Gk| ≤ |Gk| hold for

k = 1 : n − 1. Then, to first order,

|δuk| ≤ 

lk− 1

uk

k− 1 ∑

i=

li− 1

ui

) (^) k− 1 ∏

j=i

lj

uj+

(5.12) ^.

Or equivalently

|δuk| ≤ 

k− 1 ∑

i=

k− 1 ∏

j=i

lj

uj+

(5.13) ^.

STABILITY AND SENSITIVITY OF DARBOUX TRANSFORMATION 17

Proof. From Lemma ??, we get

∆uk

uk

∆Bk

uk

∆Gk− 1

ukuk− 1

k− 1 ∑

i=

∆Bi

ui

∆Gi− 1

uiui− 1

) (^) k− 1 ∏

j=i

lj

uj+

which implies (??). Some extra calculations lead us to the second result.

Definition 5.10. For k=1:n-1,

condB (uk) := 1 +

lk− 1

uk

k− 1 ∑

i=

li− 1

ui

) (^) k− 1 ∏

j=i

lj

uj+

k− 1 ∑

i=

k− 1 ∏

j=i

lj

uj+

Now we get bounds for δbk and δgk taking into account the perturbations associ-

ated with the backward error given in Theorem ??.

Lemma 5.11. Let us assume that |∆Bk| ≤ |uk|, and |∆Gk| ≤ |Gk| hold for

k = 1 : n − 1. Then, to first order,

|δbk| ≤ 

lk

uk + lk

uk − lk

uk + lk

condB (uk)

, k = 1 : n − 1 ,

|δgk| ≤ 

lk

uk+

(1 + condB (uk))

, k = 1 : n − 2.

Proof. The results are easily obtained from (??) and Lemma ??.

Remark 5.3. For the sake of simplicity, we denote by condB (bk) and condB (gk)

the bounds for |δbk| and |δgk| divided by , i.e.,

condB (bk) :=

lk

uk + lk

uk − lk

uk + lk

(5.14) condB (uk),

condB (gk) := 1 +

lk

uk+

(5.15) (1 + condB (uk)).

We consider now perturbations in components as in Definition ?? and obtain the

corresponding lemmas similar to Lemmas ?? and ??.

Definition 5.12. For k=1:n-1,

condC (uk) :=

lk− 1

uk

lk− 1

uk

k− 1 ∑

i=

li− 1

ui

li− 1

ui

) (^) k− 1 ∏

j=i

lj

uj+

Lemma 5.13. Let us assume that |∆Bk| ≤ |Bk|, and |∆Gk| ≤ |Gk| hold for

k = 1 : n − 1. Then, to first order,

|δuk| ≤  condC (uk).

STABILITY AND SENSITIVITY OF DARBOUX TRANSFORMATION 19

bcondC (J(B, G)) := max{condC (bn− 1 ), max k=1:n− 2

(5.21) {condC (bk), condC (gk)}}

Numerical experiments in Section ?? show that bcondB (J(B, G)) is an accurate

upper bound for condB (J(B, G)) and that it really reflects the sensitivity of the

problem. Therefore it is fair to think of bcondB (J(B, G)) and bcondC (J(B, G)) as

condition numbers. We would also like to comment that in some cases in which

the signs of uk and lk have special relations, it is easy to see that condB (J(B, G)) =

bcondB (J(B, G)) and condC (J(B, G)) = bcondC (J(B, G)). Finally, it is interesting to

note that explicit expressions for the true condition numbers of the general tridiagonal

LU factorization without pivoting have been found in [?].

The following Lemma will allow us to prove that the bounds bcondB (J(B, G))

and bcondC (J(B, G)) are of similar magnitude.

Lemma 5.15.

condC (bk) ≤ condB (bk) ≤ 2 condC (bk), k = 1 : n − 1 ,

condC (gk) ≤ condB (gk) ≤ 2 condC (gk), k = 1 : n − 2.

Proof. In order to prove that condC (bk) ≤ 2 condB (bk), just apply the triangular

inequality to condC (bk). On the other hand, for any number a, |1 + a| ≥ 1 − |a|.

Apply this inequality to condC (bk) to prove that condB (bk) ≤ 2 condC (bk).

From Lemma ??, an alternative expression for condB (gk) can be obtained.

condB (gk) = 1 +

lk

uk+

lk

uk+

(5.22) condB (uk).

For any number a, |1 + a| ≤ 2 + | 1 − a|. Apply this result as well as the triangular

inequality to condC (gk) to prove that condC (gk) ≤ 2 condB (gk). Compare the bound

of condC (gk) with (??).

We can also get the following alternative expression for condC (gk)

condC (gk) =

lk

uk+

lk

uk+

lk

uk+

(5.23) condC (uk).

Then, taking into account that for any a, |1 + a| + | 1 − a| ≥ 2 and |1 + a| ≥ 1 − |a|

as well as (??), it is easy to prove that 2 condC (gk) ≥ condB (gk).

As a consequence of the previous lemma, we obtain the following theorem which

is one of the most important results in this paper.

Theorem 5.16. Given a monic Jacobi matrix J(B, G),

bcondC (J(B, G)) ≤ bcondB (J(B, G)) ≤ 2 bcondC (J(B, G)).

20 M. ISABEL BUENO AND FROIL AN M. DOPICO´

Remark 5.5. As we have already remarked, the numerical experiments in Section

?? show that the bounds bcondB (J(B, G)) and bcondC (J(B, G)) really reflect the sen-

sitivity of the Darboux transformation. Therefore, from Theorem ??, we can deduce

the forward stability of Algorithm ?? to compute the unshifted Darboux transform of

a monic Jacobi matrix J(B, G). From Lemma ??

max k

bk − ˆbk

bk

gk − ˆgk

gk

≤ u[bcondB (J(B, G)) + 1] + O(u

2 ) ≤

≤ u[2 bcondC (J(B, G)) + 1] + O(u

2 ).

The meaning of the above inequality is that the componentwise forward errors pro-

duced by Algorithm ?? are of the same order of magnitude as those produced by a

componentwise backward stable algorithm. According to the definition appearing in

[?, p.9], this means that Algorithm ?? is forward stable. Thus, the forward errors in

Algorithm ?? are the “best one could expect” from the sensitivity of the problem.

Moreover, Theorem ?? guarantees that the stability analysis we have developed

remains valid when the inputs of Algorithm ??, B and G, are not floating point num-

bers (recall the comments in the first paragraph of Section ??) but they are computed

with componentwise errors of order u. In this case, the first order overall relative

componentwise forward errors in the computation of the Darboux transformation are

the sum of two terms: u bcondC (J(B, G)) coming from the errors in B and G, plus

u(1 + bcondB (J(B, G))) coming from the errors produced by Algorithm ??. Thus a

sensible overall error bound is 3 u(1 + bcondB (J(B, G))), which implies that, up to

inessential numerical factors, bcondB (J(B, G)) is the quantity governing the forward

errors.

The argument above can be trivially extended to the case in which B and G are

computed with componentwise forward error bounded by a known constant times u.

For practical purposes, it is important to prove that bcondB (J(B, G)) can be

computed with low cost.

Lemma 5.17. The quantities condB (uk), k = 1 : n − 1 , defined in Definition ??

satisfy the following recurrence relation

condB (u 1 ) = 1, condB (uk) = 1 +

lk− 1

uk

(1 + condB (uk− 1 )).

Proof. It suffices to substitute the last expression appearing in Definition ?? in

the previous equation.

Then, taking into account (??), (??) and (??) as well as Lemma ??, the cost to

compute bcondB (J(B, G)) is 14n − 22 flops. Notice that, since the Algorithm ?? has

2(n − 1) input parameters and 2n − 3 output, it is not possible to find a method to

estimate the forward errors with computational cost less than O(n).

  1. PARTICULAR CASES. Next we apply the results obtained in Section ??

to two special kinds of monic Jacobi matrices:

  1. Monic Jacobi matrices with positive G, i.e., corresponding to polynomials

orthogonal with respect to a positive measure.

  1. Monic Jacobi matrices diagonally dominant by rows and columns.