core-chasing algorithms for the eigenvalue problem · leonardo robol raf vandebril david s. watkins...

175
Core-Chasing Algorithms for the Eigenvalue Problem David S. Watkins Department of Mathematics Washington State University HHXX, Virginia Tech, June 20, 2017 David S. Watkins Core-Chasing Algorithms

Upload: others

Post on 04-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core-Chasing Algorithmsfor the Eigenvalue Problem

David S. Watkins

Department of MathematicsWashington State University

HHXX, Virginia Tech, June 20, 2017

David S. Watkins Core-Chasing Algorithms

Page 2: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Our International Research Group

Collaborators:

Jared Aurentz

Thomas Mach

Leonardo Robol

Raf Vandebril

David S. Watkins Core-Chasing Algorithms

Page 3: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Today’s Topic

The matrix eigenvalue problem

A ∈ Cn×n

Find the eigenvalues (. . . vectors, invariant subspaces)

Possible structures

unitaryunitary-plus-rank-one (companion matrix)unitary-plus-low-rank. . . or no special structure

David S. Watkins Core-Chasing Algorithms

Page 4: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Today’s Topic

The matrix eigenvalue problem

A ∈ Cn×n

Find the eigenvalues (. . . vectors, invariant subspaces)

Possible structures

unitaryunitary-plus-rank-one (companion matrix)unitary-plus-low-rank. . . or no special structure

David S. Watkins Core-Chasing Algorithms

Page 5: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Today’s Topic

The matrix eigenvalue problem

A ∈ Cn×n

Find the eigenvalues (. . . vectors, invariant subspaces)

Possible structures

unitaryunitary-plus-rank-one (companion matrix)unitary-plus-low-rank. . . or no special structure

David S. Watkins Core-Chasing Algorithms

Page 6: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Today’s Topic

The matrix eigenvalue problem

A ∈ Cn×n

Find the eigenvalues (. . . vectors, invariant subspaces)

Possible structures

unitaryunitary-plus-rank-one (companion matrix)unitary-plus-low-rank. . . or no special structure

David S. Watkins Core-Chasing Algorithms

Page 7: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Today’s Topic

The matrix eigenvalue problem

A ∈ Cn×n

Find the eigenvalues (. . . vectors, invariant subspaces)

Possible structures

unitaryunitary-plus-rank-one (companion matrix)unitary-plus-low-rank. . . or no special structure

David S. Watkins Core-Chasing Algorithms

Page 8: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Today’s Topic

The matrix eigenvalue problem

A ∈ Cn×n

Find the eigenvalues (. . . vectors, invariant subspaces)

Possible structures

unitaryunitary-plus-rank-one (companion matrix)unitary-plus-low-rank

. . . or no special structure

David S. Watkins Core-Chasing Algorithms

Page 9: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Today’s Topic

The matrix eigenvalue problem

A ∈ Cn×n

Find the eigenvalues (. . . vectors, invariant subspaces)

Possible structures

unitaryunitary-plus-rank-one (companion matrix)unitary-plus-low-rank. . . or no special structure

David S. Watkins Core-Chasing Algorithms

Page 10: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

John Francis

photo: Frank Uhlig, 2009

invented the winning algorithm in 1959.

implicitly shifted QR algorithm

Our algorithms are all variants of this.

David S. Watkins Core-Chasing Algorithms

Page 11: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

John Francis

photo: Frank Uhlig, 2009

invented the winning algorithm in 1959.

implicitly shifted QR algorithm

Our algorithms are all variants of this.

David S. Watkins Core-Chasing Algorithms

Page 12: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

John Francis

photo: Frank Uhlig, 2009

invented the winning algorithm in 1959.

implicitly shifted QR algorithm

Our algorithms are all variants of this.

David S. Watkins Core-Chasing Algorithms

Page 13: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

John Francis

photo: Frank Uhlig, 2009

invented the winning algorithm in 1959.

implicitly shifted QR algorithm

Our algorithms are all variants of this.

David S. Watkins Core-Chasing Algorithms

Page 14: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Francis’s algorithm . . .

. . . is a bulge chasing algorithm.

We turn it into a core chasing algorithm.

Instead of chasing bulges, we chase core transformations.

David S. Watkins Core-Chasing Algorithms

Page 15: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Francis’s algorithm . . .

. . . is a bulge chasing algorithm.

We turn it into a core chasing algorithm.

Instead of chasing bulges, we chase core transformations.

David S. Watkins Core-Chasing Algorithms

Page 16: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Francis’s algorithm . . .

. . . is a bulge chasing algorithm.

We turn it into a core chasing algorithm.

Instead of chasing bulges, we chase core transformations.

David S. Watkins Core-Chasing Algorithms

Page 17: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Francis’s algorithm . . .

. . . is a bulge chasing algorithm.

We turn it into a core chasing algorithm.

Instead of chasing bulges, we chase core transformations.

David S. Watkins Core-Chasing Algorithms

Page 18: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Transformations

What is a core transformation?

It’s a unitary matrix, and

it’s essentially 2× 2

C2 =

1× ×× ×

11

Ex: Givens rotator, reflector, . . .

We just wanted a generic term.

David S. Watkins Core-Chasing Algorithms

Page 19: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Transformations

What is a core transformation?

It’s a unitary matrix, and

it’s essentially 2× 2

C2 =

1× ×× ×

11

Ex: Givens rotator, reflector, . . .

We just wanted a generic term.

David S. Watkins Core-Chasing Algorithms

Page 20: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Transformations

What is a core transformation?

It’s a unitary matrix, and

it’s essentially 2× 2

C2 =

1× ×× ×

11

Ex: Givens rotator, reflector, . . .

We just wanted a generic term.

David S. Watkins Core-Chasing Algorithms

Page 21: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Transformations

