GLOBAL KNOWLEDGE ARK

Mathematics · Article

Stochastic differential equations

Learn how Brownian noise enters a differential equation, how to reason about the resulting probability law, and how to tell whether a numerical step preserves the feature you care about.

Back to Mathematics

After reading, you can

  • Specify a Brownian-driven integral equation, its filtration, initial law and coefficient units.
  • Derive Itô’s chain rule and convert a Stratonovich equation under its stated regularity assumptions.
  • Use stability estimates, localization and the generator to distinguish local, global and stationary behavior.
  • Calculate exact Gaussian transitions, exit probabilities and expected stopped or discounted quantities.
  • Compare coupled strong error, observable-specific weak error and mean-square step stability.
  • Recognize when finite samples miss barrier crossings and when jumps change the probability law.
01

An equation for changes driven by noise

Imagine measuring the position of an overdamped particle at a series of clock ticks. A restoring force produces a drift toward equilibrium. It does not predict each displacement. In a Brownian model, the random displacement over a short interval has a standard deviation proportional to the square root of the elapsed time. A stochastic differential equation combines these two time scales in one integral equation.

The first part of this lesson builds that equation from adapted stochastic integrals. We use Itô’s formula to transform the state, then ask when the solution is unique and when its transition law depends only on its current state. Generators, boundary conditions and stopping turn this path model into calculations for exit probabilities, stationary laws and expected rewards.

The later sections compare exact transitions with numerical steps. A small error in a smooth expectation says little on its own about a pathwise approximation, a barrier crossing or stability over many steps. The worked calculations use a common noise path to expose those differences and track what changes when jumps enter the model.

02

An equation driven by Brownian motion

Fix a filtered probability space with a d-driver standard Brownian motion W whose increments after time s are independent of the information F_s. A state X in R^m is a continuous adapted solution on [0,T] when it has the specified F_0-measurable initial state X_0 and satisfies X_t=X_0+∫_0^t b(s,X_s)ds+∫_0^t G(s,X_s)dW_s. The identity is simultaneous in t on a probability-one event. Use a Borel drift b and an m-by-d coefficient G with progressively measurable compositions, and a predictable realization for the noise integrand.

The ordinary integral needs ∫_0^T |b(s,X_s)|ds finite, while the stochastic integral uses ∫_0^T ‖G(s,X_s)‖_F²ds finite almost surely and an admitted localized Itô construction. With finite expected energy it is the L² integral. The matrix norm refers to chosen coordinates, and its individual rows give the corresponding state equations. A solution started from specified initial distribution uses the declared joint initial law. Brownian independence from F_0 gives independence of future Brownian increments from that initial variable.

The notation dX=b dt+G dW abbreviates this integral law. In the constant-coefficient case, an increment over h>0 has deterministic mean bh and covariance h G Gᵀ. For a Brownian coordinate the probability that |(W_(t+h)−W_t)/h| is at most any fixed positive bound tends to zero, since its distribution is N(0,1/h). The Brownian term therefore cannot be defined by a finite ordinary derivative at t, even in probability. That excludes a pathwise ordinary forcing interpretation of the displayed differential.

