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
![Rendered by QuickLaTeX.com \[R = \begin{pmatrix} r_{11} & r_{12} & \dots r_{1n} \\ 0 & r_{22} & & r_{2n} \vdots & & \ddots & \vdots \\ 0 & & 0 & r_{nn} \end{pmatrix}\]](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-6afe91c826460825b098ae235864ae3e_l3.png)
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