Definition

The Thomas Algorithm is used to solve a linear Tridiagonal matrix

Linear Tridiagonal Matrix

We have the system of linear equations

In Matrix form

If is the TDM, is the vector containing the unknowns and is the vector containing constants, we have

LU Decomposition

We consider the factorization

where Lower and Upper Triangular Matrix respectively.

Then, we need to determine and .

Formulas that can derived

Given that ,

  • for
  • for