Lecture2 - System of Equations
Lecture2 - System of Equations
April 2022
Advanced Numerical Analysis
Lecture – 2
Solution of System of Equations
Step 0 (optional): Form the augmented matrix of [A|B]. Johann Carl Friedrich Gauss
(1777–1855)
Important: In these steps the 1st eqn is the pivot equation and a11 is the pivot element. Note that a
division by zero may occur if the pivot element is zero. Naive-Gauss Elimination does not check for
this.
b3
bn b1
b2
bn
(2.1) Use this xn in the (n-1)th equation and solve for xn-1.
.......
……..
(2.n) Use all previously calculated x values in the 1st eqn and
solve for x1.
6 –2 2 4 | 16
12 –8 6 10 | 26
3 –13 9 3 | -19
-6 4 1 -18 | -34