How to solve linear equation using back substitution?
If we have a diagonal matrix, then we can easily solve the first one. Then we can fill the value in in the row above, and continue from there.
I.e.
How does Gaussian elimination work?
What is a trivial pivot?
When you swap rows when needed
What is a partial pivot?
When you swap rows to get larger (absolute) pivot in this column
What is complete pivoting?
When you swap rows and columns to get the largest absolute pivot from the remaining submatrix. (This is not recommended, the gain is small, but it requires much more work.)
What’s scaled partial pivoting?
Swapping rows to get the largest absolute relative pivot in this column.
How to partial pivot?
Why scale partial pivot?
If factor f leads to a large subtraction factor, large rounding errors may accumulate.
How to Scaled Partial Pivot?