Welcome to Numerical Methods!
Chapter 9-Gauss Elimination
There are few ways to solve small systems (less or equal to 3 equations) before using computer methods:
The graphical method shows for systems of 2 equations, the intersection of the lines represents the solution. For 3 simultaneous equations, each represents a plane in 3-D coordinate system. The point of intersection of the 3 planes is the solution. This method is nice for visualization but for a system beyond 3 equations, it's not practical. There are 3 cases in which graphs help:
2 equations representing parallel lines --> No solution (singular system)
2 lines are coincident --> Infinite solutions (singular system)
ill-conditionned system where the lines have almost the same slope therefore difficult to see the intersection + cause sensitivity to round-off errors.
Determinants and Cramer's rule: [244]
Singular systems have zero determinants.
Elimination of unknowns=Naive Gauss Elimination [248]
--> forward elimination (each row is normalized by dividing by pivot element)+ back-substitution. If implemented on computers, the program must avoid dividing by zero. "Naive" method because it cannot take care of this problem. To implement this on a computer, it takes too much time.
What are the differences?
Unknowns are eliminated from all other equations rather than just the susequent ones.
All rows are normalized by dividing them by their pivots. (Elimination steps gives an identity matrix instead of an upper triangular one. Therefore, no need for back-sustitution).
Issues of round off, scaling, and conditioning.
> Check out Chapter 12 for Case Studies for fun!