# Doob's martingale inequality

In mathematics, Doob's martingale inequality, also known as Kolmogorov’s submartingale inequality is a result in the study of stochastic processes. It gives a bound on the probability that a submartingale exceeds any given value over a given interval of time. As the name suggests, the result is usually given in the case that the process is a martingale, but the result is also valid for submartingales.
The inequality is due to the American mathematician Joseph L. Doob.

## Statement of the inequality

The setting of Doob's inequality is a submartingale relative to a filtration of the underlying probability space. The probability measure on the sample space of the martingale will be denoted by P. The corresponding expected value of a random variable X, as defined by Lebesgue integration, will be denoted by E[X].
Informally, Doob's inequality states that the expected value of the process at some final time controls the probability that a sample path will reach above any particular value beforehand. As the proof uses very direct reasoning, it does not require any restrictive assumptions on the underlying filtration or on the process itself, unlike for many other theorems about stochastic processes. In the continuous-time setting, right-continuity (or left-continuity) of the sample paths is required, but only for the sake of knowing that the supremal value of a sample path equals the supremum over an arbitrary countable dense subset of times.

### Discrete time

Let X$_1$, ..., X$_n$ be a discrete-time submartingale relative to a filtration ${\mathcal {F}}_{1},\ldots ,{\mathcal {F}}_{n}$ of the underlying probability space, which is to say:
    $X_{i}\leq \operatorname {E} [X_{i+1}\mid {\mathcal {F}}_{i}].$
The submartingale inequality says that
    $P\left[\max _{1\leq i\leq n}X_{i}\geq C\right]\leq {\frac {\operatorname {E} [{\textrm {max}}(X_{n},0)]}{C}}$
for any positive number C. The proof relies on the set-theoretic fact that the event defined by max(X$_i$) > C may be decomposed as the disjoint union of the events E$_i$ defined by (X$_i$ > C and (X$_j$ ≤ C for all j < i)). Then
    $CP(E_{i})=\int _{E_{i}}C\,dP\leq \int _{E_{i}}X_{i}\,dP\leq \int _{E_{i}}{\text{E}}[X_{n}\mid {\mathcal {F}}_{i}]\,dP=\int _{E_{i}}X_{n}\,dP,$
having made use of the submartingale property for the last inequality and the fact that $E_{i}\in {\mathcal {F}}_{i}$ for the last equality. Summing this result as i ranges from 1 to n results in the conclusion
    $CP(E)\leq \int _{E}X_{n}\,dP,$
which is sharper than the stated result. By using the elementary fact that X$_n$ ≤ max(X$_n$, 0), the given submartingale inequality follows.
In this proof, the submartingale property is used once, together with the definition of conditional expectation. The proof can also be phrased in the language of stochastic processes so as to become a corollary of the powerful theorem that a stopped submartingale is itself a submartingale. In this setup, the minimal index i appearing in the above proof is interpreted as a stopping time.

### Continuous time

Now let X$_t$ be a submartingale indexed by an interval [0, T] of real numbers, relative to a filtration F$_t$ of the underlying probability space, which is to say:
    $X_{s}\leq \operatorname {E} [X_{t}\mid {\mathcal {F}}_{s}].$
for all s < t. The submartingale inequality says that if the sample paths of the martingale are almost-surely right-continuous, then
    $P\left[\sup _{0\leq t\leq T}X_{t}\geq C\right]\leq {\frac {\operatorname {E} [{\textrm {max}}(X_{T},0)]}{C}}$
for any positive number C. This is a corollary of the above discrete-time result, obtained by writing
    $\sup _{0\leq t\leq T}X_{t}=\sup\{X_{t}:t\in [0,T]\cap \mathbb {Q} \}=\lim _{i\to \infty }\sup\{X_{t}:t\in [0,T]\cap Q_{i}\}$
in which Q$_1$ ⊂ Q$_2$ ⊂ ⋅⋅⋅ is any sequence of finite sets whose union is the set of all rational numbers. The first equality is a consequence of the right-continuity assumption, while the second equality is purely set-theoretic. The discrete-time inequality applies to say that
    $P\left[\sup _{t\in [0,T]\cap Q_{i}}X_{t}\geq C\right]\leq {\frac {\operatorname {E} [{\textrm {max}}(X_{T},0)]}{C}}$
