Skip to content

Menu

WorksMathematics

Brownian covariances on an interval: a complete endpoint classification

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_e8xcqtqp. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Brownian motion and the Brownian bridge have covariance kernels that are Green's functions of the negative second derivative on the unit interval, with mixed Dirichlet-Neumann and Dirichlet boundary conditions, respectively. We characterize the Green's functions of all strictly positive real self-adjoint realizations of this operator. The kernels are in one-to-one correspondence with positive-semidefinite 2×22\times2 endpoint covariance matrices. We call the associated centered Gaussian processes Brownian processes. Each is a standard Brownian bridge plus the affine interpolation of an independent Gaussian endpoint vector. Singular endpoint covariance matrices give hard endpoint constraints, such as the pinned start X(0)=0X(0)=0 of Brownian motion. This parametrization gives explicit operator domains and energy spaces. On every mesh it gives an exact sparse precision matrix, so the likelihood of nn observations can be evaluated in O(n)O(n) operations. Nonnegative realizations with a null space are treated separately through orthogonally normalized pseudoinverses, which are proper Gaussian covariances.

Introduction

Brownian motion’s covariance function is the Green’s function of the negative second derivative on [0,1][0, 1] with operator-domain conditions f(0)=0f(0) = 0 and f′(1)=0f'(1) = 0. The Brownian bridge’s covariance corresponds to the Green’s function under f(0)=f(1)=0f(0) = f(1) = 0. This raises two questions: which other endpoint conditions give Green’s functions that are covariance functions, and how are the resulting processes related to Brownian motion and the Brownian bridge?

We answer both questions through the covariance of the two endpoint values, instead of listing boundary conditions one by one. All processes are Gaussian and centered unless stated otherwise. It turns out that after subtracting the affine interpolation of its endpoints, each process classified in Theorem 2.1 is a standard Brownian bridge independent of those endpoints. Parametrizing the endpoint covariance also includes hard endpoint constraints as finite parameter values.

Self-adjoint boundary realizations are classical [7]; their connections with Gaussian processes and spline penalties are equally well established [1, 5, 3]. The companion bestiary [4] develops examples and distinguishes changing boundary realizations, recentering and conditioning. Markussen [2] used this correspondence for likelihood inference in functional mixed-effects models, with Brownian motion and the Brownian bridge among his examples. Markussen’s construction uses prescribed boundary conditions. Here every admissible choice corresponds to an endpoint covariance matrix, so the boundary conditions can be treated as unknown parameters. We classify the full positive-semidefinite endpoint-covariance cone and treat noninvertible realizations separately. § 2 proves the classification and describes hard endpoint constraints. § 3 studies the geometry of the parameter cone and identifies the Markov and stationary members. § 4 shows that the sampled precision matrix is exact and sparse on any mesh, and Section 5 treats nonnegative realizations with a null space. Section 6 discusses estimation of the endpoint covariance and spline smoothing.

Throughout, functions and processes are real-valued, the interval is [0,1][0,1], WW denotes standard Brownian motion, and s∧t=min⁡(s,t)s \wedge t=\min(s,t), s∨t=max⁡(s,t)s \vee t=\max(s,t). Write

kD(s,t)=s∧t−st,z(s)=(1−ss),J=(1−1−11).k_D(s,t)=s\wedge t-st,\qquad z(s)=\begin{pmatrix}1-s\\s\end{pmatrix},\qquad J=\begin{pmatrix}1&-1\\-1&1\end{pmatrix}.

Here kDk_D is the covariance of a standard Brownian bridge, and the Green’s function of −f′′-f^{\prime\prime} with Dirichlet conditions f(0)=f(1)=0f(0)=f(1)=0. For a function ff, let

γf=(f(0)f(1)),df=(f′(0)−f′(1)),(Ey)(s)=z(s)Ty.\gamma f=\begin{pmatrix}f(0)\\f(1)\end{pmatrix},\qquad d_f=\begin{pmatrix}f'(0)\\-f'(1)\end{pmatrix},\qquad(\mathcal{E}y)(s)=z(s)^{\mathsf T}y.

Here dfd_f is the vector of inward endpoint derivatives. Endpoint values are defined on H1(0,1)H^1(0,1); derivative traces require H2H^2. We use C†C^\dagger for the Moore–Penrose inverse of a symmetric matrix and S+2\mathbb{S}^2_+, S++2\mathbb{S}^2_{++} for the positive-semidefinite and positive-definite 2×22\times2 matrices.

Definition 1.1. An ordinary Brownian covariance is the Green’s function of a strictly positive real self-adjoint extension of the minimal operator −f′′-f^{\prime\prime} on

H02(0,1)={f∈H2:f(0)=f(1)=f′(0)=f′(1)=0}.H^2_0(0,1)=\{f\in H^2:f(0)=f(1)=f'(0)=f'(1)=0\}.

that is, of −f′′-f^{\prime\prime} on (0,1)(0,1) with self-adjoint conditions imposed only at the endpoints. A centered Gaussian process with such a covariance is called a Brownian process. Strict positivity means a positive lower spectral bound. Nonnegative realizations with a null space are treated in Section 5.

Complete classification by endpoint covariance

Theorem 2.1 (Endpoint classification). The map C↦KCC\mapsto K_C, where

KC(s,t)=kD(s,t)+z(s)TCz(t),C∈S+2,(1)K_C(s,t)=k_D(s,t)+z(s)^{\mathsf T}Cz(t),\qquad C\in\mathbb{S}^2_+, \tag*{(1)}

