Tutorials › Stochastic Calculus › When Mean-Square and Almost-Sure Stability Differ

Stability, Invariant Measures and Long-Time Behavior · Tutorial 279 of 600

When Mean-Square and Almost-Sure Stability Differ

Use the explicit solution of a scalar linear SDE to locate where pathwise decay and decay of the second moment agree, and explain why they can differ.

Advanced 12 min read

What You'll Learn

  • Derive and verify the explicit solution of the scalar linear SDE
  • State the exact parameter conditions for almost-sure and mean-square asymptotic stability
  • Classify the equality cases at both stability boundaries
  • Explain how rare large fluctuations can dominate a second moment
  • Distinguish typical path behavior from expectation-based stability

Two Ways to Measure Long-Time Stability

Consider a scalar process whose drift pulls toward zero while its diffusion continually perturbs it. A typical sample path may approach zero even though the second moment grows. The reason is that a second moment gives disproportionate weight to large values: rare paths with unusually large Brownian fluctuations can determine the expectation.

Work on a filtered probability space \((\Omega,\mathcal{F},(\mathcal{F}_t)_{t\ge0},\mathbb{P})\) carrying a standard Brownian motion \(B_t\). For fixed real parameters \(a,b\) and deterministic initial value \(x_0\), consider the SDE

$$ dX_t=aX_t\,dt+bX_t\,dB_t,\qquad X_0=x_0. $$

Here \(aX_t\) is the drift coefficient and \(bX_t\) is the diffusion coefficient. The Ito integral is understood for progressively measurable integrands \(H_s\) satisfying \(\mathbb{E}\int_0^T H_s^2\,ds<\infty\) on each finite time interval. In particular, the solution below has this property. The coefficients are globally Lipschitz, since \(|ax-ay|=|a||x-y|\) and \(|bx-by|=|b||x-y|\), and satisfy linear growth, since \(a^2x^2+b^2x^2\le(a^2+b^2)(1+x^2)\). Thus the standard global Lipschitz existence-and-pathwise-uniqueness theorem applies. The explicit solution will also be verified directly.

Definition: The zero solution is almost-surely asymptotically stable if \(X_t\to0\) almost surely for every deterministic \(x_0\). It is mean-square asymptotically stable if \(\mathbb{E}[X_t^2]\to0\) for every deterministic \(x_0\). The zero initial value stays zero, so the stability tests are substantive for \(x_0\ne0\).

The Explicit Solution and the Two Exponents

Set \(k=a-\tfrac12b^2\) and define \(g(t,z)=x_0e^{kt+bz}\). Ito's formula applies to \(g(t,B_t)\): its derivatives are \(g_t=kg\), \(g_z=bg\), and \(g_{zz}=b^2g\), so the second-order correction is \(\tfrac12g_{zz}\,dt=\tfrac12b^2g\,dt\). Therefore

$$ d(g(t,B_t))=\left(k+\tfrac12b^2\right)g(t,B_t)\,dt+bg(t,B_t)\,dB_t =aX_t\,dt+bX_t\,dB_t. $$

It follows that the solution is

$$ X_t=x_0\exp\!\left(\left(a-\tfrac12b^2\right)t+bB_t\right). $$

On every finite interval this is an admissible Ito integrand: the normal moment formula gives \(\mathbb{E}[X_s^2]=x_0^2e^{(2a+b^2)s}\), and hence \(\mathbb{E}\int_0^T b^2X_s^2\,ds<\infty\). The formula also shows that the solution is strong: it is constructed as an adapted function of the given Brownian motion. The standard global Lipschitz theorem gives pathwise uniqueness, meaning solutions driven by the same Brownian motion with the same initial value agree almost surely.

For \(x_0\ne0\), take logarithms of the absolute value. The standard Brownian strong law \(B_t/t\to0\) almost surely yields

$$ \lim_{t\to\infty}\frac{1}{t}\log|X_t| =a-\tfrac12b^2\qquad\text{almost surely}. $$

This is the almost-sure growth exponent. For the second moment, the normal moment-generating formula \(\mathbb{E}[e^{\lambda B_t}]=e^{\lambda^2t/2}\) gives