What is a core transformation?

It’s a unitary matrix, and

it’s essentially 2× 2

C2 =

1× ×× ×

11

Ex: Givens rotator, reflector, . . .

We just wanted a generic term.

David S. Watkins Core-Chasing Algorithms

Page 22: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Transformations

What is a core transformation?

It’s a unitary matrix, and

it’s essentially 2× 2

C2 =

1× ×× ×

11

Ex: Givens rotator, reflector, . . .

We just wanted a generic term.

David S. Watkins Core-Chasing Algorithms

Page 23: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Transformations

1× ×× ×

× × ×× ×× ×

=

× × ×× ×0 ×

Abbreviated notation

�� × =

David S. Watkins Core-Chasing Algorithms

Page 24: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Transformations

1× ×× ×

× × ×× ×× ×

=

× × ×× ×0 ×

Abbreviated notation

�� × =

David S. Watkins Core-Chasing Algorithms

Page 25: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Transformations

1× ×× ×

× × ×× ×× ×

=

× × ×× ×0 ×

Abbreviated notation

�� × =

David S. Watkins Core-Chasing Algorithms

Page 26: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Hessenberg QR decomposition

×××××

=

×××××

David S. Watkins Core-Chasing Algorithms

Page 27: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Hessenberg QR decomposition

�� ×××××

=××××

David S. Watkins Core-Chasing Algorithms

Page 28: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Hessenberg QR decomposition

���� ×

××××

= ×××

David S. Watkins Core-Chasing Algorithms

Page 29: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Hessenberg QR decomposition

����

��×××××

=××

David S. Watkins Core-Chasing Algorithms

Page 30: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Hessenberg QR decomposition

����

����

×××××

=

×

David S. Watkins Core-Chasing Algorithms

Page 31: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Hessenberg QR decomposition

����

����

��

×××××

=

David S. Watkins Core-Chasing Algorithms

Page 32: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Hessenberg QR decomposition

����

����

��

×××××

=

Now invert the core transformations.

David S. Watkins Core-Chasing Algorithms

Page 33: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Hessenberg QR decomposition

×××××

=

����������

Q R

David S. Watkins Core-Chasing Algorithms

Page 34: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Our algorithms operate on the matrix in QR decomposed form.

A = QR =

����������

This is not inefficient.

We apply Francis’s algorithm to this factored form.

David S. Watkins Core-Chasing Algorithms

Page 35: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Fusion

� �� � ⇒ ��

David S. Watkins Core-Chasing Algorithms

Page 36: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover

� ���

�� ⇔

[ ∗ ∗ ∗∗ ∗ ∗∗ ∗ ∗

]⇔ �

��

�� �

David S. Watkins Core-Chasing Algorithms

Page 37: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover as a shift-through operation

����������

��

David S. Watkins Core-Chasing Algorithms

Page 38: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover as a shift-through operation

����������

����

David S. Watkins Core-Chasing Algorithms

Page 39: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover as a shift-through operation

������

����

��

David S. Watkins Core-Chasing Algorithms

Page 40: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover as a shift-through operation

��

����

����

��

David S. Watkins Core-Chasing Algorithms

Page 41: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover as a shift-through operation

��

����������

David S. Watkins Core-Chasing Algorithms

Page 42: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover as a shift-through operation

����

����������

David S. Watkins Core-Chasing Algorithms

Page 43: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover as a shift-through operation

��

����������

David S. Watkins Core-Chasing Algorithms

Page 44: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover as a shift-through operation : Abbreviated notation

����������

��

David S. Watkins Core-Chasing Algorithms

Page 45: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Turnover as a shift-through operation : Abbreviated notation

����������

����

David S. Watkins Core-Chasing Algorithms

Page 46: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Passing a core transformation through a triangular matrix

∗ ∗ ∗ ∗∗ ∗ ∗∗ ∗∗

�� ⇔

∗ ∗ ∗ ∗∗ ∗ ∗+ ∗ ∗

⇔ ��

∗ ∗ ∗ ∗∗ ∗ ∗∗ ∗∗

Cost is O(n) flops.

David S. Watkins Core-Chasing Algorithms

Page 47: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Operating on Core Transformations

Passing a core transformation through a triangular matrix

Abbreviated Notation:

�� �� �� ��

David S. Watkins Core-Chasing Algorithms

Page 48: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

David S. Watkins Core-Chasing Algorithms

Page 49: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

�� ��

David S. Watkins Core-Chasing Algorithms

Page 50: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

��

David S. Watkins Core-Chasing Algorithms

Page 51: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

����

David S. Watkins Core-Chasing Algorithms

Page 52: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

����

David S. Watkins Core-Chasing Algorithms

Page 53: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

�� ��

David S. Watkins Core-Chasing Algorithms

Page 54: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

������

David S. Watkins Core-Chasing Algorithms

Page 55: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

��

David S. Watkins Core-Chasing Algorithms

Page 56: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

�� ������

David S. Watkins Core-Chasing Algorithms

Page 57: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

��

David S. Watkins Core-Chasing Algorithms

Page 58: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

�� ������

David S. Watkins Core-Chasing Algorithms

Page 59: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

������������

David S. Watkins Core-Chasing Algorithms

Page 60: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

������������ ����

David S. Watkins Core-Chasing Algorithms

Page 61: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

���������� ��

David S. Watkins Core-Chasing Algorithms

Page 62: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Core Chasing

����������

David S. Watkins Core-Chasing Algorithms

Page 63: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Flop Count

Cost

O(n3) total flops

O(n2) storage

about the same as for standard Francis iteration.

David S. Watkins Core-Chasing Algorithms

Page 64: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Flop Count

Cost

O(n3) total flops

O(n2) storage

about the same as for standard Francis iteration.

David S. Watkins Core-Chasing Algorithms