is a bijection onto the ordinary Brownian covariances. Its inverse reads off the endpoint values:

Cij=KC(i,j),i,j∈{0,1},(2)C_{ij}=K_C(i,j),\qquad i,j\in\{0,1\}, \tag*{(2)}

so CC is the covariance matrix of (XC(0),XC(1))(X_C(0),X_C(1)), defined below. For C∈S+2C\in\mathbb{S}^2_+, put V=range⁡CV=\operatorname{range}C. Then:

  1. Process. The associated Brownian process has the representation

XC(s)=B(s)+z(s)TY,Y∼N(0,C),B a standard bridge independent of Y.(3)X_C(s)=B(s)+z(s)^{\mathsf T}Y,\qquad Y\sim N(0,C),\qquad B\text{ a standard bridge independent of }Y. \tag*{(3)}
  1. Energy. KCK_C is the reproducing kernel of HC={f∈H1(0,1):γf∈V}\mathcal{H}_C=\{f\in H^1(0,1):\gamma f\in V\} with the quadratic form

qC[f]=∫01∣(f−Eγf)′∣2 ds+(γf)TC†γf=∫01∣f′∣2 ds+(γf)T(C†−J)γf.(4)q_C[f]=\int_0^1 |(f-\mathcal{E}\gamma f)'|^2\,\mathrm{d}s+(\gamma f)^{\mathsf T}C^\dagger\gamma f =\int_0^1 |f'|^2\,\mathrm{d}s+(\gamma f)^{\mathsf T}(C^\dagger-J)\gamma f. \tag*{(4)}

3. Operator. KCK_C is the integral kernel of LC−1L_C^{-1}, where LCf=−f′′L_C f=-f'' on

dom⁡(LC)={f∈H2(0,1):γf=C(df+Jγf)}.(5)\operatorname{dom}(L_C)=\{f\in H^2(0,1):\gamma f=C(df+J\gamma f)\}. \tag*{(5)}

Proof. The form. Fix C∈S+2C\in S_+^2. Every f∈HCf\in\mathcal{H}_C decomposes uniquely as f=h+Eyf=h+\mathcal{E}y with h∈H01(0,1)h\in H_0^1(0,1) and y=γf∈Vy=\gamma f\in V. The cross term between h′h' and (Ey)′(\mathcal{E}y)' vanishes and ∫∣(Ey)′∣2=yTJy\int|(\mathcal{E}y)'|^2=y^\mathsf{T}Jy, which gives both expressions in (4). Since the derivative norm is coercive on H01H_0^1 and CTC^\mathsf{T} is positive definite on VV, qCq_C is closed and coercive, with norm equivalent to the H1H^1 norm on HC\mathcal{H}_C; for V={0}V=\{0\} it reduces to ∫01∣f′∣2 ds\int_0^1|f'|^2\,ds on H01H_0^1.

The operator. Integration by parts shows that the operator of qCq_C acts as −f′′-f'' with boundary conditions y∈Vy\in V and PV(df+Jy)=CTyP_V(df+Jy)=C^\mathsf{T}y, where PVP_V is the orthogonal projection onto VV. Multiplying by CC gives (5). Conversely, (5) implies y∈Vy\in V; applying CTC^\mathsf{T} then recovers the projected condition. Hence LCL_C is a strictly positive self-adjoint realization.

The kernel and the process. For fixed tt, KC(⋅,t)K_C(\cdot,t) has endpoint vector Cz(t)Cz(t) and Dirichlet component kD(⋅,t)k_D(\cdot,t). For f=h+Ey∈HCf=h+\mathcal{E}y\in\mathcal{H}_C, polarizing (4) gives

qC(KC(⋅,t),f)=h(t)+(Cz(t))TCTy=h(t)+z(t)Ty=f(t).q_C(K_C(\cdot,t),f)=h(t)+(Cz(t))^\mathsf{T}C^\mathsf{T}y=h(t)+z(t)^\mathsf{T}y=f(t).

So KCK_C is the reproducing kernel of HC\mathcal{H}_C and the integral kernel of LC−1L_C^{-1}. The two independent terms in (3) have covariances kD(s,t)k_D(s,t) and z(s)TCz(t)z(s)^\mathsf{T}Cz(t), so XCX_C has covariance KCK_C.

Completeness and uniqueness. Let LL be a strictly positive real self-adjoint realization and LDL_D the Dirichlet realization. For g∈L2g\in L^2, (L−1g−LD−1g)′′=0(L^{-1}g-L_D^{-1}g)''=0, so the self-adjoint difference has affine range and equals ECE∗\mathcal{E}C\mathcal{E}^* for a unique symmetric CC, where E∗g=∫01z(s)g(s) ds\mathcal{E}^*g=\int_0^1z(s)g(s)\,ds. Thus L−1L^{-1} has kernel (1). Applying positivity of L−1L^{-1} to gε=ε−1{a01[0,ε]+a11[1−ε,1]}g_\varepsilon=\varepsilon^{-1}\{a_0\mathbf{1}_{[0,\varepsilon]}+a_1\mathbf{1}_{[1-\varepsilon,1]}\} and letting ε↓0\varepsilon\downarrow0 gives aTCa≥0a^\mathsf{T}Ca\geq0: the Dirichlet contribution tends to zero, while E∗gε→a\mathcal{E}^*g_\varepsilon\to a. Finally, L−1L^{-1} determines LL, and (2) determines CC.

