• Tidak ada hasil yang ditemukan

Directory UMM :Data Elmu:jurnal:J-a:Journal of Computational And Applied Mathematics:Vol103.Issue2:

N/A
N/A
Protected

Academic year: 2017

Membagikan "Directory UMM :Data Elmu:jurnal:J-a:Journal of Computational And Applied Mathematics:Vol103.Issue2:"

Copied!
6
0
0

Teks penuh

(1)

A computable error bound for matrix functionals

D. Calvettia;1, G.H. Golubb;2, L. Reichelc;∗;3

a

Department of Mathematics, Case Western Reserve University, Cleveland, OH 44106, U.S.A. bComputer Science Department, Stanford University, Stanford, CA 93405, U.S.A. c

Department of Mathematics and Computer Science, Kent State University, Kent, OH 44242, U.S.A.

Received 20 September 1998; received in revised form 29 October 1998

Abstract

Many problems in applied mathematics require the evaluation of matrix functionals of the formF(A) :=uTf(A)u, where A is a large symmetric matrix and u is a vector. Golub and collaborators have described how approximations of such functionals can be computed inexpensively by using the Lanczos algorithm. The present note shows that error bounds for these approximations can be computed essentially for free when bounds for derivatives offon an interval containing the spectrum ofA are available. c1999 Elsevier Science B.V. All rights reserved.

1. Introduction

The evaluation of matrix functionals of the form

F(A) :=uTf(A)u; A∈Rn×n; u

Rn; (1.1)

where Ais a large, possibly sparse, symmetric matrix, and u is a vector, arises in many applications. The matrix f(A) is dened in terms of the spectral factorization of A, i.e.,

f(A) :=Sf()ST; (1.2)

Corresponding author. E-mail: [email protected].

1Research supported in part by NSF grant DMS-9896073. 2

Research supported in part by NSF grant CCR-9505393. 3Research supported in part by NSF grant DMS-9404706.

(2)

where

A=SST; = diag[1; 2; : : : ; n]; STS=In:

Here and elsewhere in this paper Ik denotes the k×k identity matrix. For notational simplicity, we

will assume that the eigenvalues are ordered so that

1626· · ·6n;

and that the vector u in (1.1) satises kuk= 1, where k · k denotes the Euclidean vector norm. Golub and collaborators have, in a sequence of papers, described how approximations of F(A) can be evaluated inexpensively by exploiting the connection between matrix functionals of the form (1.1), Stieltjes integrals, Gauss-type quadrature rules and the Lanczos algorithm; see, e.g., [1–3, 5] and references therein.

The right-hand side of (1.3) is a Stieltjes integral

If:=

Z ∞

−∞

f(t) d(t)

with a nonnegative measure d(t), such that (t) is a nondecreasing step function dened onRwith jumps of height 2

j at t=j. It follows from kuk= 1 that the measure d(t) is of total mass one.

The m-point Gauss quadrature rule associated with the measure d(t) is of the form

Gmf:=

m X

j=1

f(j)2j (1.4)

and is characterized by the fact that

If=Gmf; fP2m1;

whereP2m−1 denotes the set of polynomials of degree at most 2m−1. The nodesj of the quadrature

rule are known to be the zeros of an mth degree orthogonal polynomial with respect to the inner product

(f; g) :=I(fg): (1.5)

Assume that the nodes are ordered according to 1¡2¡· · ·¡m. It is well known that for a 2m

(3)

for some G∈[1; n]. If the derivative f(2m) does not change sign in [1; n], then the sign of the

error Emf can be determined from (1.6). For instance, if f(2m)(t)¿0 for

16t6n, then Emf¿0 and therefore G

mf¡If. When in addition f(2m+1)(t) does not change sign in the interval [1; n],

an upper bound for If can be determined analogously by using an (m+ 1)-point Gauss–Radau