Page 65: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Advantages

Are there any advantages?

superior deflation procedure

some structured cases

David S. Watkins Core-Chasing Algorithms

Page 66: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Advantages

Are there any advantages?

superior deflation procedure

some structured cases

David S. Watkins Core-Chasing Algorithms

Page 67: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Advantages

Are there any advantages?

superior deflation procedure

some structured cases

David S. Watkins Core-Chasing Algorithms

Page 68: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Standard deflation criterion:

×××××

Set aj+1,j to zero if

|aj+1,j | < u (|aj ,j |+ |aj+1,j+1 |).

(u is unit roundoff.)

David S. Watkins Core-Chasing Algorithms

Page 69: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Standard deflation criterion:

×××××

Set aj+1,j to zero if

|aj+1,j | < u (|aj ,j |+ |aj+1,j+1 |).

(u is unit roundoff.)

David S. Watkins Core-Chasing Algorithms

Page 70: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Our deflation criterion:

����������

Qj =

I

cj −sjsj c j

I

Set sj to zero if |sj | < u.

(u is unit roundoff.)

David S. Watkins Core-Chasing Algorithms

Page 71: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Our deflation criterion:

����������

Qj =

I

cj −sjsj c j

I

Set sj to zero if |sj | < u.

(u is unit roundoff.)

David S. Watkins Core-Chasing Algorithms

Page 72: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Both criteria are normwise backward stable.

How does this affect eigenvalues?

Change in λ depends on condition number κ(λ).

Standard result: λ is perturbed to µ, where

|λ− µ | ≤ u κ(λ) ‖A‖+ O(u2).

This holds for both deflation criteria.

David S. Watkins Core-Chasing Algorithms

Page 73: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Both criteria are normwise backward stable.

How does this affect eigenvalues?

Change in λ depends on condition number κ(λ).

Standard result: λ is perturbed to µ, where

|λ− µ | ≤ u κ(λ) ‖A‖+ O(u2).

This holds for both deflation criteria.

David S. Watkins Core-Chasing Algorithms

Page 74: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Both criteria are normwise backward stable.

How does this affect eigenvalues?

Change in λ depends on condition number κ(λ).

Standard result: λ is perturbed to µ, where

|λ− µ | ≤ u κ(λ) ‖A‖+ O(u2).

This holds for both deflation criteria.

David S. Watkins Core-Chasing Algorithms

Page 75: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Both criteria are normwise backward stable.

How does this affect eigenvalues?

Change in λ depends on condition number κ(λ).

Standard result: λ is perturbed to µ, where

|λ− µ | ≤ u κ(λ) ‖A‖+ O(u2).

This holds for both deflation criteria.

David S. Watkins Core-Chasing Algorithms

Page 76: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Both criteria are normwise backward stable.

How does this affect eigenvalues?

Change in λ depends on condition number κ(λ).

Standard result: λ is perturbed to µ, where

|λ− µ | ≤ u κ(λ) ‖A‖+ O(u2).

This holds for both deflation criteria.

David S. Watkins Core-Chasing Algorithms

Page 77: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

But our criterion does better:

Theorem (Mach and Vandebril (2014) )

|λ− µ | ≤ u κ(λ) |λ |+ O(u2).

Relative perturbation in each λ is tiny.

This does not hold for standard deflation criterion.

David S. Watkins Core-Chasing Algorithms

Page 78: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

But our criterion does better:

Theorem (Mach and Vandebril (2014) )

|λ− µ | ≤ u κ(λ) |λ |+ O(u2).

Relative perturbation in each λ is tiny.

This does not hold for standard deflation criterion.

David S. Watkins Core-Chasing Algorithms

Page 79: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

But our criterion does better:

Theorem (Mach and Vandebril (2014) )

|λ− µ | ≤ u κ(λ) |λ |+ O(u2).

Relative perturbation in each λ is tiny.

This does not hold for standard deflation criterion.

David S. Watkins Core-Chasing Algorithms

Page 80: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

But our criterion does better:

Theorem (Mach and Vandebril (2014) )

|λ− µ | ≤ u κ(λ) |λ |+ O(u2).

Relative perturbation in each λ is tiny.

This does not hold for standard deflation criterion.

David S. Watkins Core-Chasing Algorithms

Page 81: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Fun Example:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

These eigenvalues are well conditioned.

Standard criterion deflates to[1 20 ε

].

Eigenvalues are µ1 = 1 and µ2 = ε.

Small eigenvalue is off by 200%.

David S. Watkins Core-Chasing Algorithms

Page 82: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Fun Example:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

These eigenvalues are well conditioned.

Standard criterion deflates to[1 20 ε

].

Eigenvalues are µ1 = 1 and µ2 = ε.

Small eigenvalue is off by 200%.

David S. Watkins Core-Chasing Algorithms

Page 83: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Fun Example:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

These eigenvalues are well conditioned.

Standard criterion deflates to[1 20 ε

].

Eigenvalues are µ1 = 1 and µ2 = ε.

Small eigenvalue is off by 200%.

David S. Watkins Core-Chasing Algorithms

Page 84: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Fun Example:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

These eigenvalues are well conditioned.

Standard criterion deflates to[1 20 ε

].

Eigenvalues are µ1 = 1 and µ2 = ε.

Small eigenvalue is off by 200%.

David S. Watkins Core-Chasing Algorithms

Page 85: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Fun Example:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

These eigenvalues are well conditioned.

Standard criterion deflates to[1 20 ε

].

Eigenvalues are µ1 = 1 and µ2 = ε.

Small eigenvalue is off by 200%.

David S. Watkins Core-Chasing Algorithms

Page 86: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Fun Example:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

These eigenvalues are well conditioned.

Standard criterion deflates to[1 20 ε

].