For 0<t<10<t<1, the column KC(⋅,t)K_C(\cdot,t) is affine on each side of tt, and its slope drops by one at tt. It therefore lies in the energy space HC\mathcal{H}_C but not in dom⁡(LC)\operatorname{dom}(L_C), as is usual for Green’s functions. For t∈{0,1}t\in\{0,1\}, the column is affine but does not satisfy the boundary conditions in (5) unless it vanishes. In both cases it is characterized by the reproducing identity qC(KC(⋅,t),f)=f(t)q_C(K_C(\cdot,t),f)=f(t) from the proof, which holds for every t∈[0,1]t\in[0,1].

The finite boundary-penalty chart

When C≻0C\succ0, there are no hard endpoint constraints: (XC(0),XC(1))(X_C(0),X_C(1)) has a positive density on R2\mathbb{R}^2, and the boundary conditions act only through the endpoint covariance. Set

P=C−1−J=(accb).(6)P=C^{-1}-J=\begin{pmatrix}a&c\\c&b\end{pmatrix}. \tag*{(6)}

Then (5) becomes

f′(0)=af(0)+cf(1),−f′(1)=cf(0)+bf(1).f'(0)=af(0)+cf(1),\qquad-f'(1)=cf(0)+bf(1).

The entry cc is the only term coupling the two endpoints. When c=0c=0 the conditions are separated, each involving a single endpoint, and reduce to the Robin conditions f′(0)=af(0)f'(0)=af(0) and −f′(1)=bf(1)-f'(1)=bf(1). The exact admissibility condition is

P+J>0⟺a>−1,Δ>0,P+J>0\quad\Longleftrightarrow\quad a>-1,\qquad\Delta>0,

where Δ=(1+a)(1+b)−(1−c)2=det⁡(P+J)\Delta= (1+a)(1+b)-(1-c)^2 = \det(P+J). As Δ↓0\Delta\downarrow0, the endpoint covariance becomes unbounded. The minimum of ∣f′∣2\lvert f'\rvert^2 at endpoint vector yy is yTJyy^{\mathsf T}Jy, attained by Ey\mathcal{E}y. The reduced energy is therefore yT(P+J)yy^{\mathsf T}(P+J)y. A boundary penalty may be indefinite while the full energy is positive. For example, C=IC=I gives P=(0110)P=\begin{pmatrix}0&1\\1&0\end{pmatrix}, while P+J=IP+J=I.

Matrix inversion in (6) gives

C=1Δ(1+b1−c1−c1+a).C=\frac{1}{\Delta}\begin{pmatrix}1+b&1-c\\1-c&1+a\end{pmatrix}.

Substitution into (1) recovers the formula

KC(s,t)=(1−c)+(a+c)(s∧t)+(b+c)(1−s∨t)+(ab−c2)(s∧t)(1−s∨t)Δ.K_C(s,t)=\frac{(1-c)+(a+c)(s\wedge t)+(b+c)(1-s\vee t)+(ab-c^2)(s\wedge t)(1-s\vee t)}{\Delta}.

Note that the general matrix form (1) remains valid even when CC is singular.

Here PP is a boundary contribution to the energy. The joint endpoint precision is C−1=P+JC^{-1}=P+J, and the marginal scalar precision of XC(0)X_C(0) is 1/C00=Δ/(1+b)1/C_{00}=\Delta/(1+b).

Hard endpoint conditions are finite parameters

The number of unconstrained endpoint coordinates is rank⁡C\operatorname{rank}C. For C=0C=0, (5) is Dirichlet at both ends. For C=σ2wwTC=\sigma^2ww^{\mathsf T}, σ>0\sigma>0, w≠0w\ne0, the endpoint vector lies on span⁡{w}\operatorname{span}\{w\} and

KC(s,t)=kD(s,t)+σ2(z(s)Tw)(z(t)Tw).K_C(s,t)=k_D(s,t)+\sigma^2(z(s)^{\mathsf T}w)(z(t)^{\mathsf T}w).

Such singular CC imposes hard endpoint constraints while LC\mathcal{L}_C remains strictly positive; it does not give the operator a null space. Every rank-one CC with w=(α,1)Tw=(\alpha,1)^{\mathsf T} arises from the coupled conditions

f(0)=αf(1),αf′(0)−f′(1)=κf(1)(7)f(0)=\alpha f(1),\qquad\alpha f'(0)-f'(1)=\kappa f(1) \tag*{(7)}

with σ2=1/{κ+(α−1)2}\sigma^2=1/\{\kappa+(\alpha-1)^2\}. These conditions have an ordinary covariance exactly when κ+(α−1)2>0\kappa+(\alpha-1)^2>0, and then

C=1κ+(α−1)2(α2αα1),KC(s,t)=kD(s,t)+{α(1−s)+s}{α(1−t)+t}κ+(α−1)2.C=\frac{1}{\kappa+(\alpha-1)^2}\begin{pmatrix}\alpha^2&\alpha\\\alpha&1\end{pmatrix},\qquad K_C(s,t)=k_D(s,t)+\frac{\{\alpha(1-s)+s\}\{\alpha(1-t)+t\}}{\kappa+(\alpha-1)^2}.

