Tutorials › Stochastic Calculus › Quadratic Variation and Total Variation in Worked Examples

Quadratic Variation · Tutorial 63 of 600

Quadratic Variation and Total Variation in Worked Examples

Work through exact partition-sum calculations to see why quadratic variation records a different feature of a path than its accumulated absolute movement.

Advanced 12 min read

What You'll Learn

  • Compute squared- and absolute-increment sums for linear paths on uniform and nonuniform partitions.
  • Compare endpoint cancellation with actual path movement for a piecewise-linear path.
  • Prove that continuous paths of finite total variation have zero quadratic variation.
  • Establish convergence of absolute-increment sums for piecewise-linear paths.
  • Distinguish Brownian quadratic-variation convergence in mean square from almost-sure convergence along dyadic partitions.
  • Explain why diverging Brownian absolute-increment sums do not measure quadratic variation.

Two Different Ways to Measure Path Movement

For a continuous path \(x:[0,T]\to\mathbb{R}\), a partition records its increments but does not, by itself, determine how the path moved between partition points. The sum of absolute increments measures movement visible on that partition. The sum of squared increments gives greater weight to large increments and, for Brownian motion, has a nonzero limit under refinement even though the path’s absolute-increment sums diverge.

We work on a filtered probability space \((\Omega,\mathcal{F},(\mathcal{F}_t)_{t\ge0},\mathbb{P})\) carrying a standard Brownian motion \(B_t\). For a continuous path \(x\) and a partition \(\Pi=\{0=t_0<t_1<\cdots<t_n=T\}\), write \(\Delta_i x=x(t_i)-x(t_{i-1})\), and let \(|\Pi|=\max_i(t_i-t_{i-1})\) be its mesh.

Definition: The squared-increment sum is \(Q_\Pi(x)=\sum_{i=1}^n(\Delta_i x)^2\), and the absolute-increment sum is \(A_\Pi(x)=\sum_{i=1}^n|\Delta_i x|\). The total variation on \([0,T]\) is \(\operatorname{TV}_{[0,T]}(x)=\sup_\Pi A_\Pi(x)\), where the supremum is over all finite partitions of the interval. Thus \(A_\Pi(x)\) depends on one partition, whereas total variation is a supremum over partitions.

Refining a partition cannot decrease its absolute-increment sum: if an increment is split into several increments, the triangle inequality says that the sum of their absolute values is at least the absolute value of the original increment. Squared-increment sums do not have that monotonicity. A partition that misses a change of direction can therefore record little or no movement in either sum, even when the path moves substantially between its endpoints.

Linear Paths: Absolute Movement Persists, Squares Vanish

Worked Example: A Linear Path on Uniform and Unequal Partitions

Take \(x(t)=2-3t\) on \([0,2]\). First use the uniform partition with \(n\) intervals, so each time increment is \(2/n\). Each path increment is \(-3(2/n)=-6/n\). Therefore

$$ A_\Pi(x)=n\frac{6}{n}=6,\qquad Q_\Pi(x)=n\left(\frac{6}{n}\right)^2=\frac{36}{n}. $$

The absolute-increment sum is \(6\) for every \(n\), while the squared-increment sum tends to \(0\). In particular, for \(n=4\), \(A_\Pi(x)=4(6/4)=6\) and \(Q_\Pi(x)=4(36/16)=9\); for \(n=8\), \(A_\Pi(x)=8(6/8)=6\) and \(Q_\Pi(x)=8(36/64)=9/2\). These values agree with \(36/n\).

Now take the unequal partition \(0<\tfrac12<2\). The increments are \(-3/2\) and \(-9/2\). Hence \(A_\Pi(x)=3/2+9/2=6\), and \(Q_\Pi(x)=(3/2)^2+(9/2)^2=9/4+81/4=45/2\). The squared-increment sum depends on the partition, but the absolute-increment sum equals the total variation \(6\) here, as it does for every partition of this monotone path.

Check: The endpoint change is \(x(2)-x(0)=(-4)-2=-6\), so its absolute value is \(6\), matching the absolute-increment sum. The uniform-partition formula \(36/n\) tends to zero, not to \(6\): the two sums are measuring different quantities.

