Docsity

Matrix Computations and the Secular Equation, Exercises of Mechanics

Partial preview of the text

Download Matrix Computations and the Secular Equation and more Exercises Mechanics in PDF only on Docsity!

Matrix Computations

and

the Secular Equation

Gene H. Golub

Stanford University

Introduction 1 / 35

What is the secular equation?

“The term secular (‘continuing through long ages’ OED2) recalls

that one of the origins of spectral theory was in the problem of the

long-run behavior of the solar system investigated by Laplace and

Lagrange. [...] The 1829 paper in which Cauchy established that the

roots of a symmetric determinant are real has the title, ‘Sur

l’´equation `a l’aide de laquelle on d´etermine les in´egalit´es s´eculaires

des mouvements des plan´etes’; this signified only that Cauchy

recognized that his problem, of choosing x to maximize x

T Ax

subject to x

T x = 1 (to use modern notation), led to an equation

like that studied in celestial mechanics. Sylvester’s title ‘On the

Equation to the Secular Inequalities in the Planetary Theory’ [...]

was even more misleading as to content. In this tradition the

‘S¨akul¨argleichung’ of Courant and Hilbert’s Methoden der

Mathematischen Physik (1924) and the ‘secular equation’ of E. T.

Browne’s ‘On the Separation Property of the Roots of the Secular

Equation’ American Journal of Mathematics, 52, (1930), 843-

refer to the characteristic equation of a symmetric matrix.”

From http://members.aol.com/jeff570/e.html

Introduction 1 / 35

Applications

Applications 3 / 35

Constrained Eigenvalue Problem

A = A

T

max x 6 = 0

x

T Ax

s.t. x

T x = 1

c

T x = 0

φ(x; λ, μ) = x

T Ax − λ(x

T x − 1) + 2μx

T c

grad φ = 0 =⇒ Ax − λx + μc = 0

x = −μ(A − λI)

− 1 c

c

T x = 0 =⇒ c

T (A − λI)

− 1 c = 0

Constrained Eigenvalue Secular Equation

A = QΛQ

T , d = Q

T c

n ∑

i=

d

2 i

(λi − λ)

Applications 4 / 35

Another secular equation

Consider (^) (

A b

bT^ c

x

y

= λ

x

y

Then

(A − λI)x = −yb

and hence,

(c − λ − b(A

T − λI)

− 1 b)y = 0.

Hence we must solve another secular equation when the matrix is

expanded.

Applications 6 / 35

Quadratic Constraint

A = A

T , positive definite

min x

x

T Ax − 2 c

T x

s.t. x

T x = α

2

φ(x; λ) = x

T Ax − 2 c

T x − λ(x

T x − α

2 )

grad φ = 0 =⇒

(A − λI)x − c = 0

Quadratic Constraint Secular Equation

c

T (A − λI)

− 2 c = α

2

Least Squares with a Quadratic Constraint

b

T A(A

T A − λI)

− 2 A

T b = α

2

Applications 7 / 35

Total Least Squares (cont.)

C

T Cz = ˆσ

2 z

Total Least Squares Secular Equation

b

T A(A

T A − σˆ

2 I)

− 1 A

T b − b

T b − ˆσ

2 = 0

σ < σˆ min(A)

xT LS = (A

T A − σˆ

2 I)

− 1 A

T b

Data Least Squares (DLS)

(A + E)x = b

b

T A(A

T A − ˆτ

2 I)

− 1 A

T b − b

T b = 0

τ < σˆ min(A)

Applications 9 / 35

Regularized total least squares (Fischer/G.)

Note, that the TLS solution is equivalent to

min

‖b − Ax‖

2 2

1 + ‖x‖

2 2

= min

‖Cz‖

2 2

‖z‖

2 2

= σmin(C),

where

C = (A, b) and zn+1 = − 1.

For the regularized TLS we consider

min

‖b − Ax‖

2 2

1 + xT^ V x

, subject to x

T V x = α

2 ,

where V is a given symmetric positive definite matrix. Now, let

W =

V 0

= F

T F

and observe that

min

‖b − Ax‖^22

1 + xT^ V x

= min

‖Cz‖^22

zT^ W z

with ‖z‖

2 2 = 1 +^ α

2 , zn+1 = −1.

Applications 10 / 35

Introducing the projection matrix

P = I −

cc

T

cT^ c

and d =

βc

cT^ c

we arrive at

(P B − λI)y = −λd

y

T y = γ

2 ,

which leads to the secular equation

λ

2 d

T (P B − λI)

−T (P B − λI)

− 1 d = γ

2 .

Instead, consider

( (P B − λI)(P B − λI)

T λd

λd

T γ

2

u

ξ

Note, (

(P B − λI)(P B − λI)

T −

λ

2

γ^2

dd

T

u = 0.

Thus, λ can be found as an eigenvalue of a quadratic eigenvalue

problem with ˆy = u/ξ.

Applications 12 / 35

Approximating the secular equation

Approximations 13 / 35

Matrix Function to Integral

A = QΛQ

T

u

T F (A)u = u

T F (QΛQ

T )u = u

T QF (Λ)Q

T u = w

T F (Λ)w

w = Q

T u

u

T F (A)u =

n ∑

i=

F (λi)w

2 i =

∫ (^) b

a

F (λ)dw(λ)

Approximations 15 / 35

Gauss-Radau Quadrature Rules

L ≤

∫ (^) b

a

F (λ)dw(λ) ≤ U

μr =

λ

r dw(λ) (r = 0, 1 ,... , 2 k + m − 1)

b

a

F (λ)dw(λ) = I[F ] + R[F ]

I[F ] =

∑^ k

i=

AiF (ti) +

∑^ m

j=

Bj F (zj )

{Ai, ti}

k i=1 unknown^ weights and nodes

{zj }

m j=1 prescribed nodes

{Bj }

m j=1 calculated weights

Approximations 16 / 35

Gauss Quadrature

pr(λ)ps(λ)dα(λ) = 0, r 6 = s, (r, s = 0, 1 ,... , k)

pj+1(λ) = (λ − ξj+1)pj (λ) − η

2 j pj−^1 (λ)

pk(ti) = 0, i = 1, 2 ,... , k

Jk =

ξ 1 η 1

η 1 ξ 2 η 2

η 2

. (^) ηk− 1

ηk− 1 ξk

μ 0 = 1

Jkvj = tj vj , j = 1, 2 ,... , k

Aj = v

2 1 j ,^ j^ = 1,^2 ,... , k

Approximations 18 / 35

Gauss-Radau (Inverse Eigenvalue Problem)

J^ ¯

k+1 =

Jk

ηk

0 · · · ηk ξ¯k+

0 = pk+1(t 0 ) = (t 0 − ξ¯k+1)pk(t 0 ) − η

2 kpk−^1 (t^0 )

ξ¯ k+1 =^ t 0 −^ η

2 k

pk− 1 (t 0 )

pk(t 0 )

or

(Jk − t 0 I)δ = η

2 kek

ξ^ ¯ k+1 =^ t 0 +^ δk

Approximations 19 / 35