75
[ 1 / 48 ] University of Cyprus Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel [email protected] Nicosia, 7th April 2006 Matrix functions Polynomial methods

Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel [email protected] Nicosia, 7th April 2006

  • Upload
    others

  • View
    22

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 1 / 48 ] University of Cyprus

Matrix Functions and their Approximation byPolynomial Methods

Stefan Gü[email protected]

Nicosia, 7th April 2006

Matrix functions Polynomial methods

Page 2: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 2 / 48 ] University of Cyprus

Overview

1 Matrix functionsDefinitionExampleProperties

2 Polynomial methodsInterpolationFejérRitz

Matrix functions Polynomial methods

Page 3: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 3 / 48 ] University of Cyprus

DefinitionPolynomial matrix functions

Given A ∈ CN×N and p(z) ∈ Pm(z) of degree m with complexcoefficients, i.e. p(z) = αmzm + αm−1zm−1 + · · ·+ α0.Since the powers I,A,A2, . . . exist we may give the following

Definition

p(A) := αmAm + αm−1Am−1 + · · ·+ α0I ∈ CN×N .

p is a polynomial matrix function.

We no longer distinguish between Pm(z) and the set of polynomialsin A of degree ≤ m. We simply write Pm.

Matrix functions Polynomial methods Definition Example Properties

Page 4: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 3 / 48 ] University of Cyprus

DefinitionPolynomial matrix functions

Given A ∈ CN×N and p(z) ∈ Pm(z) of degree m with complexcoefficients, i.e. p(z) = αmzm + αm−1zm−1 + · · ·+ α0.Since the powers I,A,A2, . . . exist we may give the following

Definition

p(A) := αmAm + αm−1Am−1 + · · ·+ α0I ∈ CN×N .

p is a polynomial matrix function.

We no longer distinguish between Pm(z) and the set of polynomialsin A of degree ≤ m. We simply write Pm.

Matrix functions Polynomial methods Definition Example Properties

Page 5: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 3 / 48 ] University of Cyprus

DefinitionPolynomial matrix functions

Given A ∈ CN×N and p(z) ∈ Pm(z) of degree m with complexcoefficients, i.e. p(z) = αmzm + αm−1zm−1 + · · ·+ α0.Since the powers I,A,A2, . . . exist we may give the following

Definition

p(A) := αmAm + αm−1Am−1 + · · ·+ α0I ∈ CN×N .

p is a polynomial matrix function.

We no longer distinguish between Pm(z) and the set of polynomialsin A of degree ≤ m. We simply write Pm.

Matrix functions Polynomial methods Definition Example Properties

Page 6: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 3 / 48 ] University of Cyprus

DefinitionPolynomial matrix functions

Given A ∈ CN×N and p(z) ∈ Pm(z) of degree m with complexcoefficients, i.e. p(z) = αmzm + αm−1zm−1 + · · ·+ α0.Since the powers I,A,A2, . . . exist we may give the following

Definition

p(A) := αmAm + αm−1Am−1 + · · ·+ α0I ∈ CN×N .

p is a polynomial matrix function.

We no longer distinguish between Pm(z) and the set of polynomialsin A of degree ≤ m. We simply write Pm.

Matrix functions Polynomial methods Definition Example Properties

Page 7: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 4 / 48 ] University of Cyprus

DefinitionProperties of polynomials in matrices

Lemma

Let p ∈ Pm be a polynomial, A ∈ CN×N and A = TJT−1, whereJ = diag(J1, J2, . . . , Jk ) is block-diagonal. Then

1 p(A) = Tp(J)T−1,

2 p(J) = diag (p(J1),p(J2), . . . ,p(Jk )),

3 If Av = λv then p(A)v = p(λ)v,

4 Given another polynomial p ∈ Pm, then p(A)p(A) = p(A)p(A),

5 More generally, if B ∈ CN×N and AB = BA, thenp(A)p(B) = p(B)p(A).

Matrix functions Polynomial methods Definition Example Properties

Page 8: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 5 / 48 ] University of Cyprus

DefinitionSuitable functions

Let Λ(A) denote the spectrum of A and let

ψA(z) =∏

λ∈Λ(A)

(z − λ)dλ

be the minimal polynomial of A.(dλ is the size of the largest Jordan block to the eigenvalue λ.)

Definition

Given a function f : Ω → C, Ω ⊆ C. We say, f is defined on A, if

f (λ), f ′(λ), . . . , f (dλ−1)(λ)

exist for all λ ∈ Λ(A).

Matrix functions Polynomial methods Definition Example Properties

Page 9: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 5 / 48 ] University of Cyprus

DefinitionSuitable functions

Let Λ(A) denote the spectrum of A and let

ψA(z) =∏

λ∈Λ(A)

(z − λ)dλ

be the minimal polynomial of A.(dλ is the size of the largest Jordan block to the eigenvalue λ.)

Definition

Given a function f : Ω → C, Ω ⊆ C. We say, f is defined on A, if

f (λ), f ′(λ), . . . , f (dλ−1)(λ)

exist for all λ ∈ Λ(A).

Matrix functions Polynomial methods Definition Example Properties

Page 10: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 6 / 48 ] University of Cyprus

DefinitionHermite interpolating polynomial

Let f be defined on A. By pf ,A we denote the Hermite interpolatingpolynomial that satisfies

pf ,A(λ) = f (λ),

p′f ,A(λ) = f ′(λ),

...