for each i, and this passes to the limit to yield the submartingale inequality. This passage from discrete time to continuous time is very flexible, as it only required having a countable dense subset of [0,T], which can then automatically be built out of an increasing sequence of finite sets. As such, the submartingale inequality holds even for more general index sets, which are not required to be intervals or natural numbers.

## Further inequalities

There are further submartingale inequalities also due to Doob. Now let X$_t$ be a martingale or a positive submartingale; if the index set is uncountable, then (as above) assume that the sample paths are right-continuous. In these scenarios, Jensen's inequality implies that |X$_t$|$^p$ is a submartingale for any number p ≥ 1, provided that these new random variables all have finite integral. The submartingale inequality is then applicable to say that
    ${\text{P}}[\sup _{t}|X_{t}|\geq C]\leq {\frac {{\text{E}}[|X_{T}|^{p}]}{C^{p}}}.$
for any positive number C. Here T is the final time, i.e. the largest value of the index set. Furthermore one has
    ${\text{E}}[|X_{T}|^{p}]\leq {\text{E}}\left[\sup _{0\leq s\leq T}|X_{s}|^{p}\right]\leq \left({\frac {p}{p-1}}\right)^{p}{\text{E}}[|X_{T}|^{p}]$
if p is larger than one. This, sometimes known as Doob's maximal inequality, is a direct result of combining the layer cake representation with the submartingale inequality and the Hölder inequality.
In addition to the above inequality, there holds
    ${\text{E}}\left|\sup _{0\leq s\leq T}X_{s}\right|\leq {\frac {e}{e-1}}\left(1+{\text{E}}[\max\{|X_{T}|\log |X_{T}|,0\}]\right)$

## Related inequalities

Doob's inequality for discrete-time martingales implies Kolmogorov's inequality: if X$_1$, X$_2$, ... is a sequence of real-valued independent random variables, each with mean zero, it is clear that
    ${\begin{aligned}\operatorname {E} \left[X_{1}+\cdots +X_{n}+X_{n+1}\mid X_{1},\ldots ,X_{n}\right]&=X_{1}+\cdots +X_{n}+\operatorname {E} \left[X_{n+1}\mid X_{1},\ldots ,X_{n}\right]\\&=X_{1}+\cdots +X_{n},\end{aligned}}$
so S$_n$ = X$_1$ + ... + X$_n$ is a martingale. Note that Jensen's inequality implies that |S$_n$| is a nonnegative submartingale if S$_n$ is a martingale. Hence, taking p = 2 in Doob's martingale inequality,
    $P\left[\max _{1\leq i\leq n}\left|S_{i}\right|\geq \lambda \right]\leq {\frac {\operatorname {E} \left[S_{n}^{2}\right]}{\lambda ^{2}}},$
which is precisely the statement of Kolmogorov's inequality.

## Application: Brownian motion

Let B denote canonical one-dimensional Brownian motion. Then
    $P\left[\sup _{0\leq t\leq T}B_{t}\geq C\right]\leq \exp \left(-{\frac {C^{2}}{2T}}\right).$
The proof is just as follows: since the exponential function is monotonically increasing, for any non-negative λ,
    $\left\{\sup _{0\leq t\leq T}B_{t}\geq C\right\}=\left\{\sup _{0\leq t\leq T}\exp(\lambda B_{t})\geq \exp(\lambda C)\right\}.$
By Doob's inequality, and since the exponential of Brownian motion is a positive submartingale,
    ${\begin{aligned}P\left[\sup _{0\leq t\leq T}B_{t}\geq C\right]&=P\left[\sup _{0\leq t\leq T}\exp(\lambda B_{t})\geq \exp(\lambda C)\right]\\[8pt]&\leq {\frac {\operatorname {E} [\exp(\lambda B_{T})]}{\exp(\lambda C)}}\\[8pt]&=\exp \left({\tfrac {1}{2}}\lambda ^{2}T-\lambda C\right)&&\operatorname {E} \left[\exp(\lambda B_{t})\right]=\exp \left({\tfrac {1}{2}}\lambda ^{2}t\right)\end{aligned}}$
Since the left-hand side does not depend on λ, choose λ to minimize the right-hand side: λ = C/T gives the desired inequality.