quadrature rule (see [3]). However, when f(2m) or f(2m+1) change sign in [

1; n], then Gauss and Gauss–Radau rules might not yield lower and upper bounds for If.

The present note shows that the quantities required to evaluate the approximation Gmf allow the

computation of a bound for the right-hand side of (1.6) essentially for free when a bound for |f(2m)| on the interval [1; n] is available. This bound does not require f(2m) to be of one sign. Details are

described in Section 2. A numerical example is presented in Section 3.

2. An error bound

We rst discuss the computation of Gmf, and then show how a bound for the error Emf can be

determined with very little additional work. The computation of Gauss quadrature rules is discussed in [1–3, 5]. Our review of these results allows us to introduce notation necessary to discuss the evaluation of the error bound.

Gauss quadrature rules with respect to the measure d(t) can conveniently be determined by the Lanczos algorithm. Application of m steps of the Lanczos algorithm to the matrix A with initial vector v1:=u yields the decomposition

AVm=VmTm+mvm+1eTm; (2.1)

whereVm= [v1; v2; : : : ; vm]∈Rn×m andvm+1∈Rn satisfyVmTVm=Im, vTm+1vm+1= 1, VmTvm+1= 0,m∈R,

and ej denotes the jth axis vector. Moreover,

Tm:=

is a symmetric tridiagonal matrix. We refer to [4, Ch. 9] for a detailed discussion of the Lanczos algorithm.

The relation (2.1) between the columns vj of Vm shows that

(4)

for certain polynomials pj−1 of degree j−1. It follows from the orthonormality of the vectors vj

that

(pj−1; pk−1) =

Z ∞

−∞

pj−1(t)pk−1(t) d(t) =uTSpj−1()pk−1()STu

=uTpj−1(A)pk−1(A)u=vT1pj−1(A)pk−1(A)v1

=vT