The remaining direction w=(1,0)Tw=(1,0)^{\mathsf T}, with f(1)=0f(1)=0, follows by interchanging the endpoints. The quantity κ+(α−1)2\kappa+(\alpha-1)^2 is the energy of the affine function g(s)=α(1−s)+sg(s)=\alpha(1-s)+s, which satisfies the endpoint-value constraint f(0)=αf(1)f(0)=\alpha f(1) in (7). For example, α=−1\alpha=-1, κ=0\kappa=0 is the anti-periodic realization. Table 1 lists selected members of the family.

ProcessEndpoint covariance CCKernel KC(s,t)K_C(s,t)
Brownian bridge(0000)\begin{pmatrix}0 & 0 \\ 0 & 0\end{pmatrix}s∧t−sts \wedge t-st
Brownian motion(0001)\begin{pmatrix}0 & 0 \\ 0 & 1\end{pmatrix}s∧ts \wedge t
Time-reversed Brownian motion(1000)\begin{pmatrix}1 & 0 \\ 0 & 0\end{pmatrix}1−s∨t1-s \vee t
Brownian motion plus random slope(0001+σ2)\begin{pmatrix}0 & 0 \\ 0 & 1+\sigma^2\end{pmatrix}s∧t+σ2sts \wedge t+\sigma^2st
Anti-periodic Brownian motion(1/4−1/4−1/41/4)\begin{pmatrix}1/4 & -1/4 \\ -1/4 & 1/4\end{pmatrix}14−12∣s−t∣\frac{1}{4}-\frac{1}{2}\lvert s-t\rvert
Slepian Brownian motion(1/2001/2)\begin{pmatrix}1/2 & 0 \\ 0 & 1/2\end{pmatrix}12(1−∣s−t∣)\frac{1}{2}(1-\lvert s-t\rvert)
Robin–Neumann Brownian motion(θθθ1+θ)\begin{pmatrix}\theta& \theta\\ \theta& 1+\theta\end{pmatrix}, θ>0\theta>0s∧t+θs \wedge t+\theta

Table 1. Selected members, with their endpoint covariance matrix CC.

Geometry and structural properties

The covariance cone and its strata

The linear coordinates

C=(r+xyyr−x)C⪰0⟺r≥x2+y2(8)C=\begin{pmatrix}r+x&y\\y&r-x\end{pmatrix}\qquad C\succeq0\Longleftrightarrow r\ge\sqrt{x^2+y^2} \tag*{(8)}

identify the parameter set with the closed three-dimensional Lorentz cone. Its eigenvalues are r±x2+y2r\pm\sqrt{x^2+y^2}. The interior is a smooth three-dimensional manifold; the nonzero boundary is the two-dimensional rank-one stratum, and the apex is the bridge. The full family is naturally stratified; its embedded boundary is not smooth at the apex.

A scale–shape parametrization is τ=tr⁡C=2r\tau=\operatorname{tr} C=2r and, for τ>0\tau>0,

C=τ2(1+ξηη1−ξ),ξ2+η2≤1.(9)C=\frac{\tau}{2}\begin{pmatrix}1+\xi& \eta\\ \eta& 1-\xi\end{pmatrix}, \qquad\xi^2+\eta^2\le1. \tag*{(9)}

Thus total endpoint variance is a scale and shape lies in a disk. Its boundary describes one free endpoint coordinate; antipodal endpoint directions give the same rank-one covariance. Endpoint correlations are η/1−ξ2\eta/\sqrt{1-\xi^2} when both endpoint variances are positive. Unlike correlation coordinates alone, the cone remains unambiguous at pinned endpoints. Figure 1 shows both coordinate systems.

Figure 1. Endpoint-covariance geometry. Left: a finite display of the unbounded cone (8); its side is rank one and its apex is the bridge. Right: the shape coordinates (ξ,η)(\xi,\eta) of (9) at tr⁡C=1\operatorname{tr} C = 1, displaying endpoint variance asymmetry and covariance. The Markov arc is the exact locus det⁡C=C01\det C = C_{01}. The anti-periodic point is the trace-one member of the anti-periodic family X(0)=−X(1)X(0) = -X(1); the anti-periodic Brownian motion of Table 1 is its trace-1/21/2 member.

Proposition 3.1 (Closure and covariance order). For C,D∈S+2C,D\in\mathbb{S}_+^2,

∥KC−KD∥∞=max⁡i,j∈{0,1}∣Cij−Dij∣,KC⪰KD⟺C⪰D.\lVert K_C-K_D\rVert_\infty=\max_{i,j\in\{0,1\}}\lvert C_{ij}-D_{ij}\rvert,\qquad K_C\succeq K_D \Longleftrightarrow C\succeq D.

Moreover, rank⁡(KC−KD)=rank⁡(C−D)\operatorname{rank}(K_C-K_D)=\operatorname{rank}(C-D) as integral operators. The family (1) is closed in uniform kernel norm, and {KC:C≻0}\{K_C:C\succ0\} is dense in it. The bridge is its least element in covariance order; there is no greatest element.

Proof. The kernel difference is a convex combination of the four entries of C−DC-D, and all four occur at corners. Positivity of C−DC-D gives positivity of KC−KDK_C-K_D; the reverse implication follows by evaluating at the endpoints. The map y↦Eyy\mapsto\mathcal{E}y is injective and its adjoint is onto, giving the rank identity. A uniform kernel limit determines a limit of corner matrices by (2); that limit is positive semidefinite. Conversely C+εI→CC+\varepsilon I\to C gives density. Finally, C⪰0C\succeq0 gives KC⪰K0K_C\succeq K_0, so the bridge is least. A greatest element KGK_G would require GG to dominate every positive multiple of II, which no matrix does.