p(dλ−1)f ,A (λ) = f (dλ−1)(λ)

for all λ ∈ Λ(A).These are ∑

λ∈Λ(A)

dλ = deg(ψA) =: d

interpolation conditions to pf ,A. Therefore pf ,A ∈ Pd−1. Note: d ≤ N.

Matrix functions Polynomial methods Definition Example Properties

Page 11: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 6 / 48 ] University of Cyprus

DefinitionHermite interpolating polynomial

Let f be defined on A. By pf ,A we denote the Hermite interpolatingpolynomial that satisfies

pf ,A(λ) = f (λ),

p′f ,A(λ) = f ′(λ),

...

p(dλ−1)f ,A (λ) = f (dλ−1)(λ)

for all λ ∈ Λ(A).These are ∑

λ∈Λ(A)

dλ = deg(ψA) =: d

interpolation conditions to pf ,A. Therefore pf ,A ∈ Pd−1. Note: d ≤ N.

Matrix functions Polynomial methods Definition Example Properties

Page 12: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 6 / 48 ] University of Cyprus

DefinitionHermite interpolating polynomial

Let f be defined on A. By pf ,A we denote the Hermite interpolatingpolynomial that satisfies

pf ,A(λ) = f (λ),

p′f ,A(λ) = f ′(λ),

...

p(dλ−1)f ,A (λ) = f (dλ−1)(λ)

for all λ ∈ Λ(A).These are ∑

λ∈Λ(A)

dλ = deg(ψA) =: d

interpolation conditions to pf ,A. Therefore pf ,A ∈ Pd−1. Note: d ≤ N.

Matrix functions Polynomial methods Definition Example Properties

Page 13: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 7 / 48 ] University of Cyprus

DefinitionGeneral matrix functions

Definition

Let f be defined on A. Let pf ,A be the Hermite interpolatingpolynomial from above. Then we define

f (A) := pf ,A(A). (D1)

Matrix functions Polynomial methods Definition Example Properties

Page 14: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 8 / 48 ] University of Cyprus

Example (1)

Let f (z) = exp(z). Determine pf ,A for

A =

1 6 4 0 −80 7 4 0 −82 0 −1 −1 −22 −4 0 0 22 6 3 −1 −9

⇒ J =

1 0 0 0 00 −1 1 0 00 0 −1 0 00 0 0 0 00 0 0 0 −1

⇒ ψA(z) = (z − 1)(z + 1)2z

⇒ pf ,A(λ1) = pf ,A(1)!= exp(1) = f (λ1),

pf ,A(λ2) = pf ,A(−1)!= exp(−1) = f (λ2),

p′f ,A(λ2) = p′f ,A(−1)!= exp(−1) = f ′(λ2),

pf ,A(λ3) = pf ,A(0)!= exp(0) = f (λ3).

Solution: pf ,A(z) = e2−4e+54e z3 + (e−1)2

2e z2 + e2+4e−74e z + 1

Matrix functions Polynomial methods Definition Example Properties

Page 15: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 8 / 48 ] University of Cyprus

Example (1)

Let f (z) = exp(z). Determine pf ,A for

A =

1 6 4 0 −80 7 4 0 −82 0 −1 −1 −22 −4 0 0 22 6 3 −1 −9

⇒ J =

1 0 0 0 00 −1 1 0 00 0 −1 0 00 0 0 0 00 0 0 0 −1

⇒ ψA(z) = (z − 1)(z + 1)2z

⇒ pf ,A(λ1) = pf ,A(1)!= exp(1) = f (λ1),

pf ,A(λ2) = pf ,A(−1)!= exp(−1) = f (λ2),

p′f ,A(λ2) = p′f ,A(−1)!= exp(−1) = f ′(λ2),

pf ,A(λ3) = pf ,A(0)!= exp(0) = f (λ3).

Solution: pf ,A(z) = e2−4e+54e z3 + (e−1)2

2e z2 + e2+4e−74e z + 1

Matrix functions Polynomial methods Definition Example Properties

Page 16: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 8 / 48 ] University of Cyprus

Example (1)

Let f (z) = exp(z). Determine pf ,A for

A =

1 6 4 0 −80 7 4 0 −82 0 −1 −1 −22 −4 0 0 22 6 3 −1 −9

⇒ J =

1 0 0 0 00 −1 1 0 00 0 −1 0 00 0 0 0 00 0 0 0 −1

⇒ ψA(z) = (z − 1)(z + 1)2z

⇒ pf ,A(λ1) = pf ,A(1)!= exp(1) = f (λ1),

pf ,A(λ2) = pf ,A(−1)!= exp(−1) = f (λ2),

p′f ,A(λ2) = p′f ,A(−1)!= exp(−1) = f ′(λ2),

pf ,A(λ3) = pf ,A(0)!= exp(0) = f (λ3).

Solution: pf ,A(z) = e2−4e+54e z3 + (e−1)2

2e z2 + e2+4e−74e z + 1

Matrix functions Polynomial methods Definition Example Properties

Page 17: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 8 / 48 ] University of Cyprus

Example (1)

Let f (z) = exp(z). Determine pf ,A for

A =

1 6 4 0 −80 7 4 0 −82 0 −1 −1 −22 −4 0 0 22 6 3 −1 −9

⇒ J =

1 0 0 0 00 −1 1 0 00 0 −1 0 00 0 0 0 00 0 0 0 −1

⇒ ψA(z) = (z − 1)(z + 1)2z

