Numerical Methods-Tute 1
Numerical Methods-Tute 1
x1 + x2 + x3 + x4 = 2, 1
x1 − x2 + x3 = 4,
x1 + x2 + 3x3 − 2x4 = −6, 2
i. 2x1 − x2 − x3 + x4 = 5,
2x1 + 3x2 − x3 + 2x4 = 7
iii. 1
x1 + 2x2 + x3 − x4 = −2. x1 + x2 + x3 = 2,
2
1
x1 − x2 + x3 + x4 = 5.
x1 + x2 + x4 = 2, 2
2x1 + x2 − x3 + x4 = 1, x1 − x2 + 3x3 = 2,
ii.
4x1 − 3x2 − 2x3 + 2x4 = 0,
3x1 − x2 − x3 + 2x4 = −3.
S
−3x1 + 2x2 − 6x3 = 3,
L iv. 3x1 − 3x2 + x3 = −1,
x1 + x2 = 3.
2. Show that the Gaussian Elimination Algorithm fails for the following system of equations:
Use the above your results to solve the following systems of equations
−2x1 + x2 + x3 = −3, x1 + x2 + x3 = 5,
(a) 4x1 − x2 = −9,
x1 − x2 − x3 = −3.
S L (b) 2x1 + 3x2 + 5x3 = 8,
4x1 + 5x3 = 2.
7. State the advantages and disadvantages of the three methods Gaussian Elimination, Gauss-Jordan
and LU factorization in solving the system of linear equations.
SU
8. (a) Describe the principle involved in the Gauss elimination method.
(b) When does the Gauss elimination method fail?
(c) How do we avoid computational errors in Gauss elimination?
(d) Define complete pivoting in Gauss elimination.
(e) Can we use partial pivoting in Gauss-Jordan method?