Module 4 : Solving Linear Algebraic Equations
Section 4 : Direct Methods for Solving Sparse Linear Systems
 
4.2 Thomas Algorithm for Tridiagonal and Block Tridiagonal Matrices [2]
Consider system of equation given by following equation
MATH -------(34)

where matrix $\QTR{bf}{A}$ is a tridiagonal matrix. Thomas algorithm is the Gaussian elimination algorithm tailored to solve this type of sparse system.

  • Step 1:Triangularization: Forward sweep with normalization
MATH -------(35)
MATH -------(36)
MATH -------(37)
MATH -------(38)

This sequence of operations finally results in the following system of equations MATH

  • Step 2: Backward sweep leads to solution vector MATH
MATH -------(39)
-------( 40)

$\;$Total no of multiplications and divisions in Thomas algorithm is MATHwhich is significantly smaller than the$\;n^{3}/3$ operations (approximately) necessary for carrying out the Gaussian elimination and backward sweep for a dense matrix.