jvk= (

0; j6=k;

1; j=k: (2.3)

Thus, the polynomials pj are orthogonal with respect to the inner product (1.5). Combining (2.1)

and (2.2) yields a recurrence relation for the polynomials pj:

1p1(t) = (t−1)p0(t); p0(t) = 1;

jpj(t) = (t−j)pj−1(t)−j−1pj−2(t); 26j6m; (2.4)

which can be expressed as

[p0(t); p1(t); : : : ; pm−1(t)]Tm=t[p0(t); p1(t); : : : ; pm−1(t)]−m[0; : : : ;0; pm(t)]: (2.5)

In particular, Eq. (2.5) shows that the zeros of pm are the eigenvalues of Tm. Introduce the spectral decomposition

Tm=QmDmQmT; Dm= diag[1; 2; : : : ; m]; QTmQm=Im:

It is well known that the weights of the Gauss rule (1.4) are given by 2

j= (eT1Qmej)2, 16j6m.

It follows that the Gauss rule can be written in the form

Gmf=eT

1Qmf(Dm)Q T

me1=e1Tf(Tm)e1: (2.6)

Hence, Gmf can be determined by rst computing the Lanczos decomposition (2.1) and then

eval-uating one of the expressions (2.6).

We turn to the evaluation of a bound for the error (1.6). Introduce the monic orthogonal polyno-mials qj∈Pj with respect to the inner product (1.5). It follows from (2.4) that

q0(t) := 1;

qj(t) := jj−1· · ·1pj(t); j¿1:

(2.7)

Note that the integral on the right-hand side of (1.6) can be written as

Z ∞

−∞

m Y

j=1

(t−j)2d(t) = (qm; qm): (2.8)

Proposition 2.1. Assume that there is a constant Cm; such that

|f(2m)(t)|6C

(5)

Table 3.1

F(A) =uTsin(A)u; Asymmetric indenite

n= 300 m= 3 m= 4

Proof. The result follows by substituting (2.8) into (1.6), and the observation that

(qm; qm) =2mm2−1· · · 2

1: (2.10)

Eq. (2.10) is a consequence of (2.7) and (2.3).

In order to evaluate the Gauss ruleGmf by (2.6), we rst appliedmsteps of the Lanczos algorithm

to determine the decomposition (2.1). This gives the coecients 1; 2; : : : ; m required in the error bound (2.9). Thus, the error bound (2.9) can be computed with very little arithmetic work in addition to the computations necessary to evaluate the Gauss rule Gmf.

3. A computed example

The numerical example of this section illustrates the bound (2.9). The computations were carried out in MATLAB 5.01 on a MICRON personal computer, i.e., with approximately 15 signicant digits.

Example 3.1. We would like to determine an approximation of

F(A) :=uT sin(A)u;

where A is a 300×300 real symmetric matrix with randomly generated uniformly distributed eigen-values in the interval [−1;1], and u is a random vector of unit length. Thus, f(t) = sin(t) and the derivatives of f of even order change sign in any interval containing the spectrum of A. This implies that the evaluation of pairs of Gauss and Gauss–Radau quadrature rules as described in [3] is not guaranteed to yield upper and lower bounds for the error Emf. Table 1 shows the exact

value of F(A), and the approximations Gmf for m= 3 and 4 computed as described in Section 2.

The derivatives of f are bounded by one in magnitude, and therefore, by (2.9),

(6)

We remark that the bound (2.9) is primarily of interest for matrix functionals F(A) dened by integrands f with derivatives that change sign on an interval containing the spectrum of A. When the derivatives of f do not change sign, then pairs of Gauss and Gauss–Radau quadrature rules can be applied to determine upper and lower bounds for Emf as described in [3], and in our experience

these bounds are often sharper than the bound (2.9).

References

[1] Z. Bai, G.H. Golub, Some large scale matrix computation problems, J. Comput. Appl. Math. 74 (1996) 71– 89. [2] D. Calvetti, G.H. Golub, L. Reichel, Estimation of the L-curve via Lanczos bidiagonalization, BIT, to appear. [3] G.H. Golub, G. Meurant, Matrices, moments and quadrature, in: D.F. Griths, G.A. Watson (Eds.), Numerical

Analysis 1993, Longman, Essex, England, 1994, pp. 105 –156.

[4] G.H. Golub, C.F. Van Loan, Matrix Computations, 3rd ed., Johns Hopkins University Press, Baltimore, 1996. [5] G.H. Golub, U. von Matt, Generalized cross-validation for large scale problems, J. Comput. Graph. Stat. 6 (1997),

Gambar

Table 3.1

Referensi

Dokumen terkait

DisplayListViewData(lstDataCmin, frmHome.tempMatrixCmin, frmHome.matrixCmin, IPACMin, IPSCMin, BahasaCMin, AkuratCMin, TdkAkuratCMin). txtResultCmin.Text

Subjek penelitian penderita kelainan refraksi miopia yang dikoreksi dengan menggunakan pemeriksaan subjektif dibanding dengan hasil koreksi dengan pemeriksaan

Analisis Kandungan Sikap Pada Buku Teks Ipa Kurikulum 2013 Dan Implementasinya Dalam Pembelajaran Di Smp. Universitas Pendidikan Indonesia | repository.upi.edu

Building on input from across the scientiic community, this report identiies key priorities for Antarctic and Southern Ocean research over the coming decade, along with

Membandingkan hasil koreksi kelainan refraksi pada pemeriksaan subjektif ( trial and error ) dengan pemeriksaan objektif (streak retinoskopi) tanpa sikloplegik pada

Rerata Persentase Kemunculan Indikator Sikap.

the world explored the many facets of animal-based research that could contribute to irreproducible results, including perspectives on improving experimental planning,

Acara Aanwyjzing (penjelasan dokumen pemilihan) dilakukan secara Online melalui website http://lpse.bekasikota.go.id oleh para peserta pengadaan dan Panitia Pengadaan pada Bagian