Tutorials › Stochastic Processes › Computing Brownian Covariance Matrices

Brownian Motion: Definition and Construction · Tutorial 803 of 994

Computing Brownian Covariance Matrices

Learn to construct and check Brownian covariance matrices for irregularly spaced observation times, including grids with unsorted, zero, or repeated times.

Advanced 10 min read

What You'll Learn

  • Construct the covariance matrix for any finite list of Brownian observation times.
  • Reorder an unsorted time list without changing the underlying covariances.
  • Factor an ordered covariance matrix using its successive time gaps.
  • Compute its determinant and identify when it is positive definite or singular.
  • Recognize common errors when entering or interpreting covariance matrix entries.

From Observation Times to a Covariance Matrix

A finite collection of Brownian observations is a Gaussian vector, and its covariance matrix records how strongly each pair of observations varies together. For a specified time grid, the entries are determined by the earlier covariance formula for standard Brownian motion: the covariance at two times is the smaller time. The main computational work is therefore to place the times in the correct positions, handle irregular spacing without rounding, and check what the resulting matrix says about the observations.

Let \((\Omega,\mathcal{F},\mathbb{P})\) be a probability space carrying standard Brownian motion \((B_t)_{t\ge0}\). For observation times \(t_1,\ldots,t_n\), define the random vector \(Y=(B_{t_1},\ldots,B_{t_n})^\mathsf{T}\). The covariance matrix of \(Y\), denoted \(C\), has entry \(C_{ij}=\operatorname{Cov}(B_{t_i},B_{t_j})\). Standard Brownian motion has mean zero and covariance function \(\operatorname{Cov}(B_s,B_t)=\min(s,t)\), so each entry is obtained by taking the smaller of the two times.

Definition: For a finite list of nonnegative observation times \(t_1,\ldots,t_n\), the Brownian covariance matrix is the \(n\times n\) matrix \(C\) with \(C_{ij}=\min(t_i,t_j)\). It is symmetric, and its diagonal entries are \(C_{ii}=t_i=\operatorname{Var}(B_{t_i})\).

The order of the times in the list determines the order of rows and columns, not the values of the covariances themselves. If the times are listed chronologically, the matrix has a useful structure: each row agrees with the earlier rows up through that observation's time. If the times are listed in another order, construct the entries in that listed order or sort the times first and then apply the same permutation to both rows and columns.

A Factorization for Ordered Times

For \(0\le t_1\le t_2\le\cdots\le t_n\), set \(t_0=0\), and define the gaps \(\Delta_k=t_k-t_{k-1}\) for \(1\le k\le n\). Let \(L\) be the lower-triangular matrix whose entry \(L_{ik}\) is \(1\) when \(k\le i\), and \(0\) otherwise. Then the covariance matrix factors into \(L\), a diagonal matrix of time gaps, and the transpose of \(L\).

Theorem: For ordered nonnegative times \(0\le t_1\le\cdots\le t_n\), the Brownian covariance matrix satisfies \(C=L\operatorname{diag}(\Delta_1,\ldots,\Delta_n)L^\mathsf{T}\). Consequently, \(C\) is positive semidefinite and \(\det(C)=\prod_{k=1}^n\Delta_k\). It is positive definite exactly when \(0<t_1<t_2<\cdots<t_n\).

Proof. For indices \(i,j\), the \((i,j)\) entry of the product is \(\sum_{k=1}^n L_{ik}\Delta_k L_{jk}\). The factors \(L_{ik}L_{jk}\) equal \(1\) exactly when \(k\le\min(i,j)\), and otherwise equal \(0\). Thus this entry is \(\sum_{k=1}^{\min(i,j)}(t_k-t_{k-1})=t_{\min(i,j)}=\min(t_i,t_j)=C_{ij}\), proving the factorization. For any column vector \(x\), \(x^\mathsf{T}Cx=(L^\mathsf{T}x)^\mathsf{T}\operatorname{diag}(\Delta_1,\ldots,\Delta_n)(L^\mathsf{T}x)=\sum_{k=1}^n\Delta_k((L^\mathsf{T}x)_k)^2\ge0\), since all gaps are nonnegative. This proves positive semidefiniteness. The matrix \(L\) is triangular with every diagonal entry \(1\), so \(\det(L)=\det(L^\mathsf{T})=1\). The determinant product rule now gives \(\det(C)=\prod_k\Delta_k\). If all gaps are positive, then for every nonzero \(x\), \(L^\mathsf{T}x\ne0\) because \(L^\mathsf{T}\) is invertible, so the displayed sum is strictly positive; hence \(C\) is positive definite. If some gap is zero, the determinant is zero, so \(C\) is not positive definite. The first gap is positive exactly when \(t_1>0\), and each later gap is positive exactly when the times strictly increase. This proves the claimed condition. \(\square\)