⇒ pf ,A(λ1) = pf ,A(1)!= exp(1) = f (λ1),

pf ,A(λ2) = pf ,A(−1)!= exp(−1) = f (λ2),

p′f ,A(λ2) = p′f ,A(−1)!= exp(−1) = f ′(λ2),

pf ,A(λ3) = pf ,A(0)!= exp(0) = f (λ3).

Solution: pf ,A(z) = e2−4e+54e z3 + (e−1)2

2e z2 + e2+4e−74e z + 1

Matrix functions Polynomial methods Definition Example Properties

Page 18: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 8 / 48 ] University of Cyprus

Example (1)

Let f (z) = exp(z). Determine pf ,A for

A =

1 6 4 0 −80 7 4 0 −82 0 −1 −1 −22 −4 0 0 22 6 3 −1 −9

⇒ J =

1 0 0 0 00 −1 1 0 00 0 −1 0 00 0 0 0 00 0 0 0 −1

⇒ ψA(z) = (z − 1)(z + 1)2z

⇒ pf ,A(λ1) = pf ,A(1)!= exp(1) = f (λ1),

pf ,A(λ2) = pf ,A(−1)!= exp(−1) = f (λ2),

p′f ,A(λ2) = p′f ,A(−1)!= exp(−1) = f ′(λ2),

pf ,A(λ3) = pf ,A(0)!= exp(0) = f (λ3).

Solution: pf ,A(z) = e2−4e+54e z3 + (e−1)2

2e z2 + e2+4e−74e z + 1

Matrix functions Polynomial methods Definition Example Properties

Page 19: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 9 / 48 ] University of Cyprus

Properties of matrix functions

1 Every matrix function f that is defined on A can be representedpoint-wise (i.e. for a concrete A) as a polynomial of degree d − 1,d = deg(ψA).

2 f (A) depends only on the values of f , f ′, . . . on Λ(A). Thusf (A) = f (B) if A and B have the same minimal polynomial (e.g.for A similar B).

3 If f (λ) = g(λ), f ′(λ) = g′(λ), . . . , f (dλ−1)(λ) = g(dλ−1)(λ) for allλ ∈ Λ(A), then f (A) = g(A).

4 If all Jordan blocks have size 1× 1 and thus J is a diagonalmatrix (e.g. for normal A), then pf ,A is a Lagrange interpolatingpolynomial:

pf ,A(λ) = f (λ), for all λ ∈ Λ(A).

Matrix functions Polynomial methods Definition Example Properties

Page 20: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 10 / 48 ] University of Cyprus

Properties of matrix functionsCauchy integral formula

Theorem (Cauchy theorem)

Let f (z) be analytic in a domain G and let γ be a closed pathcontained in G. There holds

f (z) =1

2πii

∫γ

f (ζ)(ζ − z)

dζ (CIF)

for any z ∈ int(G), windz(γ) = 1.

Since polynomials are analytic and f (A) is a polynomial, we haveimmediately...

Matrix functions Polynomial methods Definition Example Properties

Page 21: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 10 / 48 ] University of Cyprus

Properties of matrix functionsCauchy integral formula

Theorem (Cauchy theorem)

Let f (z) be analytic in a domain G and let γ be a closed pathcontained in G. There holds

f (z) =1

2πii

∫γ

f (ζ)(ζ − z)

dζ (CIF)

for any z ∈ int(G), windz(γ) = 1.

Since polynomials are analytic and f (A) is a polynomial, we haveimmediately...

Matrix functions Polynomial methods Definition Example Properties

Page 22: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 11 / 48 ] University of Cyprus

Properties of matrix functionsCauchy integral formula for matrix functions

Theorem

Let A ∈ CN×N , γ be a closed path surrounding all λ ∈ Λ(A) once, fanalytic in int(γ) and extending continuously to it, then

f (A) =1

2πii

∫γ

f (ζ)(ζI − A)−1dζ. (D2)

(D2) may be used to give another equivalent definition of f (A).

Matrix functions Polynomial methods Definition Example Properties

Page 23: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 11 / 48 ] University of Cyprus

Properties of matrix functionsCauchy integral formula for matrix functions

Theorem

Let A ∈ CN×N , γ be a closed path surrounding all λ ∈ Λ(A) once, fanalytic in int(γ) and extending continuously to it, then

f (A) =1

2πii

∫γ

f (ζ)(ζI − A)−1dζ. (D2)

(D2) may be used to give another equivalent definition of f (A).

Matrix functions Polynomial methods Definition Example Properties

Page 24: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 12 / 48 ] University of Cyprus

Properties of matrix functionsPower series

Theorem

Let f be analytic in an open set U 3 0 and let f (z) =∑∞

j=0 αjz j be theTaylor expansion of f in 0 with convergence radius τ ∈ (0,∞]. Thenf (A) is defined for every A with %(A) < τ and there holds

f (A) =∞∑j=0

αjAj = limm→∞

m∑j=0

αjAj . (D3)

∑∞j=0 αjAj converges ⇔ ∀ε > 0 ∃nε ∈ N0 :

∥∥∥∑∞j=nε

αjAj∥∥∥ < ε.

Assumed f has convergence radius τ (i.e., f (z) <∞ for |z| < τ ).

Then∥∥∥∑∞

j=nεαjAj

∥∥∥ ≤ ∑∞j=nε

|αj |‖A‖j , thus %(A) ≤ ‖A‖ < τ is a

sufficient criteria for convergence of∑∞

