Search Knowledge

© 2026 LIBREUNI PROJECT

Stochastic Processes

Stochastic Processes

A stochastic process is a mathematical object defined as a collection of random variables defined on a common probability space (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P}), indexed by a totally ordered set TT (usually representing time). Formally, a stochastic process is parameterized as X={Xt:tT}X = \{X_t : t \in T\}, where for each tTt \in T, XtX_t is an F\mathcal{F}-measurable function mapping ΩS\Omega \to S for measurable state space (S,S)(S, \mathcal{S}).

When T=NT = \mathbb{N} or Z\mathbb{Z}, the process is cast as a discrete-time stochastic process. If T=[0,)T = [0, \infty) or TRT \subset \mathbb{R}, it represents a continuous-time stochastic process. The state space SS determines whether the process is discrete-state (e.g., integer values) or continuous-state (e.g., real-valued).

Filtrations and Information

To rigorously describe the evolution of a stochastic process, it is essential to capture the accumulation of information over time. This is formalized by a filtration F={Ft}tT\mathbb{F} = \{\mathcal{F}_t\}_{t \in T}, which is an increasing family of sub-σ\sigma-algebras of F\mathcal{F}. That is, FsFtF\mathcal{F}_s \subseteq \mathcal{F}_t \subseteq \mathcal{F} for all sts \leq t.

The intuitive interpretation of Ft\mathcal{F}_t is the “history” or the “available information” up to time tt. A stochastic process {Xt}tT\{X_t\}_{t \in T} is said to be adapted to the filtration F\mathbb{F} if, for every tTt \in T, the random variable XtX_t is Ft\mathcal{F}_t-measurable. This implies that if one observes the state of the universe up to time tt, the value of XtX_t is completely known.

Martingales

Martingales constitute one of the most fundamental classes of stochastic processes, generalizing the concept of a “fair game” where knowledge of past events never helps predict expected future winnings.

Let (Ω,F,{Ft},P)(\Omega, \mathcal{F}, \{\mathcal{F}_t\}, \mathbb{P}) be a filtered probability space. A real-valued stochastic process {Mt}tT\{M_t\}_{t \in T} is a martingale with respect to the filtration {Ft}\{\mathcal{F}_t\} and probability measure P\mathbb{P} if it satisfies the following three conditions:

  1. Adaptedness: MtM_t is Ft\mathcal{F}_t-measurable for all tt.
  2. Integrability: E[Mt]<\mathbb{E}[|M_t|] < \infty for all tt (i.e., MtL1(P)M_t \in L^1(\mathbb{P})).
  3. Martingale Property: For all sts \leq t, the conditional expectation satisfies: E[MtFs]=Msalmost surely (a.s.)\mathbb{E}[M_t \mid \mathcal{F}_s] = M_s \quad \text{almost surely (a.s.)}

If the equality in the third condition is replaced with \leq (or \geq), the process is termed a supermartingale (or submartingale). In a supermartingale, the expected future value is less than or equal to the current value (a losing game), whereas in a submartingale, it is greater than or equal to the current value (a winning game).

Discrete-Time Martingales

Consider a simple symmetric random walk Sn=i=1nXiS_n = \sum_{i=1}^n X_i, where the increments XiX_i are independent, identically distributed (i.i.d.) random variables with P(Xi=1)=1/2\mathbb{P}(X_i = 1) = 1/2 and P(Xi=1)=1/2\mathbb{P}(X_i = -1) = 1/2. Let Fn=σ(X1,,Xn)\mathcal{F}_n = \sigma(X_1, \dots, X_n) be the natural filtration. Check that SnS_n is a martingale:

E[Sn+1Fn]=E[Sn+Xn+1Fn]=E[SnFn]+E[Xn+1Fn]\mathbb{E}[S_{n+1} \mid \mathcal{F}_n] = \mathbb{E}[S_n + X_{n+1} \mid \mathcal{F}_n] = \mathbb{E}[S_n \mid \mathcal{F}_n] + \mathbb{E}[X_{n+1} \mid \mathcal{F}_n]

