How to solve triangular systems.
with lower triangular. Algebraic equation:
Solve for :
We can solve iteratively starting from , then , , …, .
This is possible because is lower triangular.
This process is fast and accurate.
The same process applies to upper triangular matrices: .
We solve iteratively in the reverse order: , , …, .
The computational cost of solving a triangular system is .