j=0 αjAj (Taylor seriesconverge absolutely!).

Matrix functions Polynomial methods Definition Example Properties

Page 25: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 12 / 48 ] University of Cyprus

Properties of matrix functionsPower series

Theorem

Let f be analytic in an open set U 3 0 and let f (z) =∑∞

j=0 αjz j be theTaylor expansion of f in 0 with convergence radius τ ∈ (0,∞]. Thenf (A) is defined for every A with %(A) < τ and there holds

f (A) =∞∑j=0

αjAj = limm→∞

m∑j=0

αjAj . (D3)

∑∞j=0 αjAj converges ⇔ ∀ε > 0 ∃nε ∈ N0 :

∥∥∥∑∞j=nε

αjAj∥∥∥ < ε.

Assumed f has convergence radius τ (i.e., f (z) <∞ for |z| < τ ).

Then∥∥∥∑∞

j=nεαjAj

∥∥∥ ≤ ∑∞j=nε

|αj |‖A‖j , thus %(A) ≤ ‖A‖ < τ is a

sufficient criteria for convergence of∑∞

j=0 αjAj (Taylor seriesconverge absolutely!).

Matrix functions Polynomial methods Definition Example Properties

Page 26: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 13 / 48 ] University of Cyprus

Properties of matrix functionsPower series

Example

Let f (z) = exp(z). f has convergence radius τ = ∞. Thus f (A) isdefined for every A ∈ CN×N and there holds

f (A) = exp(A) =∞∑j=0

Aj

j!.

Matrix functions Polynomial methods Definition Example Properties

Page 27: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 14 / 48 ] University of Cyprus

Properties of matrix functionsRational identities

Because of

f (z) = α ∈ C ⇒ f (A) = αI,

f (z) = z ⇒ f (A) = A,

f (z) = g(z) + h(z) ⇒ f (A) = g(A) + h(A),

f (z) = g(z)h(z) ⇒ f (A) = g(A)h(A),

any rational identity in scalar functions of a complex variable will befulfilled by the corresponding matrix function.

Examples

• sin2(A) + cos2(A) = I,

• exp(iiA) = cos(A) + ii sin(A),

• (I − A)−1 = I + A + A2 + · · · (for %(A) < 1).

Matrix functions Polynomial methods Definition Example Properties

Page 28: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 14 / 48 ] University of Cyprus

Properties of matrix functionsRational identities

Because of

f (z) = α ∈ C ⇒ f (A) = αI,

f (z) = z ⇒ f (A) = A,

f (z) = g(z) + h(z) ⇒ f (A) = g(A) + h(A),

f (z) = g(z)h(z) ⇒ f (A) = g(A)h(A),

any rational identity in scalar functions of a complex variable will befulfilled by the corresponding matrix function.

Examples

• sin2(A) + cos2(A) = I,

• exp(iiA) = cos(A) + ii sin(A),

• (I − A)−1 = I + A + A2 + · · · (for %(A) < 1).

Matrix functions Polynomial methods Definition Example Properties

Page 29: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 15 / 48 ] University of Cyprus

Polynomial methodsIntroduction

Problem

Given A ∈ CN×N (N large!), b ∈ CN , f defined on A.Calculate x := f (A)b!

Examples

• f (z) = 1/z to solve a linear system Ax = b,

• ft(z) = exp(tz) to solve a linear ODE x′(t) = Ax(t), x(0) = b,

• f (z) = log(z) in cryptology,

• f (z) = |z| in certain problems arising in physics.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 30: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 15 / 48 ] University of Cyprus

Polynomial methodsIntroduction

Problem

Given A ∈ CN×N (N large!), b ∈ CN , f defined on A.Calculate x := f (A)b!

Examples

• f (z) = 1/z to solve a linear system Ax = b,

• ft(z) = exp(tz) to solve a linear ODE x′(t) = Ax(t), x(0) = b,

• f (z) = log(z) in cryptology,

• f (z) = |z| in certain problems arising in physics.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 31: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 16 / 48 ] University of Cyprus

Interpolation

Given m ≥ 1 arbitrary nodes

µ1, µ2, . . . , µm ∈ C

or equivalently, given the associated nodal polynomial

ωm(z) := (z − µ1)(z − µ2) · · · (z − µm).

Let pf ,m be a polynomial of degree m − 1 that Hermite interpolates fin the nodes µi (in the roots of ωm). Then the polynomialapproximation to f (A)b is xm := pf ,m(A)b.

Problem

How to choose the interpolation nodes µ1, . . . , µm, such that‖f (A)b − pf ,m(A)b‖ is small?

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 32: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 16 / 48 ] University of Cyprus

Interpolation

Given m ≥ 1 arbitrary nodes

µ1, µ2, . . . , µm ∈ C

or equivalently, given the associated nodal polynomial

ωm(z) := (z − µ1)(z − µ2) · · · (z − µm).

Let pf ,m be a polynomial of degree m − 1 that Hermite interpolates fin the nodes µi (in the roots of ωm). Then the polynomialapproximation to f (A)b is xm := pf ,m(A)b.

Problem

How to choose the interpolation nodes µ1, . . . , µm, such that‖f (A)b − pf ,m(A)b‖ is small?

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 33: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 17 / 48 ] University of Cyprus

Let A be normal⇔ A = UDUH with UHU = I and D = diag(λ1, λ2, . . . , λN).

Then

