Ch3b-Systems of Linear Equations
Ch3b-Systems of Linear Equations
1
Gaussian Elimination
Now set aside the first equation and repeat the above process with the
remaining m-1 equations in n-1 unknowns [6].
2
Gaussian Elimination (Cont’d)
3
Algorithm for Gaussian Elimination
• Transform the columns of the augmented matrix, one at a time, into
triangular echelon form. The column presently being transformed is
called the pivot column. Proceed from left to right, letting the pivot
column be the first column, then the second column, etc. and finally the
last column before the vertical line. For each pivot column, do the
following two steps before moving on to the next pivot column [6]:
• Locate the diagonal element in the pivot column. This element is called
the pivot. The row containing the pivot is called the pivot row. Divide
every element in the pivot row by the pivot (ie. use E.R.O. #1) to get a
new pivot row with a 1 in the pivot position [6].
4
Example
• Use Gaussian
elimination to solve
the system of
equations[6]:
5
Solution
6
Solution (Cont’d)
7
Solution (Cont’d)
8
Results
It is solved by back-substitution.
Substituting z = 3 from the third equation
into the second equation gives y = 5, and
substituting z = 3 and y = 5 into the first
equation gives x = 7. Thus the complete
solution is [6]:
{x = 7, y = 5, z = 3}.
9
Example
10
Example (Cont’d)
11
Example (Cont’d)
12
Example (Cont’d)
13
Example (Cont’d)
14
Example (Cont’d)
15
Example
16
Answers a)
17
Answer b)
18
Answer c)
19
References
1. Celik, Ismail, B., “Introductory Numerical Methods for Engineering Applications”,
Ararat Books & Publishing, LCC., Morgantown, 2001
2. Fausett, Laurene, V. “Numerical Methods, Algorithms and Applications”, Prentice
Hall, 2003 by Pearson Education, Inc., Upper Saddle River, NJ 07458
3. Rao, Singiresu, S., “Applied Numerical Methods for Engineers and Scientists, 2002
Prentice Hall, Upper Saddle River, NJ 07458
4. Mathews, John, H.; Fink, Kurtis, D., “Numerical Methods Using MATLAB” Fourth
Edition, 2004 Prentice Hall, Upper Saddle River, NJ 07458
5. Varol, A., “Sayisal Analiz (Numerical Analysis), in Turkish, Course notes, Firat
University, 2001
6. http://mathonweb.com/help/backgd3e.htm
20