Partial Pivoting Gaussian Elimination All
Partial Pivoting Gaussian Elimination All
Pitfalls
Gaussian Elimination
with Partial Pivoting
http://nm.mathforcollege.com
Exact Solution
Solve it on a computer using 6 significant digits with chopping Solve it on a computer using 5 significant digits with chopping
Increase the number of significant digits Gaussian Elimination with Partial Pivoting
• Decreases round-off error • Avoids division by zero
• Does not avoid division by zero • Reduces round off error
Gaussian Elimination
with Partial Pivoting
A method to solve simultaneous linear Gauss Elimination with Partial
equations of the form [A][X]=[C] Pivoting
Example
Two steps
1. Forward Elimination
2. Back Substitution
Example 2
Solve the following set of equations Example 2 Cont.
by Gaussian elimination with partial
pivoting
1. Forward Elimination
2. Back Substitution
• Largest absolute value is 144 and exists in row 3. • Largest absolute value is 2.917 and exists in row 3.
• Switch row 1 and row 3.
• Switch row 2 and row 3.
Back Substitution