Since SnS_n is Fn\mathcal{F}_n-measurable, E[SnFn]=Sn\mathbb{E}[S_n \mid \mathcal{F}_n] = S_n. Since Xn+1X_{n+1} is independent of Fn\mathcal{F}_n, E[Xn+1Fn]=E[Xn+1]=0\mathbb{E}[X_{n+1} \mid \mathcal{F}_n] = \mathbb{E}[X_{n+1}] = 0. Thus, E[Sn+1Fn]=Sn\mathbb{E}[S_{n+1} \mid \mathcal{F}_n] = S_n, proving SnS_n is a discrete-time martingale.

Let $M_t$ be a martingale. Which of the following statements strictly describes its conditional expectation characteristic?

Stopping Times

In many practical and theoretical contexts, we are interested in evaluating models at random times (e.g., the time a stock hits a certain price or the time a gambler goes bankrupt). This gives rise to the concept of a stopping time.

A random variable τ:ΩT{}\tau: \Omega \to T \cup \{\infty\} is a stopping time (or Markov time) with respect to a filtration {Ft}\{\mathcal{F}_t\} if, for every tTt \in T, the event {τt}Ft\{\tau \leq t\} \in \mathcal{F}_t. Intuitively, at any given time tt, one can determine whether the stopping time has occurred strictly based on the information available up to time tt. A stopping time cannot look into the future.

For a stochastic process {Xt}\{X_t\}, the first hitting time of a Borel set BB(R)B \in \mathcal{B}(\mathbb{R}) is defined as: τB=inf{t0:XtB}\tau_B = \inf \{ t \geq 0 : X_t \in B \} When the process has right-continuous paths and BB is a closed set, τB\tau_B is guaranteed to be a stopping time.

Optional Stopping Theorem

Does evaluating a martingale at a stopping time τ\tau preserve its expected value? In general, it might not. However, Doob’s Optional Stopping Theorem establishes the conditions under which the expected value at the stopping time equals the initial expected value, i.e., E[Mτ]=E[M0]\mathbb{E}[M_\tau] = \mathbb{E}[M_0].

Let (Mn)n0(M_n)_{n \geq 0} be a discrete-time martingale and τ\tau be a stopping time with respect to the filtration (Fn)(\mathcal{F}_n). Then E[Mτ]=E[M0]\mathbb{E}[M_\tau] = \mathbb{E}[M_0] holds if any of the following conditions is satisfied:

  1. The stopping time is bounded almost surely: P(τN)=1\mathbb{P}(\tau \leq N) = 1 for some deterministic integer NN.
  2. The stopping time has a finite expectation E[τ]<\mathbb{E}[\tau] < \infty, and the increments are conditionally bounded: there exists c>0c > 0 such that E[Mn+1MnFn]c\mathbb{E}[|M_{n+1} - M_n| \mid \mathcal{F}_n] \leq c a.s. on {τ>n}\{\tau > n\}.
  3. There exists a constant CC such that MnτC|M_{n \wedge \tau}| \leq C almost surely for all nn.

This theorem highlights the impossibility of formulating a systemic winning strategy in a fair game under bounded resource constraints (the origin of the impossibility of the classical “Martingale betting strategy”).

Brownian Motion (Wiener Process)

The Wiener process (or standard Brownian motion) is the fundamental continuous-time analog of the random walk. It drives modern financial theory, statistical mechanics, and continuous-state probability.

A standard one-dimensional Wiener process W={Wt}t0W = \{W_t\}_{t \ge 0} is a stochastic process characterized by the following properties:

  1. W0=0W_0 = 0 almost surely.
  2. WW has independent increments: For any 0t1<t2<<tk0 \leq t_1 < t_2 < \dots < t_k, the random variables Wt1,Wt2Wt1,,WtkWtk1W_{t_1}, W_{t_2} - W_{t_1}, \dots, W_{t_k} - W_{t_{k-1}} are independent.
  3. WW has stationary normally distributed increments: For any 0s<t0 \leq s < t, the increment WtWsW_t - W_s follows a normal distribution: WtWsN(0,ts)W_t - W_s \sim \mathcal{N}(0, t - s)
  4. The paths tWtt \mapsto W_t are almost surely continuous.

Despite being continuous everywhere, the path of a Brownian motion is differentiable nowhere. Its quadratic variation over the interval [0,t][0,t] is exactly tt. That is, limΠ0i=0n1(Wti+1Wti)2=t\lim_{||\Pi|| \to 0} \sum_{i=0}^{n-1} (W_{t_{i+1}} - W_{t_i})^2 = t. This strict non-zero quadratic variation is the very reason why ordinary calculus (Newton-Leibniz) fails for stochastic processes and necessitate a distinct calculus.