The linear calculation reflects a general finite-variation estimate. For a continuous path, let \(m_\Pi=\max_i|\Delta_i x|\). Then \(Q_\Pi(x)\le m_\Pi A_\Pi(x)\). As the mesh tends to zero, continuity makes \(m_\Pi\) tend to zero. If the path has finite total variation, \(A_\Pi(x)\) is bounded by that total variation for every partition, so the squared-increment sums must vanish.

Proposition: If \(x\) is continuous and has finite total variation on \([0,T]\), then \(Q_\Pi(x)\to0\) as \(|\Pi|\to0\), along every sequence of partitions.

Proof. Write \(V=\operatorname{TV}_{[0,T]}(x)<\infty\). For every partition, \(|\Delta_i x|\le m_\Pi\), so \((\Delta_i x)^2\le m_\Pi|\Delta_i x|\). Summing gives \(0\le Q_\Pi(x)\le m_\Pi A_\Pi(x)\le m_\Pi V\). A continuous function on the compact interval \([0,T]\) is uniformly continuous; therefore the largest increment \(m_\Pi\) tends to zero whenever \(|\Pi|\to0\). The displayed bound then gives \(Q_\Pi(x)\to0\). This also covers a constant path, for which \(V=m_\Pi=Q_\Pi(x)=0\). \(\square\)

Piecewise-Linear Paths: A Partition Can Hide Movement

Worked Example: A Triangular Path with an Unobserved Turn

Let \(x(t)=t\) for \(0\le t\le\tfrac12\), and \(x(t)=1-t\) for \(\tfrac12\le t\le1\). The path rises from \(0\) to \(\tfrac12\), then falls back to \(0\). On the coarse partition \(\{0,1\}\), the only increment is \(0-0=0\), so \(A_\Pi(x)=Q_\Pi(x)=0\). This does not mean that the path did not move.

Use instead the uniform partition with \(2m\) intervals, where the midpoint \(\tfrac12\) is a partition point. On each of the \(2m\) intervals, the increment has absolute value \(1/(2m)\); the first \(m\) increments are positive and the last \(m\) are negative. Consequently

$$ A_\Pi(x)=2m\frac{1}{2m}=1,\qquad Q_\Pi(x)=2m\left(\frac{1}{2m}\right)^2=\frac{1}{2m}. $$

For \(m=2\), the four increments are \(1/4,1/4,-1/4,-1/4\). Their absolute values sum to \(4(1/4)=1\), and their squares sum to \(4(1/16)=1/4\), agreeing with \(1/(2m)=1/4\). The total variation is \(1\): the two linear pieces contribute \(1/2\) of upward movement and \(1/2\) of downward movement.

Check: Adding the midpoint to the coarse partition changes its absolute-increment sum from \(0\) to \(|1/2-0|+|0-1/2|=1\). On the four-interval partition, further refinement preserves the absolute sum \(1\) and reduces the squared sum according to \(1/(2m)\).

Proposition: For a continuous piecewise-linear path with finitely many linear pieces, \(A_\Pi(x)\to\operatorname{TV}_{[0,T]}(x)\) as \(|\Pi|\to0\), while \(Q_\Pi(x)\to0\).

Proof. Let the path have \(r\) interior breakpoints and let \(L\) be the largest absolute value of its finitely many slopes. Refine an arbitrary partition by adding all the breakpoints. On each resulting interval the path is linear, so the sum of absolute increments on the refined partition equals the sum of the absolute changes along all linear pieces; this is precisely the total variation \(V\). The triangle inequality gives \(A_\Pi(x)\le V\). Only original partition intervals containing an interior breakpoint can contribute a difference between the refined and original absolute-increment sums. There are at most \(r\) such intervals. Each has length at most \(|\Pi|\), and the total variation within it is at most \(L|\Pi|\). Thus \(0\le V-A_\Pi(x)\le rL|\Pi|\), which tends to zero. Finally, \(|\Delta_i x|\le L|\Pi|\) and \(A_\Pi(x)\le V\), so \(Q_\Pi(x)\le L|\Pi|V\to0\). If \(L=0\) or \(r=0\), the same inequalities still apply; a constant path has both sums zero. \(\square\)

