2013.01.25-ece595e-l08

Upload: ultrazord

Post on 03-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 2013.01.25-ECE595E-L08

    1/15

    ECE 595, Section 10

    Numerical SimulationsLecture 8: Eigenvalues

    Prof. Peter Bermel

    January 25, 2013

  • 7/29/2019 2013.01.25-ECE595E-L08

    2/15

    Outline

    Recap from Wednesday

    Eigenproblem Solution Techniques

    Power Methods

    Inverse Iteration Atomic Transformations

    Factorization Methods

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    3/15

    Recap from Wednesday

    Optimization Methods

    Brents Method

    Golden Section Search

    Downhill Simplex

    Conjugate gradient methods

    Multiple level, single linkage (MLSL)

    Eigenproblems

    Overview

    Basic definitions

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    4/15

    Power Method Algorithm:

    Initially guess dominanteigenvector

    Let = (optionally:

    normalize each step)

    Dominant eigenvalue =

    To find other eigenvalues: Inverse power method

    Shifted inverse power method

    1/25/2013 ECE 595, Prof. Bermel

    Error vs. iteration number

  • 7/29/2019 2013.01.25-ECE595E-L08

    5/15

    Inverse Iteration Formalizes concept of

    converging on a targeteigenvalue & eigenvector

    Algorithm: Start with approximate

    eigenvalue and random unit

    vector Let =

    Let =

    Repeat until tolerance reached

    Our eigenvalue is given by=

    1/25/2013 ECE 595, Prof. Bermel

    Error vs. iteration number

  • 7/29/2019 2013.01.25-ECE595E-L08

    6/15

    Inverse Iteration Challenges

    For unlucky , convergence too slow

    For multiple close roots, can only find one

    eigenvector

    For non-symmetric real matrices, cant findcomplex conjugate pairs

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    7/15

    Transformation Methods

    General concept of similarity transformations:

    Atomic transformations: construct each Z explicitly

    Factorization methods: QR and QL methods

    Keep iterating atomic transformations:

    Until off-diagonal elements are small: then use

    matrix to read off eigenvectors Otherwise: use factorization approach

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    8/15

    Jacobi Transformations

    Atomic transformation:

    Generalizes rotation matrix:

    cos sin sin cos

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    9/15

    Householder Transformation Basic approach discussed previously

    Keys to this strategy: Construct vector w to eliminate most elements:

    = 0, , , ,

    Where = sgn

    Iterate recursively to tridiagonal form and solve: =

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    10/15

    Factorization in Eigenproblems

    Most common approach known as QR method

    Can also do the same with

    QL algorithm: Use Householder algorithm to construct

    Factorize: =

    Rearrange: = =

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    11/15

    QL Algorithm + Implicit Shifts

    Convergence for off-diagonal elements

    ()~

    Can be accelerated by shifting

    1

    Convergence now goes as ()~

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    12/15

    Asymmetric Matrices

    Generally much more sensitive to numerical

    (round-off) errors

    Balancing with diagonal matrices can relieve

    this imbalance

    Reduction to Hessenberg form:

    Series of Householder matrices

    Gaussian elimination with pivoting

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    13/15

    Basic Linear Algebra Subprograms

    (BLAS)

    Extremely early software package (1979,

    written originally in FORTRAN)

    Consists of 3 levels:

    Vector transformations: + Matrix-vector operations: +

    Matrix-matrix operations: +

    Tremendous number of implementations and

    variations now available

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    14/15

    Linear Algebra Package (LAPACK) Builds on BLAS to implement many of the linear

    algebra techniques we discussed in class

    Linear programming/least squares

    Matrix decompositions/factorizations

    Eigenvalues

    Designed in 1992 to deal with special cases efficiently

    1/25/2013 ECE 595, Prof. Bermel

  • 7/29/2019 2013.01.25-ECE595E-L08

    15/15

    Next Class Is on Monday, Jan. 28

    Will discuss numerical tools forsimulating eigenproblems further

    1/25/2013 ECE 595, Prof. Bermel