Markov and stationary members

Proposition 3.2 (Markov and stationary members). The process XCX_C is Markov if and only if

det⁡C=C01.(10)\det C=C_{01}. \tag*{(10)}

For C≻0C \succ0, this is exactly the separated Robin condition c=0c = 0 in (6). The stationary members are

Cv=(v+14v−14v−14v+14),v≥0withKCv(s,t)=v+14−12∣s−t∣.(11)C_v = \begin{pmatrix} v + \frac{1}{4} & v - \frac{1}{4} \\ v - \frac{1}{4} & v + \frac{1}{4} \end{pmatrix}, \qquad v \ge0 \qquad\text{with} \qquad K_{C_v}(s,t) = v + \frac{1}{4} - \frac{1}{2}|s-t|. \tag*{(11)}

Proof. The variance is positive at every interior time because KC(t,t)≥t(1−t)K_C(t,t) \ge t(1-t). For a centered Gaussian process with this property, the Markov condition is KC(s,u)KC(t,t)=KC(s,t)KC(t,u)K_C(s,u)K_C(t,t) = K_C(s,t)K_C(t,u) for s<t<us < t < u. Direct expansion of (1) gives the difference

(C01−det⁡C)(t−s)(u−t),(C_{01} - \det C)(t-s)(u-t),

which proves (10). For C≻0C \succ0, the entry cc in (6) is 1−C01/det⁡C1 - C_{01}/\det C. Stationarity requires constant variance. Equating the linear and quadratic coefficients in KC(s,s)K_C(s,s) gives C11=C00C_{11} = C_{00} and C01=C00−1/2C_{01} = C_{00} - 1/2. Positive semidefiniteness then gives C00≥1/4C_{00} \ge1/4. Substitution proves (11) and its sufficiency.

Anti-periodic Brownian motion corresponds to v=0v = 0 in (11), and Slepian Brownian motion (W(s+1)−W(s))/2(W(s+1)-W(s))/\sqrt{2}, a scaled version of the Slepian process [6], corresponds to v=1/4v = 1/4. Note that endpoint independence, C01=0C_{01} = 0, differs from separated boundary conditions, c=0c = 0 in (6). The total variance and increment variance are also immediate:

tr⁡KC=16+C00+C01+C113,\operatorname{tr} K_C = \frac{1}{6} + \frac{C_{00}+C_{01}+C_{11}}{3},
Var⁡(XC(t)−XC(s))=∣t−s∣+(t−s)2(eTCe−1),e=(1,−1)T.\operatorname{Var}(X_C(t)-X_C(s)) = |t-s| + (t-s)^2(e^{\mathsf{T}}C e-1), \qquad e=(1,-1)^{\mathsf{T}}.

The explicit construction (3) gives continuous, almost surely nowhere-differentiable paths: only an affine random function has been added to the bridge. Figure 2 shows five members of Table 1 and one member with coupled endpoints.

Figure 2. Covariance kernels KC(s,t)K_C(s,t) of six representatives of (1), spanning the rank-zero, rank-one and rank-two cases. The endpoint covariance is specified in each panel as C=[C00,C01;C10,C11]C = [C_{00}, C_{01}; C_{10}, C_{11}], row by row. Pinned limits are plotted from their exact matrices, not approximated by large boundary penalties. Dashed contours mark zero covariance, and the dotted line is the diagonal.

Exact representation on any mesh

Likelihood computations for nn observations of a Gaussian process generally cost O(n3)O(n^3) operations, because they involve a dense covariance matrix. For the ordinary Brownian family, exact likelihoods and posterior means can be computed in O(n)O(n) on any mesh using sparse matrix factorizations and linear solves, even with independent Gaussian observation noise. Markussen [2] approximated the corresponding log-determinant and predictions by operator calculus, which gives formulas of linear cost on equidistant grids. Here no approximation is needed, and the same quantities are computed exactly.

Observe xi=XC(ti)x_i = X_C(t_i) at 0=t0<t1<⋯<tn=10 = t_0 < t_1 < \cdots< t_n = 1, with spacings hi=ti−ti−1h_i = t_i - t_{i-1}, and let C≻0C \succ0. The precision quadratic form of (x0,…,xn)(x_0,\ldots,x_n) is the discrete energy ∑i=1n(xi−xi−1)2/hi\sum_{i=1}^{n}(x_i-x_{i-1})^2/h_i, common to the whole family, plus the boundary penalty C−1−JC^{-1}-J acting on the two corner entries. It is tridiagonal apart from a single endpoint-to-endpoint entry, its determinant is explicit, and the discretization involves no approximation. The log-likelihood is therefore

−n+12log⁡(2π)−12log⁡det⁡C−12∑i=1nlog⁡hi−12∑i=1n(xi−xi−1)2hi−12(x0xn)(C−1−J)(x0xn),-\frac{n+1}{2}\log(2\pi)-\frac{1}{2}\log\det C-\frac{1}{2}\sum_{i=1}^{n}\log h_i-\frac{1}{2}\sum_{i=1}^{n}\frac{(x_i-x_{i-1})^2}{h_i}-\frac{1}{2}\begin{pmatrix}x_0 & x_n\end{pmatrix}(C^{-1}-J)\begin{pmatrix}x_0 \\ x_n\end{pmatrix},

