In this Section we discuss variable order dynamic systems. As with those dynamic systems we have seen thus far, these are widely used in practice in variuos areas of science and engineering - notably in physics, feedback systems, and (once again) time series / signal processing. As their name implies, unlike those systems we have seen previously the order of these systems varies from step to step.
In Section 15.2.1 we discussed the moving average - a filtering or smoothing technique that is a prototypical example of a dynamic system with fixed order. Here we discuss an analagous smoothing technique called exponential averaging - that equally well provides a prototype for dynamic systems with variable order.
The exponential average is another smoothing technique - often applied to time series data as a pre-processing step to make it easier to further analyze and work with. Instead of taking a sliding window and averaging the input series inside of it we compute the average of the entire input sequence in an online fashion, adding the contribution of each input one element at-a-time. To do this we form an average of the first two points first two points $x_1$ and $x_2$ of an ordered input sequence (like the time series below) $x_1,\,x_2,...,x_P$. We then take this result, and make a weighted combination of it and the third point $x_3$ giving an average of the first three points. We continue in this fashion until the final element of the sequence $x_P$ is reached.
Below this process is animated on top of the original input time series - with the resulting exponential average shown as a pink curve. Note that the first average point - set to be the first point of the input series $x_1$ - is shown as a pink dot.