Problem 5
Problem 5
Problem Set 5
Numerical Linear Algebra
The following questions are based upon the material covered in Chapter 3 of the notes.
Q1 Use LU-factorisation to show that the solution of the tridiagonal system of equations
4 1 0 0 1
1 2 3 0 0
0 3 1 1 x = 1
0 0 2 2 0
1 1 5 5 T
is x = 6 , 3 , − 18 , 18 . Retain the use of exact fractions throughout your calculations.
Q3 Example 3.2 in the notes demonstrates that Gauss-Seidel is not always superior to Jacobi. This is also
the case for the system of equations with coefficient matrix
1 0 1
A = −1 1 0 .
1 2 −3
1
(v) By comparing the above characteristic equation with the expanded form of C(λ) ≡ (λ−λ1 )(λ−
λ2 )(λ− λ̄2 ) = 0, deduce the magnitude of the complex roots. Hence show that Jacobi converges
in this case, even though you have not yet derived the exact form of all the eigenvalues.
(vi) Use the coefficient of λ2 in C(λ) to deduce both the real and imaginary parts of λ2 .
(vii) Hence plot two diagrams showing the eigenvalues and the Gerschgorin row and column disks
of HJ .
Q4 By expressing the n-dimensional initial error vector e(0) in equation (3.17) as a linear combination
of n linearly independent eigenvectors of H, deduce the necessary condition for convergence, i.e.
ρ(H) < 1.
Q6 A function satisfies the Poisson equation ∆u = −2 in the square region −1 < x, y < 1, and is zero
everywhere on the boundary of the square.
(i) Use the (5,+) molecule on a square mesh with h = k = 1 to approximate the value of u(0, 0).
(ii) On a square mesh with h = k = 21 , use symmetry arguments to show that there are just three
points (of the nine possible) at which u takes different values. Using the (5,+) molecule, estab-
lish three equations in the three unknown values of u and show that they have solution 0.5625,
0.34375 and 0.4375.
(iii) Solve the problem with h = k = 1 using the 9-point Mehrstellenverfahren scheme in §2.2.2.
1
(iv) Solve the problem with h = k = 2 using the 9-point Mehrstellenverfahren scheme.
(v) Solve (3.43) in the notes for p. Given that the exact answers to 5 decimal places are 0.58937,
0.36229 and 0.45868, use the above numerical results at (0, 0) to determine the error order p for
both the 5-point and 9-point schemes.