Eigenvalues are µ1 = 1 and µ2 = ε.

Small eigenvalue is off by 200%.

David S. Watkins Core-Chasing Algorithms

Page 87: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Fun Example:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

These eigenvalues are well conditioned.

Standard criterion deflates to[1 20 ε

].

Eigenvalues are µ1 = 1 and µ2 = ε.

Small eigenvalue is off by 200%.

David S. Watkins Core-Chasing Algorithms

Page 88: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Example, continued:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

Our criterion:

A = QR ≈[

1 −εε 1

] [1 20 −ε

].

Deflates to [1 00 1

] [1 20 −ε

]=

[1 20 −ε

].

Eigenvalues are µ1 = 1 and µ2 = −ε.Both eigenvalues are accurate.

David S. Watkins Core-Chasing Algorithms

Page 89: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Example, continued:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

Our criterion:

A = QR ≈[

1 −εε 1

] [1 20 −ε

].

Deflates to [1 00 1

] [1 20 −ε

]=

[1 20 −ε

].

Eigenvalues are µ1 = 1 and µ2 = −ε.Both eigenvalues are accurate.

David S. Watkins Core-Chasing Algorithms

Page 90: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Example, continued:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

Our criterion:

A = QR ≈[

1 −εε 1

] [1 20 −ε

].

Deflates to [1 00 1

] [1 20 −ε

]=

[1 20 −ε

].

Eigenvalues are µ1 = 1 and µ2 = −ε.Both eigenvalues are accurate.

David S. Watkins Core-Chasing Algorithms

Page 91: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Example, continued:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

Our criterion:

A = QR ≈[

1 −εε 1

] [1 20 −ε

].

Deflates to [1 00 1

] [1 20 −ε

]=

[1 20 −ε

].

Eigenvalues are µ1 = 1 and µ2 = −ε.Both eigenvalues are accurate.

David S. Watkins Core-Chasing Algorithms

Page 92: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Example, continued:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

Our criterion:

A = QR ≈[

1 −εε 1

] [1 20 −ε

].

Deflates to [1 00 1

] [1 20 −ε

]=

[1 20 −ε

].

Eigenvalues are µ1 = 1 and µ2 = −ε.

Both eigenvalues are accurate.

David S. Watkins Core-Chasing Algorithms

Page 93: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Deflation

Example, continued:

A =

[1 2ε ε

](0 < ε < u)

λ1 = 1 + 2ε+ O(ε2) λ2 = −ε+ O(ε2)

Our criterion:

A = QR ≈[

1 −εε 1

] [1 20 −ε

].

Deflates to [1 00 1

] [1 20 −ε

]=

[1 20 −ε

].

Eigenvalues are µ1 = 1 and µ2 = −ε.Both eigenvalues are accurate.

David S. Watkins Core-Chasing Algorithms

Page 94: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Exploitation of Structure

Structures we can exploit

unitary

companion matrix (unitary-plus-rank-one)

unitary-plus-low-rank

David S. Watkins Core-Chasing Algorithms

Page 95: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Exploitation of Structure

Structures we can exploit

unitary

companion matrix (unitary-plus-rank-one)

unitary-plus-low-rank

David S. Watkins Core-Chasing Algorithms

Page 96: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Exploitation of Structure

Structures we can exploit

unitary

companion matrix (unitary-plus-rank-one)

unitary-plus-low-rank

David S. Watkins Core-Chasing Algorithms

Page 97: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Exploitation of Structure

Structures we can exploit

unitary

companion matrix (unitary-plus-rank-one)

unitary-plus-low-rank

David S. Watkins Core-Chasing Algorithms

Page 98: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Unitary Case

A = QR =

����������

David S. Watkins Core-Chasing Algorithms

Page 99: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Unitary Case

A = QR =

����������

David S. Watkins Core-Chasing Algorithms

Page 100: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Unitary Case

A = QR =

����������

David S. Watkins Core-Chasing Algorithms

Page 101: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Unitary Case

A = QR =

����������

Cost is O(n) flops per iteration, O(n2) flops total.

Storage requirement is O(n).

Gragg (1986)

Ammar, Reichel, M. Stewart, Bunse-Gerstner, Elsner, He, W,. . .

David S. Watkins Core-Chasing Algorithms

Page 102: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Unitary Case

A = QR =

����������

Cost is O(n) flops per iteration,

O(n2) flops total.

Storage requirement is O(n).

Gragg (1986)

Ammar, Reichel, M. Stewart, Bunse-Gerstner, Elsner, He, W,. . .

David S. Watkins Core-Chasing Algorithms

Page 103: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Unitary Case

A = QR =

����������

Cost is O(n) flops per iteration, O(n2) flops total.

Storage requirement is O(n).

Gragg (1986)

Ammar, Reichel, M. Stewart, Bunse-Gerstner, Elsner, He, W,. . .

David S. Watkins Core-Chasing Algorithms

Page 104: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Unitary Case

A = QR =

����������

Cost is O(n) flops per iteration, O(n2) flops total.

Storage requirement is O(n).

Gragg (1986)

Ammar, Reichel, M. Stewart, Bunse-Gerstner, Elsner, He, W,. . .

David S. Watkins Core-Chasing Algorithms

Page 105: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Unitary Case

A = QR =

����������

Cost is O(n) flops per iteration, O(n2) flops total.

Storage requirement is O(n).

Gragg (1986)

Ammar, Reichel, M. Stewart, Bunse-Gerstner, Elsner, He, W,. . .

David S. Watkins Core-Chasing Algorithms

Page 106: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Unitary Case

A = QR =

����������

Cost is O(n) flops per iteration, O(n2) flops total.

Storage requirement is O(n).

Gragg (1986)

Ammar, Reichel, M. Stewart, Bunse-Gerstner, Elsner, He, W,. . .