which has computational cost O(n)O(n) and depends on CC only through a 2×22 \times2 matrix. The same structure gives linear-cost sampling. The displayed likelihood assumes observations at both interval endpoints. If the first and last observation times are a<ba < b, the same construction applies on [a,b][a,b], with endpoint covariance Σab=(KC(u,v))u,v∈{a,b}\Sigma_{ab} = (K_C(u,v))_{u,v\in\{a,b\}}. Conditional on these first and last observed values, the intervening observations form a Brownian bridge whose conditional law does not depend on CC.

For x=(x0,…,xn)Tx = (x_0,\ldots,x_n)^{\mathsf T}, let Dnx=(x1−x0,…,xn−xn−1)TD_nx = (x_1-x_0,\ldots,x_n-x_{n-1})^{\mathsf T} be the vector of increments, so that (Dnx)i/hi(D_nx)_i/h_i is the slope of the piecewise-linear interpolant on the iith interval, and let Rnx=(x0,xn)TR_nx = (x_0,x_n)^{\mathsf T} select the endpoint values, the discrete analogue of γ\gamma.

Theorem 4.1 (Mesh exactness). For C≻0C \succ0, the precision matrix

Qn=DnTdiag⁡(h1−1,…,hn−1)Dn+RnT(C−1−J)Rn(12)Q_n = D_n^{\mathsf T}\operatorname{diag}(h_1^{-1},\ldots,h_n^{-1})D_n + R_n^{\mathsf T}(C^{-1}-J)R_n \tag*{(12)}

satisfies

(Qn−1)ij=KC(ti,tj),det⁡Qn=det⁡(C−1)∏i=1nhi.(13)(Q_n^{-1})_{ij} = K_C(t_i,t_j),\qquad\det Q_n = \frac{\det(C^{-1})}{\prod_{i=1}^{n}h_i}. \tag*{(13)}

For general C⪰0C \succeq0, the sampled law is supported on {x:Rnx∈range⁡C}\{x:R_nx\in\operatorname{range}C\} and has rank n−1+rank⁡Cn-1+\operatorname{rank}C. Its precision form on that subspace is qCq_C evaluated on the piecewise-linear interpolant.

Proof. The derivative energy of the nodal interpolant is ∑i(xi−xi−1)2/hi\sum_i(x_i-x_{i-1})^2/h_i. Its endpoint term is exactly the second term of (12), without mesh rescaling. Every column KC(⋅,tj)K_C(\cdot,t_j) of the Green’s function lies in the piecewise-linear trial space and represents nodal evaluation in the energy inner product. Restricting the reproducing identity from Theorem 2.1 therefore gives (13)’s inverse identity, with no approximation.

For the determinant, the interior block of QnQ_n is the Dirichlet precision, with determinant (∏ihi)−1(\prod_i h_i)^{-1} by the tridiagonal determinant recurrence, and the endpoint Schur complement of QnQ_n is C−1C^{-1}; for n=1n=1, Q1=C−1Q_1=C^{-1} directly. The representation (3) at the nodes gives rank n−1+rank⁡Cn-1+\operatorname{rank}C and the restricted precision statement for singular CC.

For n≥2n \ge2, a nonzero cc in (6) makes the dependence graph of the nodes a cycle rather than a chain, so the sampled process is not a Markov chain in the time ordering, consistent with Proposition 3.2.

Nonnegative operators with a null space

Hard endpoint constraints in CC leave LC\mathcal{L}_C strictly positive. Nonnegative realizations with a null space have no ordinary inverse; they instead admit the orthogonally normalized pseudoinverses described below.

Proposition 5.1 (All nonnegative realizations). Every real nonnegative self-adjoint extension is uniquely described by a subspace V⊆R2V\subseteq\mathbb{R}^2 and a positive-semidefinite operator A:V→VA:V\to V. Its closed form is

qV,A[h+Ey]=∫01∣h′∣2 ds+yTAy,h∈H01(0,1),y∈V.(14)q_{V,A}[h+\mathcal{E}y] = \int_0^1 |h'|^2\,\mathrm{d}s + y^{\mathsf T}Ay,\qquad h\in H_0^1(0,1),\quad y\in V. \tag*{(14)}

Its operator acts as −f′′-f'' on

dom⁡(LV,A)={f∈H2:γf∈V, PV(df+Jγf)=Aγf}.\operatorname{dom}(\mathcal{L}_{V,A}) = \{f\in H^2:\gamma f\in V,\ P_V(df+J\gamma f)=A\gamma f\}.

Its null space is

N=E(ker⁡A).(15)\mathcal{N}=\mathcal{E}(\ker A). \tag*{(15)}

If AA is positive definite on VV (vacuously for V={0}V=\{0\}), it is the realization of Theorem 2.1 with C=A−1C=A^{-1} on VV and zero on V⊥V^\perp. If AA is singular, the nullity is one or two.

Proof. A self-adjoint endpoint domain is a maximal isotropic plane for

ω((y,d),(y~,d~))=yTd~−dTy~.\omega\bigl((y,d),(\widetilde y,\widetilde d)\bigr)=y^{\mathsf T}\widetilde d-d^{\mathsf T}\widetilde y.

