Krylov subspaces David S. Watkins
Whats so great about Krylov subspaces? David S. Watkins Department - - PowerPoint PPT Presentation
Whats so great about Krylov subspaces? David S. Watkins Department - - PowerPoint PPT Presentation
Krylov subspaces David S. Watkins Whats so great about Krylov subspaces? David S. Watkins Department of Mathematics Washington State University Guwahati, 2013 Krylov Subspace Methods are Great Krylov subspaces David S. Watkins
Krylov subspaces David S. Watkins
Krylov Subspace Methods are Great
Krylov subspace methods are great. “Everybody” knows this. large, sparse problems linear systems: CG, MINRES, GMRES, . . . eigenvalue problems: Lanczos, Arnoldi, . . .
Krylov subspaces David S. Watkins
Krylov Subspace Methods are Great
Krylov subspace methods are great. “Everybody” knows this. large, sparse problems linear systems: CG, MINRES, GMRES, . . . eigenvalue problems: Lanczos, Arnoldi, . . .
Krylov subspaces David S. Watkins
Krylov Subspace Methods are Great
Krylov subspace methods are great. “Everybody” knows this. large, sparse problems linear systems: CG, MINRES, GMRES, . . . eigenvalue problems: Lanczos, Arnoldi, . . .
Krylov subspaces David S. Watkins
Krylov Subspace Methods are Great
Krylov subspace methods are great. “Everybody” knows this. large, sparse problems linear systems: CG, MINRES, GMRES, . . . eigenvalue problems: Lanczos, Arnoldi, . . .
Krylov subspaces David S. Watkins
Krylov Subspace Methods are Great
Krylov subspace methods are great. “Everybody” knows this. large, sparse problems linear systems: CG, MINRES, GMRES, . . . eigenvalue problems: Lanczos, Arnoldi, . . .
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
focus on eigenvalue problems pedagogy, understanding introduce Krylov subspaces sooner relevant to small, dense problems too proselytizing
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
focus on eigenvalue problems pedagogy, understanding introduce Krylov subspaces sooner relevant to small, dense problems too proselytizing
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
focus on eigenvalue problems pedagogy, understanding introduce Krylov subspaces sooner relevant to small, dense problems too proselytizing
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
focus on eigenvalue problems pedagogy, understanding introduce Krylov subspaces sooner relevant to small, dense problems too proselytizing
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
focus on eigenvalue problems pedagogy, understanding introduce Krylov subspaces sooner relevant to small, dense problems too proselytizing
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
focus on eigenvalue problems pedagogy, understanding introduce Krylov subspaces sooner relevant to small, dense problems too proselytizing
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
reduction to upper Hessenberg form A ∈ Cn×n H = Q−1AQ, H upper Hessenberg Q can be unitary first column, q1, direction arbitrary O(n3) direct method
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
reduction to upper Hessenberg form A ∈ Cn×n H = Q−1AQ, H upper Hessenberg Q can be unitary first column, q1, direction arbitrary O(n3) direct method
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
reduction to upper Hessenberg form A ∈ Cn×n H = Q−1AQ, H upper Hessenberg Q can be unitary first column, q1, direction arbitrary O(n3) direct method
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
reduction to upper Hessenberg form A ∈ Cn×n H = Q−1AQ, H upper Hessenberg Q can be unitary first column, q1, direction arbitrary O(n3) direct method
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
reduction to upper Hessenberg form A ∈ Cn×n H = Q−1AQ, H upper Hessenberg Q can be unitary first column, q1, direction arbitrary O(n3) direct method
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
reduction to upper Hessenberg form A ∈ Cn×n H = Q−1AQ, H upper Hessenberg Q can be unitary first column, q1, direction arbitrary O(n3) direct method
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
H = Q−1AQ, H upper Hessenberg for unitary Q . . . Implicit-Q Theorem: q1 determines Q and H (nearly) uniquely. Krylov subspaces lurking in background Suggestion: Bring them out into the light. Advantages: clearer picture, more general theory
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
H = Q−1AQ, H upper Hessenberg for unitary Q . . . Implicit-Q Theorem: q1 determines Q and H (nearly) uniquely. Krylov subspaces lurking in background Suggestion: Bring them out into the light. Advantages: clearer picture, more general theory
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
H = Q−1AQ, H upper Hessenberg for unitary Q . . . Implicit-Q Theorem: q1 determines Q and H (nearly) uniquely. Krylov subspaces lurking in background Suggestion: Bring them out into the light. Advantages: clearer picture, more general theory
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
H = Q−1AQ, H upper Hessenberg for unitary Q . . . Implicit-Q Theorem: q1 determines Q and H (nearly) uniquely. Krylov subspaces lurking in background Suggestion: Bring them out into the light. Advantages: clearer picture, more general theory
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
H = Q−1AQ, H upper Hessenberg for unitary Q . . . Implicit-Q Theorem: q1 determines Q and H (nearly) uniquely. Krylov subspaces lurking in background Suggestion: Bring them out into the light. Advantages: clearer picture, more general theory
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
H = Q−1AQ, H upper Hessenberg for unitary Q . . . Implicit-Q Theorem: q1 determines Q and H (nearly) uniquely. Krylov subspaces lurking in background Suggestion: Bring them out into the light. Advantages: clearer picture, more general theory
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
H = Q−1AQ, H upper Hessenberg for unitary Q . . . Implicit-Q Theorem: q1 determines Q and H (nearly) uniquely. Krylov subspaces lurking in background Suggestion: Bring them out into the light. Advantages: clearer picture, more general theory
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
H = Q−1AQ, H upper Hessenberg for unitary Q . . . Implicit-Q Theorem: q1 determines Q and H (nearly) uniquely. Krylov subspaces lurking in background Suggestion: Bring them out into the light. Advantages: clearer picture, more general theory
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
H = Q−1AQ, H upper Hessenberg for unitary Q . . . Implicit-Q Theorem: q1 determines Q and H (nearly) uniquely. Krylov subspaces lurking in background Suggestion: Bring them out into the light. Advantages: clearer picture, more general theory
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
Krylov subspace: Kj(A, v) = span
- v, Av, A2v, . . . , Aj−1v
- Theorem: Let A = QHQ−1, where H is properly upper
- Hessenberg. Then
span{q1, . . . , qj} = Kj(A, q1), j = 1, . . . , n. valid even if Q is not unitary (contrast with implicit-Q) no need for implicit-S, implicit-H, implicit-L, . . .
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
Krylov subspace: Kj(A, v) = span
- v, Av, A2v, . . . , Aj−1v
- Theorem: Let A = QHQ−1, where H is properly upper
- Hessenberg. Then
span{q1, . . . , qj} = Kj(A, q1), j = 1, . . . , n. valid even if Q is not unitary (contrast with implicit-Q) no need for implicit-S, implicit-H, implicit-L, . . .
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
Krylov subspace: Kj(A, v) = span
- v, Av, A2v, . . . , Aj−1v
- Theorem: Let A = QHQ−1, where H is properly upper
- Hessenberg. Then
span{q1, . . . , qj} = Kj(A, q1), j = 1, . . . , n. valid even if Q is not unitary (contrast with implicit-Q) no need for implicit-S, implicit-H, implicit-L, . . .
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
Krylov subspace: Kj(A, v) = span
- v, Av, A2v, . . . , Aj−1v
- Theorem: Let A = QHQ−1, where H is properly upper
- Hessenberg. Then
span{q1, . . . , qj} = Kj(A, q1), j = 1, . . . , n. valid even if Q is not unitary (contrast with implicit-Q) no need for implicit-S, implicit-H, implicit-L, . . .
Krylov subspaces David S. Watkins
Krylov subspaces and eigenvalue problems
Krylov subspace: Kj(A, v) = span
- v, Av, A2v, . . . , Aj−1v
- Theorem: Let A = QHQ−1, where H is properly upper
- Hessenberg. Then
span{q1, . . . , qj} = Kj(A, q1), j = 1, . . . , n. valid even if Q is not unitary (contrast with implicit-Q) no need for implicit-S, implicit-H, implicit-L, . . .
Krylov subspaces David S. Watkins
Need for iteration
Hessenberg form is not the goal. Triangular form is the goal. Hessenberg is as far as we can get with a direct method. (Abel, Galois) need to iterate
Krylov subspaces David S. Watkins
Need for iteration
Hessenberg form is not the goal. Triangular form is the goal. Hessenberg is as far as we can get with a direct method. (Abel, Galois) need to iterate
Krylov subspaces David S. Watkins
Need for iteration
Hessenberg form is not the goal. Triangular form is the goal. Hessenberg is as far as we can get with a direct method. (Abel, Galois) need to iterate
Krylov subspaces David S. Watkins
Need for iteration
Hessenberg form is not the goal. Triangular form is the goal. Hessenberg is as far as we can get with a direct method. (Abel, Galois) need to iterate
Krylov subspaces David S. Watkins
Power method, Subspace iteration
v, Av, A2v, A3v, . . . convergence rate |λ2/λ1 | S, AS, A2S, A3S, . . . subspaces of dimension j (|λj+1/λj |)
Krylov subspaces David S. Watkins
Power method, Subspace iteration
v, Av, A2v, A3v, . . . convergence rate |λ2/λ1 | S, AS, A2S, A3S, . . . subspaces of dimension j (|λj+1/λj |)
Krylov subspaces David S. Watkins
Power method, Subspace iteration
v, Av, A2v, A3v, . . . convergence rate |λ2/λ1 | S, AS, A2S, A3S, . . . subspaces of dimension j (|λj+1/λj |)
Krylov subspaces David S. Watkins
Power method, Subspace iteration
v, Av, A2v, A3v, . . . convergence rate |λ2/λ1 | S, AS, A2S, A3S, . . . subspaces of dimension j (|λj+1/λj |)
Krylov subspaces David S. Watkins
Power method, Subspace iteration
v, Av, A2v, A3v, . . . convergence rate |λ2/λ1 | S, AS, A2S, A3S, . . . subspaces of dimension j (|λj+1/λj |)
Krylov subspaces David S. Watkins
Power method, Subspace iteration
v, Av, A2v, A3v, . . . convergence rate |λ2/λ1 | S, AS, A2S, A3S, . . . subspaces of dimension j (|λj+1/λj |)
Krylov subspaces David S. Watkins
Power method, Subspace iteration
for greater flexibility shifts ρ1, . . . , ρm (m small) (explanation deferred) p(A) = (A − ρ1I) · · · (A − ρmI) Substitute p(A) for A S, p(A)S, p(A)2S, p(A)3S, . . . convergence rate |p(λj+1)/p(λj)|
Krylov subspaces David S. Watkins
Power method, Subspace iteration
for greater flexibility shifts ρ1, . . . , ρm (m small) (explanation deferred) p(A) = (A − ρ1I) · · · (A − ρmI) Substitute p(A) for A S, p(A)S, p(A)2S, p(A)3S, . . . convergence rate |p(λj+1)/p(λj)|
Krylov subspaces David S. Watkins
Power method, Subspace iteration
for greater flexibility shifts ρ1, . . . , ρm (m small) (explanation deferred) p(A) = (A − ρ1I) · · · (A − ρmI) Substitute p(A) for A S, p(A)S, p(A)2S, p(A)3S, . . . convergence rate |p(λj+1)/p(λj)|
Krylov subspaces David S. Watkins
Power method, Subspace iteration
for greater flexibility shifts ρ1, . . . , ρm (m small) (explanation deferred) p(A) = (A − ρ1I) · · · (A − ρmI) Substitute p(A) for A S, p(A)S, p(A)2S, p(A)3S, . . . convergence rate |p(λj+1)/p(λj)|
Krylov subspaces David S. Watkins
Power method, Subspace iteration
for greater flexibility shifts ρ1, . . . , ρm (m small) (explanation deferred) p(A) = (A − ρ1I) · · · (A − ρmI) Substitute p(A) for A S, p(A)S, p(A)2S, p(A)3S, . . . convergence rate |p(λj+1)/p(λj)|
Krylov subspaces David S. Watkins
Power method, Subspace iteration
for greater flexibility shifts ρ1, . . . , ρm (m small) (explanation deferred) p(A) = (A − ρ1I) · · · (A − ρmI) Substitute p(A) for A S, p(A)S, p(A)2S, p(A)3S, . . . convergence rate |p(λj+1)/p(λj)|
Krylov subspaces David S. Watkins
Power method, Subspace iteration
for greater flexibility shifts ρ1, . . . , ρm (m small) (explanation deferred) p(A) = (A − ρ1I) · · · (A − ρmI) Substitute p(A) for A S, p(A)S, p(A)2S, p(A)3S, . . . convergence rate |p(λj+1)/p(λj)|
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
take S = span{e1, . . . , ej} p(A)S = span{p(A)e1, . . . , p(A)ej} = span{q1, . . . , qj} (orthonormal?) build unitary (or not) Q = [q1 · · · qj · · · ] change coordinate system: ˆ A = Q−1AQ qk → Q−1qk = ek span{q1, . . . , qj} → span{e1, . . . , ej} ready for next iteration
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
take S = span{e1, . . . , ej} p(A)S = span{p(A)e1, . . . , p(A)ej} = span{q1, . . . , qj} (orthonormal?) build unitary (or not) Q = [q1 · · · qj · · · ] change coordinate system: ˆ A = Q−1AQ qk → Q−1qk = ek span{q1, . . . , qj} → span{e1, . . . , ej} ready for next iteration
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
take S = span{e1, . . . , ej} p(A)S = span{p(A)e1, . . . , p(A)ej} = span{q1, . . . , qj} (orthonormal?) build unitary (or not) Q = [q1 · · · qj · · · ] change coordinate system: ˆ A = Q−1AQ qk → Q−1qk = ek span{q1, . . . , qj} → span{e1, . . . , ej} ready for next iteration
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
take S = span{e1, . . . , ej} p(A)S = span{p(A)e1, . . . , p(A)ej} = span{q1, . . . , qj} (orthonormal?) build unitary (or not) Q = [q1 · · · qj · · · ] change coordinate system: ˆ A = Q−1AQ qk → Q−1qk = ek span{q1, . . . , qj} → span{e1, . . . , ej} ready for next iteration
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
take S = span{e1, . . . , ej} p(A)S = span{p(A)e1, . . . , p(A)ej} = span{q1, . . . , qj} (orthonormal?) build unitary (or not) Q = [q1 · · · qj · · · ] change coordinate system: ˆ A = Q−1AQ qk → Q−1qk = ek span{q1, . . . , qj} → span{e1, . . . , ej} ready for next iteration
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
take S = span{e1, . . . , ej} p(A)S = span{p(A)e1, . . . , p(A)ej} = span{q1, . . . , qj} (orthonormal?) build unitary (or not) Q = [q1 · · · qj · · · ] change coordinate system: ˆ A = Q−1AQ qk → Q−1qk = ek span{q1, . . . , qj} → span{e1, . . . , ej} ready for next iteration
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
take S = span{e1, . . . , ej} p(A)S = span{p(A)e1, . . . , p(A)ej} = span{q1, . . . , qj} (orthonormal?) build unitary (or not) Q = [q1 · · · qj · · · ] change coordinate system: ˆ A = Q−1AQ qk → Q−1qk = ek span{q1, . . . , qj} → span{e1, . . . , ej} ready for next iteration
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
take S = span{e1, . . . , ej} p(A)S = span{p(A)e1, . . . , p(A)ej} = span{q1, . . . , qj} (orthonormal?) build unitary (or not) Q = [q1 · · · qj · · · ] change coordinate system: ˆ A = Q−1AQ qk → Q−1qk = ek span{q1, . . . , qj} → span{e1, . . . , ej} ready for next iteration
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
This version of subspace iteration . . . . . . holds the subspace fixed while the matrix changes. . . . moving toward a matrix under which span{e1, . . . , ej} is invariant. A → A11 A12 A22
- (A11 is j × j.)
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
This version of subspace iteration . . . . . . holds the subspace fixed while the matrix changes. . . . moving toward a matrix under which span{e1, . . . , ej} is invariant. A → A11 A12 A22
- (A11 is j × j.)
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
This version of subspace iteration . . . . . . holds the subspace fixed while the matrix changes. . . . moving toward a matrix under which span{e1, . . . , ej} is invariant. A → A11 A12 A22
- (A11 is j × j.)
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
This version of subspace iteration . . . . . . holds the subspace fixed while the matrix changes. . . . moving toward a matrix under which span{e1, . . . , ej} is invariant. A → A11 A12 A22
- (A11 is j × j.)
Krylov subspaces David S. Watkins
Subspace Iteration with changes of coordinate system
This version of subspace iteration . . . . . . holds the subspace fixed while the matrix changes. . . . moving toward a matrix under which span{e1, . . . , ej} is invariant. A → A11 A12 A22
- (A11 is j × j.)
Krylov subspaces David S. Watkins
Subspace iteration and Krylov subspaces
single vector q “determines” nested sequence Kj(A, q) = span
- q, Aq, A2q, . . . , Aj−1q
- ,
j = 1, . . . , n step of power method: q → p(A)q . . . implies a nested sequence of subspace iterations because . . . p(A)Kj(A, q) = Kj(A, p(A)q), since p(A)A = Ap(A)
Krylov subspaces David S. Watkins
Subspace iteration and Krylov subspaces
single vector q “determines” nested sequence Kj(A, q) = span
- q, Aq, A2q, . . . , Aj−1q
- ,
j = 1, . . . , n step of power method: q → p(A)q . . . implies a nested sequence of subspace iterations because . . . p(A)Kj(A, q) = Kj(A, p(A)q), since p(A)A = Ap(A)
Krylov subspaces David S. Watkins
Subspace iteration and Krylov subspaces
single vector q “determines” nested sequence Kj(A, q) = span
- q, Aq, A2q, . . . , Aj−1q
- ,
j = 1, . . . , n step of power method: q → p(A)q . . . implies a nested sequence of subspace iterations because . . . p(A)Kj(A, q) = Kj(A, p(A)q), since p(A)A = Ap(A)
Krylov subspaces David S. Watkins
Subspace iteration and Krylov subspaces
single vector q “determines” nested sequence Kj(A, q) = span
- q, Aq, A2q, . . . , Aj−1q
- ,
j = 1, . . . , n step of power method: q → p(A)q . . . implies a nested sequence of subspace iterations because . . . p(A)Kj(A, q) = Kj(A, p(A)q), since p(A)A = Ap(A)
Krylov subspaces David S. Watkins
Subspace iteration and Krylov subspaces
single vector q “determines” nested sequence Kj(A, q) = span
- q, Aq, A2q, . . . , Aj−1q
- ,
j = 1, . . . , n step of power method: q → p(A)q . . . implies a nested sequence of subspace iterations because . . . p(A)Kj(A, q) = Kj(A, p(A)q), since p(A)A = Ap(A)
Krylov subspaces David S. Watkins
Let’s build an algorithm
start with upper Hessenberg A pick shifts ρ1, ρ2 (m = 2 for illustration) q1 = αp(A)e1 = α(A − ρ1I)(A − ρ2I)e1 = x y z . . . cheap, don’t compute p(A). Q0 =
- q1
· · · qn
- , built from q1
Krylov subspaces David S. Watkins
Let’s build an algorithm
start with upper Hessenberg A pick shifts ρ1, ρ2 (m = 2 for illustration) q1 = αp(A)e1 = α(A − ρ1I)(A − ρ2I)e1 = x y z . . . cheap, don’t compute p(A). Q0 =
- q1
· · · qn
- , built from q1
Krylov subspaces David S. Watkins
Let’s build an algorithm
start with upper Hessenberg A pick shifts ρ1, ρ2 (m = 2 for illustration) q1 = αp(A)e1 = α(A − ρ1I)(A − ρ2I)e1 = x y z . . . cheap, don’t compute p(A). Q0 =
- q1
· · · qn
- , built from q1
Krylov subspaces David S. Watkins
Let’s build an algorithm
start with upper Hessenberg A pick shifts ρ1, ρ2 (m = 2 for illustration) q1 = αp(A)e1 = α(A − ρ1I)(A − ρ2I)e1 = x y z . . . cheap, don’t compute p(A). Q0 =
- q1
· · · qn
- , built from q1
Krylov subspaces David S. Watkins
Let’s build an algorithm
start with upper Hessenberg A pick shifts ρ1, ρ2 (m = 2 for illustration) q1 = αp(A)e1 = α(A − ρ1I)(A − ρ2I)e1 = x y z . . . cheap, don’t compute p(A). Q0 =
- q1
· · · qn
- , built from q1
Krylov subspaces David S. Watkins
Let’s build an algorithm
start with upper Hessenberg A pick shifts ρ1, ρ2 (m = 2 for illustration) q1 = αp(A)e1 = α(A − ρ1I)(A − ρ2I)e1 = x y z . . . cheap, don’t compute p(A). Q0 =
- q1
· · · qn
- , built from q1
Krylov subspaces David S. Watkins
Let’s build an algorithm
˜ A = Q−1
0 AQ0
power method + change of coordinate system now return to Hessenberg form ˆ A = ˜ Q−1˜ A ˜ Q = Q−1AQ iteration complete! Now repeat!
Krylov subspaces David S. Watkins
Let’s build an algorithm
˜ A = Q−1
0 AQ0
power method + change of coordinate system now return to Hessenberg form ˆ A = ˜ Q−1˜ A ˜ Q = Q−1AQ iteration complete! Now repeat!
Krylov subspaces David S. Watkins
Let’s build an algorithm
˜ A = Q−1
0 AQ0
power method + change of coordinate system now return to Hessenberg form ˆ A = ˜ Q−1˜ A ˜ Q = Q−1AQ iteration complete! Now repeat!
Krylov subspaces David S. Watkins
Let’s build an algorithm
˜ A = Q−1
0 AQ0
power method + change of coordinate system now return to Hessenberg form ˆ A = ˜ Q−1˜ A ˜ Q = Q−1AQ iteration complete! Now repeat!
Krylov subspaces David S. Watkins
Let’s build an algorithm
˜ A = Q−1
0 AQ0
power method + change of coordinate system now return to Hessenberg form ˆ A = ˜ Q−1˜ A ˜ Q = Q−1AQ iteration complete! Now repeat!
Krylov subspaces David S. Watkins
Let’s build an algorithm
˜ A = Q−1
0 AQ0
power method + change of coordinate system now return to Hessenberg form ˆ A = ˜ Q−1˜ A ˜ Q = Q−1AQ iteration complete! Now repeat!
Krylov subspaces David S. Watkins
What does the algorithm do?
ˆ A = Q−1AQ q1 = αp(A)e1 ˆ A Hessenberg, so span{q1, . . . , qj} = Kj(A, q1) = p(A)Kj(A, e1) = p(A)span{e1, . . . , ej} subspace iteration + change of coordinate system: span{q1, . . . , qj} → span{e1, . . . , ej} j = 1, 2, . . . , n − 1
Krylov subspaces David S. Watkins
What does the algorithm do?
ˆ A = Q−1AQ q1 = αp(A)e1 ˆ A Hessenberg, so span{q1, . . . , qj} = Kj(A, q1) = p(A)Kj(A, e1) = p(A)span{e1, . . . , ej} subspace iteration + change of coordinate system: span{q1, . . . , qj} → span{e1, . . . , ej} j = 1, 2, . . . , n − 1
Krylov subspaces David S. Watkins
What does the algorithm do?
ˆ A = Q−1AQ q1 = αp(A)e1 ˆ A Hessenberg, so span{q1, . . . , qj} = Kj(A, q1) = p(A)Kj(A, e1) = p(A)span{e1, . . . , ej} subspace iteration + change of coordinate system: span{q1, . . . , qj} → span{e1, . . . , ej} j = 1, 2, . . . , n − 1
Krylov subspaces David S. Watkins
What does the algorithm do?
ˆ A = Q−1AQ q1 = αp(A)e1 ˆ A Hessenberg, so span{q1, . . . , qj} = Kj(A, q1) = p(A)Kj(A, e1) = p(A)span{e1, . . . , ej} subspace iteration + change of coordinate system: span{q1, . . . , qj} → span{e1, . . . , ej} j = 1, 2, . . . , n − 1
Krylov subspaces David S. Watkins
What does the algorithm do?
ˆ A = Q−1AQ q1 = αp(A)e1 ˆ A Hessenberg, so span{q1, . . . , qj} = Kj(A, q1) = p(A)Kj(A, e1) = p(A)span{e1, . . . , ej} subspace iteration + change of coordinate system: span{q1, . . . , qj} → span{e1, . . . , ej} j = 1, 2, . . . , n − 1
Krylov subspaces David S. Watkins
What does the algorithm do?
ˆ A = Q−1AQ q1 = αp(A)e1 ˆ A Hessenberg, so span{q1, . . . , qj} = Kj(A, q1) = p(A)Kj(A, e1) = p(A)span{e1, . . . , ej} subspace iteration + change of coordinate system: span{q1, . . . , qj} → span{e1, . . . , ej} j = 1, 2, . . . , n − 1
Krylov subspaces David S. Watkins
What does the algorithm do?
ˆ A = Q−1AQ q1 = αp(A)e1 ˆ A Hessenberg, so span{q1, . . . , qj} = Kj(A, q1) = p(A)Kj(A, e1) = p(A)span{e1, . . . , ej} subspace iteration + change of coordinate system: span{q1, . . . , qj} → span{e1, . . . , ej} j = 1, 2, . . . , n − 1
Krylov subspaces David S. Watkins
What does the algorithm do?
Convergence rates: |p(λj+1)/p(λj)| j = 1, . . . , n − 1 All ratios matter.
Krylov subspaces David S. Watkins
What does the algorithm do?
Convergence rates: |p(λj+1)/p(λj)| j = 1, . . . , n − 1 All ratios matter.
Krylov subspaces David S. Watkins
Implementation
q1 = αp(A)e1 = x y z . . . (case m = 2)
Krylov subspaces David S. Watkins
Implementation
× × × × × × × × × × × × × × × × × × × × × × × × × ×
Krylov subspaces David S. Watkins
Implementation
× × × × × × × × × × × × × × × × × × × × × × × × × × ×
Krylov subspaces David S. Watkins
Implementation
× × × × × × × × × × × × × × × × × × × × × × × × × × × × ×
Krylov subspaces David S. Watkins
Implementation
× × × × × × × × × × × × × × × × × × × × × × × × × × × × ×
Krylov subspaces David S. Watkins
Implementation
× × × × × × × × × × × × × × × × × × × × × × × × × × × × ×
Krylov subspaces David S. Watkins
Implementation
× × × × × × × × × × × × × × × × × × × × × × × × × × ×
Krylov subspaces David S. Watkins
Implementation
× × × × × × × × × × × × × × × × × × × × × × × × × ×
Krylov subspaces David S. Watkins
Implementation
O(n2) work per iteration (cheap!) This is nothing new. John Francis’s algorithm aka implicitly-shifted QR algorithm
Krylov subspaces David S. Watkins
Implementation
O(n2) work per iteration (cheap!) This is nothing new. John Francis’s algorithm aka implicitly-shifted QR algorithm
Krylov subspaces David S. Watkins
Implementation
O(n2) work per iteration (cheap!) This is nothing new. John Francis’s algorithm aka implicitly-shifted QR algorithm
Krylov subspaces David S. Watkins
Implementation
O(n2) work per iteration (cheap!) This is nothing new. John Francis’s algorithm aka implicitly-shifted QR algorithm
Krylov subspaces David S. Watkins
Detail: Choice of shifts
shifts? lower right-hand corner new shifts at each step ⇒ quadratic or cubic convergence Watkins (2007, 2010)
Krylov subspaces David S. Watkins
Detail: Choice of shifts
shifts? lower right-hand corner new shifts at each step ⇒ quadratic or cubic convergence Watkins (2007, 2010)
Krylov subspaces David S. Watkins
Detail: Choice of shifts
shifts? lower right-hand corner new shifts at each step ⇒ quadratic or cubic convergence Watkins (2007, 2010)
Krylov subspaces David S. Watkins
Detail: Choice of shifts
shifts? lower right-hand corner new shifts at each step ⇒ quadratic or cubic convergence Watkins (2007, 2010)
Krylov subspaces David S. Watkins
Detail: Choice of shifts
shifts? lower right-hand corner new shifts at each step ⇒ quadratic or cubic convergence Watkins (2007, 2010)
Krylov subspaces David S. Watkins
Summary
derived Francis’s algorithm made use of Krylov subspaces . . . instead of implicit-Q theorem valid for nonunitary variants
Krylov subspaces David S. Watkins
Summary
derived Francis’s algorithm made use of Krylov subspaces . . . instead of implicit-Q theorem valid for nonunitary variants
Krylov subspaces David S. Watkins
Summary
derived Francis’s algorithm made use of Krylov subspaces . . . instead of implicit-Q theorem valid for nonunitary variants
Krylov subspaces David S. Watkins
Summary
derived Francis’s algorithm made use of Krylov subspaces . . . instead of implicit-Q theorem valid for nonunitary variants
Krylov subspaces David S. Watkins
Summary
derived Francis’s algorithm made use of Krylov subspaces . . . instead of implicit-Q theorem valid for nonunitary variants
Krylov subspaces David S. Watkins
Summary
no QR decompositions in sight no detour via “explicit” QR algorithm Why call it the QR algorithm? I’m calling it Francis’s algorithm. end of confusion
Krylov subspaces David S. Watkins
Summary
no QR decompositions in sight no detour via “explicit” QR algorithm Why call it the QR algorithm? I’m calling it Francis’s algorithm. end of confusion
Krylov subspaces David S. Watkins
Summary
no QR decompositions in sight no detour via “explicit” QR algorithm Why call it the QR algorithm? I’m calling it Francis’s algorithm. end of confusion
Krylov subspaces David S. Watkins
Summary
no QR decompositions in sight no detour via “explicit” QR algorithm Why call it the QR algorithm? I’m calling it Francis’s algorithm. end of confusion
Krylov subspaces David S. Watkins
Summary
no QR decompositions in sight no detour via “explicit” QR algorithm Why call it the QR algorithm? I’m calling it Francis’s algorithm. end of confusion
Krylov subspaces David S. Watkins
Advertisement
Publications promoting this point of view: DSW, Francis’s Algorithm,
- Amer. Math. Monthly (118) 2011, pp. 387–403.
DSW, Fundamentals of Matrix Computations, Third Edition, John Wiley and Sons, 2010.
Krylov subspaces David S. Watkins
Advertisement
Publications promoting this point of view: DSW, Francis’s Algorithm,
- Amer. Math. Monthly (118) 2011, pp. 387–403.
DSW, Fundamentals of Matrix Computations, Third Edition, John Wiley and Sons, 2010.
Krylov subspaces David S. Watkins
Advertisement
Publications promoting this point of view: DSW, Francis’s Algorithm,
- Amer. Math. Monthly (118) 2011, pp. 387–403.
DSW, Fundamentals of Matrix Computations, Third Edition, John Wiley and Sons, 2010.
Krylov subspaces David S. Watkins