This factorization is also a practical check on a calculation. The determinant depends on the successive gaps, not on a product of the observation times. A zero first time or a repeated time creates a zero gap and makes the matrix singular: \(B_0=0\) with probability one, and two observations at the same time are identical random variables.

Worked Example: Three Irregular Observation Times

Take the grid \(t_1=\tfrac12\), \(t_2=\tfrac32\), and \(t_3=2\). The times are already in increasing order. Each matrix entry is the minimum of its row and column times, giving

$$ C= \begin{bmatrix} \tfrac12&\tfrac12&\tfrac12\\ \tfrac12&\tfrac32&\tfrac32\\ \tfrac12&\tfrac32&2 \end{bmatrix}. $$

The gaps are \(\Delta_1=\tfrac12\), \(\Delta_2=\tfrac32-\tfrac12=1\), and \(\Delta_3=2-\tfrac32=\tfrac12\). Therefore \(\det(C)=\tfrac12\cdot1\cdot\tfrac12=\tfrac14\), and the theorem guarantees that \(C\) is positive definite.

Direct determinant check. Expanding along the first row, the three minors are \(\tfrac32\cdot2-\tfrac32\cdot\tfrac32=\tfrac34\), \(\tfrac12\cdot2-\tfrac32\cdot\tfrac12=\tfrac14\), and \(\tfrac12\cdot\tfrac32-\tfrac32\cdot\tfrac12=0\). Including the alternating signs in the expansion gives \(\tfrac12\cdot\tfrac34-\tfrac12\cdot\tfrac14+\tfrac12\cdot0=\tfrac38-\tfrac18=\tfrac14\), agreeing with the gap calculation.

The inverse, when useful for a Gaussian density calculation, is \(\begin{bmatrix}3&-1&0\\-1&3&-2\\0&-2&2\end{bmatrix}\). For a check, multiplying the covariance matrix by this candidate inverse gives rows \((1,0,0)\), \((0,1,0)\), and \((0,0,1)\): the first row products are \(\tfrac32-\tfrac12=1\), \(-\tfrac12+\tfrac32-1=0\), and \(-1+1=0\); the second are \(\tfrac32-\tfrac32=0\), \(-\tfrac12+\tfrac92-3=1\), and \(-3+3=0\); the third are \(\tfrac32-\tfrac32=0\), \(-\tfrac12+\tfrac92-4=0\), and \(-3+4=1\).

Unsorted Lists and Singular Grids

Observation times need not be presented in chronological order. The entry formula still applies directly. For determinant or definiteness calculations, sorting is often simpler: if a permutation reorders the times, it applies the same permutation to rows and columns. Such a simultaneous reordering does not change the determinant, since the two permutation determinants multiply to \(1\).

Worked Example: An Unsorted Time List

Suppose the observations are listed in the order \(2,\tfrac12,\tfrac32\), rather than chronologically. Taking the minimum for each pair in this listed order gives

$$ C= \begin{bmatrix} 2&\tfrac12&\tfrac32\\ \tfrac12&\tfrac12&\tfrac12\\ \tfrac32&\tfrac12&\tfrac32 \end{bmatrix}. $$