$$ \mathbb{E}[X_t^2] =x_0^2e^{(2a-b^2)t}\mathbb{E}[e^{2bB_t}] =x_0^2e^{(2a+b^2)t}. $$

The exponent \(2a+b^2\) controls mean-square behavior. The two exponents differ because expectation weights the large values of \(X_t^2\), while the almost-sure exponent describes the long-run rate along a typical path.

Theorem: If \(b\ne0\), the zero solution is almost-surely asymptotically stable exactly when \(a<\tfrac12b^2\), and mean-square asymptotically stable exactly when \(a<-\tfrac12b^2\). Thus mean-square stability implies almost-sure stability, but the converse fails when \(-\tfrac12b^2\le a<\tfrac12b^2\). If \(b=0\), both notions hold exactly when \(a<0\).

Proof. First suppose \(b\ne0\). If \(a-\tfrac12b^2<0\), the displayed logarithmic limit is negative, so \(|X_t|\to0\) almost surely. If \(a-\tfrac12b^2>0\), it is positive, so \(|X_t|\) grows without bound almost surely. At equality, \(a=\tfrac12b^2\), the solution is \(X_t=x_0e^{bB_t}\). Brownian motion has almost surely \(\limsup_{t\to\infty}B_t=+\infty\) and \(\liminf_{t\to\infty}B_t=-\infty\), the standard Brownian oscillation result; hence \(X_t\) does not converge to zero. This proves the almost-sure criterion, including its boundary. For mean-square stability, the exact formula is \(x_0^2e^{(2a+b^2)t}\): it tends to zero exactly when \(2a+b^2<0\), is constant and positive when \(2a+b^2=0\), and grows when \(2a+b^2>0\). Finally, if \(b=0\), then \(X_t=x_0e^{at}\), and both stability definitions reduce to \(a<0\). The interval \([-\tfrac12b^2,\tfrac12b^2)\) lies inside the almost-surely stable region but outside the mean-square stable region, proving the stated comparison. \(\square\)

The Brownian strong law and oscillation result used here are standard Brownian-motion results; their proofs are not repeated in this tutorial. In particular, the equality case for the almost-sure criterion cannot be settled merely by observing that the logarithmic exponent is zero: oscillation is needed to rule out convergence to zero.

Worked Parameter Regimes

Worked Example: Paths Decay While the Second Moment Grows

Take \(a=-\tfrac14\), \(b=1\), and \(x_0=2\). Substitution into the solution gives

$$ X_t=2\exp\!\left(-\tfrac34t+B_t\right). $$

The almost-sure exponent is \(a-\tfrac12b^2=-\tfrac14-\tfrac12=-\tfrac34\), so \(X_t\to0\) almost surely. The second moment is

$$ \mathbb{E}[X_t^2]=4e^{(2a+b^2)t} =4e^{(2(-\tfrac14)+1)t} =4e^{t/2}. $$

It grows, rather than decays. As an independent check, the first moment from the same explicit solution is \(\mathbb{E}[X_t]=2e^{at}=2e^{-t/4}\), which decays; decay of the first moment does not imply decay of the second. The result is consistent with the two separate exponents: \(-\tfrac34\) for the pathwise logarithmic rate and \(\tfrac12\) for the second moment.

Worked Example: Both Stability Tests Succeed

Take \(a=-1\), \(b=1\), and \(x_0=3\). The solution and its pathwise exponent are

$$ X_t=3e^{-3t/2+B_t}, \qquad a-\tfrac12b^2=-1-\tfrac12=-\tfrac32. $$

The negative exponent implies almost-sure convergence to zero. For the second moment, substitute the parameters into the exact formula:

$$ \mathbb{E}[X_t^2]=9e^{(2(-1)+1)t}=9e^{-t}. $$

This tends to zero, so the solution is mean-square asymptotically stable as well. As a check, the second-moment exponent \(-1\) is negative, and the mean-square formula gives \(\mathbb{E}[X_0^2]=9e^0=9=x_0^2\) at time zero.

Worked Example: The Mean-Square Boundary

