Tutorials › Stochastic Processes › Simulating Brownian Maxima Beyond the Time Grid

Simulation of Stochastic Processes · Tutorial 988 of 994

Simulating Brownian Maxima Beyond the Time Grid

Use Brownian bridge crossing probabilities to detect, simulate, and quantify maxima that occur between sampled Brownian time points.

Intermediate 12 min read

What You'll Learn

  • Derive the probability that a Brownian bridge crosses a level above both endpoints.
  • Sample an interval maximum conditional on its two Brownian grid values.
  • Combine interval maxima to simulate the maximum over a full path.
  • Express the expected bias from using only grid-point maxima.
  • Compute the exact grid-only bias for a single Brownian time interval.
  • Recognize why linear interpolation misses between-grid crossings.

Why Grid-Point Maxima Miss Brownian Peaks

Simulating Brownian motion on a time grid gives its values at selected times, but the path between successive grid points is not linear. It can rise above both sampled endpoints and return before the next observation. Consequently, the largest simulated grid value is no larger than the true maximum over the time interval. The Brownian bridge gives an exact way to quantify and simulate these hidden peaks, conditional on the grid values already obtained.

Let \((\Omega,\mathcal{F},\mathbb{P})\) be a probability space with filtration \((\mathcal{F}_t)_{t\ge0}\), and let \((B_t)_{t\ge0}\) be standard Brownian motion relative to this filtration: \(B_0=0\), its paths are continuous, and its increments over disjoint time intervals are independent centered normal variables with variance equal to the interval length. On an interval of length \(h>0\), conditional on its two endpoint values \(B_0=x\) and \(B_h=y\), the path has the Brownian bridge law from \(x\) to \(y\). Conditional statements about fixed endpoint values are understood through the conditional distribution given the endpoint, even though an individual endpoint value has probability zero.

Definition: For an interval \([0,h]\), its upper maximum is \(M=\sup_{0\le s\le h}B_s\). Given endpoint values \(x\) and \(y\), write \(M^{x,y}\) for a random variable with the conditional distribution of this maximum. A crossing of level \(a\) means that the path reaches or exceeds \(a\) at some time in the interval.

The Brownian Bridge Crossing Probability

Suppose \(a>\max(x,y)\). The bridge starts and ends below \(a\), so a crossing can only occur between the endpoints. The exact conditional crossing probability is exponential in the product of the two endpoint distances from the level.

Theorem (Brownian bridge crossing formula): For a Brownian bridge of duration \(h>0\) from \(x\) to \(y\), and a level \(a>\max(x,y)\),
$$ \mathbb{P}\!\left(M^{x,y}\ge a\right) =\exp\!\left(-\frac{2(a-x)(a-y)}{h}\right). $$

If \(a\le\max(x,y)\), then the crossing probability is \(1\), since an endpoint already reaches or exceeds \(a\). The strict condition \(a>\max(x,y)\) is the case in which the displayed exponential formula is used.

Proof. First consider Brownian motion started at \(x<a\), without conditioning on its endpoint. Its time-\(h\) endpoint has density \(p_h(y-x)\), where \(p_h(u)=(2\pi h)^{-1/2}\exp(-u^2/(2h))\). For \(y<a\), the reflection principle gives the joint endpoint density for paths that reach \(a\) and end at \(y\) as \(p_h(2a-y-x)\). To see the reflection argument, reflect a path after its first hitting time of \(a\). This maps paths that hit \(a\) and end at \(y\) to paths ending at \(2a-y\); symmetry and independent increments after the hitting time preserve their probabilities. Dividing the joint density of hitting and ending at \(y\) by the endpoint density gives the conditional probability given endpoint \(y\):

$$ \frac{p_h(2a-y-x)}{p_h(y-x)} = \exp\!\left( -\frac{(2a-y-x)^2-(y-x)^2}{2h} \right) = \exp\!\left(-\frac{2(a-x)(a-y)}{h}\right). $$

Conditioning Brownian motion started at \(x\) on its endpoint \(y\) gives the Brownian bridge from \(x\) to \(y\), so this ratio is the required bridge crossing probability. If \(a\le\max(x,y)\), an endpoint itself is at or above \(a\), which proves the remaining case. \(\square\)

Worked Example: A Bridge Can Cross Even When Both Endpoints Are Zero

Consider a Brownian bridge of duration \(h=1\) from \(x=0\) to \(y=0\). Find the probability that its maximum reaches level \(a=1\).

The level is strictly above both endpoints, so substitute into the crossing formula:

$$ \mathbb{P}(M^{0,0}\ge1) =\exp\!\left(-\frac{2(1-0)(1-0)}{1}\right) =e^{-2}. $$

The probability is positive even though the two grid values are both zero. A method that joins the endpoints by a straight line would report a maximum of zero and miss every such crossing. As a check, lowering the level toward the endpoint value makes the exponent approach zero, so the crossing probability approaches \(1\), as expected.

Sampling an Interval Maximum