For instance, the covariance of the first and third listed observations is \(\min(2,\tfrac32)=\tfrac32\), while the covariance of the second and third is \(\min(\tfrac12,\tfrac32)=\tfrac12\). In chronological order the matrix is the one from the previous example, with times \(\tfrac12,\tfrac32,2\). Reordering those rows and the corresponding columns gives the displayed matrix, so its determinant is \(\tfrac14\) and it is positive definite.

Two correlations provide additional checks on the scale of the entries. The correlation between \(B_2\) and \(B_{1/2}\) is \((1/2)/\sqrt{2(1/2)}=\tfrac12\). The correlation between \(B_2\) and \(B_{3/2}\) is \((3/2)/\sqrt{2(3/2)}=\sqrt{3}/2\). Both lie between \(0\) and \(1\), as expected for these positively correlated observations.

If the times are nonnegative but not all distinct and positive, the same entrywise definition still gives a valid covariance matrix; only strict positive definiteness can fail. The gap factorization proves positive semidefiniteness even in these cases. For repeated times, the corresponding rows and columns agree. For a time equal to zero, its row and column consist entirely of zeros.

Worked Example: A Zero Time and a Repeated Time

Consider the ordered list \(0,1,1,\tfrac52\). Applying the minimum rule entry by entry gives

$$ C= \begin{bmatrix} 0&0&0&0\\ 0&1&1&1\\ 0&1&1&1\\ 0&1&1&\tfrac52 \end{bmatrix}. $$

The gaps are \(0,1,0,\tfrac32\), so the determinant is \(0\cdot1\cdot0\cdot\tfrac32=0\). The first row is zero because \(B_0=0\) almost surely, and the second and third rows agree because both observations are \(B_1\). In particular, the vector \(x=(0,1,-1,0)^\mathsf{T}\) is nonzero and \(Cx=0\); this directly confirms singularity. The matrix remains positive semidefinite by the factorization theorem.

Why the Matrix Matters—and a Common Error

The covariance matrix is the full second-order description of the finite vector \(Y\). In particular, the diagonal reports each observation's variance, and the off-diagonal entries report pairwise covariances. Because the finite-dimensional laws of Brownian motion are Gaussian, the mean vector together with this covariance matrix specifies the joint Gaussian law. Thus an incorrectly entered off-diagonal entry changes the joint law, not merely the appearance of a table.

Common mistake: using the larger time. For observations at times \(\tfrac12\) and \(\tfrac32\), a wrong calculation might set their covariance to \(\tfrac32\), the larger time. The correction is \(\min(\tfrac12,\tfrac32)=\tfrac12\). Using \(\tfrac32\) would even violate the covariance bound \(|\operatorname{Cov}(U,V)|\le\sqrt{\operatorname{Var}(U)\operatorname{Var}(V)}\): here the bound is \(\sqrt{(\tfrac12)(\tfrac32)}=\tfrac{\sqrt3}{2}\), which is less than \(\tfrac32\). A reliable workflow is to write the time list first, fill every entry using the minimum, check symmetry and the diagonal, and then use sorted time gaps to check the determinant and definiteness.

1
Record the times in their given order.
Rows and columns must refer to the same ordered observations.
2
Fill the entries.
For every pair \(i,j\), calculate \(C_{ij}=\min(t_i,t_j)\). Check symmetry and verify that \(C_{ii}=t_i\).
3
Sort only for structural checks.
For chronologically ordered times, calculate successive gaps. Their product is the determinant, including when a gap is zero.

Check Your Understanding

Use the minimum rule first, then check any determinant or definiteness claim using the ordered time gaps.

  1. Construct the Brownian covariance matrix for the listed times \((\tfrac14,1,\tfrac74)\), and calculate its determinant from the gaps.
  2. For the listed times \((\tfrac32,\tfrac12)\), what is the covariance matrix in that order? Explain why reordering both rows and columns preserves its determinant.
  3. What happens to positive definiteness if an observation at time zero is included? Give the corresponding row of the covariance matrix.
  4. For strictly increasing positive times, explain why every nonzero vector has strictly positive quadratic form under the covariance matrix.
  5. A calculation sets \(\operatorname{Cov}(B_1,B_3)=3\). Identify the error and use the covariance bound to check the corrected entry.