The coarse partition in the example demonstrates why a single absolute-increment sum is not total variation. A path can return to its starting point, causing cancellation in the endpoint increment. Refining so that the turning point is recorded reveals the movement. For the piecewise-linear path, the proposition ensures that all sufficiently fine partitions capture the total variation, even if their points do not land exactly on the corners.

Brownian Paths: Finite Quadratic Variation, Infinite Total Variation

For Brownian motion, the two sums behave differently from those of a continuous finite-variation path. For any deterministic partition of \([0,T]\), put \(h_i=t_i-t_{i-1}\). The increments are independent and distributed as \(N(0,h_i)\). A centered normal variable with variance \(h_i\) has second moment \(h_i\), fourth moment \(3h_i^2\), and absolute first moment \(\sqrt{2h_i/\pi}\). These facts give both the mean-square behavior of the squared-increment sum and the expected absolute-increment sum.

Worked Example: Brownian Sums on a Uniform Partition

Take \(T=1\) and the uniform partition into \(n\) intervals. Each increment is distributed as \(N(0,1/n)\). Since its second moment is \(1/n\), \(\mathbb{E}[Q_\Pi(B)]=n(1/n)=1\). Its squared value has variance \(2/n^2\), so independence of the increments gives \(\operatorname{Var}(Q_\Pi(B))=n(2/n^2)=2/n\). Thus the mean is \(1\), and the variance tends to zero.

For the absolute-increment sum, the mean absolute value of one \(N(0,1/n)\) increment is \(\sqrt{2/(\pi n)}\). Therefore \(\mathbb{E}[A_\Pi(B)]=n\sqrt{2/(\pi n)}=\sqrt{2n/\pi}\). At \(n=4\), the squared-increment sum has expectation \(4(1/4)=1\) and variance \(4\cdot 2(1/4)^2=1/2\); the absolute-increment sum has expectation \(4\sqrt{2/(4\pi)}=2\sqrt{2/\pi}\). Substituting \(n=4\) into the general expression \(\sqrt{2n/\pi}\) gives the same absolute-sum expectation.

Check: For \(n=1\), the formulas give \(\mathbb{E}[Q_\Pi(B)]=1\), \(\operatorname{Var}(Q_\Pi(B))=2\), and \(\mathbb{E}[A_\Pi(B)]=\sqrt{2/\pi}\), the corresponding moments of the single increment \(B_1-B_0\sim N(0,1)\). The expected absolute sum grows with \(n\), while the expected squared sum stays equal to \(1\). Growth of an expectation alone, however, does not prove almost-sure divergence.

Theorem: For every deterministic partition of \([0,T]\), \(Q_\Pi(B)\to T\) in \(L^2(\mathbb{P})\) as the mesh tends to zero. Along dyadic partitions of \([0,T]\), \(Q_\Pi(B)\to T\) almost surely, and \(A_\Pi(B)\to\infty\) almost surely.

Proof. For a deterministic partition, independence and the normal fourth-moment calculation give \(\mathbb{E}[Q_\Pi(B)]=\sum_i h_i=T\) and \(\operatorname{Var}(Q_\Pi(B))=2\sum_i h_i^2\le2T|\Pi|\). Hence \(\mathbb{E}[(Q_\Pi(B)-T)^2]\le2T|\Pi|\to0\), proving the \(L^2\) assertion. For the dyadic partitions \(\Pi_k\), the mesh is \(T2^{-k}\), so the variance bound is \(2T^2 2^{-k}\). For every \(\varepsilon>0\), Chebyshev’s inequality gives \(\mathbb{P}(|Q_{\Pi_k}(B)-T|>\varepsilon)\le 2T^2 2^{-k}/\varepsilon^2\); the right-hand side is summable in \(k\). The Borel–Cantelli lemma, applied for each positive rational \(\varepsilon\), yields \(Q_{\Pi_k}(B)\to T\) almost surely. On an outcome where this convergence holds and the Brownian path is continuous, let \(m_k=\max_i|\Delta_i B|\) on \(\Pi_k\). Uniform continuity gives \(m_k\to0\), and \(Q_{\Pi_k}(B)\le m_k A_{\Pi_k}(B)\). Since \(T>0\), eventually \(Q_{\Pi_k}(B)>T/2\); then \(A_{\Pi_k}(B)\ge Q_{\Pi_k}(B)/m_k\to\infty\). This proves the almost-sure divergence along dyadic partitions. \(\square\)

