Backwards substitution for solving triangular linear systems
Consider a triangular system of the form , where the vector is given, and is upper-triangular.
Let us first consider the case when , and is invertible. Thus, has the form
with each non-zero.
The backward substitution first solves for the last component of using the last equation:
and then proceeds with the following recursion, for :
*** QuickLaTeX cannot compile formula: \[x_{j}=\dfrac{1}{r_{jj}\cdot\left(y_{j}-\sum_{k=j+1}^{n}r_{jk}x_{k}\right).\] *** Error message: File ended while scanning use of \@genfrac. Emergency stop.
Example: Solving a triangular system by backward substitution