Numerical Methods Contents - SAM
Numerical Methods Contents - SAM
Numerical Methods Contents - SAM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
x (0) = 0 ➣ r 0 = e n ➣ K l (A,r 0 ) = Span {e n ,e n−1 ,...,e n−l+1 }<br />
{<br />
min{‖y − x‖ 2 : y ∈ K l (A,r 0 )} =<br />
1 , if l ≤ n ,<br />
0 , for l = n .<br />
✸<br />
Advantages of Krylov methods vs. direct elimination (, IF they converge at all/sufficiently fast).<br />
• They require system matrix A in procedural form y=evalA(x) ↔ y = Ax only.<br />
• They can perfectly exploit sparsity of system matrix.<br />
• They can cash in on low accuracy requirements (, IF viable termination criterion available).<br />
✗<br />
✖<br />
TRY<br />
& PRAY<br />
✔<br />
✕<br />
• They can benefit from a good initial guess.<br />
Example 4.4.3 (Convergence of Krylov subspace methods for non-symmetric system matrix).<br />
A = gallery(’tridiag’,-0.5*ones(n-1,1),2*ones(n,1),-1.5*ones(n-1,1));<br />
B = gallery(’tridiag’,0.5*ones(n-1,1),2*ones(n,1),1.5*ones(n-1,1));<br />
Plotted: ‖r l ‖ 2 : ‖r 0 ‖ 2 :<br />
Ôº¿ º<br />
Ôº¿½ º<br />
bicgstab<br />
qmr<br />
bicgstab<br />
qmr<br />
Relative 2−norm of residual<br />
10 3 iteration step<br />
10 2<br />
10 1<br />
10 0<br />
10 −1<br />
0 5 10 15 20 25<br />
tridiagonal matrix A<br />
Relative 2−norm of residual<br />
10 0 iteration step<br />
10 −1<br />
10 −2<br />
10 −3<br />
0 5 10 15 20 25<br />
tridiagonal matrix B ✸<br />
5 Eigenvalues<br />
Example 5.0.1 (Resonances of linear electric circuits).<br />
➀<br />
C 1 ➁ R 1 ➂<br />
Circuit from Ex. 2.0.1<br />
✄<br />
U ~ L<br />
R R 2<br />
(linear components only, time-harmonic excitation, 5 C 2<br />
“frequency domain”)<br />
R4 R 3<br />
Summary:<br />
➃ ➄ ➅<br />
Ex. 2.0.1: nodal analysis of linear (↔ composed of resistors, inductors, capacitors) electric circuit<br />
in frequency domain (at angular frequency ω > 0) , see (2.0.2))<br />
Fig. 55<br />
Ôº¿¼ º<br />
➣<br />
linear system of equations for nodal potentials with complex system matrix A<br />
Ôº¿¾ º¼