The Spectral Theorem

Total Page:16

File Type:pdf, Size:1020Kb

The Spectral Theorem L08-S00 The spectral theorem MATH 6610 Lecture 08 September 21, 2020 Trefethen & Bau: Lecture 24 MATH 6610-001 – U. Utah The spectral theorem When are matrices unitarily diagonalizable? Diagonalizability L08-S01 Recall: All non-defective square matrices are diagonalizable (eigenvalue decomposition) All square matrices are bidiagonalizable (Jordan normal form) All square matrices are unitarily triangularizable (Schur decomposition) MATH 6610-001 – U. Utah The spectral theorem Diagonalizability L08-S01 Recall: All non-defective square matrices are diagonalizable (eigenvalue decomposition) All square matrices are bidiagonalizable (Jordan normal form) All square matrices are unitarily triangularizable (Schur decomposition) When are matrices unitarily diagonalizable? MATH 6610-001 – U. Utah The spectral theorem Theorem (The spectral theorem) A square matrix A is unitarily diagonalizable if and only if it is normal. The spectral theorem L08-S02 Definition A matrix A P Cnˆn is a normal matrix if it commutes with its transpose. MATH 6610-001 – U. Utah The spectral theorem The spectral theorem L08-S02 Definition A matrix A P Cnˆn is a normal matrix if it commutes with its transpose. Theorem (The spectral theorem) A square matrix A is unitarily diagonalizable if and only if it is normal. MATH 6610-001 – U. Utah The spectral theorem If A is normal, ... then the 2-norm induced operator, spectral radius, and maximum numerical range coincide ˚ then }Ax}2 “}A x}2 for any vector x then A “ A˚U for some unitary U Actually, any of the above also implies that A is normal. Normal matrices L08-S03 Normal matrices are the class of matrices for which eigenvalues precisely characterize the action of a matrix. MATH 6610-001 – U. Utah The spectral theorem ˚ then }Ax}2 “}A x}2 for any vector x then A “ A˚U for some unitary U Actually, any of the above also implies that A is normal. Normal matrices L08-S03 Normal matrices are the class of matrices for which eigenvalues precisely characterize the action of a matrix. If A is normal, ... then the 2-norm induced operator, spectral radius, and maximum numerical range coincide MATH 6610-001 – U. Utah The spectral theorem then A “ A˚U for some unitary U Actually, any of the above also implies that A is normal. Normal matrices L08-S03 Normal matrices are the class of matrices for which eigenvalues precisely characterize the action of a matrix. If A is normal, ... then the 2-norm induced operator, spectral radius, and maximum numerical range coincide ˚ then }Ax}2 “}A x}2 for any vector x MATH 6610-001 – U. Utah The spectral theorem Actually, any of the above also implies that A is normal. Normal matrices L08-S03 Normal matrices are the class of matrices for which eigenvalues precisely characterize the action of a matrix. If A is normal, ... then the 2-norm induced operator, spectral radius, and maximum numerical range coincide ˚ then }Ax}2 “}A x}2 for any vector x then A “ A˚U for some unitary U MATH 6610-001 – U. Utah The spectral theorem Normal matrices L08-S03 Normal matrices are the class of matrices for which eigenvalues precisely characterize the action of a matrix. If A is normal, ... then the 2-norm induced operator, spectral radius, and maximum numerical range coincide ˚ then }Ax}2 “}A x}2 for any vector x then A “ A˚U for some unitary U Actually, any of the above also implies that A is normal. MATH 6610-001 – U. Utah The spectral theorem Theorem (Bauer-Fike) Assume A P Cnˆn is diagonalizable with eigenvector matrix V P Cnˆn. Then, using the 2-norm, the absolute condition number of computing eigenvalues is κλpAq “ κpV q. r Eigenvalue conditioning L08-S04 Consider A P Cnˆn, along with the map λ : Cnˆn Ñ C that computes an eigenvalue of A: Av “ λpAqv; for some v ‰ 0 What is the conditioning of this operation? MATH 6610-001 – U. Utah The spectral theorem Eigenvalue conditioning L08-S04 Consider A P Cnˆn, along with the map λ : Cnˆn Ñ C that computes an eigenvalue of A: Av “ λpAqv; for some v ‰ 0 What is the conditioning of this operation? Theorem (Bauer-Fike) Assume A P Cnˆn is diagonalizable with eigenvector matrix V P Cnˆn. Then, using the 2-norm, the absolute condition number of computing eigenvalues is κλpAq “ κpV q. r MATH 6610-001 – U. Utah The spectral theorem.
Recommended publications
  • The Generalized Triangular Decomposition
    MATHEMATICS OF COMPUTATION Volume 77, Number 262, April 2008, Pages 1037–1056 S 0025-5718(07)02014-5 Article electronically published on October 1, 2007 THE GENERALIZED TRIANGULAR DECOMPOSITION YI JIANG, WILLIAM W. HAGER, AND JIAN LI Abstract. Given a complex matrix H, we consider the decomposition H = QRP∗,whereR is upper triangular and Q and P have orthonormal columns. Special instances of this decomposition include the singular value decompo- sition (SVD) and the Schur decomposition where R is an upper triangular matrix with the eigenvalues of H on the diagonal. We show that any diag- onal for R can be achieved that satisfies Weyl’s multiplicative majorization conditions: k k K K |ri|≤ σi, 1 ≤ k<K, |ri| = σi, i=1 i=1 i=1 i=1 where K is the rank of H, σi is the i-th largest singular value of H,andri is the i-th largest (in magnitude) diagonal element of R. Given a vector r which satisfies Weyl’s conditions, we call the decomposition H = QRP∗,whereR is upper triangular with prescribed diagonal r, the generalized triangular decom- position (GTD). A direct (nonrecursive) algorithm is developed for computing the GTD. This algorithm starts with the SVD and applies a series of permu- tations and Givens rotations to obtain the GTD. The numerical stability of the GTD update step is established. The GTD can be used to optimize the power utilization of a communication channel, while taking into account qual- ity of service requirements for subchannels. Another application of the GTD is to inverse eigenvalue problems where the goal is to construct matrices with prescribed eigenvalues and singular values.
    [Show full text]
  • CSE 275 Matrix Computation
    CSE 275 Matrix Computation Ming-Hsuan Yang Electrical Engineering and Computer Science University of California at Merced Merced, CA 95344 http://faculty.ucmerced.edu/mhyang Lecture 13 1 / 22 Overview Eigenvalue problem Schur decomposition Eigenvalue algorithms 2 / 22 Reading Chapter 24 of Numerical Linear Algebra by Llyod Trefethen and David Bau Chapter 7 of Matrix Computations by Gene Golub and Charles Van Loan 3 / 22 Eigenvalues and eigenvectors Let A 2 Cm×m be a square matrix, a nonzero x 2 Cm is an eigenvector of A, and λ 2 C is its corresponding eigenvalue if Ax = λx Idea: the action of a matrix A on a subspace S 2 Cm may sometimes mimic scalar multiplication When it happens, the special subspace S is called an eigenspace, and any nonzero x 2 S is an eigenvector The set of all eigenvalues of a matrix A is the spectrum of A, a subset of C denoted by Λ(A) 4 / 22 Eigenvalues and eigenvectors (cont'd) Ax = λx Algorithmically: simplify solutions of certain problems by reducing a coupled system to a collection of scalar problems Physically: give insight into the behavior of evolving systems governed by linear equations, e.g., resonance (of musical instruments when struck or plucked or bowed), stability (of fluid flows with small perturbations) 5 / 22 Eigendecomposition An eigendecomposition (eigenvalue decomposition) of a square matrix A is a factorization A = X ΛX −1 where X is a nonsingular and Λ is diagonal Equivalently, AX = X Λ 2 3 λ1 6 λ2 7 A x x ··· x = x x ··· x 6 7 1 2 m 1 2 m 6 .
    [Show full text]
  • The Schur Decomposition Week 5 UCSB 2014
    Math 108B Professor: Padraic Bartlett Lecture 5: The Schur Decomposition Week 5 UCSB 2014 Repeatedly through the past three weeks, we have taken some matrix A and written A in the form A = UBU −1; where B was a diagonal matrix, and U was a change-of-basis matrix. However, on HW #2, we saw that this was not always possible: in particular, you proved 1 1 in problem 4 that for the matrix A = , there was no possible basis under which A 0 1 would become a diagonal matrix: i.e. you proved that there was no diagonal matrix D and basis B = f(b11; b21); (b12; b22)g such that b b b b −1 A = 11 12 · D · 11 12 : b21 b22 b21 b22 This is a bit of a shame, because diagonal matrices (for reasons discussed earlier) are pretty fantastic: they're easy to raise to large powers and calculate determinants of, and it would have been nice if every linear transformation was diagonal in some basis. So: what now? Do we simply assume that some matrices cannot be written in a \nice" form in any basis, and that we should assume that operations like matrix exponentiation and finding determinants is going to just be awful in many situations? The answer, as you may have guessed by the fact that these notes have more pages after this one, is no! In particular, while diagonalization1 might not always be possible, there is something fairly close that is - the Schur decomposition. Our goal for this week is to prove this, and study its applications.
    [Show full text]
  • Finite-Dimensional Spectral Theory Part I: from Cn to the Schur Decomposition
    Finite-dimensional spectral theory part I: from Cn to the Schur decomposition Ed Bueler MATH 617 Functional Analysis Spring 2020 Ed Bueler (MATH 617) Finite-dimensional spectral theory Spring 2020 1 / 26 linear algebra versus functional analysis these slides are about linear algebra, i.e. vector spaces of finite dimension, and linear operators on those spaces, i.e. matrices one definition of functional analysis might be: “rigorous extension of linear algebra to 1-dimensional topological vector spaces” ◦ it is important to understand the finite-dimensional case! the goal of these part I slides is to prove the Schur decomposition and the spectral theorem for matrices good references for these slides: ◦ L. Trefethen & D. Bau, Numerical Linear Algebra, SIAM Press 1997 ◦ G. Strang, Introduction to Linear Algebra, 5th ed., Wellesley-Cambridge Press, 2016 ◦ G. Golub & C. van Loan, Matrix Computations, 4th ed., Johns Hopkins University Press 2013 Ed Bueler (MATH 617) Finite-dimensional spectral theory Spring 2020 2 / 26 the spectrum of a matrix the spectrum σ(A) of a square matrix A is its set of eigenvalues ◦ reminder later about the definition of eigenvalues ◦ σ(A) is a subset of the complex plane C ◦ the plural of spectrum is spectra; the adjectival is spectral graphing σ(A) gives the matrix a personality ◦ example below: random, nonsymmetric, real 20 × 20 matrix 6 4 2 >> A = randn(20,20); ) >> lam = eig(A); λ 0 >> plot(real(lam),imag(lam),’o’) Im( >> grid on >> xlabel(’Re(\lambda)’) -2 >> ylabel(’Im(\lambda)’) -4 -6 -6 -4 -2 0 2 4 6 Re(λ) Ed Bueler (MATH 617) Finite-dimensional spectral theory Spring 2020 3 / 26 Cn is an inner product space we use complex numbers C from now on ◦ why? because eigenvalues can be complex even for a real matrix ◦ recall: if α = x + iy 2 C then α = x − iy is the conjugate let Cn be the space of (column) vectors with complex entries: 2v13 = 6 .
    [Show full text]
  • The Non–Symmetric Eigenvalue Problem
    Chapter 4 of Calculus++: The Non{symmetric Eigenvalue Problem by Eric A Carlen Professor of Mathematics Georgia Tech c 2003 by the author, all rights reserved 1-1 Table of Contents Overview ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1-3 Section 1: Schur factorization 1.1 The non{symmetric eigenvalue problem :::::::::::::::::::::::::::::::::::::: 1-4 1.2 What is the Schur factorization? ::::::::::::::::::::::::::::::::::::::::::::: 1-4 1.3 The 2 × 2 case ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1-5 Section 2: Complex eigenvectors and the geometry of Cn 2.1 Why get complicated? ::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1-8 2.2 Algebra and geometry in Cn ::::::::::::::::::::::::::::::::::::::::::::::::: 1-8 2.3 Unitary matrices :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1-11 2.4 Schur factorization in general ::::::::::::::::::::::::::::::::::::::::::::::: 1-11 Section: 3 Householder reflections 3.1 Reflection matrices ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::1-15 3.2 The n × n case ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::1-17 3.3 Householder reflection matrices and the QR factorization :::::::::::::::::::: 1-19 3.4 The complex case ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1-23 Section: 4 The QR iteration 4.1 What the QR iteration is ::::::::::::::::::::::::::::::::::::::::::::::::::: 1-25 4.2 When and how QR iteration works :::::::::::::::::::::::::::::::::::::::::: 1-28 4.3 What to do when QR iteration
    [Show full text]
  • Parallel Eigenvalue Reordering in Real Schur Forms∗
    Parallel eigenvalue reordering in real Schur forms∗ R. Granat,y B. K˚agstr¨om,z and D. Kressnerx May 12, 2008 Abstract A parallel algorithm for reordering the eigenvalues in the real Schur form of a matrix is pre- sented and discussed. Our novel approach adopts computational windows and delays multiple outside-window updates until each window has been completely reordered locally. By using multiple concurrent windows the parallel algorithm has a high level of concurrency, and most work is level 3 BLAS operations. The presented algorithm is also extended to the generalized real Schur form. Experimental results for ScaLAPACK-style Fortran 77 implementations on a Linux cluster confirm the efficiency and scalability of our algorithms in terms of more than 16 times of parallel speedup using 64 processor for large scale problems. Even on a single processor our implementation is demonstrated to perform significantly better compared to the state-of-the-art serial implementation. Keywords: Parallel algorithms, eigenvalue problems, invariant subspaces, direct reorder- ing, Sylvester matrix equations, condition number estimates 1 Introduction The solution of large-scale matrix eigenvalue problems represents a frequent task in scientific computing. For example, the asymptotic behavior of a linear or linearized dynamical system is determined by the right-most eigenvalue of the system matrix. Despite the advance of iterative methods { such as Arnoldi and Jacobi-Davidson algorithms [3] { there are problems where a transformation method { usually the QR algorithm [14] { is preferred, even in a large-scale setting. In the example quoted above, an iterative method may fail to detect the right-most eigenvalue and, in the worst case, misleadingly predict stability even though the system is unstable [33].
    [Show full text]
  • The Unsymmetric Eigenvalue Problem
    Jim Lambers CME 335 Spring Quarter 2010-11 Lecture 4 Supplemental Notes The Unsymmetric Eigenvalue Problem Properties and Decompositions Let A be an n × n matrix. A nonzero vector x is called an eigenvector of A if there exists a scalar λ such that Ax = λx: The scalar λ is called an eigenvalue of A, and we say that x is an eigenvector of A corresponding to λ. We see that an eigenvector of A is a vector for which matrix-vector multiplication with A is equivalent to scalar multiplication by λ. We say that a nonzero vector y is a left eigenvector of A if there exists a scalar λ such that λyH = yH A: The superscript H refers to the Hermitian transpose, which includes transposition and complex conjugation. That is, for any matrix A, AH = AT . An eigenvector of A, as defined above, is sometimes called a right eigenvector of A, to distinguish from a left eigenvector. It can be seen that if y is a left eigenvector of A with eigenvalue λ, then y is also a right eigenvector of AH , with eigenvalue λ. Because x is nonzero, it follows that if x is an eigenvector of A, then the matrix A − λI is singular, where λ is the corresponding eigenvalue. Therefore, λ satisfies the equation det(A − λI) = 0: The expression det(A−λI) is a polynomial of degree n in λ, and therefore is called the characteristic polynomial of A (eigenvalues are sometimes called characteristic values). It follows from the fact that the eigenvalues of A are the roots of the characteristic polynomial that A has n eigenvalues, which can repeat, and can also be complex, even if A is real.
    [Show full text]
  • Schur Triangularization and the Spectral Decomposition(S)
    Advanced Linear Algebra – Week 7 Schur Triangularization and the Spectral Decomposition(s) This week we will learn about: • Schur triangularization, • The Cayley–Hamilton theorem, • Normal matrices, and • The real and complex spectral decompositions. Extra reading and watching: • Section 2.1 in the textbook • Lecture videos 25, 26, 27, 28, and 29 on YouTube • Schur decomposition at Wikipedia • Normal matrix at Wikipedia • Spectral theorem at Wikipedia Extra textbook problems: ? 2.1.1, 2.1.2, 2.1.5 ?? 2.1.3, 2.1.4, 2.1.6, 2.1.7, 2.1.9, 2.1.17, 2.1.19 ??? 2.1.8, 2.1.11, 2.1.12, 2.1.18, 2.1.21 A 2.1.22, 2.1.26 1 Advanced Linear Algebra – Week 7 2 We’re now going to start looking at matrix decompositions, which are ways of writing down a matrix as a product of (hopefully simpler!) matrices. For example, we learned about diagonalization at the end of introductory linear algebra, which said that... While diagonalization let us do great things with certain matrices, it also raises some new questions: Over the next few weeks, we will thoroughly investigate these types of questions, starting with this one: Advanced Linear Algebra – Week 7 3 Schur Triangularization We know that we cannot hope in general to get a diagonal matrix via unitary similarity (since not every matrix is diagonalizable via any similarity). However, the following theorem says that we can get partway there and always get an upper triangular matrix. Theorem 7.1 — Schur Triangularization Suppose A ∈ Mn(C).
    [Show full text]
  • Introduction to QR-Method SF2524 - Matrix Computations for Large-Scale Systems
    Introduction to QR-method SF2524 - Matrix Computations for Large-scale Systems Introduction to QR-method 1 / 17 Inverse iteration I Computes eigenvalue closest to a target Rayleigh Quotient Iteration I Computes one eigenvalue with a starting guess Arnoldi method for eigenvalue problems I Computes extreme eigenvalue Now: QR-method Compute all eigenvalues Suitable for dense problems Small matrices in relation to other algorithms So far we have in the course learned about... Methods suitable for large sparse matrices Power method I Computes largest eigenvalue Introduction to QR-method 2 / 17 Rayleigh Quotient Iteration I Computes one eigenvalue with a starting guess Arnoldi method for eigenvalue problems I Computes extreme eigenvalue Now: QR-method Compute all eigenvalues Suitable for dense problems Small matrices in relation to other algorithms So far we have in the course learned about... Methods suitable for large sparse matrices Power method I Computes largest eigenvalue Inverse iteration I Computes eigenvalue closest to a target Introduction to QR-method 2 / 17 Arnoldi method for eigenvalue problems I Computes extreme eigenvalue Now: QR-method Compute all eigenvalues Suitable for dense problems Small matrices in relation to other algorithms So far we have in the course learned about... Methods suitable for large sparse matrices Power method I Computes largest eigenvalue Inverse iteration I Computes eigenvalue closest to a target Rayleigh Quotient Iteration I Computes one eigenvalue with a starting guess Introduction to QR-method 2 / 17 Now: QR-method Compute all eigenvalues Suitable for dense problems Small matrices in relation to other algorithms So far we have in the course learned about..
    [Show full text]
  • 10. Schur Decomposition
    L. Vandenberghe ECE133B (Spring 2020) 10. Schur decomposition • eigenvalues of nonsymmetric matrix • Schur decomposition 10.1 Eigenvalues and eigenvectors a nonzero vector x is an eigenvector of the n × n matrix A, with eigenvalue λ, if Ax = λx • the eigenvalues are the roots of the characteristic polynomial det¹λI − Aº = 0 • eigenvectors are nonzero vectors in the nullspace of λI − A for most of the lecture, we assume that A is a complex n × n matrix Schur decomposition 10.2 Linear indepence of eigenvectors suppose x1,..., xk are eigenvectors for k different eigenvalues: Ax1 = λ1x1;:::; Axk = λk xk then x1,..., xk are linearly independent • the result holds for k = 1 because eigenvectors are nonzero • suppose it holds for k − 1, and assume α1x1 + ··· + αk xk = 0; then 0 = A¹α1x1 + α2x2 + ··· + αk xkº = α1λ1x1 + α2λ2x2 + ··· + αkλk xk • subtracting λ1¹α1x1 + ··· + αk xkº = 0 shows that α2¹λ2 − λ1ºx2 + ··· + αk¹λk − λ1ºxk = 0 • since x2,..., xk are linearly independent, α2 = ··· = αk = 0 • hence α1 = ··· = αk = 0, so x1,..., xk are linearly independent Schur decomposition 10.3 Multiplicity of eigenvalues Algebraic multiplicity • the multiplicity of the eigenvalue as a root of the characteristic polynomial • the sum of the algebraic multiplicities of the eigenvalues of an n × n matrix is n Geometric multiplicity • the geometric multiplicity is the dimension of null¹λI − Aº • the maximum number of linearly independent eigenvectors with eigenvalue λ • sum is the maximum number of linearly independent eigenvectors of the matrix Defective eigenvalue
    [Show full text]
  • Section 6.1.2: the Schur Decomposition 6.1.3: Nonunitary Decompositions
    Section 6.1.2: The Schur Decomposition 6.1.3: Nonunitary Decompositions Jim Lambers March 22, 2021 • Now that we have answered the first of the two questions posed earlier, by identifying a class of matrices for which eigenvalues are easily obtained, we move to the second question: how can a general square matrix A be reduced to (block) triangular form, in such a way that its eigenvalues are preserved? • That is, we need to find a similarity transformation (that is, A P −1AP for some P ) that can bring A closer to triangular form, in some sense. n n×n • With this goal in mind, suppose that x 2 C is a normalized eigenvector of A 2 C (that is, kxk2 = 1), with eigenvalue λ. • Furthermore, suppose that P is a Householder reflection such that P x = e1. (this can be done based on Section 4.2) • Because P is complex, it is Hermitian, meaning that P H = P , and unitary, meaning that P H P = I. • This the generalization of a real Householder reflection being symmetric and orthogonal. • Therefore, P is its own inverse, so P e1 = x. • It follows that the matrix P H AP , which is a similarity transformation of A, satisfies H H H P AP e1 = P Ax = λP x = λP x = λe1: H H • That is, e1 is an eigenvector of P AP with eigenvalue λ, and therefore P AP has the block structure λ vH P H AP = : (1) 0 B • Therefore, λ(A) = fλg [ λ(B), which means that we can now focus on the (n − 1) × (n − 1) matrix B to find the rest of the eigenvalues of A.
    [Show full text]
  • Comparison of Numerical Methods and Open-Source Libraries for Eigenvalue Analysis of Large-Scale Power Systems
    applied sciences Article Comparison of Numerical Methods and Open-Source Libraries for Eigenvalue Analysis of Large-Scale Power Systems Georgios Tzounas , Ioannis Dassios * , Muyang Liu and Federico Milano School of Electrical and Electronic Engineering, University College Dublin, Belfield, Dublin 4, Ireland; [email protected] (G.T.); [email protected] (M.L.); [email protected] (F.M.) * Correspondence: [email protected] Received: 30 September 2020; Accepted: 24 October 2020; Published: 28 October 2020 Abstract: This paper discusses the numerical solution of the generalized non-Hermitian eigenvalue problem. It provides a comprehensive comparison of existing algorithms, as well as of available free and open-source software tools, which are suitable for the solution of the eigenvalue problems that arise in the stability analysis of electric power systems. The paper focuses, in particular, on methods and software libraries that are able to handle the large-scale, non-symmetric matrices that arise in power system eigenvalue problems. These kinds of eigenvalue problems are particularly difficult for most numerical methods to handle. Thus, a review and fair comparison of existing algorithms and software tools is a valuable contribution for researchers and practitioners that are interested in power system dynamic analysis. The scalability and performance of the algorithms and libraries are duly discussed through case studies based on real-world electrical power networks. These are a model of the All-Island Irish Transmission System with 8640 variables; and, a model of the European Network of Transmission System Operators for Electricity, with 146,164 variables. Keywords: eigenvalue analysis; large non-Hermitian matrices; numerical methods; open-source libraries 1.
    [Show full text]