Let VV be its projection onto the value coordinate. The vertical pairs are exactly {0}×V⊥\{0\}\times V^\perp: isotropy gives the inclusion, and dimensions give equality. Consequently PVd=MyP_Vd=My for a uniquely determined symmetric operator MM on VV. Conversely these conditions define a maximal isotropic plane. The corresponding form on {f∈H1:γf∈V}\{f\in H^1:\gamma f\in V\} is ∫∣f′∣2+(γf)TMγf\int|f'|^2+(\gamma f)^{\mathsf T}M\gamma f. The trace inequality

∣γf∣2≤ε∥f′∥22+cε∥f∥22,ε>0,|\gamma f|^2\leq\varepsilon\|f'\|_2^2+c_\varepsilon\|f\|_2^2,\qquad\varepsilon>0,

shows that adding a sufficiently large multiple of ∥f∥22\|f\|_2^2 gives a norm equivalent to the H1H^1 norm on this closed trace subspace. Thus the form is closed and bounded below; integration by parts identifies its operator domain. Decomposing f=h+Eyf=h+\mathcal E y gives (14) with A=M+PVJ∣VA=M+P_VJ|_V. It is nonnegative exactly when A⪰0A\succeq0, and its zero-energy functions are exactly (15). The strictly positive case follows by comparison with (4).

Proposition 5.2 (Proper covariance of the pseudoinverse). Extend A†A^\dagger by zero on V⊥V^\perp, and let Π\Pi be the L2L^2 orthogonal projection onto N⊥\mathcal N^\perp. The Moore--Penrose inverse of the realization in Proposition 5.1 has kernel

K†=ΠsΠt[kD(s,t)+z(s)TA†z(t)].K^\dagger=\Pi_s\Pi_t\left[k_D(s,t)+z(s)^{\mathsf T}A^\dagger z(t)\right].

The subscripts apply Π\Pi in the respective kernel variables. This is a continuous positive-semidefinite covariance kernel. We also call its centered Gaussian process X†X^\dagger a Brownian process. It has continuous sample paths and satisfies ∫01X†(s)ν(s) ds=0\int_0^1X^\dagger(s)\nu(s)\,ds=0 almost surely for every ν∈N\nu\in\mathcal N. For 0<t<10<t<1, in distributions on (0,1)(0,1),

−∂s2K†(s,t)=δ(s−t)−∑j=1dim⁡Nνj(s)νj(t),(16)-\partial_s^2K^\dagger(s,t)=\delta(s-t)-\sum_{j=1}^{\dim\mathcal N}\nu_j(s)\nu_j(t), \tag*{(16)}

where (νj)(\nu_j) is any L2L^2-orthonormal basis of N\mathcal N.

Proof. Put C=A†C=A^\dagger and S=range⁡AS=\operatorname{range}A. On the subspace with endpoint values in SS, the form qV,Aq_{V,A} is exactly qCq_C. For g⊥Ng\perp\mathcal N, the function u0=KCgu_0=K_Cg solves qV,A(u0,f)=⟨g,f⟩q_{V,A}(u_0,f)=\langle g,f\rangle for endpoint values in SS. Every remaining test function differs from such a function by an element of N\mathcal N, on which both sides vanish. Subtracting the null-space projection of u0u_0 therefore gives the unique solution in N⊥\mathcal N^\perp. Projecting the input as well proves L†=ΠKCΠL^\dagger=\Pi K_C\Pi.

The same expression is the covariance of ΠXC\Pi X_C, so X†X^\dagger can be taken to be ΠXC\Pi X_C. Since Π\Pi subtracts from XCX_C at most two affine functions with Gaussian coefficients, X†X^\dagger has continuous paths, K†K^\dagger is continuous, and ∫01X†ν=0\int_0^1X^\dagger\nu=0 for every ν∈N\nu\in\mathcal N. Finally LL†=ΠLL^\dagger=\Pi gives (16).

Here Πf=f−∑jνj∫νjf\Pi f=f-\sum_j\nu_j\int\nu_jf is explicit and involves at most two affine modes. In the two classical cases below, the null space consists of the constant functions, so ν1=1\nu_1=1 and Π\Pi simply subtracts the time average ∫01f\int_0^1f.

Example 5.3 (Neumann--Neumann Brownian motion). The Neumann conditions f′(0)=f′(1)=0f'(0)=f'(1)=0 leave both endpoints free; they are the no-flux conditions for diffusion along an insulated rod. In Proposition 5.1 they correspond to V=R2V=\mathbb R^2 and A=JA=J. Adding a constant to ff changes neither the energy ∫01∣f′∣2\int_0^1|f'|^2 nor the boundary conditions, so the constants form the null space and no ordinary

inverse exists. The corresponding formal Gaussian model is improper because its constant mode is unpenalized. Proposition 5.2 removes the constant mode, with A†=J/4A^\dagger= J/4, and gives

KNN(s,t)=s2+t22−s∨t+13,XNN(s)=W(s)−∫01W(u) du.K_{\mathrm{NN}}(s,t)=\frac{s^2+t^2}{2}-s\vee t+\frac{1}{3},\qquad X_{\mathrm{NN}}(s)=W(s)-\int_0^1 W(u)\,\mathrm{d}u.

Neumann–Neumann Brownian motion is thus Brownian motion minus its time average, the mean-centered Brownian motion of [4]. Centering time-reversed Brownian motion gives the same law, as it must: the conditions are unchanged under s↦1−ss\mapsto1-s. The variance is 1/31/3 at both endpoints and 1/121/12 at the midpoint, every path has zero time average, and the kernel is balanced, ∫01KNN(s,t) ds=0\int_0^1 K_{\mathrm{NN}}(s,t)\,\mathrm{d}s=0, in the terminology of [3].