python

Interactive Lab

Read the code, make a small change, then run it and inspect the output. Runtime setup messages stay outside the terminal so the result remains focused on what the program prints.

Step 1
Inspect the idea
Step 2
Edit the program
Step 3
Run and compare

Itô’s Lemma

Because Brownian motion has non-zero quadratic variation, the standard chain rule of differential calculus does not hold. Instead, we use Itô’s Calculus, anchored by Itô’s Lemma.

Let XtX_t be an Itô drift-diffusion process satisfying the stochastic differential equation: dXt=μtdt+σtdWtdX_t = \mu_t dt + \sigma_t dW_t where WtW_t is a standard Wiener process, and μt,σt\mu_t, \sigma_t are adapted processes. Let f(t,x)f(t,x) be a scalar function that is twice continuously differentiable in xx and once in tt (i.e., fC1,2([0,)×R)f \in C^{1,2}([0, \infty) \times \mathbb{R})).

By Itô’s Lemma, the process Yt=f(t,Xt)Y_t = f(t, X_t) is also an Itô process whose differential is given by: df(t,Xt)=(ft+μtfx+12σt22fx2)dt+σtfxdWtdf(t, X_t) = \left( \frac{\partial f}{\partial t} + \mu_t \frac{\partial f}{\partial x} + \frac{1}{2} \sigma_t^2 \frac{\partial^2 f}{\partial x^2} \right) dt + \sigma_t \frac{\partial f}{\partial x} dW_t

The profound emergence of the term 12σt22fx2dt\frac{1}{2} \sigma_t^2 \frac{\partial^2 f}{\partial x^2} dt reflects the quadratic variation of XtX_t, often formalized by the heuristic multiplication rules: dtdt=0,dtdWt=0,(dWt)2=dtdt \cdot dt = 0, \quad dt \cdot dW_t = 0, \quad (dW_t)^2 = dt

Geometric Brownian Motion & Itô's Lemma

In quantitative finance, the standard model for a stock price $S_t$ assumes the proportional return $dS_t / S_t$ undergoes constant drift and volatility, modeled by the stochastic differential equation: $dS_t = \mu S_t dt + \sigma S_t dW_t$. To find the distribution of $S_t$, we need to solve this. Applying standard ODE techniques fails because of the $dW_t$ term. We must use Itô's lemma to transform the equation, commonly via the natural logarithm function.

Apply Itô's Lemma to the function $f(t, S_t) = \ln(S_t)$ where $dS_t = \mu S_t dt + \sigma S_t dW_t$. What is the resulting stochastic differential equation for $d(\ln S_t)$?

Stochastic Differential Equations (SDEs)

A Stochastic Differential Equation relates the continuous-time dynamics of a stochastic process to a deterministic drift part and a stochastic diffusion part. The general form is: dXt=b(t,Xt)dt+σ(t,Xt)dWtdX_t = b(t, X_t) dt + \sigma(t, X_t) dW_t This equation is simply a symbolic shorthand for the integral equation: Xt=X0+0tb(s,Xs)ds+0tσ(s,Xs)dWsX_t = X_0 + \int_0^t b(s, X_s) ds + \int_0^t \sigma(s, X_s) dW_s where the first integral is a standard Lebesgue/Riemann integral and the second is an Itô stochastic integral.

Existence and Uniqueness

Much like Picard–Lindelöf for deterministic ODEs, there are conditions for the strong existence and uniqueness of solutions to SDEs. Under Lipschitz continuity and linear growth bounding conditions:

  1. Lipschitz Condition: b(t,x)b(t,y)+σ(t,x)σ(t,y)Kxy|b(t, x) - b(t, y)| + |\sigma(t, x) - \sigma(t, y)| \leq K|x - y|
  2. Linear Growth: b(t,x)2+σ(t,x)2C(1+x2)|b(t, x)|^2 + |\sigma(t, x)|^2 \leq C(1 + |x|^2)

for some constants K,C>0K, C > 0 and all t,x,yt, x, y, there exists a unique strong solution XtX_t to the SDE.

The analysis, simulation, and integration of SDEs form the bedrock of continuously evolving systems subject to noise across physics, mathematical biology, and finance.

In the SDE framework, what does the term 'diffusion coefficient' refer to?

Previous Module Markov Chains