Upper triangular matrices

Let us apply our Levinson solver to an upper triangular system of equations. We have the matrix $ A=(a_{ij})$ where $ a_{ij}=0$ if $ i>j$. Let us denote with $ R_k$ the matrix of dimension $ k\times (n-1)$ where $ R_k=[I_k,0]$ and $ \mathbf{c}_{k}=[a_{1,k},\ldots,
a_{k-1,k},0,\ldots,0]$ is a row vector of length $ 1\times
(n-1)$. Moreover we assume the matrix $ S_k=0$ and $ P=I$. The matrix is simple $ (n-1,0)$-Levinson conform as:

% latex2html id marker 7138
$\displaystyle A_{k+1}= \left[ \begin{array}{c\vert...
...k+1}^T \\ <tex2html_comment_mark>482 \hline 0 & a_{k+1,k+1} \end{array} \right]$    

We know that solving the system of equations in this manner will lead to an $ O(n^2)$ method. Moreover, this is a well-known method, as we will show.

Let us take a closer look at the solution generated by this Levinson-like approach. We have all the necessary information to easily caculate the values of $ \mathbf{\alpha}_{k}$ and $ \mu_{k}$ for every $ k$, as $ S_k=0$. We have that for every $ k$

$\displaystyle \mathbf{\alpha}_k$ $\displaystyle =$ $\displaystyle \frac{e^{(n)}_k}{a_{k,k}}$  
$\displaystyle \mu_k$ $\displaystyle =$ $\displaystyle \frac{b_k}{a_{k,k}},$  

where $ e^{(n)}_{k}$ is the $ (k)$th basisvector of dimension $ n$. Using these variables, we can construct the solution vector $ \mathbf{x}$ for the system $ A\mathbf{x}=\mathbf{b}$. We will consider the computation of the last three components of $ \mathbf{x}$, based on the equation (9). The last component $ x_n$ has the following form:

$\displaystyle x_n=\mu_n=\frac{b_n}{a_{n,n}}.$    

The component $ x_{n-1}$ is of the following form:
$\displaystyle x_{n-1}$ $\displaystyle =$ $\displaystyle \frac{b_{n-1}}{a_{n-1,n-1}}+
\frac{(-1)}{a_{n-1,n-1}}
\frac{b_n}{a_{n,n}} e^{(n)}_{n-1} \mathbf{c}_n^T$  
  $\displaystyle =$ $\displaystyle \frac{-1}{a_{n-1,n-1}}
\left(b_{n-1}-a_{n-1,n} x_n \right).$  

Let us conclude with element $ x_{n-2}$, which gives us the following equations:
$\displaystyle x_{n-2}$ $\displaystyle =$ $\displaystyle \frac{b_{n-2}}{a_{n-2,n-2}}+
\frac{(-1)}{a_{n-2,n-2}}e^{(n)}_{n-2...
...
\frac{-1}{a_{n-1,n-1}} e^{(n)}_{n-1})\frac{b_n}{a_{n,n}}\mathbf{c}^T_n \right)$  
  $\displaystyle =$ $\displaystyle \frac{1}{a_{n-2,n-2}}
\left(b_{n-2} -
a_{n-2,n-1} \frac{b_{n-1}}{...
...1,n-1}} - a_{n-2,n}
x_n + \frac{a_{n-2,n-1} a_{n-1,n}}{a_{n-1,n-1}} x_n \right)$  
  $\displaystyle =$ $\displaystyle \frac{1}{a_{n-2,n-2}}
\left(b_{n-2} - a_{n-2,n-1} x_{n-1}- a_{n-2,n} x_n \right)$  

This means, that rewriting the general formulas for the Levinson-like solver for upper triangular systems of equations, gives us the well-known backward-substition algorithm[1]. In a similar way we can derive the solution method for a lower triangular system of equations. This will give us forward substitution.

Raf Vandebril 2006-03-30