‖f (A)b − pf ,m(A)b‖ ≤ ‖f (A)− pf ,m(A)‖‖b‖= ‖f (UDUH)− pf ,m(UDUH)‖‖b‖= ‖U[f (D)− pf ,m(D)]UH‖‖b‖= ‖f (D)− pf ,m(D)‖‖b‖= ‖b‖ max

λ∈Λ(A)|f (λ)− pf ,m(λ)|.

Interpretation

The polynomial pf ,m ∈ Pm−1 should approximate f very well in theeigenvalues of A ⇒ best uniform approximation problems.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 34: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 17 / 48 ] University of Cyprus

Let A be normal⇔ A = UDUH with UHU = I and D = diag(λ1, λ2, . . . , λN).

Then

‖f (A)b − pf ,m(A)b‖ ≤ ‖f (A)− pf ,m(A)‖‖b‖= ‖f (UDUH)− pf ,m(UDUH)‖‖b‖= ‖U[f (D)− pf ,m(D)]UH‖‖b‖= ‖f (D)− pf ,m(D)‖‖b‖= ‖b‖ max

λ∈Λ(A)|f (λ)− pf ,m(λ)|.

Interpretation

The polynomial pf ,m ∈ Pm−1 should approximate f very well in theeigenvalues of A ⇒ best uniform approximation problems.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 35: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 17 / 48 ] University of Cyprus

Let A be normal⇔ A = UDUH with UHU = I and D = diag(λ1, λ2, . . . , λN).

Then

‖f (A)b − pf ,m(A)b‖ ≤ ‖f (A)− pf ,m(A)‖‖b‖= ‖f (UDUH)− pf ,m(UDUH)‖‖b‖= ‖U[f (D)− pf ,m(D)]UH‖‖b‖= ‖f (D)− pf ,m(D)‖‖b‖= ‖b‖ max

λ∈Λ(A)|f (λ)− pf ,m(λ)|.

Interpretation

The polynomial pf ,m ∈ Pm−1 should approximate f very well in theeigenvalues of A ⇒ best uniform approximation problems.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 36: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 18 / 48 ] University of Cyprus

Let Ω ⊂ C be a compact set such that• ΩC = C \ Ω is simply connected,• Λ(A) ⊂ Ω.

By Riemann mapping theorem there exists Ψ : DC → ΩC conformal,

z = Ψ(w) = cw + c0 + c1w−1 + · · · ,with Ψ(∞) = ∞, Ψ′(∞) = c > 0. c is the capacity of ∂Ω. By

w = Φ(z) = c−1z + regular part

we denote the inverse function of Ψ. Φ is conformal. For R > 1 wedefine the level curve

LR := z ∈ C : |Φ(z)| = R ⊂ ΩC .

D ΩΨ

Φ

TR LR

w z

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 37: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 19 / 48 ] University of Cyprus

Let ωm be a sequence of nodal polynomials for Ω, i.e. all roots ofeach ωm are are contained in Ω. We define the numbers

Mm := maxz∈Ω

|ωm(z)|.

By the maximum principle Mm is attained on ∂Ω = ∂ΩC . There holds

Mm ≥ cm for m = 1,2, . . .

Definition

The nodes associated with the sequence ωm are uniformlydistributed on Ω if

m√

Mm → c for m →∞.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 38: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 20 / 48 ] University of Cyprus

Now let f be analytic on Ω. Recall: pf ,m(z) denotes the Hermiteinterpolating polynomial that interpolates f in the roots of ωm. Thefollowing theorem gives the connection between the uniformdistribution of the nodes and the convergence of the correspondinginterpolation process.

Theorem (Kalmàr-Walsh)

The convergence

maxz∈Ω

|f (z)− pf ,m(z)| → 0 (m →∞)

takes place for each function analytic on Ω if and only if theinterpolation nodes are uniformly distributed on Ω.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 39: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 21 / 48 ] University of Cyprus

The following theorem gives an assertion about the convergence-rate.

Theorem

Suppose R > 1 is the largest number such that f is analytic inside LR .The interpolating polynomials pf ,m with nodes that are uniformlydistributed on Ω then satisfy the condition

lim supm→∞

m

√maxz∈Ω

|f (z)− pf ,m(z)| = 1R. (MaxConv)

Definition

The sequence pf ,m converges maximally on Ω to f if thecondition (MaxConv) is satisfied.The number 1/R is called asymptotic convergence factor.

Note: if f is entire, we can choose R arbitrary large, resulting insuperlinear convergence.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 40: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 22 / 48 ] University of Cyprus

Recall

‖f (A)b − pf ,m(A)b‖ ≤ ‖b‖ maxλ∈Λ(A)

|f (λ)− pf ,m(λ)|.

By the last theorem we have

lim supm→∞

(‖f (A)b − pf ,m(A)b‖

‖b‖

)1/m

≤ 1R,

if the interpolation nodes are uniformly distributed on Ω.

Now it seems to be reasonable to use uniformly distributedinterpolation points: we know that the relative error shouldasymptotically behave like

(1R

)m. Moreover it can be proven that 1/R

is the best possible asymptotic convergence rate that holds for allfunctions analytic inside LR . (This justifies the term maximallyconvergent.)

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 41: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 22 / 48 ] University of Cyprus

Recall

‖f (A)b − pf ,m(A)b‖ ≤ ‖b‖ maxλ∈Λ(A)

|f (λ)− pf ,m(λ)|.

By the last theorem we have

lim supm→∞

(‖f (A)b − pf ,m(A)b‖

‖b‖

)1/m

