NLA Visualizations

3. Stationary Iterative Methods

Visualizing iterative processes and error decomposition

Formulation

To solve Amathbfx=mathbfbA\\mathbf{x} = \\mathbf{b}, we split A=MNA = M - N.

mathbfx=M1Nmathbfx+M1mathbfb\\mathbf{x} = M^{-1}N\\mathbf{x} + M^{-1}\\mathbf{b}
mathbfx(k)=M1Nmathbfx(k1)+M1mathbfb\\mathbf{x}^{(k)} = M^{-1}N\\mathbf{x}^{(k-1)} + M^{-1}\\mathbf{b}

We define the iteration matrix G=M1NG = M^{-1}N. The error mathbfe(k)=mathbfx(k)mathbfx\\mathbf{e}^{(k)} = \\mathbf{x}^{(k)} - \\mathbf{x} follows the simple recurrence:

mathbfe(k)=Gmathbfe(k1)\\mathbf{e}^{(k)} = G \\mathbf{e}^{(k-1)}

Geometric Model

G=[0.82.000.5]G = \begin{bmatrix} 0.8 & 2.0 \\ 0 & 0.5 \end{bmatrix}

Spectral Radius: rho(G)=0.8<1\\rho(G) = 0.8 < 1

Transient Growth

Even though rho(G)<1\\rho(G) < 1, the highly non-normal matrix GG causes the error norm to oscillate and even grow initially before eventually decaying. Notice how the error vector first converges to the dominant direction before steadily decreasing.

Controls

135°
Iteration: 0
Solution Space (x)
Error Space (e)