← Moment Equations

07

Why nonlinear models produce unclosed moments

Nonlinear biological interactions make lower-moment equations depend on higher moments, creating an infinite hierarchy.

Nonlinear SIS infection rate

\[b(I)=\beta\frac{(N-I)I}{N}=\beta I-\frac{\beta}{N}I^2,\qquad d(I)=\gamma I.\]

The product \((N-I)I\) represents susceptible–infectious contact and makes the rate nonlinear.

First moment requires the second moment

\[ \frac{dm_1}{dt} = (\beta-\gamma)m_1-\frac{\beta}{N}m_2. \]

The first-moment equation is not closed because knowing \(m_1\) alone does not determine \(m_2\).

Second moment requires the third moment

\[ \frac{dm_2}{dt} = \left[2(\beta-\gamma)-\frac{\beta}{N}\right]m_2 -\frac{2\beta}{N}m_3 +(\beta+\gamma)m_1. \]

Deriving \(m_3'\) introduces \(m_4\), and so on. This is the moment hierarchy.

Why replacing \(\mathbb E[I^2]\) by \(\mathbb E[I]^2\) is an assumption

\[\mathbb E[I^2]=\operatorname{Var}(I)+\mathbb E[I]^2.\]

Therefore \(\mathbb E[I^2]=\mathbb E[I]^2\) holds only when variance is zero. Using it in a stochastic epidemic discards distributional spread.

Interactive Python laboratory

Interactive PythonDemonstrating the closure gap

Output

Run the code to see the result.

Exact hierarchy versus approximation

The unclosed equations are exact statements about the CTMC moments. The difficulty is that a finite ODE system cannot contain infinitely many moments. Closing the system requires an additional distributional or factorisation assumption, introduced next.

What this lesson adds

You can now identify how nonlinear rates raise moment order, write the first two SIS moment equations, recognise the infinite hierarchy and explain why factorising a higher moment is an approximation.