≤ 1R,

if the interpolation nodes are uniformly distributed on Ω.

Now it seems to be reasonable to use uniformly distributedinterpolation points: we know that the relative error shouldasymptotically behave like

(1R

)m. Moreover it can be proven that 1/R

is the best possible asymptotic convergence rate that holds for allfunctions analytic inside LR . (This justifies the term maximallyconvergent.)

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 42: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 23 / 48 ] University of Cyprus

Interpolation in Fejér points

Let Ω have a sufficiently smooth boundary ∂Ω, e.g. a Jordan curve.Then by the Theorem of Caratheodory-Osgood there exists a bijectivecontinuous extension Ψ : DC → ΩC ∪ ∂Ω of Ψ to the boundary.

Definition

The Fejér(m) points on Ω are the images under Ψ of the m-th roots ofunity, i.e.

νm,j := Ψ

(exp

(2πii

j − 1m

)), (j = 1,2, . . . ,m).

Theorem (Fejer)

The Fejér points are uniformly distributed on Ω.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 43: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 24 / 48 ] University of Cyprus

Example

Let f (z) := 1/z. Let A ∈ C100×100 be a normal matrix with randomlyand equally distributed eigenvalues in a filled L-shaped polygon Ω.We compute the map Ψ using the Schwarz-Christoffel-toolbox forMATLAB. We determine

R ≈ 1.6421,

which is the value for that the origin 0 lies on the level curve LR . For acertain m we determine the Fejér(m) points on Ω and evaluate theinterpolating polynomial pf ,m.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 44: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 25 / 48 ] University of Cyprus

L-shaped domain with 100 eigenvalues

−1 −0.5 0 0.5 1 1.5 2 2.5 3−1

−0.5

0

0.5

1

1.5

2

2.5

3

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 45: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 26 / 48 ] University of Cyprus

Level curves of Ψ

−1 −0.5 0 0.5 1 1.5 2 2.5 3−1

−0.5

0

0.5

1

1.5

2

2.5

3

LR

(R=1.6421)

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 46: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 27 / 48 ] University of Cyprus

Fejér(16) points

−1 −0.5 0 0.5 1 1.5 2 2.5 3−1

−0.5

0

0.5

1

1.5

2

2.5

3

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 47: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 28 / 48 ] University of Cyprus

log(|f (z) − pf ,m(z)| + ε)

−1 −0.5 0 0.5 1 1.5 2 2.5 3−1

−0.5

0

0.5

1

1.5

2

2.5

3

−10

−8

−6

−4

−2

0

2

4

6

8

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 48: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 29 / 48 ] University of Cyprus

Error curves of the interpolation methods using Fejér points,equidistant points on the boundary of the polygon and Ritz values asinterpolation nodes.

1 10 20 30 40 50 60 70

10−14

10−12

10−10

10−8

10−6

10−4

10−2

100

m

|| A

−1 b

− q

f,m(A

)b ||

/ ||

b ||

FejerEquidistantRitz(1/R)m

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 49: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 30 / 48 ] University of Cyprus

Discussion

The biggest advantage of interpolation methods with uniformlydistributed interpolation points (IMUD) is, that the interpolatingpolynomials pf ,m can be applied to a matrix A whose spectrum iscontained in Ω without worsening the asymptotic convergence factor1R . Once pf ,m is determined, pf ,m(A)b is easily evaluated for adifferent vector b ∈ CN×N .

One of the drawbacks of (IMUD) is, that we first have to know at leastthe outlying eigenvalues of A in order to determine Ω.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 50: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 31 / 48 ] University of Cyprus

Interpolation in Ritz values

Definition

The m-th Krylov (sub)space of A and b is defined by

Km(A,b) = Km := spanb,Ab,A2b, . . . ,Am−1b.

Lemma

There exists an index L = L(A,b) ≤ deg(ψA) such that

K1(A,b) $ K2(A,b) $ . . . $ KL(A,b) = KL+1(A,b) = . . .

Moreover f (A)b ∈ KL.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 51: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 31 / 48 ] University of Cyprus

Interpolation in Ritz values

Definition

The m-th Krylov (sub)space of A and b is defined by

Km(A,b) = Km := spanb,Ab,A2b, . . . ,Am−1b.

Lemma

There exists an index L = L(A,b) ≤ deg(ψA) such that

K1(A,b) $ K2(A,b) $ . . . $ KL(A,b) = KL+1(A,b) = . . .

Moreover f (A)b ∈ KL.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 52: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 32 / 48 ] University of Cyprus

The Arnoldi process

Task: Generate an orthonormal basis of Km, m ≤ L.

Algorithm

v1 := b/‖b‖for j = 1,2, . . . ,m

w j+1 := Av j

v j+1 := w j+1 −∑j

i=1(w j+1, v i)v i [ hi,j := (w j+1, v i)]if j < L

v j+1 := v j+1/‖v j+1‖ [ hj+1,j := ‖v j+1‖]else

v j+1 := 0 [ hj+1,j := 0]end

end

Output: Vm = [v1, v2, . . . , vm] ∈ CN×m with orthonormal columns andan unreduced upper Hessenberg matrix Hm = (hi,j) ∈ Cm×m.(Moreover vm+1 ∈ CN , hm+1,m ∈ R.)

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 53: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 33 / 48 ] University of Cyprus

Definition