David S. Watkins Core-Chasing Algorithms

Page 107: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Companion Case

p(x) = xn + an−1xn−1 + an−2x

n−2 + · · ·+ a0 = 0

monic polynomial

companion matrix

A =

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

. . . get the zeros of p by computing the eigenvalues.

MATLAB’s roots command

Companion matrix is unitary-plus-rank-one.

David S. Watkins Core-Chasing Algorithms

Page 108: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Companion Case

p(x) = xn + an−1xn−1 + an−2x

n−2 + · · ·+ a0 = 0

monic polynomial

companion matrix

A =

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

. . . get the zeros of p by computing the eigenvalues.

MATLAB’s roots command

Companion matrix is unitary-plus-rank-one.

David S. Watkins Core-Chasing Algorithms

Page 109: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Companion Case

p(x) = xn + an−1xn−1 + an−2x

n−2 + · · ·+ a0 = 0

monic polynomial

companion matrix

A =

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

. . . get the zeros of p by computing the eigenvalues.

MATLAB’s roots command

Companion matrix is unitary-plus-rank-one.

David S. Watkins Core-Chasing Algorithms

Page 110: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Companion Case

p(x) = xn + an−1xn−1 + an−2x

n−2 + · · ·+ a0 = 0

monic polynomial

companion matrix

A =

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

. . . get the zeros of p by computing the eigenvalues.

MATLAB’s roots command

Companion matrix is unitary-plus-rank-one.

David S. Watkins Core-Chasing Algorithms

Page 111: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Companion Case

p(x) = xn + an−1xn−1 + an−2x

n−2 + · · ·+ a0 = 0

monic polynomial

companion matrix

A =

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

. . . get the zeros of p by computing the eigenvalues.

MATLAB’s roots command

Companion matrix is unitary-plus-rank-one.

David S. Watkins Core-Chasing Algorithms

Page 112: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Cost of solving companion eigenvalue problem

If structure not exploited:

O(n2) storage, O(n3) flopsFrancis’s algorithm

If structure exploited:

O(n) storage, O(n2) flopsseveral methods proposeddata-sparse representation + Francis’s algorithmOurs is fastest . . .. . . and we can prove backward stability.I spoke about this at the previous Householder symposium.

David S. Watkins Core-Chasing Algorithms

Page 113: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Cost of solving companion eigenvalue problem

If structure not exploited:

O(n2) storage, O(n3) flopsFrancis’s algorithm

If structure exploited:

O(n) storage, O(n2) flopsseveral methods proposeddata-sparse representation + Francis’s algorithmOurs is fastest . . .. . . and we can prove backward stability.I spoke about this at the previous Householder symposium.

David S. Watkins Core-Chasing Algorithms

Page 114: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Cost of solving companion eigenvalue problem

If structure not exploited:

O(n2) storage, O(n3) flopsFrancis’s algorithm

If structure exploited:

O(n) storage, O(n2) flops

several methods proposeddata-sparse representation + Francis’s algorithmOurs is fastest . . .. . . and we can prove backward stability.I spoke about this at the previous Householder symposium.

David S. Watkins Core-Chasing Algorithms

Page 115: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Cost of solving companion eigenvalue problem

If structure not exploited:

O(n2) storage, O(n3) flopsFrancis’s algorithm

If structure exploited:

O(n) storage, O(n2) flopsseveral methods proposeddata-sparse representation + Francis’s algorithm

Ours is fastest . . .. . . and we can prove backward stability.I spoke about this at the previous Householder symposium.

David S. Watkins Core-Chasing Algorithms

Page 116: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Cost of solving companion eigenvalue problem

If structure not exploited:

O(n2) storage, O(n3) flopsFrancis’s algorithm

If structure exploited:

O(n) storage, O(n2) flopsseveral methods proposeddata-sparse representation + Francis’s algorithmOurs is fastest . . .

. . . and we can prove backward stability.I spoke about this at the previous Householder symposium.

David S. Watkins Core-Chasing Algorithms

Page 117: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Cost of solving companion eigenvalue problem

If structure not exploited:

O(n2) storage, O(n3) flopsFrancis’s algorithm

If structure exploited:

O(n) storage, O(n2) flopsseveral methods proposeddata-sparse representation + Francis’s algorithmOurs is fastest . . .. . . and we can prove backward stability.

I spoke about this at the previous Householder symposium.

David S. Watkins Core-Chasing Algorithms

Page 118: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Cost of solving companion eigenvalue problem

If structure not exploited:

O(n2) storage, O(n3) flopsFrancis’s algorithm

If structure exploited:

O(n) storage, O(n2) flopsseveral methods proposeddata-sparse representation + Francis’s algorithmOurs is fastest . . .. . . and we can prove backward stability.I spoke about this at the previous Householder symposium.

David S. Watkins Core-Chasing Algorithms

Page 119: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

We store the QR decomposed form.

A = QR =

����������

where

R =

1 0 · · · −a1

1 −a2. . .

...−a0

.

This is unitary-plus-rank-one.

How do we store it?

David S. Watkins Core-Chasing Algorithms

Page 120: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

We store the QR decomposed form.

A = QR =

����������

where

R =

1 0 · · · −a1

1 −a2. . .

...−a0

.

This is unitary-plus-rank-one.

How do we store it?

David S. Watkins Core-Chasing Algorithms

Page 121: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

We store the QR decomposed form.

A = QR =

����������

where

R =

1 0 · · · −a1

1 −a2. . .

...−a0

.

This is unitary-plus-rank-one.

How do we store it?

David S. Watkins Core-Chasing Algorithms

Page 122: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

We store the QR decomposed form.

A = QR =

����������

where

R =

1 0 · · · −a1

1 −a2. . .

...−a0

.

This is unitary-plus-rank-one.

