A13 · Problem set 7
Problem set 7: iterative solvers, eigenvalues and nonlinear systems
These problems use lessons 27 to 34: Jacobi, Gauss–Seidel and SOR; conjugate gradients; power and inverse iteration; the QR algorithm; and Newton's method for systems, including circuits.
Check
The model problem on a 40 × 40 grid, to 6 digits.
(a)
How many Gauss–Seidel sweeps?
(b)
How many SOR sweeps at ?
Check
, , from (0, 0).
(a)
After one Jacobi sweep, what's ?
(b)
After one Gauss–Seidel sweep, what's ?
Check
SOR on a 50 × 50 grid.
(a)
What's ?
(b)
What's the spectral radius there?
Check
A system with κ = 2500.
(a)
Steepest descent's factor per step?
(b)
About how many CG steps for ?
Check
CG on from zero.
(a)
What's ?
(b)
Where does CG end up after two steps: what's of the solution?
Check
A matrix's two largest eigenvalues are 6 and 2.
(a)
What's power iteration's ratio?
(b)
About how many steps for 12 digits in the eigenvector?
Check
Eigenvalues 1, 2 and 5; inverse iteration with σ = 1.8. Then a Rayleigh quotient.
(a)
What's the inverse-iteration ratio?
(b)
Rayleigh quotient of (3, 1) for ?
Check
One unshifted QR step on .
(a)
What's the new (1, 1) entry?
(b)
What's the new off-diagonal?
Check
The symmetric matrix (2, 1; 1, 4).
(a)
What's its larger eigenvalue?
(b)
By what factor does unshifted QR shrink the off-diagonal per step?
Check
Poles and cost.
(a)
A series RLC with R = 20 Ω and L = 2 mH, underdamped: real part of its poles?
(b)
All eigenvalues of a dense 3000 × 3000 matrix at 200 GFLOP/s?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A diode ( A, = 25.85 mV) linearized at 0.62 V.
(a)
What's ?
Write units the way you normally would: 1.5 mS, 1500 µS and 0.0015 S are the same answer.
(b)
What's ?
Check
Newton for , and Jacobian cost.
(a)
What's det J at (0.5, 1)?
(b)
How many F evaluations does a forward-difference Jacobian take for n = 2000, counting the current point?
Check
A multigrid V-cycle in 2 dimensions with one sweep per level.
(a)
How many fine-grid sweeps' worth of smoothing does it cost?
Check
A matrix's singular values fall geometrically: with r = 0.5.
(a)
What is the 2-norm error of the best rank-10 approximation?
Check
Newton's method on at (1, −1).
(a)
What is the Jacobian's determinant?
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
15 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.