Example 5.4 (Periodic Brownian motion). The periodic conditions f(0)=f(1)f(0)=f(1), f′(0)=f′(1)f'(0)=f'(1) join the two endpoints smoothly, so the interval becomes a circle of circumference one. In Proposition 5.1 they correspond to V=span⁡{(1,1)T}V=\operatorname{span}\{(1,1)^{\mathsf{T}}\} and A=0A=0. As in Example 5.3, no point of the circle fixes the level, and the constants again form the null space. Here A†=0A^\dagger=0, and Proposition 5.2 gives

Kper(s,t)=∣s−t∣22−∣s−t∣2+112,Xper(s)=B(s)−∫01B(u) du.K_{\mathrm{per}}(s,t)=\frac{|s-t|^2}{2}-\frac{|s-t|}{2}+\frac{1}{12},\qquad X_{\mathrm{per}}(s)=B(s)-\int_0^1 B(u)\,\mathrm{d}u.

the Brownian bridge minus its time average. Its paths satisfy Xper(0)=Xper(1)X_{\mathrm{per}}(0)=X_{\mathrm{per}}(1) and close into loops. The process is stationary on the circle: its variance is 1/121/12 everywhere, and its covariance depends only on the distance between ss and tt measured around the circle, since it is unchanged under ∣s−t∣↦1−∣s−t∣|s-t|\mapsto1-|s-t|.

The same construction applies when the null space contains all affine functions. This happens for V=R2V=\mathbb{R}^2 and A=0A=0, with boundary conditions f′(0)=f′(1)=f(1)−f(0)f'(0)=f'(1)=f(1)-f(0), under which the energy measures only the deviation of f′f' from the chord slope f(1)−f(0)f(1)-f(0). Proposition 5.2 then projects the bridge covariance away from both constants and linear functions. The resulting process is Brownian motion with its least-squares line removed.

Consequences and scope

The classification concerns the real operator −f′′-f'' on [0,1][0,1] with self-adjoint endpoint conditions. Strictly positive realizations give the ordinary covariances (1); noninvertible nonnegative realizations require the normalized pseudoinverses of § 5.

For the ordinary family, estimating the boundary conditions amounts to estimating CC. With noiseless observations at both endpoints, each curve contributes a single draw from N(0,C)N(0,C): conditional on these endpoint values, the remaining observations carry no further information about CC. For MM independent centered curves sharing the same endpoint covariance, write Ym=(xm,0,xm,n)TY_m=(x_{m,0},x_{m,n})^{\mathsf{T}}. The maximum likelihood estimate over C≻0C\succ0 is

C^=1M∑m=1MYmYmT.\widehat{C}=\frac{1}{M}\sum_{m=1}^{M}Y_mY_m^{\mathsf{T}}.

provided C^\widehat{C} is positive definite. Thus, once both endpoints are observed, replication rather than finer sampling supplies additional information about CC. If one or both original endpoints are unobserved, the first and last observed values remain sufficient for CC, provided there are at least two distinct noiseless observation times; their covariance generally differs from CC. With measurement noise, observations between them can also contribute.

The same endpoint covariance controls the boundary behavior of a smoother. Minimizing

∑i{yi−f(ti)}2+λqC[f] over HC,λ>0,\sum_i \{y_i - f(t_i)\}^2 + \lambda q_C[f] \text{ over } \mathcal{H}_C,\qquad\lambda> 0,

gives a continuous piecewise-affine fit with knots among the observation times. Under independent N(0,σ2)N(0,\sigma^2) observation errors, independent of the prior process, this is the posterior mean for a centered Gaussian prior with covariance (σ2/λ)KC(\sigma^2/\lambda)K_C [1, 5]. The choice C=0C=0 pins both ends to zero; more generally, singular CC restricts the endpoint vector to range CC. Within a fixed endpoint support, increasing CC in covariance order weakens the endpoint penalty.

Across the ordinary family, the Brownian bridge component remains the same. What changes is how the endpoints are allowed to vary, and how they are tied to one another.

References

  1. [1]G. S. Kimeldorf and G. Wahba. A correspondence between Bayesian estimation on stochastic processes and smoothing by splines. Annals of Mathematical Statistics, 41(2):495–502, 1970.DOI
  2. [2]B. Markussen. Functional data analysis in an operator-based mixed-model framework. Bernoulli, 19(1):1–17, 2013.
  3. [3]L. L. Raket. Differential equations, splines and Gaussian processes. arXiv:2102.03306, 2021. https://arxiv.org/abs/2102.03306.
  4. [4]L. L. Raket. A Bestiary of Brownian Processes: A Field Guide to Boundary Conditions and Conditioning. arXiv:2610.33747, 2026. https://arxiv.org/abs/2610.33747.
  5. [5]C. E. Rasmussen and C. K. I. Williams. Gaussian Processes for Machine Learning. MIT Press, Cambridge, MA, 2006.DOI
  6. [6]D. Slepian. First passage time for a particular Gaussian process. Annals of Mathematical Statistics, 32(2):610–612, 1961.DOI
  7. [7]A. Zettl. Sturm–Liouville Theory. Mathematical Surveys and Monographs, vol. 121. American Mathematical Society, Providence, RI, 2005.

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type