How do we store it?

David S. Watkins Core-Chasing Algorithms

Page 123: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

Add a row and column to R.

R =

1 0 · · · −a1 0

1 −a2 0. . .

......

−a0 1

0 0 · · · 0 0

.

This is still unitary-plus-rank-one.

David S. Watkins Core-Chasing Algorithms

Page 124: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

Add a row and column to R.

R =

1 0 · · · −a1 0

1 −a2 0. . .

......

−a0 1

0 0 · · · 0 0

.

This is still unitary-plus-rank-one.

David S. Watkins Core-Chasing Algorithms

Page 125: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

Add a row and column to R.

R =

1 0 · · · −a1 0

1 −a2 0. . .

......

−a0 1

0 0 · · · 0 0

.

This is still unitary-plus-rank-one.

David S. Watkins Core-Chasing Algorithms

Page 126: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

R =

1 0 · · · 0 0

1 0 0. . .

......

0 1

0 0 · · · 1 0

+

0 0 · · · −a1 0

0 −a2 0. . .

......

−a0 0

0 0 · · · −1 0

.

David S. Watkins Core-Chasing Algorithms

Page 127: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

R =

C ∗n · · ·C ∗

1 (B1 · · ·Bn + e1yT )

����

����

����

������������

+ · · ·

. . . and we don’t have to store the rank-one part!

This helps with backward stability.

Storage is O(n).

David S. Watkins Core-Chasing Algorithms

Page 128: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

R = C ∗n · · ·C ∗

1 (B1 · · ·Bn + e1yT )

����

����

����

������������

+ · · ·

. . . and we don’t have to store the rank-one part!

This helps with backward stability.

Storage is O(n).

David S. Watkins Core-Chasing Algorithms

Page 129: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

R = C ∗n · · ·C ∗

1 (B1 · · ·Bn + e1yT )

����

����

����

������������

+ · · ·

. . . and we don’t have to store the rank-one part!

This helps with backward stability.

Storage is O(n).

David S. Watkins Core-Chasing Algorithms

Page 130: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

R = C ∗n · · ·C ∗

1 (B1 · · ·Bn + e1yT )

����

����

����

������������

+ · · ·

. . . and we don’t have to store the rank-one part!

This helps with backward stability.

Storage is O(n).

David S. Watkins Core-Chasing Algorithms

Page 131: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

R = C ∗n · · ·C ∗

1 (B1 · · ·Bn + e1yT )

����

����

����

������������

+ · · ·

. . . and we don’t have to store the rank-one part!

This helps with backward stability.

Storage is O(n).

David S. Watkins Core-Chasing Algorithms

Page 132: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Representation of R

R = C ∗n · · ·C ∗

1 (B1 · · ·Bn + e1yT )

����

����

����

������������

+ · · ·

. . . and we don’t have to store the rank-one part!

This helps with backward stability.

Storage is O(n).

David S. Watkins Core-Chasing Algorithms

Page 133: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Passing a core transformation through R

�� ��

����

����

����

C ∗n · · · C ∗

1

������������

B1 · · · Bn

��������

����

Cost: O(1) flops instead of O(n).

David S. Watkins Core-Chasing Algorithms

Page 134: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Passing a core transformation through R

�� ��

����

����

����

C ∗n · · · C ∗

1

������������

B1 · · · Bn

��������

����

Cost: O(1) flops instead of O(n).

David S. Watkins Core-Chasing Algorithms

Page 135: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Passing a core transformation through R

�� ��

����

����

����

C ∗n · · · C ∗

1

������������

B1 · · · Bn

��������

����

Cost: O(1) flops instead of O(n).

David S. Watkins Core-Chasing Algorithms

Page 136: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Other things we can do

We can also handle

generalized eigenvalue problem

companion pencil

matrix polynomial eigenvalue problems

L. Robol talk at 2 pm

generalizations of Hessenberg form

and more.

Monograph in progress (130+ pp.)

David S. Watkins Core-Chasing Algorithms

Page 137: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Other things we can do

We can also handle

generalized eigenvalue problem

companion pencil

matrix polynomial eigenvalue problems

L. Robol talk at 2 pm

generalizations of Hessenberg form

and more.

Monograph in progress (130+ pp.)

David S. Watkins Core-Chasing Algorithms

Page 138: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Other things we can do

We can also handle

generalized eigenvalue problem

companion pencil

matrix polynomial eigenvalue problems

L. Robol talk at 2 pm

generalizations of Hessenberg form

and more.

Monograph in progress (130+ pp.)

David S. Watkins Core-Chasing Algorithms

Page 139: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Other things we can do

We can also handle

generalized eigenvalue problem

companion pencil

matrix polynomial eigenvalue problems

L. Robol talk at 2 pm

generalizations of Hessenberg form

and more.

Monograph in progress (130+ pp.)

David S. Watkins Core-Chasing Algorithms

Page 140: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Other things we can do

We can also handle

generalized eigenvalue problem

companion pencil

matrix polynomial eigenvalue problems

L. Robol talk at 2 pm

generalizations of Hessenberg form

and more.

Monograph in progress (130+ pp.)

David S. Watkins Core-Chasing Algorithms

Page 141: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Other things we can do

We can also handle

generalized eigenvalue problem

companion pencil

matrix polynomial eigenvalue problems

L. Robol talk at 2 pm

generalizations of Hessenberg form

and more.

Monograph in progress (130+ pp.)

David S. Watkins Core-Chasing Algorithms

Page 142: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

The Companion Pencil

p(x) = a0 + a1x + · · ·+ anxn

(not monic)

Divide by an, or . . .

companion pencil:

λ

1

1. . .

1an

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

We can handle this too (for a price),

This should be superior in some situations.

e.g. if an is tiny.

David S. Watkins Core-Chasing Algorithms

