1. Home
  2. Explore
  3. Mathematics
  4. Computing Eigenvalues and Singular Values

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Computing Eigenvalues and Singular Values

  • 50Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: QR Eigenvalue Method

What is the main purpose of the QR method?

50 questions

  1. 1

    What is the main purpose of the QR method?

    Model answer

    The QR method computes the eigenvalues of a matrix by repeatedly factoring the matrix into an orthogonal matrix and an upper-triangular matrix, then reversing their order.

    Explanation

    Although eigenvalues can be computed with software commands such as eig, the underlying algorithm relies on repeated QR factorizations.

  2. 2

    What do the factors QQQ and RRR represent in a QR factorization A=QRA = QRA=QR?

    Model answer

    QQQ has orthonormal columns obtained by orthogonalizing the columns of AAA, while RRR is upper triangular and relates the original basis to the orthonormal basis.

    Explanation

    The QR factorization replaces a generally nonorthogonal column basis with an orthogonal one and records the change of basis in RRR.

  3. 3

    How is the next matrix formed in the unshifted QR iteration?

    Model answer

    After factoring Ak=QkRkA_k = Q_kR_kAk​=Qk​Rk​, the next matrix is formed by reversing the factors: Ak+1=RkQkA_{k+1} = R_kQ_kAk+1​=Rk​Qk​.

    Explanation

    The method repeatedly factors the current matrix and multiplies the factors in the opposite order.

  4. 4

    Why does one QR iteration preserve the eigenvalues?

    Model answer

    Since Qk=AkRk−1Q_k = A_kR_k^{-1}Qk​=Ak​Rk−1​, the next matrix satisfies Ak+1=RkAkRk−1A_{k+1} = R_kA_kR_k^{-1}Ak+1​=Rk​Ak​Rk−1​, so it is similar to AkA_kAk​ and has the same eigenvalues.

    Explanation

    Similarity transformations preserve the characteristic polynomial and therefore preserve eigenvalues.

  5. 5

    What matrix property is used to show that two matrices have the same eigenvalues?

    Model answer

    The matrices can be shown to be similar, meaning one has the form PAP−1PAP^{-1}PAP−1 for an invertible matrix PPP.

    Explanation

    Similarity is the standard test because similar matrices have identical eigenvalues, including algebraic multiplicities.

  6. 6

    What happens to the entries below the diagonal during QR iteration for most matrices?

    Model answer

    The entries below the diagonal tend to become smaller and eventually approach zero, causing the matrix to approach an upper-triangular form.

    Explanation

    As the lower-triangular entries become small, the diagonal entries reveal approximations to the eigenvalues.

  7. 7

    Why do the diagonal entries of the nearly triangular matrix approximate the eigenvalues?

    Model answer

    Each QR iterate has the same eigenvalues as the original matrix, and when the entries below the diagonal are small, the diagonal entries of the nearly triangular matrix are close to those eigenvalues.

    Explanation

    The diagonal entries of an exactly triangular matrix are its eigenvalues; the QR iteration approaches this situation.

  8. 8

    What convergence behavior is illustrated by the 222-by-222 QR example?

    Model answer

    An off-diagonal entry is transformed approximately into its cube at one step, then into its ninth power and its twenty-seventh power in later steps, so it approaches zero very rapidly.

    Explanation

    This behavior illustrates cubic convergence for that example.

  9. 9

    Why is the QR method considered numerically powerful for eigenvalue computation?

    Model answer

    It computes increasingly accurate eigenvalue approximations through similarity-preserving iterations, often converging rapidly without requiring an explicit formula for the eigenvalues.

    Explanation

    The method can approximate eigenvalues to a chosen tolerance even when exact algebraic formulas are unavailable.

  10. 10

    What is a shift in the shifted QR method?

    Model answer

    A shift is a scalar multiple of the identity matrix, usually written as sIsIsI, that is subtracted from the current matrix before QR factorization.

    Explanation

    The shifted method applies QR iteration to Ak−sIA_k-sIAk​−sI and then adds the shift back afterward.

  11. 11

    How does subtracting sIsIsI affect the eigenvectors and eigenvalues of a matrix?

    Model answer

    The eigenvectors remain unchanged, while each eigenvalue lambda\\lambdalambda becomes lambda−s\\lambda-slambda−s.

    Explanation

    If Av=λvAv=\lambda vAv=λv, then (A−sI)v=(λ−s)v(A-sI)v=(\lambda-s)v(A−sI)v=(λ−s)v because Iv=vIv=vIv=v.

  12. 12

    Describe one complete step of the shifted QR iteration.

    Model answer

    Form Ak−sIA_k-sIAk​−sI, factor it as QkRkQ_kR_kQk​Rk​, reverse the factors to obtain RkQkR_kQ_kRk​Qk​, and add sIsIsI back to form Ak+1A_{k+1}Ak+1​.

    Explanation

    The shift changes the matrix used in the factorization but is undone after the factors are reversed.

  13. 13

    Why does a shift often accelerate QR convergence?

    Model answer

    A well-chosen shift can move an eigenvalue close to zero in the shifted matrix, causing the corresponding part of the iteration to converge more quickly.

    Explanation

    Choosing a shift near a desired eigenvalue improves the rate at which the associated off-diagonal entries decay.

  14. 14

    Why does the shifted QR iteration still preserve the original eigenvalues?

    Model answer

    The shift changes the eigenvalues temporarily and the same shift is added back after the QR step; algebraically, the resulting matrix is still similar to the original iterate.

    Explanation

    The added and subtracted multiples of the identity cancel in the similarity calculation.

  15. 15

    What is the main computational cost in the QR method?

    Model answer

    The main computational cost is performing the QR factorization at each iteration.

    Explanation

    Shifting and reversing the factors require comparatively little work; repeated QR factorizations dominate the computation.

  16. 16

    Why can exploiting zeros in a matrix make QR iteration faster?

    Model answer

    Zeros allow the QR factorization to skip many operations, reducing the amount of computation required at every iteration.

    Explanation

    The algorithm becomes substantially cheaper when the matrix has a structured pattern of zeros that is preserved.

  17. 17

    What is an upper Hessenberg matrix?

    Model answer

    An upper Hessenberg matrix has zeros below its first subdiagonal, so it contains the main diagonal, one additional diagonal below it, and the entries above.

    Explanation

    It is almost upper triangular but retains one nonzero diagonal below the main diagonal.

  18. 18

    Why is it useful to reduce a matrix to upper Hessenberg form before applying QR iteration?

    Model answer

    The zeros below the first subdiagonal reduce the work required for QR factorization, and the Hessenberg structure is preserved during the iteration.

    Explanation

    The reduction creates a sparse pattern that makes all subsequent QR steps more efficient.

  19. 19

    What kind of transformation is used to reduce a matrix to Hessenberg form without changing its eigenvalues?

    Model answer

    A similarity transformation, typically constructed from orthogonal matrices, is used so that the reduced matrix has the same eigenvalues as the original.

    Explanation

    Similarity preserves eigenvalues while allowing the matrix structure to be simplified.

  20. 20

    Why can ordinary elimination reduce a system matrix to triangular form, whereas eigenvalue computation cannot generally do so by simple steps?

    Model answer

    Elimination solves a linear system, but triangularizing a matrix by similarity would reveal all eigenvalues directly, which is generally impossible through simple algebraic operations.

    Explanation

    The eigenvalues are roots of a high-degree characteristic equation, making the eigenvalue problem fundamentally harder than solving Ax=bAx=bAx=b.

  21. 21

    What mathematical limitation prevents general exact formulas for eigenvalues of sufficiently large matrices?

    Model answer

    For characteristic equations of degree 555 or higher, there is generally no formula using only simple arithmetic operations and radicals for the roots.

    Explanation

    This limitation means numerical methods must approximate eigenvalues rather than compute them exactly in general.

  22. 22

    Why does the inability to solve general fifth-degree equations matter for eigenvalue algorithms?

    Model answer

    Since eigenvalues satisfy the characteristic equation, a general matrix of size 555 or larger cannot usually have its eigenvalues expressed by a simple exact formula.

    Explanation

    Numerical algorithms such as QR are therefore used to obtain eigenvalues to any desired tolerance.

  23. 23

    What are the two main stages of the practical QR eigenvalue algorithm?

    Model answer

    First reduce the matrix to upper Hessenberg form using a similarity transformation; then apply shifted QR iteration to the Hessenberg matrix.

    Explanation

    The first stage creates exploitable zeros, and the second stage drives the remaining lower entries toward zero.

  24. 24

    What happens to a symmetric matrix during QR iteration?

    Model answer

    If the initial matrix is symmetric, every QR iterate remains symmetric.

    Explanation

    The QR update can be expressed using an orthogonal similarity transformation, and orthogonal similarity preserves symmetry in this setting.

  25. 25

    Why is the inverse of an orthogonal matrix equal to its transpose?

    Model answer

    An orthogonal matrix QQQ satisfies QTQ=IQ^TQ=IQTQ=I, so multiplying by Q−1Q^{-1}Q−1 gives Q−1=QTQ^{-1}=Q^TQ−1=QT.

    Explanation

    This identity is central to expressing orthogonal similarity transformations and simplifying symmetric eigenvalue problems.

  26. 26

    Why is a symmetric upper Hessenberg matrix tridiagonal?

    Model answer

    Upper Hessenberg structure makes all entries below the first subdiagonal zero, and symmetry forces the corresponding entries above the first superdiagonal to be zero as well.

    Explanation

    Only the main diagonal and the first diagonals immediately above and below it can remain nonzero.

  27. 27

    How does tridiagonal structure reduce the cost of symmetric eigenvalue computation?

    Model answer

    A tridiagonal matrix has only about 2n2n2n independent nonzero entries rather than order n2n^2n2, so each QR step can be performed much more quickly.

    Explanation

    The diagonal and one adjacent diagonal on each side contain all the necessary information; symmetry makes the two off-diagonal diagonals identical.

  28. 28

    What is the practical QR strategy for a symmetric matrix?

    Model answer

    Reduce the symmetric matrix to symmetric tridiagonal form, then apply QR iteration while preserving the tridiagonal structure.

    Explanation

    This is more efficient than applying the general dense QR algorithm because symmetry provides additional zeros.

  29. 29

    How are the singular values of a matrix related to the eigenvalues of ATAA^TAATA?

    Model answer

    The singular values of AAA are the nonnegative square roots of the eigenvalues of ATAA^TAATA.

    Explanation

    The eigenvalues of ATAA^TAATA are the squared singular values.

  30. 30

    Why should one avoid explicitly forming ATAA^TAATA when computing singular values?

    Model answer

    Forming ATAA^TAATA can be numerically less stable and may worsen conditioning, so practical SVD algorithms work with AAA directly or use orthogonal transformations.

    Explanation

    Although ATAA^TAATA gives the correct theoretical relationship, explicitly forming it can lose numerical information.

  31. 31

    What operations preserve the singular values of a matrix?

    Model answer

    Multiplication on the left and right by orthogonal matrices preserves the singular values: Q1AQ2TQ_1AQ_2^TQ1​AQ2T​ has the same singular values as AAA.

    Explanation

    The left and right orthogonal factors can be different, unlike eigenvalue similarity transformations, which use a matrix and its inverse.

  32. 32

    Why does multiplying a matrix by an orthogonal matrix on the left preserve its singular values?

    Model answer

    If A=UΣVTA=U\Sigma V^TA=UΣVT, then Q1A=(Q1U)ΣVTQ_1A=(Q_1U)\Sigma V^TQ1​A=(Q1​U)ΣVT, and Q1UQ_1UQ1​U is still orthogonal, so the singular-value matrix Σ\SigmaΣ is unchanged.

    Explanation

    The product of two orthogonal matrices is orthogonal, leaving the middle diagonal factor in the SVD unchanged.

  33. 33

    Why does multiplying a matrix by an orthogonal matrix on the right preserve its singular values?

    Model answer

    If A=UΣVTA=U\Sigma V^TA=UΣVT, then AQ2T=UΣ(VQ2)TAQ_2^T=U\Sigma(VQ_2)^TAQ2T​=UΣ(VQ2​)T, and VQ2VQ_2VQ2​ is orthogonal, so the singular values in Σ\SigmaΣ remain unchanged.

    Explanation

    Right multiplication changes the singular vectors but not the diagonal singular-value factor.

  34. 34

    How does singular-value invariance provide more freedom than eigenvalue similarity?

    Model answer

    Eigenvalue preservation generally requires a similarity transformation using the same change of basis on both sides, whereas singular values remain unchanged under independent orthogonal transformations on the left and right.

    Explanation

    This additional freedom allows a general matrix to be reduced further than tridiagonal form.

  35. 35

    What is a bidiagonal matrix?

    Model answer

    A bidiagonal matrix has nonzero entries only on the main diagonal and either the first superdiagonal or the first subdiagonal.

    Explanation

    Bidiagonal structure contains two diagonals of potentially nonzero entries and zeros elsewhere.

  36. 36

    Why can a general matrix be reduced to bidiagonal form when computing its singular values?

    Model answer

    Because independent orthogonal transformations can be applied on the left and right without changing the singular values, allowing zeros to be introduced until only two diagonals remain.

    Explanation

    This is more extensive than the single-sided similarity transformations used for eigenvalues.

  37. 37

    What are the two stages of a practical SVD algorithm based on bidiagonalization?

    Model answer

    First reduce AAA to bidiagonal form using orthogonal transformations; then apply a QR-type iteration to the bidiagonal matrix.

    Explanation

    The first stage creates a sparse structure, and the second stage computes the singular values efficiently from that structure.

  38. 38

    What structure does ATAA^TAATA have when AAA is bidiagonal?

    Model answer

    The matrix ATAA^TAATA is symmetric tridiagonal.

    Explanation

    The limited nonzero pattern of a bidiagonal matrix causes products of nonadjacent columns to vanish, leaving only the main and adjacent diagonals.

  39. 39

    How do bidiagonal reduction and symmetric tridiagonal reduction correspond to each other?

    Model answer

    Reducing AAA to bidiagonal form makes the associated matrix ATAA^TAATA symmetric tridiagonal, connecting the singular-value problem to the symmetric eigenvalue problem.

    Explanation

    The two reductions produce matching sparse structures for eigenvalue and singular-value computation.

  40. 40

    Why are exact eigenvalues generally replaced by approximations in numerical linear algebra?

    Model answer

    General characteristic equations may not have simple exact solutions, but iterative methods can approximate the eigenvalues to any desired tolerance.

    Explanation

    Numerical computation obtains accurate answers without requiring closed-form formulas.

  41. 41

    What is the approximate computational complexity stated for obtaining eigenvalues to a chosen tolerance with QR-type methods?

    Model answer

    The computation requires on the order of n3n^3n3 steps.

    Explanation

    This cubic scaling is practical for large but not extremely large matrices.

  42. 42

    Why might the QR method become unsuitable for extremely large matrices?

    Model answer

    Its computational and storage costs grow substantially with matrix size, so applying dense QR iterations to a very large matrix can become too expensive.

    Explanation

    When the matrix is too large, algorithms that work with a lower-dimensional subspace become attractive.

  43. 43

    What is the Krylov subspace generated by a vector bbb and a matrix AAA?

    Model answer

    A Krylov subspace is spanned by successive matrix-vector products, such as b,Ab,A2b,…,Am−1bb, Ab, A^2b,\ldots,A^{m-1}bb,Ab,A2b,…,Am−1b.

    Explanation

    These vectors can be generated efficiently by repeatedly multiplying by AAA.

  44. 44

    How does a Krylov method reduce a very large eigenvalue problem?

    Model answer

    It restricts the action of the large matrix AAA to a much smaller Krylov subspace and solves the resulting reduced eigenvalue problem.

    Explanation

    For example, a matrix with dimension one million might be approximated using a subspace of dimension 100100100.

  45. 45

    How is a vector in a Krylov subspace represented?

    Model answer

    A vector can be represented as a linear combination such as c1b+c2Ab+c3A2b+⋯+cmAm−1bc_1b+c_2Ab+c_3A^2b+\cdots+c_mA^{m-1}bc1​b+c2​Ab+c3​A2b+⋯+cm​Am−1b, possibly plus a neglected error component.

    Explanation

    The coefficients specify the vector relative to the Krylov basis.

  46. 46

    Why can a Krylov method ignore a component outside the chosen Krylov subspace?

    Model answer

    If the chosen subspace captures the eigenvectors or eigencomponents of interest well, the outside component is expected to have only a small effect on the desired eigenvalue approximations.

    Explanation

    The accuracy depends on how effectively the finite-dimensional subspace represents the relevant eigenvectors.

  47. 47

    Why is orthogonalization used on Krylov vectors?

    Model answer

    Orthogonalization produces a numerically useful basis for the Krylov subspace and prevents the generated vectors from becoming too linearly dependent.

    Explanation

    The process uses Gram-Schmidt or a related orthogonalization procedure.

  48. 48

    What is the reduced matrix in a Krylov method intended to approximate?

    Model answer

    It approximates the action of the large matrix AAA restricted to the selected Krylov subspace.

    Explanation

    Its eigenvalues, often called approximate or projected eigenvalues, can provide estimates of eigenvalues of the original matrix.

  49. 49

    What determines whether a Krylov method accurately captures particular eigenvalues?

    Model answer

    Accuracy depends on whether the Krylov subspace contains good approximations to the corresponding eigenvectors or eigencomponents.

    Explanation

    The method may approximate some eigenvalues well without reliably producing a predetermined set, such as exactly the lowest 100100100 eigenvalues.

  50. 50

    Why are Krylov methods especially useful for sparse, very large matrices?

    Model answer

    They require repeated matrix-vector products rather than dense matrix factorizations, making them practical when the matrix is too large for full QR iteration and sparse multiplication is efficient.

    Explanation

    The method uses a relatively small number of vectors to represent the behavior of a much larger matrix.

1 of 50
Question 1 of 50

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent