next up previous
Next: Numerical experiments Up: A small note on Previous: The scaling technique


Inversion of semiseparable matrices

Traditional inversion methods of semiseparable matrices are based on the generator representation. This means that the lower triangular part of a semiseparable matrix, as well as the upper triangular part are coming from rank $ 1$ matrices. Based on the Givens-vector representation (see [9]), we will derive here an inversion formula for the class of semiseparable matrices representable in this way. Moreover, this class is more general than the class of generator representable matrices (see [9]). The algorithm will be designed for a $ 4\times 4$ semiseparable matrix, as this illustrates the general case. Our semiseparable matrix $ S$ is of the following form (see [9]):

% latex2html id marker 944
$\displaystyle S=\left(\begin{array}{cccc} c_1 d_1 & ...
...& s_3 d_3 \\  s_3 s_2 s_1 d_1 & s_3 s_2 d_2 & s_3 d_3 & d_4 \end{array}\right).$    

This matrix is stored by using $ 3n-2$ parameters namely the $ c_i,s_i$ and the $ d_i$. Note however that the $ c_i$ and $ s_i$ represent the cosine and sine of the same angle, this means that essentially $ 2n-1$ parameters are needed to represent this matrix. (More information can be found in [9]). The inverse of the semiseparable matrix $ S$ is denoted as $ T$:

% latex2html id marker 962
$\displaystyle T=\left(\begin{array}{cccc} a_1 & b_1 \\  b_1 & a_2 & b_2 \\  & b_2 & a_3 & b_3 \\  & & b_3 & a_4 \end{array}\right).$    

Let us start by calculating $ a_1$ and $ b_1$. The $ 4$ equations corresponding to the first column of the product $ S T =I$, namely $ S Te_1=e_1$ (the elements $ e_i$ represent the standard basis vectors), are:

$\displaystyle a_1 (c_1 d_1) + b_1 (c_2 s_1 d_1) = 1,$ (2)

whereas, the remaining equations collapse into one singular equation: (This happens because the two first columns of $ S$ are dependent below the first row.)

$\displaystyle a_1 (s_1d_1)+ b_1 d_2 =0.$ (3)

Rewriting equation (3) towards $ a_1 d_1$ we get

$\displaystyle a_1 d_1 = \frac{- b_1 d_2 }{s_1}.$    

If $ s_1=0$ we can easily see that $ b_1=0$ and $ a_1=1/d_1$, so let us assume $ s_1$ to be different from zero.(We note that by definition of the representation the cosines are always positive. If $ s_1=0$ this implies $ c_1=1$.) Substituting $ a_1 d_1$ in equation (2) and rewriting the equation towards $ b_1$ gives us

$\displaystyle b_1=\frac{1}{c_2 s_1 d_1 -d_2\frac{c_1}{s_1}}.$    

Note that this equation is well defined as $ s_1$ is different from zero and an easy calculation reveals that also the denominator in the equation has to be different from zero, otherwise the semiseparable matrix would be singular. Once we have $ b_1$ the calculation of $ a_1$ is straightforward using equation (3). We have calculated now $ a_1$ and $ b_1$. To continue we calculate $ a_2$ and $ b_2$. We write down the equations corresponding to the second column of $ S T =I$, i.e. $ STe_2=e_2$, let us consider the equations on and below the diagonal. This gives us:

$\displaystyle e_2^T ST e_2 = b_1 ( c_2 s_1 d_1) + a_2 ( c_2 d_2 ) + b_2 (c_3 s_2 d_2) = 1,$ (4)

while the equations $ e^T_3 ST e_2=0$ and $ e^T_4 ST e_2=0$ collapse again into one single equation:

$\displaystyle b_1(s_2 s_1 d_1) + a_2 (s_2 d_2) + b_2 d_3 =0.$ (5)

We will distinguish between two cases now: $ s_2=0$ and $ s_2\neq 0$.

This last procedure can similarly be repeated for the third column, leading to the same formula's for calculating $ a_3$ and $ b_3$. Only the last column needs some extra attention. For the last column we consider the equations $ e_4^T ST e_4 = 1$ and $ e_3^T ST e_4
= 0$:

% latex2html id marker 1102
$\displaystyle \left\{\begin{array}{rcl} b_3(s_3 d_3) + a_4 d_4 & = & 1 \\  b_3 (c_3 d_3) + a_4 (s_3 d_3) & = & 0 \end{array} \right.$    

Using these formulas we get

$\displaystyle a_4 = \frac{1 - b_3 s_3 d_3}{d_4},$    

if $ d_4 \neq 0$ or else if $ d_4 =0$

$\displaystyle a_4 = -\frac{b_3 c_3}{s_3},$    

because if $ d_4 =0$, $ s_3$ has to be different from zero, otherwise the matrix would have been singular.

Even though we calculated only the inverse of a $ 4\times 4$ matrix, the procedure clearly demonstrates how to calculate inverses of larger semiseparable matrices. Moreover, inverting semiseparable matrices in this way leads to an $ O(n)$ procedure.


next up previous
Next: Numerical experiments Up: A small note on Previous: The scaling technique
Raf Vandebril 2005-01-06