The relations of the previous section do not hold exactly when the string length is finite. A finite-length string forces consideration of boundary conditions. In this section, we will introduce boundary conditions as perturbations of the state transition matrix. In addition, we will use the DW-FDTD equivalence to obtain physically well behaved boundary conditions for the FDTD method.
Consider an ideal vibrating string with spatial samples. This is a sufficiently large number to make clear most of the repeating patterns in the general case. Introducing boundary conditions is most straightforward in the DW paradigm. We therefore begin with the order 8 DW model, for which the state vector (for the 0 th subgrid) will be
The displacement output matrix is given by
and the input matrix is an arbitrary matrix. We will choose a scalar input signal driving the displacement of the second spatial sample with unit gain:
The state transition matrix is obtained by reducing Eq.(E.32) to finite order in some way, thereby introducing boundary conditions.