Introduction

In the process of learning about linear systems I encountered the concept of moments as a way of characterizing system behavior. These values are derived from the Maclaurin series expansion of the system function:

These values describe the system’s behavior so well that the degree to which two systems’ moments match is used as a measure of equivalence between systems, e.g. in Model Order Reduction research. They also have some direct usefulness: for circuits, the 0th moment gives the DC gain and thus an indication of connectivity between input and output; the 1st moment is the famous Elmore delay metric.

For circuits represented as matrices using Modified Nodal Analysis (MNA), the matrix-valued moments can be calculated directly. Starting with the time-domain description:

Taking the Laplace transform and rearranging:

Finally we use the definition of the Maclaurin series:

where is the state-to-output translation matrix, is the input-to-state matrix, and and are the non-time-dependent and time-dependent component matrices, respectively.

Hints of Something More

As I’ve experimented with model order reduction algorithms I’ve occasionally Googled some aspect of moments and found, to my surprise, hits that were almost entirely in the field of statistics. Most of the associated information seemed to have nothing to do with what I was studying. Here’s what I learned:

In statistics, the moments of a probability density function are defined as follows:

which is just the expected value of . In particular, the first () moment is the mean of the distribution.

Enlightenment

Most of my references for linear systems use the term moment without ever commenting on the terminology overlap. However, one day I came across a hint to the connection: one author said (paraphrasing) that Elmore “approximated the median with the mean” in his delay metric. On the face of it this makes no sense, because a linear system response is not a random process! But it was a tantalizing clue…

Eventually I found a more detailed summary of Elmore’s work (I could not find a non-paywalled version of his 1948 paper) that explained this connection. Consider the example of a single-pole low-pass filter with time constant (such as a simple RC circuit with ). Its unit step response in the time domain is:

Its impulse response is just the derivative of the step response, or:

These two waveforms are nearly identical (can I say “isomorphic”?) to the cumulative distribution and probability density functions of an exponential distribution with rate . So we may regard the CDF as an analog of the step response, and the PDF as an analog of the impulse response.

For a general LTI system, the 50% delay of the step response (that is, the time until the output reaches 50% of its final value) can be calculated as:

If were a PDF, would be the median of the distribution. Elmore observed that the median is expensive to calculate, but the mean, a.k.a. the first moment:

is a cheaper approximation (via matrix multiplication as above, or two passes through an RC tree), with known error bounds.

So this is the source of the “moment” terminology: a similarity between calculations in two distantly related fields.

Moving Forward

It turns out that other researchers have taken Elmore’s insight to the next level by trying to fit circuit responses to other types of probability distributions (Gamma, Weibull, lognormal); some have been demonstrated to be generally more accurate, though none (as of 2008) have the guaranteed upper bound property of Elmore’s metric.

Other Connections between Fields

Statistics has a concept of a “Moment Generating Function”, defined for a PDF as:

This function has the nice property of supplying the various moments with a series of derivative operations:

We can equivalently define the moment generating function as:

and the moment-generating function becomes the Fourier transform of the PDF! With this transformation, tools from linear systems theory become available for analyzing a random process.