Page 143: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

The Companion Pencil

p(x) = a0 + a1x + · · ·+ anxn (not monic)

Divide by an, or . . .

companion pencil:

λ

1

1. . .

1an

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

We can handle this too (for a price),

This should be superior in some situations.

e.g. if an is tiny.

David S. Watkins Core-Chasing Algorithms

Page 144: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

The Companion Pencil

p(x) = a0 + a1x + · · ·+ anxn (not monic)

Divide by an,

or . . .

companion pencil:

λ

1

1. . .

1an

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

We can handle this too (for a price),

This should be superior in some situations.

e.g. if an is tiny.

David S. Watkins Core-Chasing Algorithms

Page 145: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

The Companion Pencil

p(x) = a0 + a1x + · · ·+ anxn (not monic)

Divide by an, or . . .

companion pencil:

λ

1

1. . .

1an

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

We can handle this too (for a price),

This should be superior in some situations.

e.g. if an is tiny.

David S. Watkins Core-Chasing Algorithms

Page 146: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

The Companion Pencil

p(x) = a0 + a1x + · · ·+ anxn (not monic)

Divide by an, or . . .

companion pencil:

λ

1

1. . .

1an

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

We can handle this too (for a price),

This should be superior in some situations.

e.g. if an is tiny.

David S. Watkins Core-Chasing Algorithms

Page 147: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

The Companion Pencil

p(x) = a0 + a1x + · · ·+ anxn (not monic)

Divide by an, or . . .

companion pencil:

λ

1

1. . .

1an

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

We can handle this too (for a price),

This should be superior in some situations.

e.g. if an is tiny.

David S. Watkins Core-Chasing Algorithms

Page 148: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

The Companion Pencil

p(x) = a0 + a1x + · · ·+ anxn (not monic)

Divide by an, or . . .

companion pencil:

λ

1

1. . .

1an

0 · · · 0 −a01 0 · · · 0 −a1

1. . .

......

. . . 0 −an−2

1 −an−1

We can handle this too (for a price),

This should be superior in some situations.

e.g. if an is tiny.

David S. Watkins Core-Chasing Algorithms

Page 149: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability

All of these algorithms are normwise backward stable.

This is “obvious” because we work only with unitarytransformations,

but it took us a while to write down a correct proof.

For details see . . .

Jared L. Aurentz, Thomas Mach, Raf Vandebril, and David S.Watkins, Fast and backward stable computation of roots ofpolynomials, SIAM J. Matrix Anal. Appl., 36 (2015), pp.942–973.

Co-winner of SIAM Best Paper Prize (2017).

Jared L. Aurentz, Thomas Mach, Leonardo Robol, RafVandebril, and David S. Watkins, Roots of polynomials: ontwisted QR methods for companion matrices and pencils,arXiv:1611.02435, currently undergoing a complete rewrite.

David S. Watkins Core-Chasing Algorithms

Page 150: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability

All of these algorithms are normwise backward stable.

This is “obvious” because we work only with unitarytransformations,

but it took us a while to write down a correct proof.

For details see . . .

Jared L. Aurentz, Thomas Mach, Raf Vandebril, and David S.Watkins, Fast and backward stable computation of roots ofpolynomials, SIAM J. Matrix Anal. Appl., 36 (2015), pp.942–973.

Co-winner of SIAM Best Paper Prize (2017).

Jared L. Aurentz, Thomas Mach, Leonardo Robol, RafVandebril, and David S. Watkins, Roots of polynomials: ontwisted QR methods for companion matrices and pencils,arXiv:1611.02435, currently undergoing a complete rewrite.

David S. Watkins Core-Chasing Algorithms

Page 151: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability

All of these algorithms are normwise backward stable.

This is “obvious” because we work only with unitarytransformations,

but it took us a while to write down a correct proof.

For details see . . .

Jared L. Aurentz, Thomas Mach, Raf Vandebril, and David S.Watkins, Fast and backward stable computation of roots ofpolynomials, SIAM J. Matrix Anal. Appl., 36 (2015), pp.942–973.

Co-winner of SIAM Best Paper Prize (2017).

Jared L. Aurentz, Thomas Mach, Leonardo Robol, RafVandebril, and David S. Watkins, Roots of polynomials: ontwisted QR methods for companion matrices and pencils,arXiv:1611.02435, currently undergoing a complete rewrite.

David S. Watkins Core-Chasing Algorithms

Page 152: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability

All of these algorithms are normwise backward stable.

This is “obvious” because we work only with unitarytransformations,

but it took us a while to write down a correct proof.

For details see . . .

Jared L. Aurentz, Thomas Mach, Raf Vandebril, and David S.Watkins, Fast and backward stable computation of roots ofpolynomials, SIAM J. Matrix Anal. Appl., 36 (2015), pp.942–973.

Co-winner of SIAM Best Paper Prize (2017).

Jared L. Aurentz, Thomas Mach, Leonardo Robol, RafVandebril, and David S. Watkins, Roots of polynomials: ontwisted QR methods for companion matrices and pencils,arXiv:1611.02435, currently undergoing a complete rewrite.

David S. Watkins Core-Chasing Algorithms

Page 153: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability

All of these algorithms are normwise backward stable.

This is “obvious” because we work only with unitarytransformations,

but it took us a while to write down a correct proof.

For details see . . .

Jared L. Aurentz, Thomas Mach, Raf Vandebril, and David S.Watkins, Fast and backward stable computation of roots ofpolynomials, SIAM J. Matrix Anal. Appl., 36 (2015), pp.942–973.

Co-winner of SIAM Best Paper Prize (2017).

Jared L. Aurentz, Thomas Mach, Leonardo Robol, RafVandebril, and David S. Watkins, Roots of polynomials: ontwisted QR methods for companion matrices and pencils,arXiv:1611.02435, currently undergoing a complete rewrite.