The modes of convergence in this result matter. Along arbitrary deterministic partitions whose mesh tends to zero, the squared sums converge to \(T\) in \(L^2\), and therefore in probability. The proof gives almost-sure convergence along dyadic partitions; it does not assert almost-sure convergence along every deterministic sequence of refining partitions. The dyadic absolute sums diverge almost surely, so Brownian motion has infinite total variation almost surely. This does not conflict with its finite quadratic variation: quadratic variation is not accumulated absolute path movement.

Worked Example: Brownian Sums on an Unequal Partition

On \([0,1]\), use the partition \(0<\tfrac14<1\), whose time increments are \(1/4\) and \(3/4\). The squared-increment sum has mean \(1/4+3/4=1\). Its variance is \(2[(1/4)^2+(3/4)^2]=2(1/16+9/16)=20/16=5/4\). The absolute-increment sum has expectation \(\sqrt{2/\pi}(\sqrt{1/4}+\sqrt{3/4})=\sqrt{2/\pi}(1/2+\sqrt{3}/2)\).

Check: The sum of the time lengths is \(1/4+3/4=1\), as required for the mean of the squared-increment sum. The variance bound \(2T|\Pi|\) equals \(2(1)(3/4)=3/2\), which is at least the exact variance \(5/4\). This partition has a larger squared-sum variance than the uniform partition into two intervals, where the variance is \(2[ (1/2)^2+(1/2)^2]=1\).

Common Mistakes and a Practical Comparison

Mistake: treating endpoint change as total movement. For the triangular path, using only the endpoints gives \(|x(1)-x(0)|=0\) and may lead to the incorrect claim that its total variation is zero. The correction is to include the turning point: \(|x(1/2)-x(0)|+|x(1)-x(1/2)|=1/2+1/2=1\). Total variation is a supremum over partitions, not the absolute endpoint change.

Mistake: calling the Brownian squared-sum limit a pathwise statement for every refining sequence. The calculation \(\mathbb{E}[(Q_\Pi(B)-T)^2]\le2T|\Pi|\) establishes \(L^2\) convergence, not almost-sure convergence for every sequence. The almost-sure claim proved here is specifically along dyadic partitions. This distinction is essential when comparing a mode of convergence with a pathwise total-variation statement.

Path and partition behaviorAbsolute-increment sumsSquared-increment sums
Linear path, mesh tending to zeroConverge to total variationConverge to zero
Continuous piecewise-linear path, mesh tending to zeroConverge to total variationConverge to zero
Brownian path, deterministic partitionsExpected sums grow on uniform refinementsConverge to \(T\) in \(L^2\)
Brownian path, dyadic partitionsDiverge to infinity almost surelyConverge to \(T\) almost surely

The comparison is useful whenever a partition calculation is used to infer a property of an entire path. For smooth or piecewise-smooth motion, absolute increments recover accumulated movement under refinement, while the squared sums vanish. Brownian motion has the opposite signature: its squared increments retain a finite limit, while its absolute increments reveal unbounded total movement. Neither sum should be substituted for the other.

Check Your Understanding

For each question, distinguish a sum on one partition from a limit under refinement or a supremum over partitions.

  1. For \(x(t)=a+bt\) on \([0,T]\), compute \(A_\Pi(x)\) and \(Q_\Pi(x)\) on a uniform partition with \(n\) intervals. What are their limits as \(n\to\infty\)?
  2. Why does the endpoint partition \(\{0,1\}\) give zero absolute-increment sum for the triangular path, although its total variation is \(1\)?
  3. State the estimate that forces the squared-increment sums of a continuous finite-total-variation path to vanish.
  4. For Brownian motion on \([0,T]\), what does the variance bound for \(Q_\Pi(B)\) establish along deterministic partitions with mesh tending to zero?
  5. Why does divergence of the expected Brownian absolute-increment sums not, by itself, establish almost-sure divergence?