The method

We solve the system inductively. Let us denote with $ S_k$ the upper left $ k\times k$ submatrix of $ S$, a similar notation is used for $ D$.

Let us assume by induction that we have solved the $ k$th order Yule-Walker problem:

$\displaystyle (S_k+D_k) y_k = -r_k,$    

where $ r_k=[v_1,v_2,\ldots,v_k]$. The $ (k+1)$th order Yule-Walker-like system of equations:
$\displaystyle (S_{k+1}+D_{k+1}) y_{k+1}$ $\displaystyle =$ $\displaystyle -r_{k+1},$  
$\displaystyle \left(\begin{array}{c\vert c}
{\rule[0.1cm]{0cm}{-0.3cm}
S_k + D_...
...right)
\left(\begin{array}{c}
z_{k+1}\\
\hline
\alpha_{k+1}
\end{array}\right)$ $\displaystyle =$ $\displaystyle -\left(\begin{array}{c}
r_{k}\\
\hline
v_{k+1}
\end{array}\right),$ (1)

will be solved in $ O(k)$ flops. Using equation (1), we observe that

$\displaystyle (S_k+D_k)\; z_{k+1} + u_{k+1}\; r_k\; \alpha_{k+1} = -r_k$ (2)

and secondly

$\displaystyle u_{k+1}\; r_{k}^T z_{k+1} + \alpha_{k+1}\; (u_{k+1} v_{k+1} + d_{k+1}) = - v_{k+1}.$ (3)

This gives us for equation (2):
$\displaystyle z_{k+1}$ $\displaystyle =$ $\displaystyle (1+u_{k+1} \; \alpha_{k+1})(S_k+D_k)^{-1}(-r_k)$  
  $\displaystyle =$ $\displaystyle (1+u_{k+1} \; \alpha_{k+1}) y_k.$ (4)

Substituting the latter equation in (3) leads to:

$\displaystyle u_{k+1}\;r_k^T\;(1 + u_{k+1}\alpha_{k+1})\; y_k + \alpha_{k+1}\;(u_{k+1} v_{k+1} + d_{k+1}) = -v_{k+1},$    

which can be rewritten towards $ \alpha_{k+1}$ as:

$\displaystyle \alpha_{k+1}
 =
 \frac{(-1) (v_{k+1} + u_{k+1} r^T_k y_k)}{(u_{k+1}^2 r^T_k y_k + u_{k+1} v_{k+1}
 + d_{k+1})}.$ (5)

Using $ \alpha_{k+1}$ in equation (4), we can compute the vector $ z$.

The denominator in (5) is always different from zero, because our initial matrix $ S+D$ is positive definite. As $ S+D$ is positive definite, also all the leading principal submatrices are positive definite, hence also $ S_{k+1}+D_{k+1}$. This means that $ w^T
(S_{k+1}+D_{k+1}) w > 0$ for every $ w$ different from zero. Taking $ w^T=[u_{k+1}y^T_k\;,1]$ gives us the following relations:

$\displaystyle w^T \;(S_{k+1}+D_{k+1})\; w$ $\displaystyle =$ $\displaystyle [u_{k+1}\;y^T_k\;,1]\; (S_{k+1}+D_{k+1})
\left(\begin{array}{c}
u_{k+1}\;y^T_k \\
1
\end{array}\right)$  
  $\displaystyle =$ $\displaystyle [u_{k+1}\;y^T_k\;,1]\;
\left(\begin{array}{c\vert c}
{\rule[0.1cm...
...\end{array}\right)
\left(\begin{array}{c}
u_{k+1}y^T_k \\
1
\end{array}\right)$  
  $\displaystyle =$ $\displaystyle u_{k+1}^2 \;y^T_k\;(S_{k}+D_{k})\; y_k + \;u_{k+1}^2 \;y^T_k \;r_k+
u_{k+1}^2\; r^T_k\; y_k + u_{k+1}\;v_{k+1}+d_{k+1} > 0.$  

Using now the relation $ y^T_k\;(S_{k}+D_k)\;y_k=-y^T_k\; r_k$ in the equation above, we get that

$\displaystyle u_{k+1}^2\; r^T_k\;y_k + u_{k+1}\;v_{k+1}+d_{k+1}\; > 0,$    

and hence the formula for calculating $ \alpha_{k+1}$ is well defined.

Clearly the computation of the inner product $ r^T_k y_k$ at each step and the computation of $ z_k$ via the multiplication of a vector with a scalar, leads to an order $ k$ complexity for solving the $ (k+1)$th order Yule-Walker-like type of equation. Overall this leads to an order $ O(n^2)$ solver.

Raf Vandebril 2005-04-25