The crossing formula determines the entire conditional distribution of the maximum. For \(m\ge\max(x,y)\), the event \(M^{x,y}\le m\) is the complement of reaching or exceeding \(m\). Thus the conditional cumulative distribution function is

$$ F_{x,y,h}(m) = \mathbb{P}(M^{x,y}\le m) = 1-\exp\!\left(-\frac{2(m-x)(m-y)}{h}\right), \qquad m\ge\max(x,y). $$

For \(m<\max(x,y)\), this cumulative distribution function is zero. At \(m=\max(x,y)\), the formula also gives zero. There is no point mass at the larger endpoint: for a bridge of positive duration, the maximum exceeds that endpoint with probability one.

Let \(U\) be uniform on \((0,1)\). Solving \(F_{x,y,h}(m)=U\) gives an exact way to sample the conditional maximum. Taking logarithms yields \((m-x)(m-y)=-\tfrac{h}{2}\log(1-U)\); solving this quadratic and selecting the root above both endpoints gives

$$ m = \frac{x+y+\sqrt{(x-y)^2-2h\log(1-U)}}{2}. $$

The uniform variable is taken in the open interval \((0,1)\), so the logarithm is finite and the sampled maximum is strictly above both endpoints. The formula is an inverse-transform method: the cumulative distribution function is continuous and increasing from zero to one over its support, and substituting the displayed \(m\) into it returns \(U\).

Worked Example: Draw a Bridge Maximum from Its Conditional Law

Suppose a bridge has duration \(h=\tfrac12\), starts at \(x=\tfrac14\), and ends at \(y=-\tfrac14\). Use \(U=\tfrac12\) to obtain one inverse-transform draw of its maximum.

Substitute the values into the sampling formula. Here \(x+y=0\), \(x-y=\tfrac12\), and \(\log(1-U)=\log(\tfrac12)=-\log 2\):

$$ m = \frac{\sqrt{(\tfrac12)^2-2(\tfrac12)\log(\tfrac12)}}{2} = \frac{\sqrt{\tfrac14+\log 2}}{2} = \sqrt{\frac1{16}+\frac{\log 2}{4}}. $$

This value is greater than the larger endpoint, \(\tfrac14\), because the expression under the square root in the middle form is greater than \(\tfrac14\). To check the draw, its endpoint product satisfies

$$ (m-x)(m-y) =m^2-\frac1{16} =\frac{\log 2}{4} =-\frac{h}{2}\log(1-U). $$

Therefore \(F_{x,y,h}(m)=1-\exp(-\log 2)=\tfrac12=U\), as required.

Correcting a Maximum on a Full Time Grid

Let \(0=t_0<t_1<\cdots<t_n=T\) be a finite time grid, with interval lengths \(h_k=t_{k+1}-t_k>0\). The grid-only maximum is \(G=\max_{0\le k\le n}B_{t_k}\); the continuous maximum is \(M_T=\sup_{0\le t\le T}B_t\). Pathwise, \(G\le M_T\). Given all grid values, the bridge segments on the separate intervals are conditionally independent. Each segment’s conditional law depends on its two endpoints, and its maximum can be sampled using the inverse formula above.

Result (Conditional bridge correction): Conditional on the grid values, independently draw one maximum \(M_k\) for each interval \([t_k,t_{k+1}]\) using the bridge maximum distribution with endpoints \(B_{t_k},B_{t_{k+1}}\) and duration \(h_k\). Then \(\max_{0\le k<n}M_k\) has the conditional distribution of \(M_T\) given those grid values.

Proof. Brownian independent increments imply the Markov property: given the value at a time, the future increments are independent of the past. Conditioning additionally on the endpoint of an interval gives the Brownian bridge law on that interval. For a finite collection of intervals, the conditional density of their path segments given all grid values factors into the product of their bridge densities: the unconditioned increment densities factor across intervals, and conditioning fixes the endpoint increment on each interval separately. Hence the bridge segments, and therefore their maxima, are conditionally independent. On every path, the maximum over \([0,T]\) is the largest of the interval maxima, because these intervals cover \([0,T]\). Drawing independent maxima from their conditional bridge laws therefore gives the stated conditional distribution of \(M_T\). \(\square\)

In practice, first simulate the Brownian values on the grid from Gaussian increments, as in Brownian motion on a time grid. Then, for each interval, draw an independent uniform variable and apply the inverse formula. Taking the maximum over all these draws gives a corrected continuous-time maximum. This generates the maximum, not the full path between grid points; additional bridge refinement is needed if values at intermediate times are also required.

Worked Example: Correct a Two-Interval Grid at a Fixed Level

Suppose a grid has three values \(B_0=0\), \(B_1=0\), and \(B_2=0\), with both interval lengths equal to \(1\). Find the conditional probability that the continuous maximum over the two intervals reaches level \(1\).

For each interval, the endpoints are zero and the level is strictly above them. The conditional crossing probability on either interval is \(e^{-2}\), so the probability of not crossing on one interval is \(1-e^{-2}\). By conditional independence of the two bridges, the probability neither interval crosses is \((1-e^{-2})^2\). Consequently, the probability of at least one crossing is