The characteristic polynomial χm(z) := det(zI − Hm) of Hm is calledRitz(m) polynomial of A.The eigenvalues θ1, θ2, . . . , θm of Hm are the Ritz(m) values of A.Let f be defined on Hm. The Arnoldi approximation from Km(A,b) tof (A)b is defined as fm := ‖b‖Vmf (Hm)e1.

Theorem

For m = L all the Ritz values are located in the eigenvalues of A andthere holds

fL = f (A)b.

In practice fm ≈ f (A)b for m L.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 54: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 33 / 48 ] University of Cyprus

Definition

The characteristic polynomial χm(z) := det(zI − Hm) of Hm is calledRitz(m) polynomial of A.The eigenvalues θ1, θ2, . . . , θm of Hm are the Ritz(m) values of A.Let f be defined on Hm. The Arnoldi approximation from Km(A,b) tof (A)b is defined as fm := ‖b‖Vmf (Hm)e1.

Theorem

For m = L all the Ritz values are located in the eigenvalues of A andthere holds

fL = f (A)b.

In practice fm ≈ f (A)b for m L.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 55: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 33 / 48 ] University of Cyprus

Definition

The characteristic polynomial χm(z) := det(zI − Hm) of Hm is calledRitz(m) polynomial of A.The eigenvalues θ1, θ2, . . . , θm of Hm are the Ritz(m) values of A.Let f be defined on Hm. The Arnoldi approximation from Km(A,b) tof (A)b is defined as fm := ‖b‖Vmf (Hm)e1.

Theorem

For m = L all the Ritz values are located in the eigenvalues of A andthere holds

fL = f (A)b.

In practice fm ≈ f (A)b for m L.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 56: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 34 / 48 ] University of Cyprus

f (z) = exp(z), N = 500, A sparse with nz = 3106 (1.25 percent) and(0, 1)-normal-distributed entries. b full with (0, 1)-normal-distributed entries.

0 5 10 15 20 25 3010

−12

10−10

10−8

10−6

10−4

10−2

100

102

104

m

|| f m

−f(

A)b

||2

Execution speed: expm(A)* b ≈ 2.2840s, f25 ≈ 0.0900s.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 57: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 35 / 48 ] University of Cyprus

Theorem

Let pf ,m ∈ Pm−1 denote the polynomial that Hermite interpolates f inthe Ritz(m) values of A. Then

fm = pf ,m(A)b.

.We are interested in the location of the Ritz values.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 58: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 35 / 48 ] University of Cyprus

Theorem

Let pf ,m ∈ Pm−1 denote the polynomial that Hermite interpolates f inthe Ritz(m) values of A. Then

fm = pf ,m(A)b.

.We are interested in the location of the Ritz values.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 59: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 36 / 48 ] University of Cyprus

Theorem

The Ritz(m) polynomial χm is the minimizer of

‖p(A)b‖

among all monic polynomials p ∈ P∞m .

Let A be normal and D = UHAU its unitary diagonalization. Then χm

is the minimizer ofN∑

i=1

|(u i ,b)|2|p(λi)|2

among all monic polynomials p ∈ P∞m .

We expect the Ritz values to lie close to some of the eigenvalues of A.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 60: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 36 / 48 ] University of Cyprus

Theorem

The Ritz(m) polynomial χm is the minimizer of

‖p(A)b‖

among all monic polynomials p ∈ P∞m .

Let A be normal and D = UHAU its unitary diagonalization. Then χm

is the minimizer ofN∑

i=1

|(u i ,b)|2|p(λi)|2

among all monic polynomials p ∈ P∞m .

We expect the Ritz values to lie close to some of the eigenvalues of A.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 61: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 36 / 48 ] University of Cyprus

Theorem

The Ritz(m) polynomial χm is the minimizer of

‖p(A)b‖

among all monic polynomials p ∈ P∞m .

Let A be normal and D = UHAU its unitary diagonalization. Then χm

is the minimizer ofN∑

i=1

|(u i ,b)|2|p(λi)|2

among all monic polynomials p ∈ P∞m .

We expect the Ritz values to lie close to some of the eigenvalues of A.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 62: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 37 / 48 ] University of Cyprus

The hermitian case

Let A = AH .

Theorem

For m < L there holds

λmin ≤ θ1 < θ2 < · · · < θm ≤ λmax,

and each of the intervals

(−∞, θ1], [θ1, θ2], . . . , [θm−1, θm], [θm,+∞)

contains at least one eigenvalue of A.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 63: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 38 / 48 ] University of Cyprus

m = 1

m = 2

m = 3

m = 4

m = 5

m = 6

m = 7

m = 8

m = 9

m = 10

λmin

λmax

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 64: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 39 / 48 ] University of Cyprus

The last Theorem implies

Corollary

In any interval (−∞, x) the number FN,m(x) of Ritz(m) values doesnot exceed the number of eigenvalues by more than one(x ∈ R ∪ +∞).

Let the eigenvalues of A be distributed according to a certainprobability measure σ with compact support Ω ⊃ Λ(A). (Later:cap(Ω) > 0.)Now let A ∈ CαN,αN follow the same eigenvalue distribution. Then itcan be observed that

FαN,αm(x) ≈ αFN,m(x),

i.e the distribution of the Ritz values depends on the ratio t := m/Nonly. We assume that the Ritz(m) values of A ∈ CN×N are distributedaccording to a probability measure µt .

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 65: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 40 / 48 ] University of Cyprus

−0.2 0 0.2 0.4 0.6 0.8 1 1.2

