Documente Academic
Documente Profesional
Documente Cultură
1 1 2 -4 x1 0
2 -1 3 1 x2 = 5
3 1 -1 2 x3 5
1 -1 -1 1 x4 0
By [L][U] factorization.
By [L][D][L] T decomposition.
4 2 0 0 4
2 8 2 0 = 0
0 2 8 2 0
0 0 2 4 0
1 0 2 3 1
-1 2 2 -3 = -1
0 1 1 4 2
6 2 2 4 1
x1 + 2x2 + 3x3 = 2
3x1 + 6x2 + x3 = 14
x1 + x2 + x3 = 2
20x1 + 2x2 - x3 = 25
2x1 + 13x2 - 2x3 = 30
x1 + x2 + x3 = 2
Using (a) Jacobi and (b) Gauss-Seidel iterations, using a starting guess
x1 = x2 = x3 = 0
12. Compare the iteration counts, for a tolerance of 110-5, in the solution of Exercise 11 by
the following methods; (a) Jacobi (b) Gauss-Seidel (c) SOR ( = 1.2)
(d) Steepest descent (e) Conjugate gradients
to within a tolerance of 0.01. Find the true solution. What do these results imply about the
system of equations?
15. Solve the following set of equations by using Gaussian elimination with pivoting to
transform the matrix into lower triangular form.
0 2 0 3 x1 0
1 0 3 4 x2 = 7
2 3 0 1 x3 -9
-3 5 2 0 x4 -12
16. Estimate the solution to the following set of equations using the Gauss- Seidel method
with an initial guess of x1 = 10, x2 = 0 and x3 = -10
4 -2 -1 x1 40
1 -6 2 x2 = -28
1 -2 12 x3 -86
4 3 -6 1 x1 -5
4 3 2 2 x2 = 12
-6 -6 3 -1 x3 -1
-1 3 -1 2 x4 -9
18. Decompose the matrix [A] into the factors [L][D][L]T and hence compute its determinant
2 1 0
[A] = 1 3 1
0 1 2
19. In a less stringent approach to avoiding zero-diagonal terms known as "Partial pivoting",
at each stage of the elimination process, the terms in the column below the active
diagonal are scanned, and the row containing the largest (absolute) term is interchanged
with the row containing the diagonal.
4 -4 -6 x1 2.5
4 3 2 x2 = -4.6
-6 -6 3 x3 4.95
20. Use Cholesky's method to solve the following two systems of simultaneous equations.
1 2 -2 x1 -4 1 2 -2 x1 2
2 5 -4 x2 = 2 2 5 -4 x2 = -4
-2 -4 5 x3 4 -2 -4 5 x3 4
Briefly describe any labor saving procedures that may have helped you to solve those
two problems.
21. Attempt to solve the following system of equations using Cholesky's Method.
3 -2 1 x1 3
-2 3 2 x2 = -3
1 2 2 x3 2
What do your calculations indicate about the nature of the coefficient matrix?
23. An engineering analysis involves repeated solution (i=1, 2...etc.) of a set of equations of
4 3 -6
[A] = 3 3 2
-6 -2 3
Choose an appropriate method for solving these equations, and use it to solve for the
case when
-4
{b)}1= 3
-6
24. The coefficient matrix of a symmetrical, positive definite system of equations is stored
in "skyline" form as
1080.0
-180.0
120.0
60.0
20.0
40.0
with diagonal terms in the first, third and sixth locations. Retrieve the original
coefficient matrix and solve the equations to an accuracy of four decimal places using a
10.0
0.0
0.0
25. Prove that the BiCGStab algorithm leads to a solution of the unsymmetrical equation
systems of Exercises 1,2,8,9 and 11 in n or n+1 iterations in every case. For these small