$$ 1-(1-e^{-2})^2 =1-(1-2e^{-2}+e^{-4}) =2e^{-2}-e^{-4}. $$

This is the probability for the continuous path conditional on these grid values; the grid-only maximum is zero and would report no crossing. As a check, \(2e^{-2}-e^{-4}=1-(1-e^{-2})^2\) lies between zero and one, since \(0<1-e^{-2}<1\).

Quantifying the Bias from Grid-Point Maxima

Because \(G\le M_T\), grid-point maxima systematically underestimate the continuous maximum. The expected bias is \(\mathbb{E}[M_T-G]\), when these expectations are finite. For a general grid, an exact representation follows by integrating tail probabilities. Since \(B_0=0\), both maxima are nonnegative. Using the conditional bridge distribution gives, for \(z\ge0\),

$$ \mathbb{P}(M_T\le z\mid B_{t_0},\ldots,B_{t_n}) = \mathbf{1}_{\{G\le z\}} \prod_{k=0}^{n-1} \left[ 1-\exp\!\left( -\frac{2(z-B_{t_k})(z-B_{t_{k+1}})}{h_k} \right) \right], \qquad \text{when }G\le z. $$

The formula applies on the event \(G\le z\), where each endpoint is at or below the level. If \(G>z\), the conditional probability is zero. Subtracting this conditional probability from \(\mathbf{1}_{\{G\le z\}}\) gives the conditional probability that the grid maximum is at most \(z\) but the continuous maximum exceeds it. Integrating over \(z\ge0\) yields an exact expression for the expected bias. For arbitrary grids, evaluating this expectation generally requires averaging over the random grid values; bridge correction provides a direct simulation method for doing so.

Worked Example: Exact Expected Bias on a One-Interval Grid

Take standard Brownian motion over \([0,1]\) and use only the endpoint grid \(\{0,1\}\). Compute the expected difference between the continuous maximum and the grid-only maximum.

The reflection principle gives \(\mathbb{P}(M_1>a)=2\mathbb{P}(B_1>a)\) for \(a>0\). Since \(B_1\) is standard normal, the tail-integral formula for a nonnegative random variable gives

$$ \mathbb{E}[M_1] = \int_0^\infty\mathbb{P}(M_1>a)\,da = 2\int_0^\infty\mathbb{P}(B_1>a)\,da = 2\mathbb{E}[B_1^+]. $$

For a standard normal variable with density \((2\pi)^{-1/2}e^{-u^2/2}\), direct integration gives \(\mathbb{E}[B_1^+]=\int_0^\infty u(2\pi)^{-1/2}e^{-u^2/2}\,du=1/\sqrt{2\pi}\). Thus \(\mathbb{E}[M_1]=2/\sqrt{2\pi}=\sqrt{2/\pi}\). The grid-only maximum is \(G=\max(0,B_1)\), so \(\mathbb{E}[G]=\mathbb{E}[B_1^+]=1/\sqrt{2\pi}\). Therefore the expected grid-only bias is

$$ \mathbb{E}[M_1-G] = \sqrt{\frac{2}{\pi}}-\frac{1}{\sqrt{2\pi}} = \frac{1}{\sqrt{2\pi}}. $$

As a check, the grid maximum never exceeds the continuous maximum, and the computed expected difference is positive. For an interval of length \(T>0\), Brownian scaling multiplies both maxima by \(\sqrt{T}\), so this one-interval bias becomes \(\sqrt{T/(2\pi)}\).

Common Pitfall: Interpolating Instead of Correcting

A straight line between two sampled values is not a Brownian bridge sample. For example, if both endpoints are zero over an interval of length one, linear interpolation has maximum zero. But the conditional probability that the true bridge reaches level one is \(e^{-2}\), not zero. Treating the linearly interpolated maximum as exact therefore discards genuine between-grid crossings. The correction is not to raise every grid maximum by a fixed amount; the bridge crossing probability depends on the interval length and on both endpoint distances from the level.

For a threshold above every sampled value, one can test whether the true path crossed it by applying the bridge crossing probability separately on each interval. To simulate the maximum itself, use the inverse-transform draw for each interval and then maximize those draws. The interval maxima must be independent conditional on the grid values, but they are not independent unconditionally because they share random endpoints.

Check Your Understanding

Use the crossing formula and inverse-transform method to answer these questions; distinguish the grid maximum from the continuous maximum.

  1. A bridge of duration \(h=2\) runs from \(x=0\) to \(y=1\). For a level \(a=2\), write its conditional crossing probability.
  2. For a bridge with endpoints \(x=y=0\) and duration \(h=1\), what is the conditional distribution function of its maximum for \(m\ge0\)?
  3. Use \(x=0\), \(y=0\), \(h=1\), and \(U=\tfrac12\) in the inverse-transform formula. Verify the resulting draw by substituting it into the distribution function.
  4. On a two-interval grid, how do you combine the conditional interval crossing probabilities to obtain the probability of at least one crossing, given all grid values?
  5. Why is the one-interval expected bias positive even though the grid includes both time endpoints?