The Levinson solver for band matrices

In this section we will construct a Levinson solver for band matrices. Again this method is based on the Yule-Walker solution as presented in the previous section. Let us consider the right-hand side $ b$, and use the same notation as for the Yule-Walker-like solver for band matrices, the system we would like to solve is $ Bx=b$.

Assume the solution in step $ k$:

$\displaystyle B_k x_k = \mathbf{d}_k,$    

where $ d^T_k=[b_1,\ldots,b_k]$, is known. Moreover also the solution of the $ (k+1)$th order Yule-Walker-like equation is known.

We start deducing the formulas in a similar way as in the previous section. The $ (k+1)$th system can be written as:

$\displaystyle B_{k+1}\; x_{k+1}$ $\displaystyle =$ $\displaystyle \mathbf{d}_{k+1}$  
$\displaystyle \left[ \begin{array}{c\vert c}
{\rule[0.1cm]{0cm}{-0.3cm}
B_k} & ...
...\right]
\left[ \begin{array}{c}
w_{k+1}\\
\hline
\mu_{k+1}
\end{array} \right]$ $\displaystyle =$ $\displaystyle \left[ \begin{array}{c}
\mathbf{d}_k\\
\hline
b_{k+1}
\end{array} \right].$  

Expanding towards the rows, leads to the following two equations:

$\displaystyle B_k\; w_{k+1} + \mu_{k+1}\; T_k \bar{\mathbf{a}}_{k+1}^T\; = \mathbf{d}_{k},$    

$\displaystyle \bar{\mathbf{a}}_{k+1}\;T^T_k\; w_{k+1} + \mu_{k+1}\; a_{k+1,l+1} = b_{k+1}.$    

In a straightforward way, we can solve the system towards $ w_{k+1}$ and substitute this solution in the equation above. This gives us for $ \mu_{k+1}$ and $ w_{k+1}$ the following relations:

$\displaystyle w_{k+1}=x_k+ \mu_{k+1}\; Y_k \bar{\mathbf{a}}_{k+1}^T$    

$\displaystyle \mu_{k+1}
 =
 \frac{b_{k+1} - \bar{\mathbf{a}}_{k+1} T^T_k x_k }{(\bar{\mathbf{a}}_{k+1} T^T_k Y_k \bar{\mathbf{a}}_{k+1}^T + a_{k+1,l+1})}.$    

This formula is well defined because the matrix $ T$ is strongly nonsingular. This leads to an $ O(l^2n^2)$ method. But we can again decrease the complexity: the computation of the vector $ T^T_k x_k$ can be rewritten in a recursive manner:
$\displaystyle T_{k+1}^T x_{k+1}$ $\displaystyle =$ $\displaystyle \left[ \begin{array}{cc}
P^T T_k^T &
\left[ \begin{array}{c}
0 \\...
...ight]
\left[ \begin{array}{c}
w_{k+1}\\
\mathbf{\mu}_{k+1}
\end{array} \right]$  
  $\displaystyle =$ $\displaystyle P^T T_k^T (x_k + \mu_{k+1} Y_k \bar{\mathbf{a}}_{k+1}^T) +
\left[ \begin{array}{c}
0 \\
\vdots\\
0\\
1\end{array} \right] \mathbf{\mu}_{k+1}.$  

Suppose we postpone the computation of the solution vector $ x$ up to the very end, and we store all the factors $ \alpha_{k}$ and $ \mu_{k}$. This gives us the following formula for computing the solution:

$\displaystyle x=
 \left[ \begin{array}{c}
 \vdots \ 
 \mu_{n-3}+\mathbf{\alpha...
...mathbf{\alpha}_{n-1}\mu_n \bar{\mathbf{a}}_n^T \ 
 \mu_n
 \end{array} \right].$    

The computation of the vector above can easily be rewritten to come to a complexity of $ O(l^2n)$.

In the following section an implementation of the solver for band matrices based on the Levinson idea is given.

Raf Vandebril 2005-04-26