In mathematics, quadratic variation is used in the analysis of stochastic processes such as Brownian motion and other martingales. Quadratic variation is just one kind of variation of a process.
Suppose that is a real-valued stochastic process defined on a probability space and with time index ranging over the non-negative real numbers. Its quadratic variation is the process, written as , defined as
where ranges over partitions of the interval and the norm of the partition is the mesh. This limit, if it exists, is defined using convergence in probability. Note that a process may be of finite quadratic variation in the sense of the definition given here and its paths be nonetheless almost surely of infinite 1-variation for every in the classical sense of taking the supremum of the sum over all partitions; this is in particular the case for Brownian motion.
More generally, the covariation (or cross-variance) of two processes and is
The covariation may be written in terms of the quadratic variation by the polarization identity:
Notation: the quadratic variation is also notated as or .
A process is said to have finite variation if it has bounded variation over every finite time interval (with probability 1). Such processes are very common including, in particular, all continuously differentiable functions. The quadratic variation exists for all continuous finite variation processes, and is zero.
This statement can be generalized to non-continuous processes. Any càdlàg finite variation process has quadratic variation equal to the sum of the squares of the jumps of . To state this more precisely, the left limit of with respect to is denoted by , and the jump of at time can be written as . Then, the quadratic variation is given by
The proof that continuous finite variation processes have zero quadratic variation follows from the following inequality. Here, is a partition of the interval , and is the variation of over .
By the continuity of , this vanishes in the limit as goes to zero.
The quadratic variation of a standard Brownian motion exists, and is given by , however the limit in the definition is meant in the sense and not pathwise. This generalizes to Itô processes that, by definition, can be expressed in terms of Itô integrals
where is a Brownian motion. Any such process has quadratic variation given by
Quadratic variations and covariations of all semimartingales can be shown to exist. They form an important part of the theory of stochastic calculus, appearing in Itô's lemma, which is the generalization of the chain rule to the Itô integral. The quadratic covariation also appears in the integration by parts formula
which can be used to compute .
Alternatively this can be written as a stochastic differential equation:
where
All càdlàg martingales, and local martingales have well defined quadratic variation, which follows from the fact that such processes are examples of semimartingales. It can be shown that the quadratic variation of a general locally square integrable martingale is the unique right-continuous and increasing process starting at zero, with jumps and such that is a local martingale. A proof of existence of (without using stochastic calculus) is given in Karandikar–Rao (2014).
A useful result for square integrable martingales is the Itô isometry, which can be used to calculate the variance of Itô integrals,
This result holds whenever is a càdlàg square integrable martingale and is a bounded predictable process, and is often used in the construction of the Itô integral.
Another important result is the Burkholder–Davis–Gundy inequality. This gives bounds for the maximum of a martingale in terms of the quadratic variation. For a local martingale starting at zero, with maximum denoted by , and any real number , the inequality is
Here, are constants depending on the choice of , but not depending on the martingale or time used. If is a continuous local martingale, then the Burkholder–Davis–Gundy inequality holds for any .
An alternative process, the predictable quadratic variation is sometimes used for locally square integrable martingales. This is written as , and is defined to be the unique right-continuous and increasing predictable process starting at zero such that is a local martingale. Its existence follows from the Doob–Meyer decomposition theorem and, for continuous local martingales, it is the same as the quadratic variation.