Vandermonde Matrix

Let the pairs of data points be

Let then

Coefficients solve linear system of equations

where the matrix is called Vandermonde and is non-singular if are distinct

Link to original


Linear System

Consider system in linear system form

Link to original

Forward Substitution

Let be a lower triangular matrix so for all
Let be in Linear System form

As is lower triangular then using a procedure called Forward Substitution then

where this only works if for all

Link to original

Backward Substitution

Let be a upper triangular matrix so for all
Let be in Linear System form

As is upper triangular then using a procedure called Backward Substitution then

where this only works if for all

Link to original


Gauss Elimination (GE)

Let be a matrix

Gaussian Elimination is a systematic way to introduce zeroes into lower triangular part of
by subtracting multiples of previous rows (equations)

Pseudocode

Let be a matrix

For columns
       For rows

       end
end

Note that the diagonal element used to eliminate the rows below is called the pivot

Link to original

Matrix for Row Operations

Let row operation be

Then it can be done by pre-multiplication of a lower triangular matrix

where is at the th position in the matrix
with known as the multipliers

Note that consecutive row operations use data resulting from previous transformations

Link to original

Inverse of Matrix for Row Operations

If then

Link to original


Lower Upper Decomposition of a Square Matrix

Let be a matrix then

where

is upper triangular
is unit lower triangular (ones on diagonal)

Link to original

Solving Linear Systems via Lower Upper Decomposition

Let System be

  1. Factorise where is unit lower triangular and is upper triangular
  2. Solve using Forward Substitution
  3. Solve using Backward Substitution
  4. Hence solves
Link to original

Pivoting Gaussian Elimination or Lower Upper Decomposition

Let

If there exists pivot for some then

Reorder rows (equations) to ensure for all

Link to original

Partial Pivoting

Let

For creating zeros in th column
Find where

so is the largest value in that column below

Then

Link to original


Stability of Gaussian Elimination with Partial Pivoting

Gaussian Elimination with partial pivoting cannot fail if is non-singular

Link to original

Partial Pivoting through Permutation

Swapping row and row is same as pre-multiplication by

with rows and row swapped known as

Note that has same rows as

Link to original