A1336 of 55
0 XP
  1. Hook
  2. Problems

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 ωopt?

Check

4x1+x2=5, x1+4x2=9, from (0, 0).

(a)

After one Jacobi sweep, what's x2?

(b)

After one Gauss–Seidel sweep, what's x2?

Check

SOR on a 50 × 50 grid.

(a)

What's ωopt?

(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 10−6?

Check

CG on (3112)x=(13) from zero.

(a)

What's α0?

(b)

Where does CG end up after two steps: what's x1 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 (2112)?

Check

One unshifted QR step on (3112).

(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 (Is=10−14 A, nVT = 25.85 mV) linearized at 0.62 V.

(a)

What's gd?

Write units the way you normally would: 1.5 mS, 1500 µS and 0.0015 S are the same answer.

(b)

What's Ieq?

Check

Newton for F=(x2+y2−4,ex+y−1), 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?

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.