0

0.2

0.4

0.6

0.8

1

x

Fν N

,tN

(x),

t =

0.5

N = 10

N = 20

N = 80

N = +∞

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 66: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 41 / 48 ] University of Cyprus

Recall: From its minimizing property we expected the Ritz(m)polynomial χm to be small on the eigenvalues of A. Moreover weknow that all roots of χm are contained in [λmin, λmax] := Ω. By P∞m,Ω

we denote the set of monic polynomials of degree m with all rootscontained in Ω. Now we consider a monic polynomial pm ∈ P∞m,Ω thatis small on hole Ω:

pm minimizes maxz∈Ω

|q(z)| among q ∈ P∞m,Ω.

The behavior of the roots of pm is connected with the equilibriummeasure µE for Ω in the sense of potential theory.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 67: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 42 / 48 ] University of Cyprus

By M(Ω) we denote the set of Borel probability measures supportedon Ω. We define the logarithmic potential associated with µ ∈M(Ω)by

Uµ(z) := −∫

log |z − ζ|dµ(ζ).

The energy of µ is defined by

I(µ) :=

∫Uµ(z)dµ(z).

The energy is either finite or takes the value +∞. We consider thefollowing energy minimizing problem

V (Ω) := infI(µ) : µ ∈M(Ω)

and define the (logarithmic) capacity of Ω by

cap(Ω) := exp(−V (Ω)).

If V (Ω) = +∞, we set cap(Ω) := 0.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 68: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 43 / 48 ] University of Cyprus

We assume from now on that

cap(Ω) > 0.

In this case the Theorem of Frostmann asserts that there exists aunique measure µE ∈M(Ω) such that I(µE) = V (Ω). The measureµE is called equilibrium measure for Ω.

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 69: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 44 / 48 ] University of Cyprus

The roots of pm from the problem

pm minimizes maxz∈Ω

|q(z)| among q ∈ P∞m,Ω.

will distribute themselves according to the measure µE , theequilibrium measure for Ω.

Moreover we havetµt ≤ σ.

All together we are led to the following constrained equilibriumproblem (CEP):

I(µE,t) = infI(µ) : µ ∈M(Ω), tµ ≤ σ

For the 1D-case the (CEP) can be solved numerically for constraintsσ with piecewise linear density (S. Helsen, M. van Barel, 2004)=⇒ extension to the 2D-case possible! (M. Eiermann, 2006).

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 70: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 44 / 48 ] University of Cyprus

The roots of pm from the problem

pm minimizes maxz∈Ω

|q(z)| among q ∈ P∞m,Ω.

will distribute themselves according to the measure µE , theequilibrium measure for Ω.

Moreover we havetµt ≤ σ.

All together we are led to the following constrained equilibriumproblem (CEP):

I(µE,t) = infI(µ) : µ ∈M(Ω), tµ ≤ σ

For the 1D-case the (CEP) can be solved numerically for constraintsσ with piecewise linear density (S. Helsen, M. van Barel, 2004)=⇒ extension to the 2D-case possible! (M. Eiermann, 2006).

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 71: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 44 / 48 ] University of Cyprus

The roots of pm from the problem

pm minimizes maxz∈Ω

|q(z)| among q ∈ P∞m,Ω.

will distribute themselves according to the measure µE , theequilibrium measure for Ω.

Moreover we havetµt ≤ σ.

All together we are led to the following constrained equilibriumproblem (CEP):

I(µE,t) = infI(µ) : µ ∈M(Ω), tµ ≤ σ

For the 1D-case the (CEP) can be solved numerically for constraintsσ with piecewise linear density (S. Helsen, M. van Barel, 2004)=⇒ extension to the 2D-case possible! (M. Eiermann, 2006).

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 72: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 45 / 48 ] University of Cyprus

σ(S) = (Area measure of S⋂

L-shape)/3, t = 0.2

0

0.5

1

1.5

2

0

0.5

1

1.5

2

−0.5

0

0.5

1

1.5

2

Density, t = 0.2

00.5

11.5

2

0

0.5

1

1.5

2

−0.25

−0.2

−0.15

−0.1

−0.05

0

Potential, t = 0.2

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 73: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 46 / 48 ] University of Cyprus

σ(S) = (Area measure of S⋂

L-shape)/3, t = 0.5

0

0.5

1

1.5

2

0

0.5

1

1.5

2

−0.2

0

0.2

0.4

0.6

0.8

Density, t = 0.5

00.5

11.5

2

0

0.5

1

1.5

2

−0.3

−0.2

−0.1

0

0.1

0.2

Potential, t = 0.5

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 74: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 47 / 48 ] University of Cyprus

σ(S) = (Area measure of S⋂

L-shape)/3, t = 0.8

0

0.5

1

1.5

2

0

0.5

1

1.5

2

−0.2

0

0.2

0.4

0.6

Density, t = 0.8

00.5

11.5

2

0

0.5

1

1.5

2−0.4

−0.3

−0.2

−0.1

0

0.1

0.2

0.3

Potential, t = 0.8

Matrix functions Polynomial methods Interpolation Fejér Ritz

Page 75: Matrix Functions and their Approximation by Polynomial …...Matrix Functions and their Approximation by Polynomial Methods Stefan Güttel stefan@guettel.com Nicosia, 7th April 2006

[ 48 / 48 ] University of Cyprus

Converged Ritz values, N = 300

Matrix functions Polynomial methods Interpolation Fejér Ritz