Computing Eigenvalues and Singular Values
- 43Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the central purpose of the QR method?
What is the central purpose of the QR method?
43 questions
- 1
What is the central purpose of the QR method?
- A
To solve linear systems by repeatedly forming matrix inverses
- B
To compute eigenvalues by repeatedly factoring and recombining a matrix
- C
To compute determinants by reducing a matrix to diagonal form
- D
To find singular values by directly differentiating a matrix function
Correct answer
BTo compute eigenvalues by repeatedly factoring and recombining a matrix
Explanation
The QR method computes eigenvalues by repeatedly factoring a matrix as QR and then reversing the factors to form RQ.
- A
- 2
In a QR factorization A=QR, what role does Q play?
- A
Q contains orthogonalized columns that form an orthogonal basis
- B
Q contains the eigenvalues of A on its diagonal
- C
Q is an upper-triangular matrix connecting the original columns
- D
Q is the inverse of A whenever A is nonsingular
Correct answer
AQ contains orthogonalized columns that form an orthogonal basis
Explanation
The columns of Q form an orthogonal basis obtained by orthogonalizing the columns of A.
- A
- 3
What structural property does R have in the QR factorization?
- A
R is diagonal and positive
- B
R is lower triangular
- C
R is symmetric and tridiagonal
- D
R is upper triangular
Correct answer
DR is upper triangular
Explanation
In A=QR, the matrix R is upper triangular and connects the original, generally nonorthogonal basis with the orthogonal basis in Q.
- A
- 4
How is the next matrix formed in the unshifted QR iteration?
- A
Factor Ak=QkRk and set Ak+1=RkQk
- B
Factor Ak=QkRk and set Ak+1=Rk−1Qk
- C
Factor Ak=QkRk and set Ak+1=QkTRk
- D
Factor Ak=QkRk and set Ak+1=QkRk−1
Correct answer
AFactor Ak=QkRk and set Ak+1=RkQk
Explanation
The QR iteration reverses the factors: Ak=QkRk is replaced by Ak+1=RkQk.
- A
- 5
Why does one unshifted QR iteration preserve the eigenvalues?
- A
Ak+1 has the same determinant but not necessarily the same spectrum
- B
Ak+1 is similar to Ak
- C
Ak+1 is obtained by multiplying Ak by a scalar
- D
Ak+1 has exactly the same entries as Ak
Correct answer
BAk+1 is similar to Ak
Explanation
Since Qk=AkRk−1, we have Ak+1=RkAkRk−1, which is a similarity transformation. Similar matrices have the same eigenvalues.
- A
- 6
What pattern does the QR iteration typically produce for many matrices?
- A
All entries become zero while the matrix size increases
- B
Entries below the main diagonal become progressively smaller
- C
Entries above the main diagonal become progressively larger without limit
- D
The matrix becomes diagonal after exactly one iteration
Correct answer
BEntries below the main diagonal become progressively smaller
Explanation
For most matrices, repeated QR iterations cause entries below the diagonal to decrease, making the matrix approach an upper-triangular form.
- A
- 7
Why do the diagonal entries of an approximately upper-triangular QR iterate approximate the eigenvalues?
- A
The QR factorization directly places each eigenvalue into a diagonal position
- B
The diagonal entries are always equal to the original matrix entries
- C
The iterates preserve the eigenvalues, and small off-diagonal entries have little effect on them
- D
The determinant forces every diagonal entry to equal an eigenvalue
Correct answer
CThe iterates preserve the eigenvalues, and small off-diagonal entries have little effect on them
Explanation
Each QR iterate has the same eigenvalues as the starting matrix. When the entries below the diagonal are small, the diagonal entries are close to those eigenvalues.
- A
- 8
In the illustrative 2×2 QR example, how does a particular off-diagonal entry change after successive iterations?
- A
It is multiplied successively by 3, 9, and 27
- B
It is raised successively to the third, ninth, and twenty-seventh powers
- C
It is divided successively by the third, ninth, and twenty-seventh powers
- D
It remains unchanged because QR iteration preserves every matrix entry
Correct answer
BIt is raised successively to the third, ninth, and twenty-seventh powers
Explanation
The example describes an off-diagonal entry changing to its third power, then its ninth power, and then its twenty-seventh power, illustrating rapid decay.
- A
- 9
What does cubic convergence mean in the example discussed?
- A
The relevant error is approximately cubed at each iteration
- B
The number of matrix entries is divided by three at each iteration
- C
The eigenvalues are computed exactly after three iterations
- D
The matrix is factored into three orthogonal matrices at each iteration
Correct answer
AThe relevant error is approximately cubed at each iteration
Explanation
Cubic convergence refers to errors or off-diagonal quantities being transformed approximately into their cubes at each iteration, producing very rapid convergence.
- A
- 10
What is the main computational cost in the QR method?
- A
Reversing the order of the factors
- B
Reading the diagonal entries of the iterate
- C
Adding a multiple of the identity matrix
- D
Computing the QR factorization at each iteration
Correct answer
DComputing the QR factorization at each iteration
Explanation
The dominant work is performing the QR factorization, often through a Gram–Schmidt-type orthogonalization process.
- A
- 11
What is a shift in the shifted QR method?
- A
An arbitrary nonsingular matrix added to A
- B
A diagonal matrix containing the exact eigenvalues
- C
A permutation of the rows and columns of A
- D
A scalar multiple of the identity matrix
Correct answer
DA scalar multiple of the identity matrix
Explanation
A shift has the form sI, where s is a scalar and I is the identity matrix.
- A
- 12
If Av=λv, what is the eigenvalue of A−sI associated with the same eigenvector v?
- A
sλ
- B
λ−s
- C
λ+s
- D
λ/s
Correct answer
Bλ−s
Explanation
(A−sI)v=Av−sv=(λ−s)v. Thus the eigenvectors stay the same while every eigenvalue is shifted by −s.
- A
- 13
What happens to the eigenvectors when sI is subtracted from a matrix?
- A
They are changed unless the matrix is symmetric
- B
They remain unchanged
- C
They become the rows of the shifted matrix
- D
They are all replaced by the columns of Q
Correct answer
BThey remain unchanged
Explanation
Subtracting sI changes each eigenvalue from λ to λ−s but leaves the corresponding eigenvectors unchanged.
- A
- 14
Why can a well-chosen shift accelerate QR convergence?
- A
A shift eliminates the need for QR factorization
- B
A shift changes the eigenvectors into an orthogonal basis automatically
- C
A shift can move an eigenvalue of interest close to zero before QR iteration
- D
A shift makes every matrix exactly diagonal after one step
Correct answer
CA shift can move an eigenvalue of interest close to zero before QR iteration
Explanation
If a shift is close to an eigenvalue, that eigenvalue becomes close to zero in the shifted matrix, which can substantially speed convergence.
- A
- 15
Which sequence correctly describes one shifted QR iteration?
- A
Add sI, diagonalize the matrix, reverse the eigenvectors, and subtract sI
- B
Subtract sI, form the determinant, reverse the rows, and add sI
- C
Shift by sI, factor the shifted matrix, reverse the factors, and add back sI
- D
Factor A, subtract sI from Q, reverse the factors, and invert the result
Correct answer
CShift by sI, factor the shifted matrix, reverse the factors, and add back sI
Explanation
The shifted method factors Ak−sI=QkRk, forms RkQk, and then adds sI back to obtain the next iterate.
- A
- 16
Why does the shifted QR iteration still preserve eigenvalues?
- A
The shifted matrix has exactly the same eigenvalues as the original at every stage
- B
The shift affects only the determinant and not the characteristic polynomial
- C
The shift is undone after the QR step, and the resulting matrix is similar to the original
- D
Adding sI after the QR step reverses the order of all eigenvalues
Correct answer
CThe shift is undone after the QR step, and the resulting matrix is similar to the original
Explanation
The algebra shows that the shift terms cancel in the similarity relation, so the shifted iteration remains similar to the preceding matrix.
- A
- 17
What is an upper Hessenberg matrix?
- A
A matrix with nonzero entries only on the main diagonal
- B
A matrix whose entries below the first subdiagonal are zero
- C
A matrix with equal entries on every diagonal
- D
A matrix whose entries above the first superdiagonal are zero
Correct answer
BA matrix whose entries below the first subdiagonal are zero
Explanation
An upper Hessenberg matrix is upper triangular except that one additional subdiagonal may contain nonzero entries; all entries below it are zero.
- A
- 18
Why is reducing a matrix to upper Hessenberg form useful for QR iteration?
- A
The reduction directly computes all eigenvalues exactly
- B
The zeros are preserved during QR iteration, reducing the computational work
- C
The reduction changes the problem from eigenvalues to determinants
- D
The Hessenberg form eliminates the need to preserve similarity
Correct answer
BThe zeros are preserved during QR iteration, reducing the computational work
Explanation
The zero structure of an upper Hessenberg matrix remains under the QR steps, allowing many operations to be skipped.
- A
- 19
What must the reduction to Hessenberg form preserve in an eigenvalue algorithm?
- A
The determinant while allowing the eigenvalues to change
- B
The original row and column ordering
- C
The exact values of every matrix entry
- D
Similarity to the original matrix
Correct answer
DSimilarity to the original matrix
Explanation
The reduction must be a similarity transformation so that the reduced matrix has the same eigenvalues as the original matrix.
- A
- 20
Why is complete reduction to an upper-triangular matrix not generally available through simple arithmetic formulas for eigenvalues?
- A
Similarity transformations always destroy zero entries below the diagonal
- B
Upper-triangular matrices cannot have eigenvalues
- C
Eigenvalues require solving a general polynomial, and degree-five-and-higher equations lack general radical formulas
- D
The QR factorization exists only for symmetric matrices
Correct answer
CEigenvalues require solving a general polynomial, and degree-five-and-higher equations lack general radical formulas
Explanation
The lecture connects the difficulty of exact eigenvalue formulas with the fact that general polynomial equations of degree five and higher cannot be solved by a simple formula using radicals.
- A
- 21
What is the standard first stage of a full QR eigenvalue algorithm?
- A
Form ATA and apply Gram–Schmidt to its rows
- B
Compute the determinant and solve its characteristic polynomial exactly
- C
Replace the matrix with a random sample of its entries
- D
Reduce the original matrix to Hessenberg form by a similarity transformation
Correct answer
DReduce the original matrix to Hessenberg form by a similarity transformation
Explanation
The full algorithm first uses a similarity transformation to obtain Hessenberg form, then applies shifted QR iteration.
- A
- 22
What is the second stage of a full QR eigenvalue algorithm?
- A
Apply shifted QR iteration to the Hessenberg matrix
- B
Apply Gaussian elimination until all entries vanish
- C
Replace the Hessenberg matrix by its inverse
- D
Convert the Hessenberg matrix into a determinant formula
Correct answer
AApply shifted QR iteration to the Hessenberg matrix
Explanation
After Hessenberg reduction, shifted QR iteration is applied while exploiting the preserved zero structure.
- A
- 23
If a matrix is both symmetric and upper Hessenberg, what form must it have?
- A
A diagonal form containing the exact eigenvalues
- B
A symmetric tridiagonal form
- C
A strictly upper-triangular form
- D
A dense symmetric form with no forced zeros
Correct answer
BA symmetric tridiagonal form
Explanation
Symmetry mirrors the Hessenberg zeros across the main diagonal, leaving nonzero entries only on the main diagonal and the two adjacent diagonals.
- A
- 24
Why does the QR iteration preserve symmetry when it starts with a symmetric matrix?
- A
Symmetry is preserved because all matrices become diagonal after one step
- B
The iteration can be expressed using an orthogonal similarity transformation
- C
The shift operation forces every entry to equal its transpose
- D
The upper-triangular factor is always symmetric
Correct answer
BThe iteration can be expressed using an orthogonal similarity transformation
Explanation
For an orthogonal Q, the transformation can be written as QAQT, which preserves symmetry when A is symmetric.
- A
- 25
What computational advantage does the symmetric tridiagonal reduction provide?
- A
It makes exact eigenvalue formulas available for every matrix size
- B
It reduces the relevant storage and work to roughly a number proportional to N
- C
It removes the need for orthogonal transformations
- D
It increases the matrix from order N to order N2
Correct answer
BIt reduces the relevant storage and work to roughly a number proportional to N
Explanation
A symmetric tridiagonal matrix is described by its diagonal and one adjacent diagonal, requiring only roughly 2N values rather than order N2 values.
- A
- 26
How are the singular values of A related to ATA?
- A
They are the eigenvalues of ATA without any modification
- B
They are the determinants of the principal submatrices of ATA
- C
They are the reciprocals of the eigenvalues of ATA
- D
They are the square roots of the eigenvalues of ATA
Correct answer
DThey are the square roots of the eigenvalues of ATA
Explanation
The singular values of A are the nonnegative square roots of the eigenvalues of ATA.
- A
- 27
Why is it generally undesirable to form ATA explicitly when computing singular values?
- A
Forming it can lose numerical information and worsen conditioning
- B
The product ATA never has real eigenvalues
- C
The product is impossible whenever A is rectangular
- D
The product destroys all singular vectors of A
Correct answer
AForming it can lose numerical information and worsen conditioning
Explanation
Although ATA theoretically determines the singular values, explicitly forming it can be numerically harmful and lose information.
- A
- 28
What operations preserve the singular values of a matrix?
- A
Addition of arbitrary nonsingular matrices on both sides
- B
Multiplication on the left and right by orthogonal matrices
- C
Multiplication on only one side by an arbitrary matrix
- D
Similarity transformation by any matrix and its inverse
Correct answer
BMultiplication on the left and right by orthogonal matrices
Explanation
If Q1 and Q2 are orthogonal, then Q1AQ2T has the same singular values as A.
- A
- 29
Why does multiplying an orthogonal matrix U on the left by another orthogonal matrix Q preserve orthogonality?
- A
(QU)−1=(QU)T
- B
(QU)−1=QU
- C
(QU)T=UQ
- D
(QU)(QU)T=Q2U2
Correct answer
A(QU)−1=(QU)T
Explanation
Because U−1=UT and Q−1=QT, we obtain (QU)−1=UTQT=(QU)T.
- A
- 30
How does the invariance of singular values differ from eigenvalue similarity invariance?
- A
There is no difference between the two invariance principles
- B
Singular values require the same arbitrary factor and its inverse on both sides
- C
Singular values allow different orthogonal factors on the left and right
- D
Eigenvalues allow only orthogonal factors, whereas singular values allow none
Correct answer
CSingular values allow different orthogonal factors on the left and right
Explanation
Eigenvalues are preserved by similarity transformations such as QAQ−1, while singular values are preserved by Q1AQ2T with potentially different orthogonal matrices.
- A
- 31
What form can orthogonal transformations reduce a general matrix to for singular-value computation?
- A
A completely diagonal form containing the singular values
- B
Upper Hessenberg form only
- C
A strictly lower-triangular form
- D
Bidiagonal form
Correct answer
DBidiagonal form
Explanation
Because different orthogonal matrices may be used on the left and right, a general matrix can be reduced to bidiagonal form.
- A
- 32
What is the benefit of reducing a matrix to bidiagonal form before computing its singular values?
- A
The matrix no longer requires any orthogonal transformations
- B
The reduction converts the singular-value problem into a determinant calculation
- C
The zero structure makes subsequent QR-type iterations faster
- D
The singular values can then be read directly from every diagonal entry
Correct answer
CThe zero structure makes subsequent QR-type iterations faster
Explanation
Bidiagonal form contains many zeros that remain useful during the second stage of the algorithm, making each iteration efficient.
- A
- 33
If A is bidiagonal, what structure does ATA have?
- A
It is diagonal for every bidiagonal A
- B
It is dense with no predictable zero pattern
- C
It is tridiagonal
- D
It is upper triangular with no lower entries
Correct answer
CIt is tridiagonal
Explanation
The adjacent nonzero structure of a bidiagonal matrix produces a tridiagonal structure in ATA.
- A
- 34
Why is forming a determinant a poor numerical method for solving an eigenvalue problem?
- A
It preserves too much information and therefore requires excessive memory
- B
It is very slow and can be hopelessly ill-conditioned because it compresses much information into few coefficients
- C
It is always faster than QR but works only for nonsymmetric matrices
- D
It produces singular values instead of eigenvalues
Correct answer
BIt is very slow and can be hopelessly ill-conditioned because it compresses much information into few coefficients
Explanation
The determinant approach is described as extremely slow and ill-conditioned because many pieces of matrix information are compressed into a small number of polynomial coefficients.
- A
- 35
What approximate complexity is associated with obtaining eigenvalues to a specified tolerance using the discussed QR-based approach?
- A
Approximately N3 operations
- B
Approximately N operations
- C
Approximately logN operations
- D
An infinite number of operations for every tolerance
Correct answer
AApproximately N3 operations
Explanation
The lecture states that the eigenvalue problem can be solved to within an error tolerance in a number of steps proportional to N3.
- A
- 36
Why may the QR method become unsuitable for extremely large matrices?
- A
QR factorization stops existing when the matrix has more than N rows
- B
The cubic computational cost becomes too large as the matrix dimension grows
- C
Similarity transformations cease to preserve eigenvalues for large matrices
- D
Hessenberg reduction becomes impossible for matrices larger than 2×2
Correct answer
BThe cubic computational cost becomes too large as the matrix dimension grows
Explanation
Although highly successful for large matrices, a cost proportional to N3 can become prohibitive when N is extremely large.
- A
- 37
What is the basic idea of a Krylov subspace method?
- A
Replace a large matrix by its determinant and solve a scalar equation
- B
Approximate the action of a large matrix on the space generated by b,Ab,A2b,…
- C
Compute every eigenvector explicitly before reducing the matrix
- D
Use random entries to construct a new matrix of the same size
Correct answer
BApproximate the action of a large matrix on the space generated by b,Ab,A2b,…
Explanation
A Krylov method builds a space from repeated products of a starting vector with A, then studies the matrix restricted to that lower-dimensional space.
- A
- 38
Which set of vectors generates a typical 100-dimensional Krylov subspace?
- A
The first 100 rows of A
- B
b,Ab,A2b,…,A99b
- C
b,A2b,A4b,…,A200b
- D
The first 100 eigenvectors of A
Correct answer
Bb,Ab,A2b,…,A99b
Explanation
The Krylov space of dimension 100 is generated by b through A99b.
- A
- 39
Why can a Krylov method reduce a million-dimensional eigenvalue problem to a 100×100 problem?
- A
It assumes the original matrix has rank exactly 100
- B
It deletes all but 100 rows and columns without changing the eigenvalues
- C
It approximates the matrix action within a 100-dimensional subspace generated by repeated matrix-vector products
- D
It computes the remaining eigenvalues from the determinant automatically
Correct answer
CIt approximates the matrix action within a 100-dimensional subspace generated by repeated matrix-vector products
Explanation
The method represents vectors using a basis for a 100-dimensional Krylov subspace and studies the action of A there, producing a smaller approximate eigenvalue problem.
- A
- 40
What approximation is made when a Krylov method ignores the component of Av outside the chosen Krylov subspace?
- A
The matrix action is treated as if it were contained entirely within the subspace
- B
The ignored component is assumed to contain all desired eigenvectors
- C
The matrix is assumed to be exactly diagonal in the original basis
- D
The matrix is replaced by its transpose before multiplication
Correct answer
AThe matrix action is treated as if it were contained entirely within the subspace
Explanation
For a vector v in the Krylov space, Av may have a component outside that space. The method ignores that component and restricts attention to the in-space action.
- A
- 41
Why is orthogonalizing Krylov vectors important?
- A
It guarantees that every approximate eigenvalue is exact
- B
It makes the original matrix exactly sparse
- C
It produces a stable basis for representing the smaller projected problem
- D
It eliminates all matrix-vector multiplications
Correct answer
CIt produces a stable basis for representing the smaller projected problem
Explanation
The generated Krylov vectors can be orthogonalized using a Gram–Schmidt-type procedure to provide a useful basis for the reduced problem.
- A
- 42
What determines whether a Krylov approximation captures an eigenvalue well?
- A
Whether the corresponding eigenvector is well approximated by the Krylov subspace
- B
Whether the starting vector is itself an exact eigenvector in every case
- C
Whether the matrix determinant is close to zero
- D
Whether the matrix has no zero entries
Correct answer
AWhether the corresponding eigenvector is well approximated by the Krylov subspace
Explanation
The reduced problem is accurate when the eigenvectors of interest are nearly contained in the Krylov subspace.
- A
- 43
Why are Krylov methods especially attractive for sparse, very large matrices?
- A
They convert every sparse matrix into a dense matrix before iteration
- B
They require computing all entries of the matrix inverse
- C
They determine all eigenvalues exactly from one starting vector
- D
They can use repeated matrix-vector products without forming or processing the full dense matrix
Correct answer
DThey can use repeated matrix-vector products without forming or processing the full dense matrix
Explanation
Krylov methods exploit the ability to generate a lower-dimensional space through matrix-vector products, which is particularly useful when the original matrix is huge and sparse.
- A

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