Numerical analysis Direct methods for linear systems Theorem
Tridiagonal matrix algorithm
Builds on Tridiagonal matrixDiagonally dominant matrixGaussian eliminationLU decompositionBack substitutionSystem of linear equations
Statement
Let and consider the linear system with real or complex coefficients, and , whose matrix is tridiagonal. Assume that is strictly diagonally dominant by rows: for all . The tridiagonal matrix algorithm (or Thomas algorithm) computes and then Then every denominator is nonzero, for all , and is the unique solution of the system. The algorithm uses arithmetic operations.
Remarks
The proof is an induction on . If , then , so the denominator is nonzero and . The forward sweep is Gaussian elimination without pivoting, which keeps the tridiagonal shape, and it computes the LU decomposition of with bidiagonal factors; the second sweep is back substitution. For diagonally dominant or symmetric positive definite matrices, the algorithm is also numerically stable. Without such a hypothesis a denominator can vanish even when is invertible: for , , , , the matrix is invertible but the first step divides by . Example: the system , is diagonally dominant by rows; the algorithm gives , , , so and .
Going deeper
For a student
The algorithm is Gaussian elimination specialized to tridiagonal matrices, with no fill-in and no pivoting. Strict diagonal dominance is a simple condition that guarantees it never divides by zero. The finite difference matrix of , with rows , is only weakly diagonally dominant, but it is symmetric positive definite, and the algorithm works for it too. For tridiagonal systems that are not diagonally dominant, one uses Gaussian elimination with partial pivoting on the band instead.
Reading path
To understand this page from the ground up, read these 7 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Back substitution concept
- Diagonally dominant matrix concept
- Gaussian elimination concept
- LU decomposition concept
- System of linear equations concept
- Tridiagonal matrix concept
- Tridiagonal matrix algorithm statement
Where this leads
1 page builds on this one.
Further reading
About this page
| Tag | F1QWA1PEQQ |
|---|---|
| URI | m2://F1QWA1PEQQ |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 65F05 |
| Status | This copy of the site has no build data. Run m2 status F1QWA1PEQQ. |
| About | Tridiagonal matrix, System of linear equations |
| Uses | Tridiagonal matrix, Diagonally dominant matrix, Gaussian elimination, LU decomposition, Back substitution, System of linear equations |
| Same as |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.