Drift has state units per unit time, and each entry of G has its corresponding state units per square root of time. The instantaneous state covariance a=GGᵀ has product state units per unit time. A zero column removes one driver, and zero noise reduces the equation to an ordinary integral equation with an absolutely continuous state when its drift is integrable. Measurability and integrability define admissibility, while existence and uniqueness still need the coefficient conditions proved later. Interpret the differential notation through its integral equation on the given probability space. Related reading: [Euler–Maruyama and the multiplicative benchmark](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf), [Solutions, pathwise uniqueness and the state covariance](https://www.stats.ox.ac.uk/~etheridg/pdecdt.pdf), [Brownian history, reflection and bridges](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The scalar and vector sources match the integral definition with an adapted solution and a Wiener driver. The declared initial sigma-field and integrability give meaning to the stochastic term. Brownian nondifferentiability is inherited from the established Brownian scope.

03

The mean and covariance of an adapted noise integral

Start with a deterministic time partition 0=t_0<⋯<t_n=T and matrices H_i measurable in F_(t_i) with finite second moments. Define M_t=∑_i H_i[W_(t∧t_(i+1))−W_(t∧t_i)] for nonnegative t. At or below t_i the bracket is zero. On each interval the future Brownian increment is independent of its left information and has mean zero. Conditional expectations, first inside each interval and then across successive intervals, show that M_t is a continuous square-integrable martingale.

In the terminal squared norm expansion, any mixed pair with later increment at j has conditional expectation zero given F_(t_j), since the preceding factors and H_j are already measurable there. For the diagonal, E[ΔW_i ΔW_iᵀ|F_(t_i)]=(t_(i+1)−t_i)I. Thus E|M_T|²=E∫_0^T ‖H_s‖_F²ds. Applying the same bilinear expansion to two compatible integrands H and K on a common refined partition gives E[M_T(H)M_T(K)ᵀ]=E∫ H_sK_sᵀds. The common clock and driver dimension are required for this matrix expression.

For any finite sample grid of such a martingale, take the first grid value of |M| above a level a>0. Convexity of norm and conditional expectation imply a·P(max |M|>a)≤E[|M_T|1_(max |M|>a)]. Integrating the tail inequality, with truncation first if necessary, gives E(max |M|)²≤2E[|M_T|max |M|]≤2‖M_T‖₂‖max |M|‖₂. Hence E(max |M|)²≤4E|M_T|². Increasing dense grids and continuity give the same continuous supremum inequality for simple integrals.

If simple predictable H^(n) converge in expected integrated squared norm, their integrals are Cauchy in expected squared supremum by the isometry and maximal inequality. A subsequence with summable error probabilities converges uniformly almost surely, producing a continuous version. L² convergence transfers conditional centering and the terminal isometry. This constructs the integral over the declared predictable L² closure, with larger locally integrable classes handled by compatible stopping. The calculation does not treat a coefficient depending on its future increment as a predictable one. Past-measurable coefficients and centered future increments make the integral a conditional mean-zero increment with a computable second moment. Related reading: [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The construction agrees on simple past-measurable integrands and on extending by the isometry. The conditional zero mean removes cross intervals. The lesson also justifies the continuous version from the L² maximal estimate and uniform convergence.

04

Quadratic variation and a covariance matrix

Let X=X_0+A+M, with A_t=∫_0^t b_s ds and M_t=∫_0^t G_s dW_s. On a finite horizon assume bounded, continuous adapted coefficient paths. For any deterministic partition π and step from t_i to t_(i+1), denote its width by h_i. We have ∑|ΔA_i|²≤K²T|π| when |b|≤K. Also E∑|ΔM_i|²=E∫‖G_s‖_F²ds is uniformly bounded. Cauchy–Schwarz in the sum and then in expectation makes the drift–martingale mixed products vanish in L¹ as the mesh tends to zero.

Freeze the diffusion at each left endpoint and put U_i=G_(t_i)ΔW_i. The error R_i=ΔM_i−U_i satisfies E∑|R_i|²=E∫_0^T ‖G_s−G_(left_π(s))‖_F²ds→0 by continuity and the deterministic bound. The terminal sums of squared increments and of squared frozen terms have bounded first moment. In matrix entries, replacing (ΔM_i)(ΔM_i)ᵀ by U_i U_iᵀ changes their sum by an L¹ term tending to zero, since each difference is bounded by |R_i|(|ΔM_i|+|U_i|).

The matrices U_i U_iᵀ−h_i G_(t_i)G_(t_i)ᵀ have conditional mean zero given F_(t_i). Their entries are mutually orthogonal across different intervals, and the Gaussian fourth moments give a bound C K⁴ h_i² on each squared matrix norm in expectation. The summed centered matrix therefore tends to zero in L² because ∑h_i²≤T|π|. The conditional mean sums are left Riemann sums for ∫_0^T G_sG_sᵀds and converge almost surely and in L¹. This proves the quadratic-covariance limit in L¹.

To obtain cross variation, apply the matrix proof to a stacked state and read the appropriate off-diagonal block. A bounded continuous adapted weight multiplying each quadratic product at the left endpoint preserves the error bounds and conditional orthogonality, and produces the corresponding weighted integral. Stopping bounded coefficients at a first exit makes them piecewise continuous with at most one additional jump, so the same dominated argument applies. The same estimate allows finitely many deterministic coefficient jumps. More generally, approximate a bounded predictable G in integrated mean square by bounded simple predictable G^(n) with the same bound, and put delta_n²=E∫‖G−G^(n)‖_F²ds. For every deterministic partition the isometry gives ∑ E|Δ(M−M^(n))|²=delta_n². Cauchy–Schwarz then bounds the L¹ difference of the quadratic-product sums, with any bounded continuous adapted left weight, by C delta_n uniformly over the partition. The weighted integrals of GGᵀ and G^(n)G^(n)ᵀ obey the same bound. First use the piecewise-constant result for fixed n, then let n increase. This proves the weighted limit for bounded predictable diffusion coefficients. The drift-square and mixed-term estimates need only bounded progressively measurable drift. The statement is for deterministic fine partitions and this convergence mode, without asserting almost-sure convergence along every possible or anticipative partition. The bracket comes from the noise products and retains covariance across shared Brownian directions. Related reading: [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf), [Time dependence and shared noise in Itô’s formula](https://ocw.mit.edu/courses/15-070j-advanced-stochastic-processes-fall-2013/d9d7372cbf65d56aa8aa9d59ba0ab2e8_MIT15_070JF13_Lec17.pdf). The quadratic covariance contraction is consistent with the source Itô construction. The lesson proves convergence in probability using centered products on independent increments and bounded approximations, with finite variation contributing zero.

05

Why a second derivative enters the scalar chain rule

Let X be a scalar continuous Itô process, and f(t,x) have continuous time derivative f_t and continuous first two x derivatives. First take bounded progressively measurable drift and bounded predictable diffusion in the declared integral domain, and localize X and these derivatives on the relevant compact set. The preceding bounded-predictable quadratic-covariance extension applies to the stopped coefficients. On each deterministic time step, first expand the spatial increment at the old time to second order, then take the time increment at the new state by integration of f_t. This produces f_t(t_i,X_i)h_i+f_x(t_i,X_i)ΔX_i+f_xx(t_i,X_i)(ΔX_i)²/2 plus a remainder. After the bounded-case argument below, handle general locally integrable coefficients by stopping their accumulated ∫|b|ds+∫|G|²ds and projecting the coefficient processes pointwise to growing bounded balls. Form X^(n) from those projected processes with the same initial state and Brownian motion. Dominated convergence under the stopped integral bounds makes the drift errors tend to zero in expected total variation and the noise errors in expected squared supremum, so X^(n)→X uniformly in probability. Use a smooth spatial cutoff of f during this limit. Uniform continuity of its bounded derivatives and the stopped drift and variance bounds pass the ordinary terms, while the isometry passes the stochastic term in integrated mean square. Remove the cutoff and increasing stops only on the original process's actual finite-horizon domain.

Uniform continuity of the derivatives on the localized compact set bounds the sum of remainder magnitudes by a quantity tending to zero in probability: a continuity modulus evaluated at max_i(h_i+|ΔX_i|) times T+∑_i(ΔX_i)². The first factor tends to zero by continuity of X and compactness of the time interval. The second is bounded in probability by the quadratic variation argument. This uses only the stated derivative continuity and a controlled second-order remainder, without presuming a third derivative.

The linear term with ΔX decomposes into sums against A and M. The drift sum converges to ∫ f_x b ds by continuity and boundedness, and the noise sum converges in L² to ∫ f_x G dW by the isometry applied to the difference of its left predictable approximation and the actual integrand. The f_t terms give their time integral. The weighted quadratic-covariance result gives ∑ f_xx(t_i,X_i)(ΔX_i)²→∫ f_xx(s,X_s)|G_s|²ds, with the weight bounded after localization.

The expected square includes variance in addition to the squared meanNoise generates drift for the squared state; The initial Itô drift in the square is 4, and the signed diffusion coefficient is 4. The vertical difference of the curves is σ²t.The expected square includes variance in addition to the squared mean-0.78406.384-0.1031.253Expected square E[Xₜ²]Squared mean (E[Xₜ])²5Selected expectationTime · squared-state units
The initial Itô drift in the square is 4, and the signed diffusion coefficient is 4. The vertical difference of the curves is σ²t.

The second derivative of x² contributes the quadratic variation term σ²dt. A deterministic initial state yields a normal law with mean x+μt and variance σ²t. The second moment is the sum of variance and squared mean.

Exact Itô and second-moment decomposition
QuantityExact result
Initial square drift 2xμ+σ²4
Initial square diffusion 2xσ4
Mean of X at the selected time1
Variance of X4
Expected square5
Exact inputs and supporting calculations
Declared inputs
ParameterValue
mu0
sigma2
x1
t1

Summing the increments telescopes to f(t,X_t)−f(0,X_0), giving ∫_0^t [f_t+b f_x+|G|² f_xx/2]ds+∫_0^t f_x G dW. For a stopped identity integrate only through the stopped time, including the time argument f(t∧τ,X_(t∧τ)); this also follows by stopping the compactly cut off formula. Continuous both-side versions and a countable dense set make the equality simultaneous in time. Remove localization on the event that the increasing stops exceed the given finite horizon, which requires actual nonexplosion and local integrability on that horizon. A second-order Taylor term survives Brownian scaling, so the ordinary chain rule acquires a drift correction. Related reading: [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf), [Time dependence and shared noise in Itô’s formula](https://ocw.mit.edu/courses/15-070j-advanced-stochastic-processes-fall-2013/d9d7372cbf65d56aa8aa9d59ba0ab2e8_MIT15_070JF13_Lec17.pdf). The half-variance drift agrees with the sources. The full weighted Taylor proof and convergence of all remainders are original with the exact localized regularity stated before passing to a limit.

06

The vector Itô formula and cross terms

For an m-dimensional Itô state with driver matrix G, use the spatial Taylor expansion for a scalar test f(t,x) with a continuous Hessian. Its linear differential is ∇fᵀ dX and its quadratic term at a partition step is (ΔX)ᵀ D²f(t_i,X_i)(ΔX)/2. On each localized compact set the Taylor remainder is bounded by a uniform continuity modulus times |ΔX|². The same deterministic-partition estimates for the vector process make its sum vanish in probability.

Writing a=GGᵀ, the weighted matrix limit sends the quadratic term sum to (1/2)∫ tr(a D²f) ds. Indeed the trace equals ∑_(i,j) a_(i,j) ∂_(ij)f because both matrices are symmetric. The first-order variance-free drift and stochastic terms converge as in the scalar proof, one coordinate at a time. The result is df=[f_t+∇fᵀ b+tr(a D²f)/2]dt+∇fᵀG dW. For a vector-valued test take this formula for each component, giving its derivative acting on G.

For f(x,y)=xy the two mixed Hessian entries are both one. Hence d(XY)=X dY+Y dX+d[X,Y], with no residual factor one half on the cross variation. If X=σ_1 W and Y=σ_2 W for the same scalar Brownian motion, the correction is σ_1σ_2 dt. With independent Brownian directions and no shared diffusion component the corresponding quadratic covariance is zero, though other terms in a coupled model can still make its states statistically dependent.

The a_(i,j) term has product state units per unit time and ∂_(ij)f has test-value units divided by that product, making the contribution a drift in test units per unit time. Positive semidefiniteness comes from vᵀ a v=|Gᵀv|², so no inverse is involved and degenerate ranks are valid. Localization and extension use the same actual finite derivative, integrability and nonexplosion conditions as in the scalar case. The Hessian term contracts with a matrix indexed by pairs of state coordinates. Related reading: [Generators, forward laws and conditional transition laws](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Time dependence and shared noise in Itô’s formula](https://ocw.mit.edu/courses/15-070j-advanced-stochastic-processes-fall-2013/d9d7372cbf65d56aa8aa9d59ba0ab2e8_MIT15_070JF13_Lec17.pdf). The Hessian and covariance orientation agree with the sources after representing a standard driver as Q=I. The proof contracts across two state indices and accounts for shared driver directions and the dimension of each factor.

07

Changing from Stratonovich to Itô

Take a continuous adapted scalar integrand H which is itself an Itô process with coefficients satisfying the localized quadratic-covariance conditions. The symmetric endpoint sum ∑_i (H_(t_i)+H_(t_(i+1)))ΔW_i/2 differs from the left sum by ∑_i ΔH_i ΔW_i/2. The left sum converges to the Itô integral in its L² localized domain, and the additional sum to half the quadratic covariation. This defines the Stratonovich integral here as ∫ H∘dW=∫H dW+[H,W]/2.

For a scalar state X with diffusion coefficient g(t,X), suppose g has the time and spatial regularity needed for Itô's formula on the stopped domain. The martingale coefficient of H=g(t,X) is g_x g with respect to its single standard Brownian motion. Thus [H,W]_t=∫_0^t g_x(s,X_s)g(s,X_s)ds. A Stratonovich equation with drift b_S therefore has Itô drift b_I=b_S+g g_x/2. The reverse conversion subtracts the same term and retains the diffusion.

For m state coordinates and independent Brownian drivers, use column G_j and apply vector Itô to each component of G_j(t,X). Its coefficient of dW^j is the directional derivative D_x G_j times G_j. Cross covariance with W^j selects exactly this one driver coefficient. Summing the columnwise symmetric corrections gives b_I=b_S+(1/2)∑_j (D_x G_j)G_j. Here D_x G_j maps a state displacement to a displacement of the jth diffusion column, so the matrix product has the required orientation.

The same written coefficients can describe different lawsA drift correction arises from multiplicative noise; For the converted equation the drift rate is 1/2 and the mean at T is 2 e^(1/2). The direct Itô interpretation has mean 2.The same written coefficients can describe different laws-0.50504.113-0.1061.286Convert the written Stratonovich lawRead the same drift directly as Itô2 e^(1/2)2Expected states at selected T (converted / direct)Time · exact mean state E[Xₜ]
For the converted equation the drift rate is 1/2 and the mean at T is 2 e^(1/2). The direct Itô interpretation has mean 2.

For smooth scalar diffusion bX, half the derivative product adds b²X/2 to the Itô drift. Applying Itô to log X subtracts that same contribution. Interpreting the unconverted symbols directly as Itô instead changes the resulting logarithmic law.

Exact Stratonovich-to-Itô change
QuantityExact result
Drift correction rate b²/21/2
Converted Itô drift rate1/2
Effective drift at the supplied initial x1
Converted path solutionX₀ exp(0t + 1Wₜ)
Direct Itô path solutionX₀ exp((−1/2)t + 1Wₜ)
Converted mean at T2 e^(1/2)
Direct mean at T2
Rounded comparison3.297443 / 2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a0
b1
x2
T1

A time-only g has no state correction. For g(x)=cx the additional drift is c²x/2, illustrating why a formal ordinary chain rule must account for the convention. The calculation is an identity for the stated continuous semimartingale realizations. It neither proves existence with nonsmooth coefficients nor permits future-dependent conditioning. Changing the declared driver covariance calls for its own quadratic-covariance calculation before reusing the independent-driver expression. Symmetric evaluation of the stochastic integral introduces one half of the covariation that is absent from a left-endpoint sum. Related reading: [Picard iteration and the Stratonovich conversion](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). Algorithm 4.11 matches the scalar and independent-unit-driver spatial correction. The article's direct bracket calculation retains smoothness and localization. Distinguish the symmetric convention from a general smooth-noise limit.

08

Constructing a solution by approximation

On [0,T] take deterministic Borel coefficients b and G uniformly globally Lipschitz in state, with a uniform linear growth bound. Let the F_0-measurable initial state have finite second moment. Begin with X^(0)_t=X_0 and recursively define X^(n+1)=X_0+∫ b(s,X^(n)_s)ds+∫ G(s,X^(n)_s)dW_s. Adapted continuous state approximations give predictable integrands for the deterministic measurable coefficient functions. The noise uses the predictable L² integral; predictable square-integrable functions can be approximated in integrated mean square by simple ones.

For any square-integrable drift difference a_s, Cauchy–Schwarz yields E sup_(u≤t)|∫_0^u a_s ds|²≤t∫_0^t E|a_s|²ds. The Itô and maximal bounds give E sup_(u≤t)|∫_0^u B_s dW_s|²≤4∫_0^t E‖B_s‖_F²ds. Together with linear growth these bounds show inductively that all iterates have finite expected squared supremum. For D_n(t)=E sup_(u≤t)|X^(n)_u−X^(n−1)_u|², Lipschitz continuity gives D_(n+1)(t)≤C_T∫_0^t D_n(s)ds with a constant uniform in n.

Taking a finite bound D_1(T)≤K, successive integration yields D_(n+1)(t)≤K(C_T t)^n/n! for t≤T. The square roots form a summable sequence at T by the ratio test. Minkowski's inequality therefore makes the iterates Cauchy in the L² norm of the supremum. Completeness, or a subsequence converging uniformly almost surely, gives a continuous adapted limit on this horizon. It retains the same finite second-moment supremum and initial value.

The same drift and noise inequalities with the Lipschitz differences pass both integrals to the limit in the supremum norm. The limit satisfies the integral equation as a continuous process, and the construction works for every finite T. A linear-growth estimate directly on the solution gives u(t)≤C_T(1+E|X_0|²)+C_T∫_0^t u(s)ds for u(t)=E sup_(v≤t)|X_v|². This keeps the moment bound finite. Compatible solutions on overlapping finite horizons follow from the pathwise uniqueness argument, with no extra assumption of stationarity. Construct successive adapted paths and control their differences uniformly over the declared finite horizon. Related reading: [Picard iteration and the Stratonovich conversion](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Solutions, pathwise uniqueness and the state covariance](https://www.stats.ox.ac.uk/~etheridg/pdecdt.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). Algorithm 4.10 supplies the iteration structure and standard assumptions. The stability of the iterate differences, factorial summability and Cauchy convergence in mean-square supremum are proved for the declared fixed horizon.

09

Which uniqueness does an SDE have?

Let two admissible finite-second-moment solutions share the same filtered space, Brownian path and initial state. Apply the drift Cauchy–Schwarz estimate and the Itô maximal estimate to their difference. Uniform Lipschitz continuity gives E sup_(u≤t)|X_u−Y_u|²≤C_T∫_0^t E sup_(v≤s)|X_v−Y_v|² ds. Gronwall's inequality forces zero. If only the initial second moment is specified, first stop the solutions at increasing state bounds. The linear-growth supremum estimate with Gronwall and Fatou yields finite expected square supremum in the limit. Thus on a given finite interval the solutions are indistinguishable, and a countable union of exceptional events extends this across all integer horizons.

The Picard construction can be performed relative to the filtration generated by X_0 and each Brownian past. It uses no extra randomness. For a precise law statement, perform it on the canonical product of the specified initial law with Wiener law. Each iterate is obtained from past-measurable simple integral approximations and limits, hence a measurable causal function of the initial coordinate and path, up to null sets. The approximation uses actual finite-horizon L² integrands. The completed measurable version can be used on any space with the same joint input law.

A weak solution may live on a different probability space. It must still have the declared initial law and an adapted Brownian driver whose future increments are independent of the past, including the initial state. The canonical measurable solution transferred to that driver has the same law and is an admissible solution there. Pathwise uniqueness then identifies it with the given weak solution on that space, within the moment class in question. This proves uniqueness in law for this construction rather than asserting an unrestricted equivalence between weak and strong uniqueness.

Continuity of the drift alone does not give this conclusion. Let b(x)=2√max(x,0) and set G=0, X_0=0. For every a≥0, X_t=(max(t−a,0))² solves the ordinary integral equation because b(X_s)=2 max(s−a,0). The identically zero path is another solution. Each is continuous with the same initial state and same unused Brownian input. The ratio |b(x)−b(0)|/|x|=2/√x diverges as x decreases to zero, so the Lipschitz condition fails precisely at the start. A fixed-driver estimate gives indistinguishability, and the causal construction determines the distribution from the input laws. Related reading: [Picard iteration and the Stratonovich conversion](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Solutions, pathwise uniqueness and the state covariance](https://www.stats.ox.ac.uk/~etheridg/pdecdt.pdf). The standard strong/weak convention is taken from Särkkä and Solin. Their terminology and Etheridge's pathwise uniqueness are consistent with the direct common-input estimate. The law is tied to the given initial distribution and fresh Brownian motion. The non-Lipschitz deterministic example is original.

10

Stability with respect to the initial state and coefficients

Give X and Y the common Brownian motion and adapted square-integrable initial states X_0,Y_0 on [0,T]. Suppose b,G are uniformly globally Lipschitz in state with constants L_b,L_G, and the two models meet the growth and integrability conditions for the finite-horizon solutions. Let δ_b and δ_G bound the uniform differences between the respective drift and diffusion fields, the latter in Frobenius norm. The inequality |b(s,X_s)−tilde b(s,Y_s)|²≤2L_b²|X_s−Y_s|²+2δ_b² follows by adding and subtracting b(s,Y_s). The diffusion obeys the same type of bound.

Let u(t)=E sup_(v≤t)|X_v−Y_v|². Square the sum of its initial, drift and noise contributions using the factor three inequality. Cauchy–Schwarz in time and the maximal Itô estimate give u(t)≤3E|X_0−Y_0|²+3T∫_0^t E|b(s,X_s)−tilde b(s,Y_s)|²ds+12∫_0^t E‖G(s,X_s)−tilde G(s,Y_s)‖_F²ds. These integrands compare both states on the same probability space with the same driver.

Substitution gives u(t)≤A+C∫_0^t u(s)ds with A=3E|X_0−Y_0|²+6T²δ_b²+24Tδ_G² and C=6T L_b²+24 L_G². Gronwall's inequality yields u(T)≤A exp(CT). In the same-coefficient case only the initial-state term remains. The zero initial-difference and zero field-difference case recovers the pathwise uniqueness estimate. These constants are sufficient finite-horizon bounds rather than best long-run rates.

For a Lipschitz terminal test with constant L_f, coupling then gives a mean prediction difference at most L_f√u(T), by Cauchy–Schwarz. This transfer is valid for that test class. It does not bound total variation of all path observations, and choosing independent noise would give a different variance comparison. If the field discrepancy is controlled only on a bounded region, the same proof applies to the common stopped paths until they exit that region, with exit probabilities still to be accounted for separately. Compare two solutions on one driver to identify which part of their difference comes from the initial state and which part comes from the coefficients. Related reading: [Picard iteration and the Stratonovich conversion](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The source provides global solution assumptions and the Itô estimate tools. The common-driver perturbation inequality is a separate original consequence of splitting coefficient differences and applying the maximal and Gronwall estimates.

11

Local solutions and nonexplosion

Assume deterministic coefficients locally Lipschitz in state with bounds uniform on compact state sets at finite times. For radius R, replace the spatial argument of both fields by its nearest-point projection to the closed ball of radius R. This projection is Lipschitz and agrees with the identity inside the ball, so the truncated equation has globally Lipschitz bounded coefficients on the horizon. From a fixed finite x_0 choose R>|x_0| and let τ_R be its first time at the radius, using ∞ for no exit.

Couple all truncations on the same Brownian path. For S>R, the fields for both equations agree with the original fields inside the radius R. The stopped pathwise uniqueness estimate makes the solutions equal up to their first shared exit from that ball, and continuity gives the same exit value and time. The times τ_R increase with R and define a maximal lifetime ζ. Their common prefixes define a solution on each compact subinterval before ζ. A claim beyond ζ requires an independent nonexplosion argument.

Suppose V≥0 is twice continuously differentiable and coercive, meaning inf_(|x|≥R)V(x) tends to infinity, and the original generator satisfies L_s V≤C_T(1+V) up to each finite T. Apply Itô up to t∧τ_R. The noise integral has mean zero because the stopped integrand is bounded on the compact. With u_R(t)=E[1+V(X_(t∧τ_R))], nonnegativity gives u_R(t)≤1+V(x_0)+C_T∫_0^t u_R(s)ds. Thus u_R(T) is bounded by (1+V(x_0))e^(C_T T), independently of R.

On {τ_R≤T} the stopped state is on the radius R, so P(τ_R≤T)≤(1+V(x_0))e^(C_T T)/inf_(|x|≥R)V(x) for positive denominator. The latter tends to zero. The decreasing exit events yield P(ζ≤T)=0 and countably many T give global nonexplosion. For V=1+|x|², linear growth bounds 2x·b+tr(GGᵀ) by a constant times 1+V. The criterion uses a declared growth bound and controls escape in finite time, independently of whether the process has an invariant law. Local uniqueness joins stopped solutions, and a coercive test controls the chance of leaving every bounded region by a fixed time. Related reading: [Solutions, pathwise uniqueness and the state covariance](https://www.stats.ox.ac.uk/~etheridg/pdecdt.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf), [Generators, forward laws and conditional transition laws](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). The available foundations support stopped local generator calculations. Compatibility of cutoff solutions and the quantitative Lyapunov nonexplosion proof are given directly. The claim needs the stated coercivity, bounded-stopping integrability and generator growth, not merely local existence.

12

The physical units of drift and diffusion

Suppose one unit of a new time coordinate s equals c>0 units of the old coordinate t, so t=c s. Then B_s=c^−1/2 W_(c s) is standard Brownian motion relative to the rescaled history F_(c s). Its disjoint increments are independent centered Gaussian vectors and their covariance is (s_2−s_1)I by the factor c^−1/2. Its paths are continuous. In particular time rescaling changes Brownian amplitude by a square root rather than the ordinary factor c.

Let a fixed invertible matrix S and offset u change the state units by Y_s=S X_(c s)+u. Substitute t=c s in the ordinary integral and use W_(c s)=√c B_s in the stochastic integral. For simple integrands this follows directly from their increment sums, and integrated L² approximation and stopping extend it to the stated solution domain. At y=Y_s put x=S^−1(y−u). The new drift is c S b(c s,x) and the new diffusion matrix is √c S G(c s,x). Affine state change has no quadratic second-derivative contribution.

The instantaneous covariance becomes a_Y=c S a_X Sᵀ. Generator terms acting on a physical observable have its units per unit of the chosen clock: one state derivative cancels the state unit of the drift and two derivatives cancel the product units of the covariance. For a scalar observation, q=σ² is variance per unit time, and the unchanged physical increment variance can be written q times the old gap or c q times the new numerical gap.

For example, moving from seconds to minutes has c=60, so numerical drift is sixty times the per-second drift and numerical noise amplitude is √60 times the per-square-root-second coefficient. A relaxation time product κΔ, or a standardized fluctuation (increment−drift mean)/(σ√Δ) with σ>0, has the same numeric value in either consistent unit system. Treating σ itself as a variance rate would give the wrong rescaling. A nonlinear transformation of the state needs the separate Itô chain rule. Changing clock units rescales diffusion by a square root and drift by the full time factor. Related reading: [Euler–Maruyama and the multiplicative benchmark](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf), [Brownian history, reflection and bridges](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). Brownian time scaling and noise variance per elapsed time supply the dimensional basis. The article explicitly calculates changes in drift, diffusion and the generator under both time and state units.

13

Solving a scalar affine equation exactly

Consider dX_t=[a(t)X_t+c(t)]dt+g(t)ᵀdW_t, with deterministic integrable a and c and square-integrable vector g on finite time intervals. Define Φ(t,s)=exp(∫_s^t a(r)dr). It is strictly positive and finite and obeys Φ(t,u)Φ(u,s)=Φ(t,s). Multiplying X_t by Φ(t,s)^−1 uses a deterministic absolutely continuous factor; its product with the noise has zero covariation. Its ordinary derivative cancels the a(t)X_t term.

Integrating the product and multiplying back gives X_t=Φ(t,s)X_s+∫_s^t Φ(t,r)c(r)dr+∫_s^t Φ(t,r)g(r)ᵀdW_r. The finite-variation product identity can be obtained by the scalar Itô product rule for smooth factors followed by the corresponding absolutely continuous approximation. Alternatively substituting the formula and integrating the factor derivative recovers the integral equation. Any two solutions with the same noise and start have a deterministic linear difference and therefore agree.

The last integral is centered Gaussian conditionally on F_s and independent of F_s, because its integrand is deterministic and it is obtained from linear combinations of independent future Gaussian increments. Its variance is ∫_s^t Φ(t,r)²|g(r)|²dr. For times t,u≥s the conditional covariance is ∫_s^(min(t,u)) Φ(t,r)Φ(u,r)|g(r)|²dr: pair the common increments, or apply the deterministic bilinear isometry. The displayed first two terms give the conditional mean.

If the variance integral vanishes, the given-start transition is a point mass at that mean, so there is no positive-width Gaussian density to divide by. Random X_s can still give unconditional uncertainty in that branch. The integrating factor is dimensionless, g has state units per square root of time, and the variance integral has squared state units. The formula uses deterministic coefficients; a response or volatility chosen from future noise would not have the asserted independent Gaussian integral. An integrating factor separates deterministic change from the Gaussian stochastic convolution. Related reading: [Exact linear Gaussian steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The exact Gaussian transition agrees with the scalar version of the linear convolution where coefficients are constant. The deterministic time-varying integrating factor, conditional independence and zero-variance branch are stated and proved independently.

14

Multiplicative Gaussian noise and positivity

For the constant-coefficient model dX_t=μX_t dt+σX_t dW_t with fixed X_0=x, consider x exp((μ−σ²/2)t+σ W_t). Itô's formula for the exponential yields its drift μ times itself because the quadratic correction contributes σ²/2, and its Brownian coefficient is σ times itself. The linear coefficients are globally Lipschitz, so pathwise uniqueness identifies this explicit process as the solution. It is finite for every finite time.

If x>0 the path stays positive and log(X_t/x) is Gaussian N((μ−σ²/2)t,σ²t). The fact that the exponential was constructed directly avoids applying log through a possible zero. For x<0 the sign remains negative and log(|X_t|/|x|) has the same law. At x=0 the solution stays zero and the log expression is undefined. Zero σ gives the corresponding deterministic equation in each branch.

For nonzero x and real p, the Gaussian exponential moment gives E|X_t|^p=|x|^p exp(p μ t+(p²−p)σ²t/2). In particular the signed arithmetic mean is x e^(μt), and the variance is x² e^(2μt)[e^(σ²t)−1]. They use finite-time Gaussian integration, not an approximation. For x>0 the median is x exp((μ−σ²/2)t), by strict monotonicity of the exponential and symmetry of W_t; it equals the state itself in the deterministic case.

The arithmetic mean grows at μ, while the median and the expected log change are controlled by μ−σ²/2. At some parameter choices the former is positive and the latter negative, with no inconsistency. This statement compares exact finite-time summaries and does not claim any unproved path limit. The traditional log differential is valid only where the observed variable has the stated sign, and the factors μt and σ²t are dimensionless. Log and arithmetic growth differ because the mean of an exponential includes the noise variance. Related reading: [Euler–Maruyama and the multiplicative benchmark](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf), [Time dependence and shared noise in Itô’s formula](https://ocw.mit.edu/courses/15-070j-advanced-stochastic-processes-fall-2013/d9d7372cbf65d56aa8aa9d59ba0ab2e8_MIT15_070JF13_Lec17.pdf). Equation 4.6 and the MIT Itô application agree with the minus half-variance log drift. Conditioning on the exact Gaussian noise gives the arithmetic moment laws. State sign and the zero initial branch follow from the multiplicative factor.

15

A stationary vector Ornstein–Uhlenbeck law

Let dX_t=(F X_t+b)dt+G dW_t in finite dimension with constant matrices and deterministic b. Suppose every eigenvalue of F has strictly negative real part. Finite-dimensional Jordan blocks give ‖e^(F u)‖≤C e^(−ηu) for u≥0 and some η>0, since each polynomial factor is dominated by a slower decaying exponential. Let m=−F^−1 b and Q=GGᵀ. On a two-sided Brownian clock define X_t=m+∫_(−∞)^t e^(F(t−r))G dW_r as an L² limit of finite-past integrals.

The exponential bound makes the integrated squared norm finite. The deterministic integrals are jointly Gaussian, and shifting time preserves all their covariances. In particular the state is stationary with covariance P=∫_0^∞ e^(F u)Q e^(Fᵀ u)du. Splitting the integral at an earlier time s gives X_t−m=e^(F(t−s))(X_s−m)+∫_s^t e^(F(t−r))G dW_r. This yields a continuous version through the usual finite-interval representation and verifies the SDE. Future terms are independent of the history through s.

Differentiate the integrand e^(Fu)Qe^(Fᵀu). Its derivative is the sum of left multiplication by F and right multiplication by Fᵀ. Integrating the derivative over [0,∞) and using decay at infinity gives F P+P Fᵀ=−Q. P is symmetric positive semidefinite, including a possible degenerate state covariance, since its quadratic form is the integral of |Gᵀ e^(Fᵀu)v|². The state mean m solves Fm+b=0.

If another covariance solves the same equation its difference D satisfies F D+D Fᵀ=0. Then e^(Fu)D e^(Fᵀu) is constant in u by differentiation, but tends to zero in norm. Thus D=0. Likewise the finite-start covariance converges to P because the propagated initial covariance decays and the finite noise integral approaches the infinite one. These are sufficient stable dynamics and an exact covariance uniqueness result. The proof does not claim that undriven marginally stable directions can never carry a stationary distribution. For a stable linear drift, accumulated past noise gives a Gaussian law whose covariance solves the Lyapunov equation. Related reading: [Exact linear Gaussian steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). The exact OU covariance and Lyapunov calculation agree on the declared stable linear class. The proof constructs a stationary Gaussian transition law using the covariance integral, allows singular state covariance and uses stability in the uniqueness argument.

16

Exponential martingales under a finite-horizon bound

For a predictable h taking values in R^d and satisfying |h_s|≤H on [0,T], put M_t=∫_0^t h_sᵀdW_s, V_t=∫_0^t |h_s|²ds and Z_t=exp(M_t−V_t/2). Begin with bounded simple predictable h. On a grid cell where h_i is known from its left history, the exponential factor for a future Gaussian increment of width Δ has conditional mean one. At any intermediate deterministic time the same argument restarts with the known h_i. Multiplying across cells by conditioning shows that Z is a mean-one positive martingale.

For simple h, Itô's formula inside each cell shows dZ_t=Z_t h_tᵀdW_t, with cancellation of the differential of V/2. For p=2 or p=4, the pth power of each exponential factor has conditional expectation exp((p²−p)|h_i|²Δ/2) bounded above by the same expression with H. Iterating yields E Z_t²≤exp(H²T) and E Z_t⁴≤exp(6H²T) for every t≤T. These bounds are uniform over all simple approximations with that same H.

Approximate the general bounded h by simple predictable h^(n) in integrated mean square, projecting their values to the radius-H ball to retain the bound. The associated M^(n) converge in mean-square supremum and the V^(n) converge in expected supremum by the difference-of-squares estimate. Then the Z^(n) converge in probability at each t to Z, and the second-moment bounds give L¹ convergence. Conditional expectation transfers the martingale equation E[Z_t|F_s]=Z_s and expectation one. Positivity follows from the finite continuous exponent.

The same approximation gives convergence in probability of Z^(n)h^(n) to Zh on the product of time and probability. The uniform fourth-moment bound makes the squared integrands uniformly integrable there, hence convergence in integrated mean square. The isometry passes the integral identity Z_t=1+∫_0^t Z_s h_sᵀdW_s to the limit. This proves the bounded predictable finite-horizon result without assuming that an arbitrary locally defined stochastic exponential has mean one. For deterministic square-integrable h, its exact Gaussian moment gives expectation one directly even without a pointwise bound. On a fixed horizon a bounded predictable integrand gives a normalized positive stochastic exponential. Related reading: [Exponential weights and the drift shift](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The exponential correction convention agrees. The lesson's bounded predictable proof explicitly establishes uniform integrability and mean one instead of using the source's finite expected energy as a general criterion. Local martingale and deterministic tilt remain separate claims.

17

From a solution to a transition law

For a deterministic globally Lipschitz time-dependent coefficient model, let K_(s,t)(x,·) be the law of the solution at t started from fixed state x at deterministic time s. The causal construction uses only Brownian increments after s for that start. For each bounded Lipschitz test φ the function x↦K_(s,t)φ(x) is continuous by the common-driver initial-state bound. This yields a measurable transition kernel by approximating indicator tests with bounded Lipschitz tests and closing under bounded monotone limits.

For a simple F_s-measurable initial state taking finitely many values x_j, the future solution is on each initial event the canonical solution from x_j driven by the future Brownian increments. Those increments are independent of F_s, so E[φ(X_t)|F_s]=K_(s,t)φ(X_s) there. Approximate a general square-integrable X_s by such simple states in L². The same coupling estimate makes their terminal states converge in L², and bounded Lipschitz tests converge in conditional L¹. The measurable conditional identity then extends to bounded Borel tests by the corresponding monotone-class argument.

Restriction of the original solution to times ≥s solves the same restarted integral equation with its actual X_s. Pathwise uniqueness identifies it with the restart driven by that same future Brownian input. Thus the kernel formula applies to the original state, not merely to a new independent simulation. For s≤u≤t, taking conditional expectations through u gives K_(s,t)φ(x)=∫ K_(u,t)φ(y)K_(s,u)(x,dy) by the deterministic-start case.

Time-homogeneous coefficients make K depend only on the gap, while time-varying coefficients generally require both clock times. This conditional identity uses the actual state as past information and an adapted Brownian law for the future increments. A noisy observation of the state requires conditioning the state distribution and integrating the kernel against it. The proof works at deterministic times; extending it to arbitrary declared stopping times uses the appropriate restart of the driving Brownian motion and the corresponding stopped-law arguments. Restart the solution from its current state using future increments independent of the declared history. Related reading: [Generators, forward laws and conditional transition laws](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Picard iteration and the Stratonovich conversion](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Exact linear Gaussian steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Brownian history, reflection and bridges](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The transition-kernel composition comes from the causal restart on an independent future noise path. The lesson's deterministic coefficients and unique causal solution explain when the present state suffices. Neither arbitrary adapted dynamics nor all transition densities are claimed.

18

The generator and a stopped expectation identity

For an Itô state with deterministic coefficients, put a=GGᵀ and define L_t f(x)=b(t,x)ᵀ∇f(x)+tr(a(t,x)D²f(x))/2 for a twice continuously differentiable state test. For time-dependent f use ∂_t f+L_t f. These terms are the finite-variation part of its Itô formula. Localize to a bounded time and a state region where the coefficients and relevant derivatives keep the stochastic integrand square integrable.

Let τ be a stopping time in that localized domain, with s≤τ≤T. Stopping the Itô identity gives f(τ,X_τ)−f(s,X_s)=∫_s^τ(∂_u+L_u)f(u,X_u)du+∫_s^τ∇fᵀG dW. The final integral can be written with the predictable indicator of the interval through the stopping time. Its conditional expectation given F_s is zero by the actual square-integrable martingale property. This proves the stopped expectation formula. For an unbounded stop, integrable dominating variables or a separately valid limiting argument are needed.

For a deterministic start X_s=x and a time-independent f∈C_c², suppose b and G are continuous near (s,x) and L_u f is uniformly bounded for short future times. The expectation formula at s+h shows [K_(s,s+h)f(x)−f(x)]/h=(1/h)∫_s^(s+h) E[L_u f(X_u)]du. Path continuity gives X_u→x, continuity gives the integrand limit L_s f(x), and boundedness gives convergence in expectation. The limit is the generator value at (s,x).

This identifies the generator on the smooth tests and under the stated local domain. It does not replace a proof of a domain or a transition density for nonsmooth tests. For a bounded classical backward solution with suitable martingale and terminal conditions, its time derivative can cancel L and give a terminal expectation by the same argument. The roles of a time-dependent backward equation, a stopped formula and a pointwise semigroup derivative must keep their own regularity assumptions. Test a stopped diffusion with a smooth function, then take the martingale expectation under the integrability bounds. Related reading: [Generators, forward laws and conditional transition laws](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The sources match the time-dependent generator and stopped-martingale route. The proof fixes bounded localization and requires appropriate continuity/integrability for its short-time derivative. Arbitrary stopping outcomes are outside the statement.

19

A forward equation for the state law

Let μ_t be the probability law of a nonexplosive state X_t, and take a smooth compactly supported state test f. Suppose local coefficient bounds make L_t f bounded on the relevant finite interval and its stochastic term square integrable. Taking expectations in the Itô formula gives ∫ f dμ_t−∫ f dμ_s=∫_s^t ∫ L_u f dμ_u du. This is the weak forward equation in integrated form, even if at some times the state has atoms or no density.

If μ_t has a sufficiently smooth density p(t,x), substitute it and integrate derivatives of the compactly supported test by parts. The first derivative term is transferred with a minus sign and the second derivative term with a plus sign. Hence ∂_t p=−∑_i ∂_i(b_i p)+(1/2)∑_(i,j)∂_(ij)(a_(i,j)p) in the classical region where the derivatives exist. This is distinct from L acting on f, since here derivatives act on the products of the coefficients and p.

Define the probability flux components J_i=b_i p−(1/2)∑_j ∂_j(a_(i,j)p). The equation becomes ∂_t p=−div J. Integrating over a regular region and using the divergence theorem gives rate of mass change equal to minus the outward flux, subject to the actual boundary and enough integrability. In units, J_i is density times state-coordinate i per unit time. Flux across a surface integrates to probability per unit time in consistent coordinates.

A closed state domain with a justified no-flux boundary or decay at infinity can conserve the interior density mass. Absorption may instead remove interior density and add probability at a boundary state. Such an atom is part of the full μ_t, even if p within the open region integrates to less than one. Neither smoothness of a density nor uniqueness of a forward solution follows from formal integration by parts. The weak equation keeps those additional claims separate. Move the spatial generator from a test function to the probability law to obtain the forward equation and flux. Related reading: [Generators, forward laws and conditional transition laws](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [The heat semigroup and a path-weighted expectation](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). One adjoint derivative on drift and two on covariance match the selected pages. The test-function measure calculation comes first. Spatial density, boundary flux and physical units are derived only with the respective assumptions.

20

Exit probabilities from the scale function

On a bounded interval (l,r), consider a continuous scalar diffusion with time-homogeneous continuous drift b and variance coefficient a=σ²≥a_min>0 on the closed interval. Assume it is available up to its first exit τ, with x strictly between the endpoints. Let B bound |b| on the interval. For q>2B/a_min choose h(y)=exp(q y). Its generator Lh=e^(q y)[q b(y)+q² a(y)/2] is bounded below by a strictly positive constant on [l,r].

Apply the bounded stopped expectation formula to h at t∧τ. The left-hand difference in expectation is at most h(r)−h(x) because the stopped path remains in the closed interval. The right is at least the positive generator lower bound times E(t∧τ). Thus Eτ is finite by monotone convergence, and continuity gives X_τ equal to l or r almost surely. This avoids using a stopped harmonic equation to assume the existence of a finite boundary hit.

Define a strictly increasing scale function S by S'(y)=exp(−∫_(x_*)^y 2b(u)/a(u) du) for any interior reference x_*. It satisfies S''=−(2b/a)S', so LS=0. The stopped expectation identity for S gives E S(X_(t∧τ))=S(x). Boundedness on the interval lets t tend to infinity, yielding S(x)=S(l)P(X_τ=l)+S(r)P(X_τ=r). Therefore P(X_τ=r)=[S(x)−S(l)]/[S(r)−S(l)].

The denominator is positive by strict increase. For b=0 the expression is (x−l)/(r−l), independent of the nonzero local diffusion amplitude, while the waiting time generally depends on it. The exponent ∫(b/a)dy is dimensionless in the declared time and state units. An endpoint start stops at once with its corresponding exit value. A degenerate coefficient, infinite boundary or time-dependent drift needs a separate justification before applying this two-endpoint formula. Choose a monotone scale that removes the drift before evaluating which endpoint is reached. Related reading: [Scale functions, mean first exits and neutral absorption](https://www.stats.ox.ac.uk/~etheridg/pdecdt.pdf), [Brownian history, reflection and bridges](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). Etheridge writes the lower endpoint probability for interior intervals. The lesson obtains its upper-end counterpart from the original scale martingale and a justified finite-exit premise. The source also illustrates why degenerate or inaccessible endpoints need separate treatment.

21

Mean first-exit time and the Poisson equation

Under the bounded-interval nondegeneracy assumptions put I(y)=exp(∫_l^y 2b(u)/a(u)du) and K(y)=∫_l^y 2I(v)/a(v)dv. The equation Lm=−1 is m''+(2b/a)m'=−2/a, so (I m')'=−2I/a. Integrating gives m'(y)=[C−K(y)]/I(y), then m(y)=∫_l^y [C−K(u)]/I(u)du to impose the lower boundary m(l)=0.

Choose C=[∫_l^r K(u)/I(u)du]/[∫_l^r 1/I(u)du], whose denominator is positive on the finite interval. Then m(r)=0 and m is a bounded twice differentiable function with the declared generator value. A negative interior minimum would have m'=0 and m''≥0, yielding Lm≥0 there, a contradiction. Thus m≥0. Any homogeneous difference between two solutions has derivative proportional to 1/I, and two zero boundary values force it to vanish.

Apply the stopped expectation formula up to t∧τ. It gives m(x)=E(t∧τ)+E m(X_(t∧τ)). Since m is nonnegative, E(t∧τ)≤m(x); monotone convergence proves Eτ finite. At the actual exit the state is an endpoint and m is zero. Bounded convergence gives E m(X_(t∧τ))→0 and hence Eτ=m(x). This proves the result from the equation with a justified probability limit, not an unrestricted expectation at a guessed stopping time.

Volatility changes exit time without changing the upper-hit chanceStart at one quarter of the interval; The upper split is harmonic and independent of σ. The mean duration has generator forcing −1 and scales as 1/σ². The selected exact duration is 3.Volatility changes exit time without changing the upper-hit chance-0.1401.14-0.364.36P(hit L first)1/4Selected probabilityStarting coordinate x · upper-first probability-0.5604.56-0.364.36Mean duration3Selected durationStarting coordinate x · expected exit time
The upper split is harmonic and independent of σ. The mean duration has generator forcing −1 and scales as 1/σ². The selected exact duration is 3.

Solve the two scalar boundary-value problems on the finite interval. A harmonic interpolation gives the hit probability. For the duration the second derivative is −2/σ², and the conditions at both boundaries produce x(L−x)/σ².

Exact absorbing-boundary checks
QuantityExact result
Upper-first chance1/4
Mean exit time3
Mean exit time with double σ3/4
Generator(σ²/2)d²/dx²
Boundary probabilities at 0,L0, 1
Boundary mean time at 0,L0, 0
Exact inputs and supporting calculations
Declared inputs
ParameterValue
L4
sigma1
x1

For constant a=σ² and b=0, the solution is m(x)=(x−l)(r−x)/σ² by direct differentiation and its endpoint values. The numerator has squared state units and division by the variance rate gives time units. An endpoint start yields zero. The interval and positive lower diffusion bound justify the construction used here. Other accessible or unattainable boundaries can change the existence, boundedness and uniqueness of mean-exit solutions. The zero-boundary solution of a stopped generator equation gives the first exit mean once stopping and integrability are justified. Related reading: [Scale functions, mean first exits and neutral absorption](https://www.stats.ox.ac.uk/~etheridg/pdecdt.pdf). The selected Poisson equation gives the right sign and zero endpoint values. The elementary integrating factor and bounded localization establish that its nonnegative solution gives the finite mean. No arbitrary exit-time optional stopping is used.

22

A stationary density is a probability calculation

Consider a scalar time-homogeneous diffusion on an interval with smooth positive variance coefficient a and drift b. In a regime with zero stationary probability flux, a candidate stationary density p must satisfy J=b p−(a p)'/2=0. Writing u=a p, the equation is u'=(2b/a)u. All positive solutions are proportional to exp(∫_(x_*)^x 2b(y)/a(y)dy). Thus the density candidate is C a(x)^−1 exp(∫_(x_*)^x 2b(y)/a(y)dy).

The constant C is the reciprocal of the integral of this positive expression without C over the state interval, provided that integral is finite and strictly positive. If it diverges there is no normalized positive zero-flux density of this form. The exponent is dimensionless. Vanishing drift does not in general give a uniform density when a varies, because the factor 1/a remains. These statements use the prescribed zero flux, and other boundary mechanisms can change the flux or put mass on boundary states.

A zero-flux density satisfies the time-independent forward identity on compactly supported tests inside the interval. To conclude that it is invariant for a specified process, the domain and boundary behavior must agree, and one must identify the evolution uniquely or verify invariance using the actual transition law. A formal solution cannot declare a singular boundary accessible, reflecting or absorbing. It also cannot prove uniqueness among all probability measures without an appropriate separate argument.

For the scalar Ornstein–Uhlenbeck diffusion b(x)=−κ(x−μ), a=σ²>0 and κ>0 on the whole real line, the expression normalizes to a Gaussian with mean μ and variance σ²/(2κ). Starting with this law independently of future Brownian increments, the exact affine transition preserves its mean and variance and is again Gaussian. This explicitly verifies invariance. When σ=0 the Gaussian density formula is outside its domain, and the stationary point mass at μ for the deterministic contraction is handled separately. Verify a stationary density through probability normalization, its boundary conditions and the actual transition law. Related reading: [Generators, forward laws and conditional transition laws](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Scale functions, mean first exits and neutral absorption](https://www.stats.ox.ac.uk/~etheridg/pdecdt.pdf), [Exact linear Gaussian steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). Forward stationarity supplies a necessary interior calculation with zero flux for this setting. Normalization, boundary conditions and the invariant OU Gaussian are independently checked. The source's inconsistent printed potential drift does not set the lesson's coefficient.

23

A square-root diffusion from a squared Gaussian state

Let Z solve dZ_t=−κ Z_t dt+σdW_t for κ,σ>0 and put X_t=Z_t². Itô's formula gives dX_t=(σ²−2κX_t)dt+2σ Z_t dW_t. Set h(z)=1 for z≥0 and −1 for z<0, and define B_t=∫_0^t h(Z_s)dW_s. The integrand is predictable because Z is continuous and adapted and h is Borel. Its squared value is one even when Z_s=0. The Brownian law proved next gives B quadratic variation t.

To verify the Brownian law directly, approximate the sign integrand in predictable integrated L² by simple predictable signs. One may take the sign of arbitrary simple approximations, since a mismatch with ±1 requires an approximation error of at least one. For each simple sign, the future transformed increment on each grid cell is conditionally centered Gaussian with unchanged variance and conditional characteristic function exp(−u²Δ/2). Conditioning successively across cells, including partial first and last cells, gives the same fixed conditional characteristic function for any deterministic future increment. The L² isometry and boundedness of complex exponentials pass this to B. Thus its increments are independent of the earlier filtration and have the required Gaussian law, with continuous paths.

Since |Z_s|h(Z_s)=Z_s, the stochastic substitution gives ∫_0^t √X_s dB_s=∫_0^t Z_s dW_s, first for simple integrands and then by the isometry. Consequently X satisfies dX=(σ²−2κX)dt+2σ√X dB with nonnegative paths. At zero its diffusion coefficient is zero and its drift is strictly positive. In the constructed law started at zero, Z_t is a nondegenerate Gaussian for every t>0, so zero cannot be an absorbing state.

For deterministic Z_0=z_0, E X_t=z_0² e^(−2κt)+σ²[1−e^(−2κt)]/(2κ) from the exact Gaussian transition. The sign-quotient need never divide by Z at zero. This is one constructed square-root diffusion with these linked parameters. The argument does not classify accessibility or uniqueness for arbitrary square-root models, and a coefficient declared only on the nonnegative domain must preserve its actual boundary conditions. Squaring a Gaussian mean-reverting state yields a nonnegative process and a new Brownian representation. Related reading: [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf), [Exact linear Gaussian steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Solutions, pathwise uniqueness and the state covariance](https://www.stats.ox.ac.uk/~etheridg/pdecdt.pdf). The Brownian signed integral and OU input are supported by the exact calculus and transition sources. The nonnegative square and Brownian-law conclusion follow from the lesson's own bracket and Lévy argument. No unrestricted square-root uniqueness or density claim is attributed to these pages.

24

Flattening a positive diffusion coefficient

On an open interval I suppose a scalar diffusion has a strictly positive continuously differentiable diffusion coefficient σ(x) and the usual stopped Itô law with drift b(x). Choose x_*∈I and set φ(x)=∫_(x_*)^x dy/σ(y). This is strictly increasing and twice continuously differentiable, with φ'=1/σ and φ''=−σ'/σ². On any compact subinterval the inverse and these derivatives are controlled by the positive lower bound of σ.

Applying the scalar Itô formula to Y=φ(X) on that stopped domain gives dY=[b(X)/σ(X)−σ'(X)/2]dt+dW. The quadratic term supplies the derivative correction with its minus sign. The new drift expressed in Y uses X=φ^−1(Y), and the Brownian amplitude is one. The transformed state uses the units of a Brownian increment for the declared clock, so both displayed drift terms have its state units per unit time.

The image J=φ(I) is an interval and φ has a smooth inverse there. Its derivative ψ' at y equals σ(ψ(y)), and ψ''=σ'(ψ(y))σ(ψ(y)). Applying Itô to X=ψ(Y) gives noise σ(X)dW and drift σ(X)[b(X)/σ(X)−σ'(X)/2]+σ(X)σ'(X)/2=b(X). This verifies the inverse conversion until either process leaves its corresponding domain.

For σ(x)=σ_0 x on the positive half-line, φ=log(x/x_*)/σ_0 and the lower boundary maps to minus infinity. The model with b(x)=μx then transforms to Brownian motion with constant drift μ/σ_0−σ_0/2. A diffusion coefficient that vanishes at an endpoint can instead have integrable reciprocal there and a finite transformed boundary. No division by zero is used on the stopped positive domain, and the transformed coordinate alone does not prescribe an extension beyond it. Integrate the reciprocal of the positive diffusion coefficient to get a coordinate with unit noise. Related reading: [The scalar Lamperti transform](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The positive scalar diffusion on a declared interval makes the reciprocal integral strictly increasing and yields unit diffusion. The drift correction matches (7.5) with the time derivative removed only for autonomous coefficients. Domain and inverse boundaries are verified separately.

25

Exact sampling of a linear state model

For the constant-coefficient diffusion dX=(F X+b)dt+G dW, fix an exact state at time s and a future time s+Δ. Multiply the linear equation by the deterministic factor e^(−F(t−s)) and integrate, using zero quadratic covariation of the factor with the state. This gives X_(s+Δ)=A_Δ X_s+c_Δ+η_Δ with A_Δ=e^(FΔ), c_Δ=∫_0^Δ e^(F u)b du and η_Δ=∫_s^(s+Δ)e^(F(s+Δ−r))G dW_r. The representation needs no inverse of F.

The residual is independent centered Gaussian given the history through s, since it uses deterministic weights of future Brownian increments. Its covariance is Q_Δ=∫_0^Δ e^(F u)GGᵀe^(Fᵀu)du. Thus the exact transition has the stated affine mean and Gaussian measure with that covariance. The law can be supported on a proper subspace. For any v, vᵀQ_Δv is the integral of |Gᵀe^(Fᵀu)v|². It is zero at positive Δ exactly when that vector-valued expression vanishes at every u in the interval by continuity.

For two adjacent deterministic gaps Δ_1,Δ_2, substitute the first transition into the second. Independence of the two residuals follows from the disjoint Brownian increments. The resulting coefficient is A_2 A_1, mean offset A_2 c_1+c_2, and residual covariance A_2 Q_1 A_2ᵀ+Q_2. Splitting each defining integral at Δ_2 and using the exponential semigroup verifies these equal the corresponding quantities at Δ_1+Δ_2. At zero gap the coefficient is the identity and both offset and residual vanish.

An exact affine transition has separate mean and variance curvesContracting drift with positive invariant variance; The upper panel follows the deterministic mean. The lower panel shows the variance contributed by the Gaussian integral. At h=0 the transition variance is exactly zero. The invariant mean is 2.An exact affine transition has separate mean and variance curves-0.24201.969-0.1171.417Exact transition mean1.632121Selected meanElapsed time · transition mean-0.2802.28-0.1171.417Exact transition varianceStationary variance1.729329Selected varianceElapsed time · transition variance
The upper panel follows the deterministic mean. The lower panel shows the variance contributed by the Gaussian integral. At h=0 the transition variance is exactly zero. The invariant mean is 2.

An integrating factor separates the initial condition and deterministic forced mean from a centered Gaussian integral. Its variance follows by the Itô isometry. At zero reversion use the linear drift and Brownian variance formulas.

Exact affine transition and limit
QuantityExact result
Mean at h2 + (−1) e^(−1)
Variance at h2(1−e^(−2))
Stationary variance2
Transition lawGaussian with stated mean and variance
Rounded mean and variance1.632121 / 1.729329
Invariant mean when k>02
Zero-reversion limit k=0E[Xₕ]=x+a h, Var(Xₕ)=σ²h
At h=0E[X₀]=x, Var(X₀)=0, an atom at x
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a2
k1
sigma2
x1
h1

A missing scheduled intermediate observation with an uninformative absence is handled by this composed transition without conditioning on that missing state. Observing it would instead change the conditioning history. At fixed Δ, the rank of Q_Δ need not equal the instantaneous rank of G, because different directions may be reached at different times. The covariance carries squared state units and the exponential uses F in inverse physical time. The exact discretization describes the stated linear drift and Gaussian driving law. An exact discrete transition integrates process noise over the actual elapsed gap. Related reading: [Exact linear Gaussian steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). The exact exponential and integrated covariance match the fixed-matrix Gaussian transition. The proof composes covariances by splitting the elapsed interval and retains the distinction between a singular driver and a singular state law.

26

Correlated Brownian inputs and identifiable covariance

Let C be a real symmetric positive semidefinite d-by-d matrix with diagonal entries one. Its spectral decomposition gives a matrix L with C=LLᵀ by taking nonnegative square roots of its eigenvalues. For a standard Brownian vector W, set B=L W. Then B has continuous centered Gaussian increments, covariance Δt C on each interval, and independent vectors of increments across disjoint intervals. Each coordinate is standard Brownian, while different coordinates need not be independent.

For a state with diffusion matrix G integrated against B, substitute dB=L dW by linearity of simple stochastic sums and their L² limits. The resulting diffusion matrix against independent drivers is GL. Its instantaneous state covariance is (GL)(GL)ᵀ=G C Gᵀ. The same computation in covariation notation gives d[X_i,X_j]_t=(G C Gᵀ)_(i,j)dt, with finite-variation drift terms absent. Each covariance entry has the appropriate product of state units per unit time.

If C is singular, some driver combinations vanish in variance and hence as continuous Gaussian processes. For two drivers a correlation of one makes the coordinates equal almost surely at all times. The state covariance remains positive semidefinite because its quadratic form is |LᵀGᵀv|², and its rank cannot exceed either the driver rank or the output dimension. This says nothing by itself about the rank of a finite-gap state variance under a rotating or mixing drift.

The factor L is not unique. With independent drivers, G and G U have the same instantaneous covariance whenever U is orthogonal. Rotating the Brownian vector correspondingly gives the same concrete law in that representation. More general coefficient matrices can share their pointwise covariance without resolving hidden state dynamics from observations. A covariance observation identifies a quadratic form under its measurement assumptions, not a unique driving basis or an unconditional independence claim. A correlation matrix specifies how different driver components contribute to the covariance of the state increment. Related reading: [Generators, forward laws and conditional transition laws](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Time dependence and shared noise in Itô’s formula](https://ocw.mit.edu/courses/15-070j-advanced-stochastic-processes-fall-2013/d9d7372cbf65d56aa8aa9d59ba0ab2e8_MIT15_070JF13_Lec17.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The sources identify the covariance contraction in the generator. The construction uses a square root of the correlation matrix and explicitly checks singular Gaussian directions and equivalent state covariances.

27

Euler–Maruyama and a mean-square error bound

Let autonomous drift b and diffusion G be globally Lipschitz with linear growth and take an adapted L² initial state on [0,T]. On a deterministic mesh with maximum step h, let η(s) be the preceding grid time. Define the continuous Euler–Maruyama approximation Y_t=X_0+∫_0^t b(Y_(η(s)))ds+∫_0^t G(Y_(η(s)))dW_s. At each mesh point it gives the explicit update using only that step's Brownian increment and the past state. Use exactly the same Brownian motion for the exact solution X.

Apply the drift Cauchy–Schwarz inequality, the Itô maximal inequality and linear growth to U(t)=E sup_(u≤t)|Y_u|². Since η(s)≤s, this gives U(t)≤C_T(1+E|X_0|²)+C_T∫_0^t U(s)ds with constants independent of the mesh. Gronwall supplies a uniform bound. Within one step, Y_s−Y_(η(s))=b(Y_η)(s−η)+G(Y_η)(W_s−W_η). Independence and the conditional second moment of the new noise give E|Y_s−Y_(η(s))|²≤C_T h for meshes h≤1, using the uniform moment bound.

Subtract the exact and numerical integral equations. With v(t)=E sup_(u≤t)|X_u−Y_u|², the same integral inequalities and Lipschitz bounds give v(t)≤C_T∫_0^t E|X_s−Y_(η(s))|²ds. The latter integrand is at most twice v(s) plus twice the within-step bound. Thus v(t)≤C_T∫_0^t v(s)ds+C'_T h, yielding v(T)≤C''_T h by Gronwall. The root mean-square supremum error is at most of order h^(1/2) on this fixed horizon.

For a Lipschitz terminal test f, E|f(X_T)−f(Y_T)| is bounded by its Lipschitz constant times √v(T). This gives a weak error bound for that class, with no claim of optimal order. Freezing a time-dependent coefficient as well would require sufficient time regularity, which is why this result was stated for autonomous fields. The finite-time estimate neither licenses arbitrary discontinuous tests nor guarantees long-time stability or correct stationary statistics. Couple the continuous Euler process to the original noise and bound the state error created by freezing the coefficients. Related reading: [Euler–Maruyama and the multiplicative benchmark](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf), [Weak observables, the scalar Milstein correction and stability](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf), [Picard iteration and the Stratonovich conversion](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). Euler–Maruyama and fixed-time expected absolute strong error are shared with Higham. The lesson's continuous mean-square supremum bound, coefficient freezing, uniform moments and Gronwall argument are original under explicit autonomous assumptions.

28

A strong-error formula for a multiplicative test equation

For dX=X dW with deterministic x_0, take T>0 and n equal steps of width h=T/n. The exact multiplicative factor over one step is A_i=exp(U_i−h/2) and the Euler factor is B_i=1+U_i, where U_i are the same iid N(0,h) Brownian increments in both products. Thus X_T=x_0∏ A_i and Y_T=x_0∏ B_i. The full pairs are independent across steps, though inside each pair the factors are coupled by the shared increment.

Gaussian integration gives E A_i=E B_i=1, E A_i²=e^h and E B_i²=1+h. Differentiating the Gaussian exponential integral at tilt one gives E[U_i exp(U_i−h/2)]=h, so E A_i B_i=1+h. This can also be seen by completing the square, since multiplying the normal density by A_i gives a normal density with mean h and the same variance h.

Squaring the difference of the two products and using step independence yields E|X_T−Y_T|²=x_0²[e^T+(1+h)^n−2(1+h)^n]=x_0²[e^T−(1+h)^n]. As h→0 with T fixed, n log(1+h)=T−Th/2+O(h²), so this error is x_0²e^T[Th/2+O(h²)]. For nonzero x_0 it has a positive leading coefficient, giving root mean-square order one half in this example.

Each process still has exactly the same arithmetic mean x_0 at every grid endpoint. That equality comes from the first factor moments and gives no bound on the mean-square difference. Starting positive, the exact path remains positive, whereas an Euler factor is negative when U_i<−1, an event of positive probability at any h>0. The comparison is a coupled finite-horizon calculation for this declared equation and scales; x_0=0 makes both solutions identically zero. Matching the exact and Euler factors on the same Gaussian increment makes the terminal cross moment explicit. Related reading: [Euler–Maruyama and the multiplicative benchmark](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf), [Weak observables, the scalar Milstein correction and stability](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf). The source provides the exact and numerical multiplicative factors and the same Brownian coupling. The Gaussian cross moment and exact terminal mean-square error are derived directly, without attributing them to a fitted slope or equating them with a bias of the mean.

29

The scalar Milstein correction

For a smooth scalar autonomous diffusion dX=b(X)dt+g(X)dW, apply Itô's formula to g(X_s) between the start t of a step and an intermediate s. Its noise component is ∫_t^s g'(X_u)g(X_u)dW_u, besides its initial value and integrated generator drift. In the outer noise integral ∫_t^(t+h) g(X_s)dW_s, freeze the leading inner noise coefficient at x=X_t. That term is g'(x)g(x)∫_t^(t+h)(W_s−W_t)dW_s. The remaining terms require separate estimates for more general convergence theorems.

Apply Itô to (W_s−W_t)² to see that the iterated integral equals ((ΔW)²−h)/2. The corresponding scalar Milstein update is x+b(x)h+g(x)ΔW+g(x)g'(x)((ΔW)²−h)/2. The h subtraction is the actual quadratic variation term. The formula uses one scalar noise and smooth state coefficients. It does not give a multi-driver rule by ignoring the relevant iterated cross integrals.

For dX=X dW, a Milstein factor is M=1+U+(U²−h)/2 with U Gaussian N(0,h). Its squared moment is 1+h+h²/2 because the centered linear and quadratic terms are orthogonal and Var(U²)=2h². Against the exact factor A=exp(U−h/2), Gaussian tilt gives E A=1, E A U=h and E A(U²−h)=h². Thus E AM also equals 1+h+h²/2. The signed first moments are both one.

One shared Brownian increment gives three comparable next statesA squared increment equals its duration; The signed Milstein-minus-Euler shift is 0. The exact exponential stays positive for this starting state. These are individual values under the same increment.One shared Brownian increment gives three comparable next statesEuler–Maruyama3Milstein3Exact exponential2 e^(3/8)03State after the declared single step
The signed Milstein-minus-Euler shift is 0. The exact exponential stays positive for this starting state. These are individual values under the same increment.

The scalar Milstein term is half b²X((ΔW)²−h). The exact log increment is (a−b²/2)h+bΔW, which permits a fair comparison using the same simulated noise.

Exact one-step trajectory readout
QuantityExact result
Euler–Maruyama3
Signed Milstein correction0
Milstein3
Exact exponential multipliere^(3/8)
Exact next state2 e^(3/8)
Rounded exact next state2.909983
ScopeOne sample does not establish a convergence order.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a0
b1
x2
h1/4
increment1/2

Independence of step pairs gives terminal mean-square error x_0²[e^T−(1+h+h²/2)^n] at T=nh. Using log(1+h+h²/2)=h−h³/6+O(h⁴), this is x_0²e^T[Th²/6+O(h³)] with T fixed. A nonzero initial value gives root mean-square order one for this test, with the same Brownian accuracy comparison as Euler. No general order is inferred for nonsmooth, multidimensional or unbounded coefficients from this exact special calculation. The leading scalar correction restores the contribution of a centered quadratic Brownian increment. Related reading: [Weak observables, the scalar Milstein correction and stability](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The centered-square Milstein term is printed in (6.1) on physical 15. The lesson derives the iterated integral and a separate exact terminal moment result in the unit multiplicative test case. Its application does not require or reproduce the source's logistic simulation.

30

Weak error depends on the observable

In the multiplicative test dX=X dW with fixed nonzero x_0, the exact, Euler and Milstein products all have mean x_0 at T=nh. This is an exact zero weak error for the signed linear observable f(x)=x, even though the trajectories differ in mean square. For f(x)=x², their expectations are x_0²e^T, x_0²(1+h)^n and x_0²(1+h+h²/2)^n respectively. These are finite for fixed T.

Consequently the signed error E f(X_T)−E f(Y_T) for the quadratic test has leading coefficient x_0²e^T T h/2 for Euler and x_0²e^T T h²/6 for Milstein. This follows by the logarithmic expansions of their factor moments. The identity of these particular quadratic expectation discrepancies with the coupled mean-square errors comes from the precise cross moments of this test calculation. It is not a definition of weak versus strong error in general.

A fourth-power example gives another constant. For Euler, E(1+U)^4=1+6h+3h² by Gaussian moments, while E A^4=e^(6h). With T fixed, n log(1+6h+3h²)=6T−15T h+O(h²), yielding fourth-moment difference x_0⁴e^(6T)[15T h+O(h²)]. Thus the zero bias of a linear observable does not describe even the simple nonlinear expectations in this one model.

For a threshold indicator 1_(x>c), different numerical and exact outcomes require either |X_T−c|≤ε or |X_T−Y_T|>ε. The probability discrepancy is bounded by the sum of those probabilities, and the second is at most the coupled mean-square error divided by ε². A positive-variance continuous exact density bounded near c can bound the first by a constant times ε. This is useful with an actual anti-concentration premise, but does not give the smooth-test order for all thresholds or atoms at the boundary. A numerical law can agree on a mean while its second moment and event probabilities differ. Related reading: [Weak observables, the scalar Milstein correction and stability](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf). Weak bias is calculated for the declared observable. The identity and second moment are handled separately, with a scope warning for discontinuous events. The source's weak experiment neither proves the lesson's derivation nor controls general threshold errors.

31

Coupling coarse and fine paths on a common clock

Take level meshes ranging from a coarse step h_0 to finer steps h_l=h_0·2^−l on a fixed time horizon with nested endpoints. Generate fine Brownian increments at the actual step lengths and make each adjacent coarse increment their sum. Their variances add and distinct coarse increments use disjoint fine variables, so the coarse path has its required marginal Brownian law. Driving both Euler approximations this way gives a path pair on the same underlying Brownian motion.

For a Lipschitz terminal payoff f with constant L, let Δ_l=f(Y_l)−f(Y_(l−1)). The difference has the correct expected adjacent-level correction whatever coupling is used. With the common Brownian input, the squared difference is bounded in expectation by 2L²(E|Y_l−X_T|²+E|Y_(l−1)−X_T|²), which is O(h_l) by the strong estimate on the fixed horizon. Independently simulating the two levels generally gives a nonvanishing difference variance when the limiting payoff has positive variance.

Telescoping expectations gives E f(Y_L)=E f(Y_0)+∑_(l=1)^L E Δ_l. Use independent replications within and across level groups to get the sum of the group variances divided by their actual sample counts. With model-evaluation work uniformly bounded per step, paired level costs are O(h_l^−1), and the Lipschitz weak error bound is O(h_L^(1/2)). These are the inputs to the earlier proved multilevel allocation rather than a claim that all coupled hierarchies share the rates.

Choosing the last step of order ε² controls squared terminal bias on this sufficient bound. The square-root variance-cost sum over levels then grows at most like the number of levels, which is O(log(1/ε)). The established allocation gives expected work O(ε^−2 log²(1/ε)) including integer level costs under those rates. Correlated level groups, adaptive step work, discontinuous barriers and non-Lipschitz states need revised assumptions before using that estimate. Sum fine noise increments to drive the coarse path and analyze the variance of their paired payoff difference. Related reading: [Euler–Maruyama and the multiplicative benchmark](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf), [Coupled level differences and multilevel costs](https://people.maths.ox.ac.uk/~gilesm/files/acta15.pdf). Nested increments add exactly. The accepted telescoping and work-accounting source scope supplies the level framing. The lesson determines the variance upper bound from a common path and a Lipschitz terminal payoff and does not transfer it to arbitrary events or costs.

32

A barrier can be crossed between samples

Consider a scalar Brownian interval of length h>0 and variance rate a>0 with initial point x below a fixed barrier c. First use zero drift. For a terminal value y<c, reflect the path after its first hit of c. The Brownian strong Markov property and symmetry make this a probability-preserving correspondence between paths that hit c and end at y and reflected paths ending at 2c−y above c. Thus the joint hit-and-terminal density at y is the Gaussian increment density p_h(2c−y−x).

The unconditional terminal density at y is p_h(y−x)>0 with p_h(z)=(2πah)^−1/2 exp(−z²/(2ah)). The conditional hit probability is the ratio, with a continuous version for y<c rather than a division by a positive-probability endpoint event. Since (2c−y−x)²−(y−x)²=4(c−x)(c−y), it equals exp(−2(c−x)(c−y)/(ah)). The endpoint y and the event of hitting before it are distinct observations.

For constant drift b write the interval path as x+bt+√a W_t. Given its endpoint y, the conditional Gaussian mean is x+(y−x)t/h and its covariance is a[min(t,u)−tu/h]. Both follow by subtracting the projection (t/h)W_h from W_t, which leaves a Gaussian residual independent of W_h. Neither conditional formula contains b, so the whole continuous conditional bridge law and the barrier probability are unchanged. Mere covariance stationarity in a different process does not give this conditional law.

If either endpoint is at or above the barrier, the event of reaching or exceeding it on the closed interval already holds. A zero-length interval or zero diffusion rate falls outside the nondegenerate bridge density and uses the appropriate deterministic event. The exponent has no units because ah has squared state units. This result explains a crossing missed by endpoint checks within a Brownian interval, without supplying a correction for every nonlinear or discontinuous driving law. Conditioning on two observations leaves bridge fluctuations between them that can reach a barrier. Related reading: [Brownian history, reflection and bridges](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The exact conditional Gaussian bridge and reflected transition density support the constant-barrier calculation. The endpoint condition, positive variance rate and drift cancellation are checked by conditioning. Observed samples alone have no exact barrier statement for a general diffusion.

33

Changing a drift by a finite-horizon Gaussian tilt

On [0,T] let h be a deterministic R^d-valued square-integrable shift and define Z_T=exp(∫_0^T h_sᵀdW_s−(1/2)∫_0^T |h_s|²ds). The weighted integral is a centered Gaussian with variance ∫|h|² by the deterministic integral law, so E Z_T=1 and Z_T>0 almost surely. Define Q(A)=E_P[1_A Z_T] on F_T. This is a probability measure equivalent to P on that sigma-field, since the density is strictly positive.

Take any finite list of nonoverlapping future Brownian increments in [s,T]. Jointly with the integrated shift after s they are Gaussian. The covariance of W_v−W_u with the shift integral is ∫_u^v h_r dr for s≤u<v≤T, by the bilinear isometry. Multiplying the joint Gaussian characteristic function by the exponential tilt shifts each mean by this covariance and leaves the increment covariance matrix unchanged. This follows by completing the square for the joint Gaussian mgf with arguments i times the real test vectors and real tilt one.

The density factors as Z_s times the exponential of the remaining future integral with its own variance normalization. Conditional on F_s the future part has mean one and the same Gaussian transform, because h is deterministic and Brownian increments are independent of F_s. In the conditional Q expectation the factor Z_s cancels. It follows that W_t−∫_0^t h_r dr under Q has independent centered Gaussian increments of the original covariance, continuous paths and the appropriate filtration property. This proves the sign and the shift for the stated deterministic change.

For a state with deterministic diffusion coefficient, the differential substitution W=tilde W+∫h changes the drift by G h while retaining the quadratic covariance. Both descriptions refer to the same fixed horizon law under their respective measures. The proof uses finite deterministic shift energy and does not claim equivalence over infinite time, or normalization for arbitrary adapted unbounded shifts. Extending the change-of-measure result to those classes requires its own martingale and integrability conditions. Weight the finite-horizon path law with a normalized Gaussian exponential to shift the driver by a deterministic drift. Related reading: [Exponential weights and the drift shift](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Brownian martingales and Itô calculus](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The source validates the direction and sign of the change of measure. The deterministic L² case is proved through the Gaussian functional and a positive density of mean one, then shifted Brownian finite-dimensional distributions and continuity on a fixed interval.

34

Exact likelihood on an irregular observation grid

For exact observations of dX=b dt+σdW with σ>0 known, use deterministic times 0=t_0<t_1<⋯<t_n=T and condition on X_0. Put h_i=t_i−t_(i−1) and d_i=X_(t_i)−X_(t_(i−1)). Independent Brownian increments give independent Gaussian d_i with means b h_i and variances σ²h_i. Each variance uses its actual physical gap. Additive noise and a fixed start do not justify reusing this law when measurement errors are present.

The log likelihood of b is −(1/2)∑_i[log(2πσ²h_i)+(d_i−b h_i)²/(σ²h_i)]. Its derivative is ∑_i(d_i−b h_i)/σ², and its second derivative is −T/σ²<0. The unique maximizer over real b is (∑ d_i)/T=(X_T−X_0)/T. Equal weighting of the numeric slopes d_i/h_i would be a different estimate under unequal spacings. The likelihood weights the individual increments according to their actual variances.

The estimated drift equals b+σW_T/T under the stated conditional model, so it is unbiased Gaussian with variance σ²/T. Fisher information is T/σ² for known σ. Finer sampling of this same exact path over fixed T does not change that drift variance under the constant-coefficient model. The drift has units state per time, and its estimator variance has squared drift units, since σ² is a state-variance rate.

Euler equals the exact transition in this constant-coefficient example because no state variation changes the coefficients. For a state-dependent diffusion a Gaussian step formed by freezing its coefficients is generally a different transition law. A likelihood made from those steps has an approximation domain that must be established separately. Irregular observations, unobserved states and data-selected dates also require their actual conditioning law rather than a reinterpretation of the elementary independent-increment proof. Use the actual observation gaps in the Gaussian increment likelihood and keep its noise variance explicit. Related reading: [Generators, forward laws and conditional transition laws](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Exact linear Gaussian steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). The source supplies the Markov transition factorization and exact Gaussian clock. The article derives the weighted-by-gap quadratic likelihood for the observed increments in its constant-coefficient case with the declared variance and timestamps. Numerical transition approximation is a different law.

35

Terminal and accumulated rewards in one representation

Let a diffusion have generator L_s and an exact start x at time t. Take bounded potential V(s,x), running reward r(s,x), terminal reward g(x) and a bounded classical solution u with u(T,x)=g(x) and ∂_s u+L_s u−V u+r=0. Put D_s=exp(−∫_t^s V(v,X_v)dv), which is adapted finite variation. On the finite horizon it is bounded in magnitude by exp((T−t)‖V‖∞), including signed bounded V.

Apply the Itô product identity to D_s u(s,X_s). There is no quadratic covariation term with D. Its drift is D_s[(∂_s+L_s)u−V u](s,X_s)ds=−D_s r(s,X_s)ds and its noise term is D_s∇uᵀG dW. Thus D_s u(s,X_s)+∫_t^s D_v r(v,X_v)dv is a local martingale. On bounded state and derivative domains its stopped stochastic integral has zero expectation by the actual square-integrability bound.

Choose an increasing localization sequence that approaches the finite horizon for the given nonexplosive continuous model, with compact bounds on the coefficients and derivatives before each stop. Stop the identity and take expectations. Boundedness of u,V,r gives a deterministic integrable bound for both endpoint and running terms. Their continuity or integral convergence, together with the actual terminal condition, passes to the limit. This yields u(t,x)=E[D_T g(X_T)+∫_t^T D_s r(s,X_s)ds].

The formula verifies the meaning of a bounded classical solution and gives uniqueness within the class where these same assumptions hold. It does not prove the regularity or existence of a classical solution for arbitrary terminal data or boundaries. A running reward has payoff units per unit time, whereas V has inverse-time units. At V=0 the discounts become one. A stopped boundary problem uses its declared boundary reward and stopping time in place of a full-horizon path. The discount-weighted product gives a conditional representation for a bounded classical solution with terminal and accumulated rewards. Related reading: [Terminal rewards and constant discounting](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [The heat semigroup and a path-weighted expectation](https://sites.math.duke.edu/~rtd/PTE/PTE5_011119.pdf). The selected book pages support a special case with terminal reward and constant discount. The older heat-semigroup scope also treats continuous path weights. The variable potential plus running reward result follows from the lesson's own bounded product argument, not a claim of PDE existence.

36

Mean-square stability of a numerical step

For dX=aX dt+bX dW and deterministic x_0≠0, the explicit exponential solution gives E X_t²=x_0² exp((2a+b²)t). This also follows from Itô on the square and the finite Gaussian moments, solving its scalar expectation equation. The exact second moment decays strictly in the long run when D=2a+b²<0, stays constant when D=0 and grows when D>0.

An Euler step of size h>0 multiplies the state by 1+a h+bU, with U centered Gaussian of variance h, independent of the past state. Its conditional second-moment multiplier is R(h)=(1+a h)²+b²h=1+D h+a²h². Iterating gives E Y_n²=x_0² R(h)^n. This recursion tests the square of the actual update, rather than the update of the numerical mean.

Strict decay is equivalent to R(h)<1, or D+a²h<0 after division by h. If D<0, a cannot be zero, and the admissible interval is 0<h<−D/a². At its positive upper endpoint R=1. Larger h gives growth. With D≥0 there is no strictly decaying positive step, and if a=b=0 the exact and numerical second moments both stay constant. The branch x_0=0 is identically zero regardless of these tests.

A step is strictly stable only when the second-moment multiplier is below oneA stable numerical step within the interval; The continuous growth exponent is −1. At the declared step the multiplier is 3/4, which is strictly below one. The open point is the continuous multiplier e^(−1/2) over that same duration. The filled point is the Euler multiplier.A step is strictly stable only when the second-moment multiplier is below one-0.20901.698-0.1221.482Euler expected squared multiplierThreshold 1Euler 3/4exact e^(−1/2)Euler and continuous exact multipliers at the selected hStep h · expected squared multiplier
The continuous growth exponent is −1. At the declared step the multiplier is 3/4, which is strictly below one. The open point is the continuous multiplier e^(−1/2) over that same duration. The filled point is the Euler multiplier.

The Euler ratio is 1+ah+bΔW. Its squared expectation equals (1+ah)²+b²h by the first two moments of ΔW. For h>0, strict decay requires 2a+b²+a²h<0.

Exact continuous and Euler stability conditions
QuantityExact result
Continuous second-moment exponent−1
Euler multiplier at h3/4
Strict positive Euler range0<h<1
Selected stepStrict mean-square decay
Exact continuous multiplier over the same he^(−1/2)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a-1
b1
h1/2

The condition uses h in the same time units as a and b: a h and b²h are dimensionless. Fixed-horizon strong convergence examines h tending to zero with only a fixed duration to approximate. Stability holds or fails as the number of steps grows at one chosen h. A method can approximate each fixed horizon when refined while increasing variance indefinitely at a particular larger step. For a fixed Euler step, mean-square decay comes from a strict inequality for its one-step second moment. Related reading: [Weak observables, the scalar Milstein correction and stability](https://webhomes.maths.ed.ac.uk/~dhigham/Publications/P42.pdf). For real scalars (7.1) and (7.3) give the same stability thresholds as the hand calculation. The equality case and strict stepsize bound are explicit. The finite-horizon method proof and probability-one decay are separately scoped.

37

Time averages of a stationary Gaussian diffusion

Let X_t be a stationary Gaussian Ornstein–Uhlenbeck state with mean μ, covariance v exp(−κ|s−t|), κ>0 and v≥0. Define A_T=T^−1∫_0^T X_s ds for T>0. Finite-interval Riemann sums converge in L² because the covariance is continuous, and their limiting Gaussian characteristic functions show that A_T is Gaussian with mean μ. If v=0 it is the deterministic μ.

Its variance is v/T² times the integral of exp(−κ|s−t|) over the square [0,T]². Symmetry and the lag change of variables turn this into (2v/T²)∫_0^T (T−u)e^(−κu)du. Integrate to obtain (2v/T²)[T/κ−(1−e^(−κT))/κ²]. The integrals are finite and the diagonal has zero area. The lag weight T−u counts how much of the observation window is shared at separation u.

As T grows, the variance tends to zero, proving mean-square consistency for the stationary mean. Multiplying by T gives a limit 2v/κ. The centered variable √T(A_T−μ) is exactly Gaussian for each T and its variance tends to 2v/κ, proving the normal limit for this specific process. This calculation uses Gaussianity for its distributional part and does not follow merely by summing covariances of an arbitrary diffusion.

For short averaging intervals the variance tends to v, as seen from the small-T expansion of the exponential. For long intervals it is asymptotically 2v/(κT). The long-run constant 2v/κ has squared state units times time and the averaged variance has squared state units. An initialized nonstationary OU has an additional transient in the mean or covariance, which must be carried into an average starting before that transient is negligible. Integrate the stationary OU covariance over the observation window to obtain the exact time-average variance. Related reading: [Exact linear Gaussian steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). The earlier exact stationary OU covariance supports the exponentially decaying kernel. The double-integral variance, Gaussian time-average law and long-run constant are derived here from that kernel. A general diffusion CLT requires more and is not used.

38

An absorbing bounded diffusion and its fixation probability

Assume an adapted continuous solution in [0,1], absorbed at the endpoints, of dX=√(a X(1−X))dW with a>0 and start x∈(0,1). Its diffusion coefficient is bounded and the drift is zero, so the state is a bounded martingale. Stop first at τ_ε, the exit time from (ε,1−ε) for ε small enough that x lies inside. These compact intervals keep the generator nondegenerate and derivatives of the following test bounded up to the stopping time.

Use m(y)=−(2/a)[y log y+(1−y) log(1−y)] with 0 log0 interpreted as its limit zero. It is nonnegative and bounded on [0,1], smooth inside, and its second derivative is −2/[a y(1−y)]. Thus Lm=(a y(1−y)/2)m''=−1. Itô at t∧τ_ε gives E(t∧τ_ε)=m(x)−E m(X_(t∧τ_ε))≤m(x), with zero stochastic expectation on the compact stopped domain.

Let t tend to infinity and then decrease ε to zero along a sequence. The exit times increase to a limit τ with Eτ≤m(x), so it is finite almost surely. By continuity the stopped locations converge to X_τ, and their distances to the endpoint set tend to zero. Thus τ is the first endpoint hit. The bounded test m vanishes at the endpoints, so the stopped expectation identity passes to the limit and gives Eτ=m(x). This justifies the use of the singular second derivative only away from the boundary.

The bounded martingale identity gives E X_τ=x by stopping at t∧τ and using bounded convergence. Since X_τ is either zero or one, the chance of absorption at one is x. Starting at an endpoint gives immediate absorption and zero duration. The state is dimensionless and a is in inverse time, so m has time units. This derives properties of the admitted absorbed law; it does not prove a general existence theorem for degenerate square-root coefficients. In the bounded neutral model the stopped proportion fixes the endpoint probability, and an entropy function gives the absorption clock. Related reading: [Scale functions, mean first exits and neutral absorption](https://www.stats.ox.ac.uk/~etheridg/pdecdt.pdf). The exact unit-clock neutral case in Example 6.13 agrees with the entropy expression. The positive declared clock rescales the mean by its reciprocal. The article assumes the absorbed solution, works with interior stopping intervals and proves fixation probability through the bounded martingale, without treating endpoint degeneracy as uniform ellipticity.

39

What jumps change in a diffusion model

Let X_t=x+b t+σ W_t+J_t with J_t=∑_(j=1)^(N_t)Y_j, and take independent Brownian motion, rate-λ Poisson process and iid real jump sizes with finite second moment. Conditioning on N_t and multiplying characteristic functions gives E exp(iuX_t)=exp(iu(x+bt)−σ²u²t/2+λt(φ_Y(u)−1)). The sum is zero if N_t=0, and λ=0 is the ordinary diffusion case.

The compound component has mean λt E Y and variance λt E Y² by conditioning on the count. Independence therefore gives total mean x+(b+λE Y)t and variance t(σ²+λE Y²). The size of a possible jump and the rate multiply different dimensions: λE Y is state per time, while λE Y² is state variance per time. The probability of no arrival by t is e^(−λt); if some marks vanish, no nonzero jump has probability e^(−λt P(Y≠0)) by independent marking.

For a bounded twice continuously differentiable test f with bounded derivatives, condition on zero, one, or at least two arrivals in a small step h. The probabilities are 1−λ h+O(h²), λ h+O(h²) and O(h²). The zero-arrival expectation expands by the Brownian generator, and the one-arrival term tends to E f(x+Y) as h decreases by bounded continuity. Dividing the expected increment by h gives L f=b f'+σ² f''/2+λ E[f(x+Y)−f(x)]. The two-or-more term vanishes after division by h.

A Brownian diffusion adjusted to match the drift and variance rates has continuous paths, while this model has jumps with positive probability on a positive-length interval whenever λP(Y≠0)>0. Its characteristic function also retains the jump-size law. Consequently matching the first two per-step moments is insufficient to replace all transition or path probabilities by those of a Gaussian diffusion. Threshold and barrier observations can require the full jump model. Finite-rate jumps change the increment law and leave a nonlocal term in the generator. Related reading: [Poisson counts and compound weights](https://stoch.math.kit.edu/img/Last/lastpenrose2017.pdf). The corrected exact Last–Penrose draft supports Poisson count and positive compound-weight context. Signed marks, addition of Brownian state noise, conditional moments and the nonlocal generator are proved directly with the declared finite-moment assumptions. A continuous variance-matched approximation does not retain jumps.

Compare exact Itô transformations, stopped exit times, affine Gaussian transitions and step-size effects. The figures distinguish a pathwise numerical step from a distributional statement.

Itô adds a drift term even for a driftless process

Noise generates drift for the squared state

The expected square includes variance in addition to the squared meanNoise generates drift for the squared state; The initial Itô drift in the square is 4, and the signed diffusion coefficient is 4. The vertical difference of the curves is σ²t.The expected square includes variance in addition to the squared mean-0.78406.384-0.1031.253Expected square E[Xₜ²]Squared mean (E[Xₜ])²5Selected expectationTime · squared-state units
The initial Itô drift in the square is 4, and the signed diffusion coefficient is 4. The vertical difference of the curves is σ²t.

The second derivative of x² contributes the quadratic variation term σ²dt. A deterministic initial state yields a normal law with mean x+μt and variance σ²t. The second moment is the sum of variance and squared mean.

Exact Itô and second-moment decomposition
QuantityExact result
Initial square drift 2xμ+σ²4
Initial square diffusion 2xσ4
Mean of X at the selected time1
Variance of X4
Expected square5
Exact inputs and supporting calculations
Declared inputs
ParameterValue
mu0
sigma2
x1
t1

Multiplicative noise changes the drift convention

A drift correction arises from multiplicative noise

The same written coefficients can describe different lawsA drift correction arises from multiplicative noise; For the converted equation the drift rate is 1/2 and the mean at T is 2 e^(1/2). The direct Itô interpretation has mean 2.The same written coefficients can describe different laws-0.50504.113-0.1061.286Convert the written Stratonovich lawRead the same drift directly as Itô2 e^(1/2)2Expected states at selected T (converted / direct)Time · exact mean state E[Xₜ]
For the converted equation the drift rate is 1/2 and the mean at T is 2 e^(1/2). The direct Itô interpretation has mean 2.

For smooth scalar diffusion bX, half the derivative product adds b²X/2 to the Itô drift. Applying Itô to log X subtracts that same contribution. Interpreting the unconverted symbols directly as Itô instead changes the resulting logarithmic law.

Exact Stratonovich-to-Itô change
QuantityExact result
Drift correction rate b²/21/2
Converted Itô drift rate1/2
Effective drift at the supplied initial x1
Converted path solutionX₀ exp(0t + 1Wₜ)
Direct Itô path solutionX₀ exp((−1/2)t + 1Wₜ)
Converted mean at T2 e^(1/2)
Direct mean at T2
Rounded comparison3.297443 / 2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a0
b1
x2
T1

An affine SDE has an exact one-step transition

Contracting drift with positive invariant variance

An exact affine transition has separate mean and variance curvesContracting drift with positive invariant variance; The upper panel follows the deterministic mean. The lower panel shows the variance contributed by the Gaussian integral. At h=0 the transition variance is exactly zero. The invariant mean is 2.An exact affine transition has separate mean and variance curves-0.24201.969-0.1171.417Exact transition mean1.632121Selected meanElapsed time · transition mean-0.2802.28-0.1171.417Exact transition varianceStationary variance1.729329Selected varianceElapsed time · transition variance
The upper panel follows the deterministic mean. The lower panel shows the variance contributed by the Gaussian integral. At h=0 the transition variance is exactly zero. The invariant mean is 2.

An integrating factor separates the initial condition and deterministic forced mean from a centered Gaussian integral. Its variance follows by the Itô isometry. At zero reversion use the linear drift and Brownian variance formulas.

Exact affine transition and limit
QuantityExact result
Mean at h2 + (−1) e^(−1)
Variance at h2(1−e^(−2))
Stationary variance2
Transition lawGaussian with stated mean and variance
Rounded mean and variance1.632121 / 1.729329
Invariant mean when k>02
Zero-reversion limit k=0E[Xₕ]=x+a h, Var(Xₕ)=σ²h
At h=0E[X₀]=x, Var(X₀)=0, an atom at x
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a2
k1
sigma2
x1
h1

A stopped diffusion solves a boundary-value problem

Start at one quarter of the interval

Volatility changes exit time without changing the upper-hit chanceStart at one quarter of the interval; The upper split is harmonic and independent of σ. The mean duration has generator forcing −1 and scales as 1/σ². The selected exact duration is 3.Volatility changes exit time without changing the upper-hit chance-0.1401.14-0.364.36P(hit L first)1/4Selected probabilityStarting coordinate x · upper-first probability-0.5604.56-0.364.36Mean duration3Selected durationStarting coordinate x · expected exit time
The upper split is harmonic and independent of σ. The mean duration has generator forcing −1 and scales as 1/σ². The selected exact duration is 3.

Solve the two scalar boundary-value problems on the finite interval. A harmonic interpolation gives the hit probability. For the duration the second derivative is −2/σ², and the conditions at both boundaries produce x(L−x)/σ².

Exact absorbing-boundary checks
QuantityExact result
Upper-first chance1/4
Mean exit time3
Mean exit time with double σ3/4
Generator(σ²/2)d²/dx²
Boundary probabilities at 0,L0, 1
Boundary mean time at 0,L0, 0
Exact inputs and supporting calculations
Declared inputs
ParameterValue
L4
sigma1
x1

A squared-increment correction changes one numerical step

A squared increment equals its duration

One shared Brownian increment gives three comparable next statesA squared increment equals its duration; The signed Milstein-minus-Euler shift is 0. The exact exponential stays positive for this starting state. These are individual values under the same increment.One shared Brownian increment gives three comparable next statesEuler–Maruyama3Milstein3Exact exponential2 e^(3/8)03State after the declared single step
The signed Milstein-minus-Euler shift is 0. The exact exponential stays positive for this starting state. These are individual values under the same increment.

The scalar Milstein term is half b²X((ΔW)²−h). The exact log increment is (a−b²/2)h+bΔW, which permits a fair comparison using the same simulated noise.

Exact one-step trajectory readout
QuantityExact result
Euler–Maruyama3
Signed Milstein correction0
Milstein3
Exact exponential multipliere^(3/8)
Exact next state2 e^(3/8)
Rounded exact next state2.909983
ScopeOne sample does not establish a convergence order.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a0
b1
x2
h1/4
increment1/2

Continuous stability and numerical stability need separate tests

A stable numerical step within the interval

A step is strictly stable only when the second-moment multiplier is below oneA stable numerical step within the interval; The continuous growth exponent is −1. At the declared step the multiplier is 3/4, which is strictly below one. The open point is the continuous multiplier e^(−1/2) over that same duration. The filled point is the Euler multiplier.A step is strictly stable only when the second-moment multiplier is below one-0.20901.698-0.1221.482Euler expected squared multiplierThreshold 1Euler 3/4exact e^(−1/2)Euler and continuous exact multipliers at the selected hStep h · expected squared multiplier
The continuous growth exponent is −1. At the declared step the multiplier is 3/4, which is strictly below one. The open point is the continuous multiplier e^(−1/2) over that same duration. The filled point is the Euler multiplier.

The Euler ratio is 1+ah+bΔW. Its squared expectation equals (1+ah)²+b²h by the first two moments of ΔW. For h>0, strict decay requires 2a+b²+a²h<0.

Exact continuous and Euler stability conditions
QuantityExact result
Continuous second-moment exponent−1
Euler multiplier at h3/4
Strict positive Euler range0<h<1
Selected stepStrict mean-square decay
Exact continuous multiplier over the same he^(−1/2)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a-1
b1
h1/2

Worked examples

A drift and a diffusion use different time scalings

For dX=2 dt+3 dW and X_0=4, derive the mean and variance at time 2, covariance of times 1 and 2, and the conditional law at time 3 given X_2=8. Identify the known parameters' units.

  1. Integrating the constant-coefficient equation gives X_t=4+2t+3W_t. The Brownian term has mean zero, so at time 2 the mean is 4+4=8. Its variance equals nine times the Brownian variance two, giving 18.
  2. Only Brownian terms contribute to the covariance between times 1 and 2. The earlier increment W_1 is shared and the later increment W_2−W_1 is independent of it, so Cov(X_1,X_2)=9·1=9. Deterministic shifts do not affect that covariance.
  3. At time 3 the state equals X_2+2+3(W_3−W_2). The last increment is independent of the observed history through time 2 and has variance one. Thus the exact-state conditional kernel evaluated at 8 has mean 10 and variance 9. It is a regular conditional law, with no division by the probability of a single observed value.
  4. The 2 has state units per time unit. The 3 has state units per square root of that time unit, since the Brownian increment scales as the square root of elapsed time. The variance and cross covariance carry squared state units.

At time 2 the mean is 8 and variance 18. Cov(X_1,X_2)=9. Given the exact state 8 at time 2, the time-3 law is Gaussian with mean 10 and variance 9.

The same Brownian integrand under two conventions

Derive the Itô and Stratonovich integrals of W_t against W_t on [0,T]. Calculate their expectations and variances and explain the quadratic variation term causing their difference.

  1. On a deterministic partition, W_(t_(i+1))²−W_(t_i)²=2W_(t_i)ΔW_i+(ΔW_i)². Sum over i and use W_0=0. The left stochastic sum tends to the Itô integral, while the squared-increment sum tends to T in the proved quadratic variation mode. This gives (W_T²−T)/2.
  2. For the symmetric endpoint rule, each term (W_(t_i)+W_(t_(i+1)))ΔW_i/2 is half the difference of the two squared values. The entire sum is therefore W_T²/2 on every partition, which is its Stratonovich limit. The additional half T is the corresponding quadratic-covariation correction.
  3. The Gaussian W_T has second moment T and fourth moment 3T², for example by scaling a standard normal and integrating by parts. Thus Var(W_T²)=2T². Dividing by four gives T²/2 for each integral; subtracting the deterministic shift changes only the mean.
  4. The Itô version uses the old Brownian value each step and has mean zero by conditional centering. The symmetric version uses both endpoints and contributes half the quadratic variation. At T=0 both integrals and their moments vanish. The result specifies the declared sampling rules as well as their limits.

The Itô integral is (W_T²−T)/2 and the Stratonovich integral is W_T²/2. Their expectations are 0 and T/2. Both have variance T²/2.

Converting a multiplicative Stratonovich model

For a positive initial value and dX=2X dt+3X ∘ dW, compute the equivalent Itô drift, the mean and median, and the variance of the log state at time t.

  1. The Stratonovich drift is 2x and the scalar diffusion function is g(x)=3x. Its derivative is 3. The correction g(x)g'(x)/2 is (9/2)x, so the Itô drift is (2+9/2)x=(13/2)x. The diffusion coefficient itself is unchanged.
  2. The positive initial state has the explicit solution X_t=X_0 exp([(13/2)−9/2]t+3W_t)=X_0 exp(2t+3W_t). The exp(−σ²t/2) type correction is accounted for in the passage from arithmetic drift to the log. No logarithm is evaluated at a nonpositive state.
  3. Taking the expectation multiplies exp(2t) by the Gaussian exponential moment E exp(3W_t)=exp(9t/2). This yields the mean X_0 exp(13t/2). For the median use the zero median of W_t and the monotonicity of the exponential, obtaining X_0 exp(2t).
  4. The log is log X_0+2t+3W_t, with variance 9t. It can equivalently be stated for the dimensionless log ratio X_t/X_0. The original Stratonovich coefficient 2 describes the log growth here, while the arithmetic mean follows the equivalent Itô drift.

The equivalent Itô drift is (13/2)X. The mean is X_0 exp(13t/2), the median is X_0 exp(2t), and the variance of log X_t is 9t.

A centered Gaussian transition around a nonzero level

For dX=−2(X−1)dt+4dW with X_0=5, compute the exact conditional mean and variance after half a time unit, the stationary variance and the difference between fixed-start and stationary observations.

  1. Subtract the equilibrium level one. The centered equation has linear drift coefficient −2 and additive Brownian amplitude 4. Its solution is X_t−1=4e^(−2t)+4∫_0^t e^(−2(t−s))dW_s from the fixed starting value five.
  2. The noise term has mean zero and variance 16∫_0^t e^(−4(t−s))ds=4(1−e^(−4t)). At t=1/2, the exponential in the mean is e^−1 and in the remaining variance it is e^−2. The two terms have different exponents because the variance squares the propagation factor.
  3. The transition variance approaches 4 as the gap grows, agreeing with 16/(2·2). If the initial state is Gaussian with mean one and variance four and independent of future noise, the variance of the propagated initial state is 4e^(−4t), which exactly restores the missing part. The marginal law is then Gaussian N(1,4) at all times.
  4. With fixed starting value five the initial variance is zero, so finite-time variance stays below four. The exact conditional transition uses the observed state, whereas stationary marginal uncertainty includes variation of that state itself. These are different observations of the same declared dynamics.

After half a time unit the mean is 1+4e^−1 and the variance is 4(1−e^−2). The stationary variance is 4.

One driver gives a full stationary covariance

Let F=diag(−1,−2) and G=(1,2)^T drive a two-state stationary Ornstein–Uhlenbeck model with a scalar standard Brownian motion. Compute the covariance, test its rank and derive the fixed positive-lag cross-covariance matrix.

  1. The impulse of the single noise driver at age s is e^(Fs)G=(e^−s,2e^(−2s))ᵀ. The stationary covariance is the integral of its outer product over s≥0. Thus the two variances are ∫e^(−2s)ds=1/2 and 4∫e^(−4s)ds=1, while the cross entry is 2∫e^(−3s)ds=2/3.
  2. The determinant is (1/2)·1−(2/3)²=1/18. Together with the positive first diagonal this makes P positive definite. A single fresh driving increment has rank-one covariance. Its direction after propagation depends on the age of that increment, and integrating those directions can give full rank.
  3. At later time t+u the centered state is e^(Fu)X_t plus independent future noise. Thus its covariance with X_t equals e^(Fu)P. The four entries are e^−u/2, 2e^−u/3, 2e^(−2u)/3, and e^(−2u) in row order. The reversed lag gives the transpose rather than the same matrix in general.
  4. The result uses the declared stationary Gaussian construction and the common physical clock of both modes. It illustrates why an observation of positive-definite stationary covariance cannot by itself establish two instantaneous independent excitations. Each matrix entry keeps its pair of state-coordinate units.

The stationary covariance is P=((1/2,2/3),(2/3,1)) with determinant 1/18 and rank two. At positive lag u the covariance Cov(X_(t+u),X_t) is diag(e^−u,e^(−2u))P.

Driftless exit through asymmetric endpoints

A Brownian diffusion dX=2dW starts at zero between boundaries −1 and 2. Derive the upper exit probability and the mean exit time, and justify why the eventual endpoint has total probability one.

  1. The generator for dX=2dW is Lf=2 f'' on this interval. The polynomial m(x)=(x+1)(2−x)/4 is nonnegative there, vanishes at −1 and 2, and has 2m''=−1. Starting from x=0 gives m(0)=1/2.
  2. Stop at t∧τ, where τ is the first exit from (−1,2). The stopped stochastic integral for m has mean zero because its derivative is bounded on the interval at finite time. Hence E(t∧τ)=m(0)−E m(X_(t∧τ))≤1/2. Monotone convergence gives finite Eτ, so τ is almost surely finite.
  3. By continuity the stopped state at τ is exactly an endpoint, where m vanishes. Bounded convergence gives Eτ=m(0)=1/2. Applying the same stopped expectation formula to the test x and taking the limit yields E X_τ=0 because the drift is zero and the stopped state remains bounded.
  4. Writing p for the probability of reaching 2 first, 0=2p−(1−p), giving p=1/3 and lower exit probability 2/3. The probability depends on the starting distances, while the duration includes the inverse variance-rate factor. No unbounded stopped Brownian identity was used without the bounded and integrable limits.

The upper exit has probability 1/3 and the mean exit time is 1/2 time unit. The continuous state reaches one of the two endpoints almost surely.

A small drift changes the exit law

For dX=(1/2)dt+dW started at 1 in (0,2), derive the upper exit probability and mean exit time using the scale formula and a justified stopped expectation.

  1. The drift is 1/2 and variance rate one, so the scale derivative is proportional to e^−x by the factor −2b/a=−1. Integrating from zero gives a scale function S(x)=1−e^−x on the interval. It solves the harmonic generator equation and is strictly increasing.
  2. Starting at one, the upper exit formula gives p=[S(1)−S(0)]/[S(2)−S(0)]=(1−e^−1)/(1−e^−2)=e/(1+e). Positive drift shifts the upper probability above the driftless value one half.
  3. For bounded stopping at t∧τ, the linear state equation gives E X_(t∧τ)=1+(1/2)E(t∧τ). Its left side is at most two, so E(t∧τ)≤2. Monotone convergence gives an integrable exit, and continuity means the endpoint is either zero or two.
  4. Taking the limit in the stopped state equation is justified by boundedness of the state and integrability of τ. The limiting expected endpoint is 2p, so Eτ=2(2p−1)=2(e−1)/(e+1). The rate 1/2 used in solving for duration is a drift in state units per time unit.

The upper exit probability is e/(1+e), and the mean exit time is 2(e−1)/(e+1).

Squaring a scalar Gaussian state

Let dZ=−3Zdt+2dW and Z_0=1. Derive the SDE of X=Z² with its adapted Brownian driver. Find E X_t and verify its steady limit, including the nonnegative root coefficient.

  1. Itô applied to Z² gives 2Z(−3Zdt+2dW)+4dt=(4−6Z²)dt+4Z dW. The correction four comes from the variance rate of Z; leaving it out would change both boundary behavior and the mean.
  2. Define B by integrating sign(Z) against W, using the value one at zero. The predictable sign has magnitude one and its successive changes leave the conditional Brownian increment characteristic function unchanged, as in the signed-driver construction. Because Z=|Z| sign(Z), the noise term is exactly 4√X dB on all paths in the stated integral sense.
  3. From Z_0=1 the Gaussian mean of Z_t is e^(−3t) and its variance is 4(1−e^(−6t))/6. Hence E Z_t² is the squared mean e^(−6t) plus that variance, which simplifies to the stated expression. The same result solves the mean equation m'=4−6m with m(0)=1.
  4. The state X is nonnegative because it is the square of a real continuous state. There is no ratio by Z at zero, and the diffusion coefficient there is zero while the drift is four. In the stationary Gaussian construction of Z the fixed-time second moment is 2/3, matching the limit.

The square satisfies dX=(4−6X)dt+4√X dB. Its mean is 2/3+(1/3)e^(−6t) and tends to 2/3.

An exact strong error on a shared Euler grid

For dX=X dW, X_0=1, use the exact and Euler solutions on the same uniform mesh of [0,1]. Derive E|X_1−Y_n|² and its leading asymptotic rate.

  1. Write h=1/n and let U_i be the Brownian increments on the mesh, each N(0,h). The exact step multiplier is A_i=exp(U_i−h/2) and the Euler multiplier is B_i=1+U_i. Both products start at one and use the same U_i each step.
  2. For each pair, E A_i²=e^h and E B_i²=1+h. Also E[A_iB_i]=E A_i+E[A_i U_i]=1+h since the probability tilt by A_i shifts U_i to mean h without changing its variance. These moments use the actual coupled input.
  3. Across steps the pairs are independent, so the squared terminal difference has expectation (e^h)^n+(1+h)^n−2(1+h)^n=e−(1+1/n)^n. Nonnegativity is consistent with (1+h)^n<e for h>0.
  4. Since n log(1+1/n)=1−1/(2n)+O(n^−2), the discrepancy is e/(2n)+O(n^−2). The root mean-square error is of order n^−1/2. Both products have first moment one exactly, so the mean alone would hide this error.

The exact squared error on n coupled Euler steps is e−(1+1/n)^n, with leading term e/(2n).

Verifying Milstein's improvement for one equation

For the same equation dX=X dW, X_0=1 on [0,1], calculate the Milstein multiplier, the exact second and cross moments for one step, and the resulting terminal mean-square error and order.

  1. For this diffusion the scalar correction uses g(x)g'(x)=x. The iterated Brownian integral is (U²−h)/2, so the update is multiplication by M=1+U+(U²−h)/2, where U∼N(0,h). It is driven by the same U as the exact multiplier A=exp(U−h/2).
  2. Expand M² using E U=0, E(U²−h)=0 and E[U(U²−h)]=0 by symmetry. The remaining squared terms have expectations h and [E U⁴−h²]/4=h²/2. Hence E M²=1+h+h²/2.
  3. Under the exact multiplier tilt A, U has mean h and variance h, so E A U=h and E A(U²−h)=h². This gives the same cross moment 1+h+h²/2. The independent step pairs then give the terminal difference variance formula after expanding the squared difference, with E A² products equal to e.
  4. The logarithm expansion log(1+h+h²/2)=h−h³/6+O(h⁴) and h=1/n give the displayed leading term. The root mean-square error is of order 1/n for this one test equation. No numerical experiment or inference about a nonsmooth diffusion is needed.

The Milstein multiplier is 1+U+(U²−h)/2. Both its squared moment and its cross moment with the exact factor are 1+h+h²/2. The terminal squared error is e−(1+h+h²/2)^n, with leading term e/(6n²).

A missed crossing between two observed endpoints

A Brownian piece with variance rate 1 spans half a time unit, with endpoints 0.2 and 0.4. Derive the conditional probability of having reached 1 in this interval and explain what changes when one endpoint is already above the barrier.

  1. Both specified endpoints lie below the barrier one. Reflect a Brownian path at its first hit of the barrier. In the driftless conditional calculation, paths ending at 0.4 after a hit correspond to paths ending at the reflected endpoint 1.6. The Gaussian density at that reflected endpoint supplies the hit contribution.
  2. Taking the ratio with the ordinary endpoint density gives exp[−2(c−x)(c−y)/(a h)]. Here the gaps are 0.8 and 0.6, the variance rate a is one and h is 1/2. The exponent is −2·0.8·0.6/(1/2)=−48/25. This conditions on the declared exact endpoints.
  3. The conditional bridge has the straight-line conditional mean and the Gaussian residual covariance with the given clock. If a constant drift were included in the Brownian model it would cancel from that same endpoint-conditioned bridge. The resulting probability is a state-space path event, despite both endpoints lying below the level.
  4. An endpoint at the barrier or above it already satisfies the inclusive reach-or-exceed event on the closed interval. A zero-duration or zero-variance interval would instead be determined by its supported endpoints and deterministic motion. The positive bridge probability here depends on actual uncertainty between observations.

The conditional barrier-hit probability is exp(−48/25), about 0.147. If an endpoint is at or above 1, reaching or exceeding the threshold already has probability one.

An exact uncertainty for an averaged diffusion

A stationary centered Ornstein–Uhlenbeck process has decay 1 and marginal variance 2. Derive the distribution of its time average over duration 2, then compare its variance with the marginal variance.

  1. The stationary covariance is 2e^(−|s−t|). Let A=(1/2)∫_0^2 X_s ds. Its mean is zero, and its variance is one quarter times the covariance integral over [0,2]². Finite Riemann sums of this Gaussian process are Gaussian and converge in L², giving the Gaussian law of A.
  2. Group times in the double integral according to their separation u and use symmetry. The coefficient is (2·2)/2²=1, leaving ∫_0^2 (2−u)e^−u du. This is the exact time-average variance for the stated duration.
  3. Direct integration yields 2−(1−e^−2)=1+e^−2. It is positive and below two. Averages of nearby states share information, which is why the expression includes the exact covariance of the underlying continuous observations.
  4. The variance remains in squared state units. It is neither the variance of two independent draws nor an asymptotic substitution for this finite time. The known Gaussian law would use standard deviation √(1+e^−2) for a symmetric predictive probability about this average.

The duration-two average is centered Gaussian with variance 1+e^−2, below the marginal variance 2.

Try it yourself

  1. For dX=b dt+σdW with time in seconds, derive the numerical drift and diffusion coefficients when the same process is indexed by minutes. Check the two descriptions produce the same observed transition variance.

    Show the answer and reasoning

    With elapsed time measured in minutes the drift is 60b and diffusion amplitude is √60 σ. Transition variance is unchanged for the same physical duration.

    Let s be numerical minutes and t=60s numerical seconds. Define B_s=W_(60s)/√60. Its disjoint increments are independent Gaussian with covariances equal to their numerical minute gaps, so it is standard Brownian motion in s. The same observed process Y_s=X_(60s) equals X_0+(60b)s+σW_(60s), or X_0+(60b)s+√60 σ B_s. Thus the new drift changes by sixty, while the coefficient multiplying Brownian noise changes by the square root of sixty. Over Δs minutes a given-state transition variance in the new coordinates is (√60 σ)² Δs=60σ²Δs. The same physical duration is Δt=60Δs seconds, giving the old description σ²Δt. These are equal. Both drift terms also integrate to bΔt=(60b)Δs, so the full Gaussian transition agrees when starts and physical units match. The amplitude σ is state per square root of second, and its square is state variance per second. Scaling the amplitude as if it were a rate would change the observed law.

  2. For a standard Brownian motion derive the partition identity for the left-point sum of W dW and the Itô limit. Compute the variance of the partition sum of squared increments for a uniform mesh and compare the symmetric sum.

    Show the answer and reasoning

    The left sum is (W_T²−∑(ΔW_i)²)/2. The squared-increment sum has mean T and variance 2T²/n. The Itô limit is (W_T²−T)/2, while the symmetric sum is W_T²/2 exactly.

    With n equal intervals of width h=T/n, expand W_(t_(i+1))²=(W_(t_i)+ΔW_i)². Rearranging gives the ith left product as half its square difference minus half the increment square. Telescoping and W_0=0 give the identity for the left sum. Every increment square has mean h and variance 2h², since a N(0,h) variable has fourth moment 3h². The increments are independent, so the square sum has mean n h=T and variance 2n h²=2T²/n. The square sum tends to T in L². Left-point predictable approximations also define the Itô integral here, or the identity itself gives its L² limit. Thus the left integral retains the −T/2 correction. This uses the actual deterministic mesh and does not assert the same limit for arbitrary future-selected partitions. For the symmetric sum the ith average endpoint value times ΔW_i is precisely half the square difference with no separate increment term. The sum therefore equals W_T²/2 for each n. The two conventions agree at T=0 and otherwise differ by half the Brownian quadratic variation.

  3. For dX=−X dt+2X dW starting from x_0>0, derive its law and compute the mean, median and second moment at time t. Explain what changes if x_0=0.

    Show the answer and reasoning

    The positive state is X_t=x_0 exp(−3t+2W_t). Its mean is x_0 e^−t, median x_0 e^(−3t), and second moment x_0² e^(2t). At x_0=0 it stays zero.

    The arithmetic coefficient is μ=−1 and the Brownian amplitude coefficient is σ=2. Itô's exponential correction in the log drift is σ²/2=2, so the logarithm of the state ratio is −3t+2W_t. Conversely applying Itô to the exponential shows it satisfies the original equation. The Gaussian moment E e^(2W_t)=e^(2t) multiplies the deterministic e^(−3t), yielding mean x_0 e^(−t). Monotonicity of exp and the zero median of W_t give the median x_0 e^(−3t). Both formulas preserve the strict positivity for finite t. For the second moment square the solution and use E e^(4W_t)=e^(8t). Combining with e^(−6t) gives x_0² e^(2t). Thus the second moment can grow even while both the mean and median decrease in this positive-state model. With x_0=0 the identically zero process solves the linear equation and pathwise uniqueness makes it the solution. Its log is undefined, so the log-ratio formula is used only in the positive branch. The exponents are dimensionless combinations of the physical coefficients and time.

  4. For dx=2 sqrt(max(x,0)) dt from x_0=0, construct differently delayed solutions and verify their integral equations. State which globally Lipschitz premise fails.

    Show the answer and reasoning

    Every delayed path x(t)=(max(t−c,0))² for c≥0 solves the same initial problem, as does the zero path. The drift fails a Lipschitz bound at zero.

    For t≤c the candidate is zero. Then the drift 2√max(x(t),0) is zero, so the integral from time zero agrees with that candidate on the entire waiting interval. The derivative at t=c also exists and equals zero from either side. For t>c the drift along the candidate is 2(t−c). Integrating from c to t gives (t−c)², exactly the candidate state. Adding the earlier zero integral shows the whole integral equation from initial state zero, not simply a formula after departure. Different values of c give different paths once one has departed and another has not. An infinite delay corresponds to the constant zero solution. There is no Brownian term in this example, so adding an unused common Brownian space does not restore pathwise uniqueness. For x>0 the ratio |b(x)−b(0)|/|x| equals 2/√x, which is unbounded as x tends to zero. This explains the failed global Lipschitz premise of the earlier existence-and-uniqueness result. Continuity still holds, so this is a direct counterexample to the stronger continuity-only claim.

  5. Apply Itô's formula to W_t^4. Derive E W_t^4 from the integral equation with its moment justification, and calculate the drift of the centered quartic polynomial W_t^4−6tW_t²+3t².

    Show the answer and reasoning

    E W_t⁴=3t². The polynomial W_t⁴−6tW_t²+3t² has zero drift and is a martingale on each finite horizon.

    For f(x)=x⁴, the Itô identity is d(W_t⁴)=4W_t³dW_t+6W_t²dt. On a finite interval the noise term has finite expected integrated square because the Gaussian sixth moment is 15t³. This follows from the standard normal moment recurrence and scaling. Hence the stochastic integral has mean zero. Since E W_s²=s and W_0=0, E W_t⁴=6∫_0^t s ds=3t². The integrability can be verified from the given Gaussian marginal moments without needing that expectation as an additional premise. The product identity gives d(tW_t²)=W_t²dt+t(2W_t dW_t+dt). Combining this with d(3t²)=6t dt, the drift of W_t⁴−6tW_t²+3t² is 6W_t²−6W_t²−6t+6t=0. Its noise coefficient is 4W_t³−12tW_t. Both contributions to that noise coefficient have finite integrated squared expectation on a fixed finite horizon by the Brownian second and sixth moments. Thus the zero drift is a true finite-horizon martingale statement here. It is not inferred solely by writing a formal polynomial differential.

  6. For Z_T=exp(c W_T−c²T/2), derive its first and second moments, the tilted mean of W_s for 0≤s≤T and its unchanged covariance under the tilted finite-dimensional law.

    Show the answer and reasoning

    E Z_T=1 and E Z_T²=e^(c²T). Under the tilt the mean of W_s is cs and the covariance of W_s,W_u remains min(s,u).

    Since W_T is N(0,T), E exp(cW_T)=exp(c²T/2), canceling the normalization in Z_T. For its square the Gaussian moment E exp(2cW_T)=exp(2c²T) multiplied by exp(−c²T) leaves e^(c²T). The density is positive at every finite Brownian outcome. The vector of times (W_(s_1),…,W_(s_m),W_T) is jointly Gaussian with covariance Cov(W_s,W_T)=s. In its joint moment-generating or characteristic function, multiplying by Z_T shifts the mean of each W_s by c·s and does not alter any quadratic coefficient in the test variables. Therefore the full selected finite-dimensional tilted Gaussian law has mean entries c s and the same covariance min(s,u). In particular the shifted process W_s−cs has centered Gaussian increments with the original covariance. Independent increments follow from the resulting block diagonal covariances of disjoint increment vectors. The tilt uses a deterministic constant c on a fixed finite horizon. It changes drift under the tilted measure, while preserving the original variance scale and equivalent null events on that horizon. The numerical product c²T is dimensionless because c multiplies a Brownian coordinate in the exponent.

  7. For dX=−2X dt+X dW, derive the exact second-moment decay and Euler second-moment amplification. Find the set of positive h giving strict Euler mean-square decay, including the equality boundary.

    Show the answer and reasoning

    The exact second moment is x_0²e^(−3t). Euler multiplies the second moment by 1−3h+4h² per step, which is strictly below one for 0<h<3/4 and equals one at h=3/4.

    The coefficients a=−2 and b=1 give the exact second-moment exponent 2a+b²=−4+1=−3. For x_0≠0 this is strict decay. The zero initial state stays zero under both exact and numerical dynamics. At a mesh point Euler multiplies by 1−2h+U with U∼N(0,h) independent of the state through that point. Its conditional squared multiplier has expectation (1−2h)²+h=1−3h+4h². Repeated steps multiply the initial second moment by powers of this positive factor. The strict inequality reduces to h(4h−3)<0. For h>0 this gives h<3/4. The equality at 3/4 gives a constant nonzero second moment across steps, and h>3/4 gives growth on the numerical clock, although the exact second moment continues to decay. This is a stability calculation at fixed h as the number of steps grows. It is not altered by the fact that the same scheme converges strongly as the step goes to zero on a fixed finite interval. The conditional multiplier used the actual independent driving increment.

  8. Let X_t=2W_t and Y_t=V_t/2 for standard Brownian drivers with instantaneous correlation 3/5. Derive state covariances, then explain what happens to the rank when the driving correlation becomes one.

    Show the answer and reasoning

    The covariance functions are Cov(X_s,X_t)=4 min(s,t), Cov(Y_s,Y_t)=min(s,t)/4, and Cov(X_s,Y_t)=(3/5)min(s,t). At correlation one, the positive-time two-dimensional covariance has rank one.

    For Brownian drivers of common variance rate one and instantaneous correlation ρ, only the shared time interval contributes to their cross expectation. Thus Cov(W_s,V_t)=ρ min(s,t). The two marginal autocovariances each equal min(s,t). Multiplying by the state scale factors 2 and 1/2 gives four times the first marginal covariance and one fourth times the second. Their cross scale factor is 2·(1/2)=1, so the cross entry is ρ min(s,t). For ρ=3/5 the same-time 2-by-2 matrix is t times the matrix with diagonal 4 and 1/4 and off-diagonal 3/5. Its determinant is t²[4·(1/4)−(3/5)²]=16t²/25, positive for t>0. At ρ=1 the Brownian difference W−V has zero variance at every time and hence is identically zero by continuity on a dense set. Then X=4Y and the covariance collapses to a rank-one matrix for t>0. The time-zero covariance is zero for these fixed starts. The cross entry carries product state units, and the underlying driver correlation is dimensionless. Standard marginal Brownian laws alone cannot identify their independence.

  9. For independent Brownian coordinates started at zero, apply vector Itô to their squared radius. Derive its mean, variance and martingale quadratic variation and identify the origin of its deterministic drift.

    Show the answer and reasoning

    The squared radius has drift 2 dt and martingale quadratic variation 4∫_0^t R_s²ds. Its mean is 2t and its variance is 4t².

    Let R_t²=W_(1,t)²+W_(2,t)². For the squared-radius function the Hessian is twice the identity, and the driving covariance matrix is the identity. The Itô drift is one from each independent coordinate, giving dR²=2dt+2W_1 dW_1+2W_2 dW_2. The martingale part M_t has finite second moment at finite time since E(W_1²+W_2²)=2t. Its bracket is ∫_0^t[(2W_(1,s))²+(2W_(2,s))²]ds=4∫_0^t R_s²ds because there is no cross variation of the independent drivers. Each Brownian square has mean t and variance 2t² by the standard Gaussian fourth moment. At a fixed time those squares are independent because the two coordinates are independent. Summing gives mean 2t and variance 4t². Equivalently E([M]_t)=4∫_0^t 2s ds=4t² equals its second moment, since the drift of R² is deterministic. The bracket formula remains well defined at radius zero. It does not divide by a direction vector when the origin has no such direction.

  10. For F=diag(−1,1) and independent standard additive noises in both coordinates, derive the variance evolution and show that no positive semidefinite stationary covariance can solve the continuous Lyapunov equation.

    Show the answer and reasoning

    The second state variance grows as e^(2t) v_2+(e^(2t)−1)/2. A stationary Lyapunov equation would require its variance to be −1/2, so no positive semidefinite stationary covariance exists for this model.

    For each homogeneous scalar component with initial variance v_i and independent future noise, the variance is e^(2 f_i t)v_i+∫_0^t e^(2 f_i s)ds, where f_i is the corresponding diagonal entry of F. This follows from the exact linear transition, retaining the initial term. For f_1=−1 it is e^(−2t)v_1+(1−e^(−2t))/2. For f_2=1 it is e^(2t)v_2+(e^(2t)−1)/2. The second term grows even if v_2=0, because the additive variance rate is positive in that unstable direction. The stationary covariance matrix would satisfy F P+P Fᵀ+I=0. On the diagonal this requires −2P_11+1=0 and 2P_22+1=0. The latter gives P_22=−1/2, inconsistent with any covariance. Possible cross entries cannot change a failed nonnegative diagonal. This rules out a finite-variance stationary law in the declared model with the driving Brownian increments independent of its actual past. It does not assert a general necessity statement for unforced directions. Here the expanding direction is explicitly driven and creates the variance contradiction.

  11. For a centered stationary Ornstein–Uhlenbeck state with variance v and decay κ, compute Cov(∫_0^T X_s ds,X_T) and Var(∫_0^T X_s ds). Justify that the integral and last state are jointly Gaussian.

    Show the answer and reasoning

    The covariance with X_T is v(1−e^(−κT))/κ and the variance of the integral is 2v[T/κ−(1−e^(−κT))/κ²]. The integral and X_T are jointly Gaussian.

    The stationary covariance is v e^(−κ|s−t|). Let I_T=∫_0^T X_s ds. Continuous covariance on [0,T] gives L² convergence of Riemann sums. Those sums jointly with X_T are Gaussian. The convergent first and second moments identify a joint Gaussian limit, with degenerate cases allowed. The covariance Cov(I_T,X_T) is the integral of Cov(X_s,X_T), which is v∫_0^T e^(−κ(T−s))ds. Substituting the lag T−s gives v(1−e^(−κT))/κ. The orientation uses the final time T beyond every integration time s. For the integral variance, use the covariance integral on [0,T]² and group by lag. This gives 2v∫_0^T (T−u)e^(−κu)du=2v[T/κ−(1−e^(−κT))/κ²]. There is no division by T² here because this observable is the integral rather than the average. The covariance of a state-time integral with a state has squared-state times time units; its variance has squared-state times squared-time units. At T=0 both integral quantities vanish. Gaussianity is needed for the joint law, while the two moment identities use the stated covariance.

  12. For dX=σdW with σ>0 and starting position x in (a,b), derive finite expected time to exit and the endpoint probabilities by considering stopped linear and quadratic test functions. Include the case of an endpoint start.

    Show the answer and reasoning

    From x∈(a,b), P(X_τ=b)=(x−a)/(b−a) and Eτ=(x−a)(b−x)/σ². Starting at an endpoint gives immediate exit at that endpoint.

    The continuous path stopped at the first exit stays in [a,b]. Let g(y)=(y−a)(b−y), which is nonnegative on this interval and vanishes at both endpoints. Its second derivative is −2, so the generator of dX=σdW gives Lg=−σ². Itô on the stopped polynomial at t∧τ has a zero-mean stochastic term because its derivative and coefficient are bounded until that time. Therefore σ² E(t∧τ)=g(x)−E g(X_(t∧τ))≤g(x). This proves Eτ finite by monotone convergence. The state at exit is an endpoint by continuity. Then dominated convergence gives E g(X_(t∧τ))→0 and yields the duration formula. The linear test y has zero drift and a bounded stopped position; using it and taking the limit gives E X_τ=x. Writing this expectation as a(1−p)+bp yields p=(x−a)/(b−a). Both formulas give the correct endpoint limits, and under the declared open interval the exit time from an endpoint is already zero. The upper exit indicator is then one only at b. The duration scales inversely with the variance rate, while the driftless exit probability depends on the normalized starting distance.

  13. For a driftless Brownian diffusion with variance rate σ², terminal payoff x² and constant running reward c, derive the expected discounted value to a finite horizon at constant discount r≥0. Compare the r=0 branch and check the PDE sign.

    Show the answer and reasoning

    With Δ=T−t, the value is e^−rΔ(x²+σ²Δ)+c(1−e^−rΔ)/r for r>0. At r=0 it is x²+(σ²+c)Δ.

    Conditional on X_t=x, a driftless Brownian state with variance rate σ² has mean x and variance σ²Δ at T. Thus E X_T²=x²+σ²Δ. The constant terminal discount gives the first term e^−rΔ(x²+σ²Δ). This second moment is finite despite the unbounded payoff x². The constant running reward contributes ∫_t^T e^(−r(s−t))c ds=c(1−e^−rΔ)/r when r>0. At r=0 the integral is cΔ, and the terminal term is undiscounted. The limit as r tends to zero gives the same expression. The spatial generator contribution is (σ²/2)u_xx=σ² e^−rΔ. Differentiation in t reverses the sign of differentiation in Δ and gives ∂_t u=e^−rΔ[r(x²+σ²Δ)−σ²−c] for r>0. Combining terms yields ∂_t u+(σ²/2)u_xx−r u+c=0. The formula at r=0 verifies the same equation directly. The terminal condition is u(T,x)=x², since Δ=0. The sign of the running reward is positive on the equation's left because it is added to the future discounted payoff. This calculation uses direct Gaussian integrability and does not apply a bounded-payoff representation theorem outside its stated scope.

  14. For constant drift b, diffusion σ>0 and a fixed initial point x_0, verify the Gaussian forward density and identify its initial limit in the sense of bounded continuous tests. Check that the flux vanishes at spatial infinity for each fixed positive time.

    Show the answer and reasoning

    The density for t>0 is Gaussian N(x_0+bt,σ²t). It solves ∂_t p=−b∂_x p+(σ²/2)∂_xx p, tends weakly to the point mass at x_0, and its flux decays at both infinities.

    Let z=x−x_0−bt. The positive-time law follows from X_t=x_0+bt+σW_t and gives p=(2πσ²t)^−1/2 exp(−z²/(2σ²t)). The x derivatives are p_x=−zp/(σ²t) and p_xx=[z²/(σ⁴t²)−1/(σ²t)]p. The time derivative divided by p is −1/(2t)+bz/(σ²t)+z²/(2σ²t²), because z has derivative −b with respect to t. This equals (−b p_x+(σ²/2)p_xx)/p. Thus the law solves the stated forward equation with its sign and variance factor. For a bounded continuous test f, represent the time marginal by x_0+bt+σ√t Z for one standard normal Z. This random variable tends almost surely to x_0 as t decreases to zero, so dominated convergence gives ∫ f p→f(x_0). At the initial time there is a point mass, not a finite ordinary density. The probability flux is J=b p−σ²p_x/2=(b+z/(2t))p. At each fixed t>0 the Gaussian decay defeats the linear prefactor, so J tends to zero at both infinities. The density is normalized, and the flux calculation is consistent with probability conservation.

  15. Suppose a continuous absorbed [0,1]-valued solution satisfies dX=√(a X(1−X)) dW for a>0. From x in (0,1), derive the chance of hitting 1 and the expected absorption time, justifying the approach to the degenerate endpoints.

    Show the answer and reasoning

    The probability of absorption at 1 is x. The mean absorption time is −(2/a)[x log x+(1−x)log(1−x)].

    The process is a bounded martingale because it has zero drift and bounded diffusion coefficient on the admitted state interval. Before reaching either endpoint, use the compact exit time τ_ε from (ε,1−ε). Let m(y)=−(2/a)[y log y+(1−y)log(1−y)], continuously extended by zero at the endpoints. Its second derivative in the interior is −2/[a y(1−y)]. Multiplying by the generator coefficient a y(1−y)/2 gives Lm=−1. Stopped Itô at t∧τ_ε yields E(t∧τ_ε)=m(x)−E m(X_(t∧τ_ε))≤m(x), since the stochastic term is centered under the compact bounds. Let t grow and ε decrease along a sequence. The exit times increase and have expectations bounded by m(x), so their limit is finite almost surely. Continuity, and the fact that their stopped points approach the endpoint set, identify the limit with the first endpoint hit τ. Bounded convergence of m to zero there gives Eτ=m(x). At t∧τ the martingale still has expectation x. The stopped states are bounded, so E X_τ=x in the limit. With X_τ∈{0,1}, this is the desired upper absorption probability. At an endpoint start the duration is zero and the outcome is already known. The proof uses the specified absorbed law.

  16. For two additive diffusions with common time interval, fixed starts, drifts b_1,b_2 and noise coefficients σ_1,σ_2, derive the variance of their terminal difference under shared and independent Brownian trajectories. State the equal-work comparison.

    Show the answer and reasoning

    The shared-input variance is T(σ_1−σ_2)². The independent-input variance is T(σ_1²+σ_2²). For T>0, sharing helps for σ_1σ_2>0, increases variance for σ_1σ_2<0, and ties at zero product. At T=0 both variances are zero for every coefficient pair.

    Each terminal state has deterministic part x_i+b_i T plus noise σ_i W_T, or an independent copy of that Brownian value where specified. The mean of the terminal difference is x_1−x_2+(b_1−b_2)T under either construction because the noise remains centered. With common noise the terminal difference's random part is (σ_1−σ_2)W_T. Its variance is T(σ_1−σ_2)². With independent Brownian draws the covariance between noise terms is zero, giving T(σ_1²+σ_2²). Subtracting the shared variance from the independent one gives 2Tσ_1σ_2. For T>0, the comparison is as follows. If both amplitudes have the same sign, the shared path reduces the variance, and identical amplitudes cancel the noise completely. Opposite signs give a negative output covariance and increase the variance of the difference when the same input is used. At T=0 both constructions have zero difference variance, irrespective of the coefficient signs. This follows from the declared mathematical coupling and does not change either marginal model. For the same number of paired replications and two model evaluations per pair, the sample-mean variance has the same comparison after division by the number of pairs. The shared method may require fewer random draws. The formula itself concerns variance at equal model evaluation count, with any separate implementation cost accounted for if it differs.

  17. A diffusion dX=b dt+σdW is measured without error at fixed irregular times 0=t_0<⋯<t_n=T, with σ>0 known. Derive the likelihood, maximum-likelihood drift and exact conditional-on-start variance, preserving physical duration.

    Show the answer and reasoning

    The drift estimate is (X_T−X_0)/T. Given the start it is Gaussian with mean b and variance σ²/T.

    Write h_i=t_i−t_(i−1)>0 and D_i=X_(t_i)−X_(t_(i−1)). The exact-observation setup gives independent N(bh_i,σ²h_i) increments because these are disjoint deterministic time intervals. Multiplying their densities gives the likelihood with normalizers depending on the actual gap lengths. The log likelihood is −(1/2)∑_i [log(2πσ²h_i)+(D_i−b h_i)²/(σ²h_i)]. Its derivative in b is (∑ D_i−b∑h_i)/σ² and its second derivative is −T/σ²<0. The single maximum is thus the total observed increment divided by T. Since X_T−X_0=bT+σW_T, the estimator has conditional-on-start variance Var(σW_T/T)=σ²/T and conditional mean b. The observer cannot obtain a smaller value of this exact model's variance merely by redividing a fixed duration into more times. An unweighted average of individual gap slopes would not in general be the same estimator. The likelihood and its normalizer use physical gap durations rather than record indices. If observations included independent measurement errors, adjacent observed differences would share an error term and this likelihood would change. The given known positive σ excludes singular Gaussian increments.

  18. Let X_t=W_t+∑_(j=1)^(N_t) Y_j, where N has rate 2 and the independent marks equal ±3 with probability one half. Derive mean, variance and probability of no jump by t, and compare its finite-time characteristic function and path behavior with a matched Brownian variance.

    Show the answer and reasoning

    The mean is zero, variance is 19t and probability of no jump is e^−2t. The characteristic function is exp(−t u²/2+2t[cos(3u)−1]), distinct from the matched Brownian characteristic function at positive t.

    Each mark has mean zero and second moment nine. Conditioning on the independent rate-two Poisson count gives mean zero and variance nine times the expected count, or 18t, for the sum of marks. The independent W_t adds variance t, giving 19t. The characteristic function of a mark is (e^(3iu)+e^(−3iu))/2=cos(3u). The Poisson transform then gives exp(2t[cos(3u)−1]) for the marked sum. Multiplying by the Brownian characteristic function gives the stated total law. A Brownian motion with variance rate 19 has characteristic function exp(−19t u²/2). The cumulant contribution 2t[cos(3u)−1] agrees with the needed quadratic coefficient near zero but has additional higher powers for t>0. Thus matching mean and variance does not match the finite-time laws. The no-jump probability comes from N_t=0 and equals e^−2t. It differs from the probability that the signed total jump displacement cancels to zero, since nonzero marks may offset one another. Any actual arrival produces a jump of size three in absolute value here, whereas the matched Brownian paths are continuous.

What to carry forward

  • Drift has units of state per unit time. Diffusion has units of state per square root of time when the Brownian driver has unit variance rate.
  • Quadratic covariation creates the second-derivative term in Itô’s formula. The diffusion matrix and the covariance of its driver determine that term.
  • A construction on a fixed driver addresses strong existence. Pathwise uniqueness and uniqueness of the law ask different questions.
  • A generator can describe a probability law through smooth tests even when a pointwise density formula is unavailable.
  • A proposed stationary density must be normalizable and consistent with its boundary conditions. Invariance is a property of the transition law.
  • For exact Gaussian transitions, both the mean and the noise covariance depend on the elapsed observation gap.
  • Coupling the same Brownian increments isolates numerical pathwise error. Weak error concerns a specified observable.
  • Fixed-horizon accuracy, preservation of long-run stability, and detection of crossings between observations each require their own check.

References

Sources for the concepts and teaching approaches in this article.

  1. Euler–Maruyama and the multiplicative benchmarkDesmond J. HighamPrimary · PDFwebhomes.maths.ed.ac.ukRead source
  2. Solutions, pathwise uniqueness and the state covarianceAlison EtheridgePrimary · PDFstats.ox.ac.ukRead source
  3. Picard iteration and the Stratonovich conversionSimo Särkkä and Arno SolinPrimary · PDFusers.aalto.fiRead source
  4. Brownian martingales and Itô calculusRick DurrettPrimary · PDFsites.math.duke.eduRead source
  5. Time dependence and shared noise in Itô’s formulaMIT OpenCourseWare, course 6.265/15.070JPrimary · PDFocw.mit.eduRead source
  6. Coupled level differences and multilevel costsMichael B. GilesPrimary · PDFpeople.maths.ox.ac.ukRead source
  7. Poisson counts and compound weightsGünter Last and Mathew PenrosePrimary · PDFstoch.math.kit.eduRead source