Take \(a=-\tfrac12\), \(b=1\), and \(x_0=1\). Then

$$ X_t=e^{-t+B_t}, \qquad \frac1t\log|X_t|=-1+\frac{B_t}{t}\longrightarrow-1 \quad\text{almost surely}. $$

Thus paths decay to zero almost surely. But the second moment is exactly

$$ \mathbb{E}[X_t^2]=e^{(2(-\tfrac12)+1)t}=e^0=1 $$

for every \(t\ge0\). It does not tend to zero, so mean-square asymptotic stability fails at equality. The check at \(t=0\) gives \(1=x_0^2\), as required; the same formula then verifies the constant second moment at every later time.

Why Rare Fluctuations Matter

The second-moment formula can be understood by changing the weighting used in the expectation, without changing the probability measure of the SDE. For \(b\ne0\), the density of \(B_t\) is proportional to \(e^{-z^2/(2t)}\). In the expectation of \(X_t^2\), the factor \(e^{2bB_t}\) reweights this density. Completing the square gives the exact identity

$$ e^{2bz}\frac{e^{-z^2/(2t)}}{\sqrt{2\pi t}} =e^{2b^2t}\frac{e^{-(z-2bt)^2/(2t)}}{\sqrt{2\pi t}}. $$

After normalization, the reweighted Gaussian is centered at \(2bt\), not at zero. Thus the second moment is especially sensitive to paths with Brownian motion of order \(t\), even though \(B_t/t\to0\) on almost every path. For the boundary example, \(a=-\tfrac12\) and \(b=1\), the factor outside \(e^{2bB_t}\) in \(X_t^2=e^{-2t+2B_t}\) is \(e^{-2t}\). The reweighting contributes \(e^{2t}\), exactly canceling it and leaving \(\mathbb{E}[X_t^2]=1\). Typical paths still decay, but these less typical large fluctuations prevent the second moment from decaying.

This calculation is an explanation of the expectation, not a claim that a particular path has positive probability of following the line \(B_t=2bt\). The density identity is exact at each fixed \(t\); it identifies which region of Brownian values receives extra weight in computing the second moment.

Common Pitfall: Inferring Moment Stability from Typical Paths

A tempting but incorrect calculation is to use the almost-sure exponent \(a-\tfrac12b^2\) to decide whether \(\mathbb{E}[X_t^2]\) decays. For \(a=-\tfrac14\), \(b=1\), that exponent is \(-\tfrac34\), so this mistake would predict mean-square stability. The correction is to square the explicit solution and then take its expectation:

$$ X_t^2=x_0^2e^{(2a-b^2)t+2bB_t}, \qquad \mathbb{E}[X_t^2]=x_0^2e^{(2a+b^2)t}. $$

With \(x_0=2\) and the stated parameters, this gives \(4e^{t/2}\), which grows. The missing term in the mistaken argument comes from the normal moment \(\mathbb{E}[e^{2bB_t}]=e^{2b^2t}\); replacing a random exponential by its typical pathwise rate loses precisely the contribution that can control the expectation.

For \(b\ne0\), the full comparison is therefore: both notions of stability hold for \(a<-\tfrac12b^2\); only almost-sure stability holds for \(-\tfrac12b^2\le a<\tfrac12b^2\); and neither holds for \(a\ge\tfrac12b^2\). At the lower boundary the second moment is constant, while at the upper boundary Brownian oscillations prevent almost-sure convergence to zero. When \(b=0\), the noise disappears and the two criteria coincide.

Check Your Understanding

Use the explicit solution and distinguish the pathwise exponent from the second-moment exponent.

  1. For \(b\ne0\), identify the parameter interval where the solution is almost-surely stable but not mean-square stable.
  2. At \(a=-\tfrac12b^2\) with \(b\ne0\), what is \(\mathbb{E}[X_t^2]\), and does mean-square asymptotic stability hold?
  3. For \(a=0\), \(b=2\), and \(x_0=1\), determine whether the solution is almost-surely stable and whether it is mean-square stable.
  4. Explain why the almost-sure logarithmic exponent alone does not determine the second-moment exponent.
  5. What changes in the stability comparison when \(b=0\)?