David S. Watkins Core-Chasing Algorithms

Page 154: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability

All of these algorithms are normwise backward stable.

This is “obvious” because we work only with unitarytransformations,

but it took us a while to write down a correct proof.

For details see . . .

Jared L. Aurentz, Thomas Mach, Raf Vandebril, and David S.Watkins, Fast and backward stable computation of roots ofpolynomials, SIAM J. Matrix Anal. Appl., 36 (2015), pp.942–973.

Co-winner of SIAM Best Paper Prize (2017).

Jared L. Aurentz, Thomas Mach, Leonardo Robol, RafVandebril, and David S. Watkins, Roots of polynomials: ontwisted QR methods for companion matrices and pencils,arXiv:1611.02435, currently undergoing a complete rewrite.

David S. Watkins Core-Chasing Algorithms

Page 155: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability

All of these algorithms are normwise backward stable.

This is “obvious” because we work only with unitarytransformations,

but it took us a while to write down a correct proof.

For details see . . .

Jared L. Aurentz, Thomas Mach, Raf Vandebril, and David S.Watkins, Fast and backward stable computation of roots ofpolynomials, SIAM J. Matrix Anal. Appl., 36 (2015), pp.942–973.

Co-winner of SIAM Best Paper Prize (2017).

Jared L. Aurentz, Thomas Mach, Leonardo Robol, RafVandebril, and David S. Watkins, Roots of polynomials: ontwisted QR methods for companion matrices and pencils,arXiv:1611.02435, currently undergoing a complete rewrite.

David S. Watkins Core-Chasing Algorithms

Page 156: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability

All of these algorithms are normwise backward stable.

This is “obvious” because we work only with unitarytransformations,

but it took us a while to write down a correct proof.

For details see . . .

Jared L. Aurentz, Thomas Mach, Raf Vandebril, and David S.Watkins, Fast and backward stable computation of roots ofpolynomials, SIAM J. Matrix Anal. Appl., 36 (2015), pp.942–973.

Co-winner of SIAM Best Paper Prize (2017).

Jared L. Aurentz, Thomas Mach, Leonardo Robol, RafVandebril, and David S. Watkins, Roots of polynomials: ontwisted QR methods for companion matrices and pencils,arXiv:1611.02435,

currently undergoing a complete rewrite.

David S. Watkins Core-Chasing Algorithms

Page 157: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability

All of these algorithms are normwise backward stable.

This is “obvious” because we work only with unitarytransformations,

but it took us a while to write down a correct proof.

For details see . . .

Jared L. Aurentz, Thomas Mach, Raf Vandebril, and David S.Watkins, Fast and backward stable computation of roots ofpolynomials, SIAM J. Matrix Anal. Appl., 36 (2015), pp.942–973.

Co-winner of SIAM Best Paper Prize (2017).

Jared L. Aurentz, Thomas Mach, Leonardo Robol, RafVandebril, and David S. Watkins, Roots of polynomials: ontwisted QR methods for companion matrices and pencils,arXiv:1611.02435, currently undergoing a complete rewrite.

David S. Watkins Core-Chasing Algorithms

Page 158: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 159: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 160: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 161: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 162: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 163: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper.

We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 164: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.

Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 165: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 166: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 167: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 168: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 169: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 170: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 171: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Backward Stability Odyssey

Presentation at Householder 2014

First written attempt (horrible)

Second attempt was much better (2015 paper) . . .

. . . but there was one one more thing!

Corrected in companion pencil paper. We also exploited thestructure of the backward error to get a better result.Rejected!

Search for examples.

Take a closer look.

backward error on pencil vs. polynomial coefficients

monic vs. scaled polynomial

Our analysis keeps getting better.

Stay tuned for the revised paper.

David S. Watkins Core-Chasing Algorithms

Page 172: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Nice Picture

‖a‖2

‖a‖22

101 103 105 10710−18

10−14

10−10

10−6

10−2

102

‖a−

a‖2

our code

‖a‖22

101 103 105 10710−18

10−14

10−10

10−6

10−2

102‖a−

a‖2

LAPACK balanced

Our code is not just faster, it is also more accurate!

Thank you for your attention.

David S. Watkins Core-Chasing Algorithms

Page 173: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Nice Picture

‖a‖2

‖a‖22

101 103 105 10710−18

10−14

10−10

10−6

10−2

102

‖a−

a‖2

our code

‖a‖22

101 103 105 10710−18

10−14

10−10

10−6

10−2

102‖a−

a‖2

LAPACK balanced

Our code is not just faster,

it is also more accurate!

Thank you for your attention.

David S. Watkins Core-Chasing Algorithms

Page 174: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Nice Picture

‖a‖2

‖a‖22

101 103 105 10710−18

10−14

10−10

10−6

10−2

102

‖a−

a‖2

our code

‖a‖22

101 103 105 10710−18

10−14

10−10

10−6

10−2

102‖a−

a‖2

LAPACK balanced

Our code is not just faster, it is also more accurate!

Thank you for your attention.

David S. Watkins Core-Chasing Algorithms

Page 175: Core-Chasing Algorithms for the Eigenvalue Problem · Leonardo Robol Raf Vandebril David S. Watkins Core-Chasing Algorithms. Today’s Topic The matrix eigenvalue problem A 2Cn n

Nice Picture

‖a‖2

‖a‖22

101 103 105 10710−18

10−14

10−10

10−6

10−2

102

‖a−

a‖2

our code

‖a‖22

101 103 105 10710−18

10−14

10−10

10−6

10−2

102‖a−

a‖2

LAPACK balanced

Our code is not just faster, it is also more accurate!

Thank you for your attention.

David S. Watkins Core-Chasing Algorithms