thumb|300px|right|Markov's inequality gives an upper bound for the measure of the set (indicated in red) where <math>f(x)</math> exceeds a given level <math>\varepsilon</math>. The bound combines the level <math>\varepsilon</math> with the average value of <math>f</math>.
In probability theory, Markov's inequality gives an upper bound on the probability that a non-negative random variable is greater than or equal to some positive constant. Markov's inequality is tight in the sense that for each chosen positive constant, there exists a random variable such that the inequality is in fact an equality.
It is named after the Russian mathematician Andrey Markov, although it appeared earlier in the work of Pafnuty Chebyshev (Markov's teacher), and many sources, especially in analysis, refer to it as Chebyshev's inequality (sometimes, calling it the first Chebyshev inequality, while referring to Chebyshev's inequality as the second Chebyshev inequality) or Bienaymé's inequality.
Markov's inequality (and other similar inequalities) relate probabilities to expectations, and provide (frequently loose but still useful) bounds for the cumulative distribution function of a random variable. Markov's inequality can also be used to upper bound the expectation of a non-negative random variable in terms of its distribution function.
Statement
If is a nonnegative random variable and , then the probability
that is at least is at most the expectation of divided by :
Extended version for nondecreasing functions
If is a nondecreasing nonnegative function, is a (not necessarily nonnegative) random variable, and , then
:<math>\operatorname P (X \ge a) \le \frac{\operatorname E(\varphi(X))}{\varphi(a)}.</math>
An immediate corollary, using higher moments of supported on values larger than 0, is
:<math>\operatorname P (|X| \ge a) \le \frac{\operatorname E(|X|^n)}{a^n}.</math>
The respective measure-theoretic versions are
:<math>\mu(\{x \in X : |f(x)| \geq \varepsilon\}) \leq \frac{1}{\varphi(\varepsilon)} \int_X \varphi(|f|).</math>
and
:<math>\mu(\{x \in X : |f(x)| \geq \varepsilon\}) \leq \frac{1}{\varepsilon^p} \int_X |f|^p = \frac{1}{\varepsilon^p} \|f\|_{L^p}^p.</math>
Where <math>\|\cdot\|_{L^p}</math> denotes the Lp norm.
The uniformly randomized Markov's inequality
If is a nonnegative random variable and , and is a uniformly distributed random variable on <math>[0,1]</math> that is independent of , then
:<math>\operatorname{P}(X \geq Ua) \leq \frac{\operatorname{E}(X)}{a}.</math>
Since is almost surely smaller than one, this bound is strictly stronger than Markov's inequality. Remarkably, cannot be replaced by any constant smaller than one, meaning that deterministic improvements to Markov's inequality cannot exist in general. While Markov's inequality holds with equality for distributions supported on <math>\{0,a\}</math>, the above randomized variant holds with equality for any distribution that is bounded on <math>[0,a]</math>.
Proofs
We separate the case in which the measure space is a probability space from the more general case because the probability case is more accessible for the general reader.
Intuition
<math>\operatorname{E}(X) = \operatorname{P}(X < a)\cdot \operatorname{E}(X|X<a) + \operatorname{P}(X \geq a)\cdot \operatorname{E}(X|X\geq a)</math> where <math>\operatorname{E}(X|X<a)</math> is larger than or equal to 0 as the random variable <math>X</math> is non-negative and <math>\operatorname{E}(X|X\geq a)</math> is larger than or equal to <math>a</math> because the conditional expectation only takes into account of values larger than or equal to <math>a</math> which r.v. <math>X</math> can take.
Property 1: <math>\operatorname{P}(X < a) \cdot \operatorname{E}(X \mid X < a) \geq 0</math>
Given a non-negative random variable <math>X</math>, the conditional expectation <math>\operatorname{E}(X \mid X < a) \geq 0</math> because <math>X \geq 0</math>. Also, probabilities are always non-negative, i.e., <math>\operatorname{P}(X < a) \geq 0</math>. Thus, the product:
<math>\operatorname{P}(X < a) \cdot \operatorname{E}(X \mid X < a) \geq 0</math>.
This is intuitive since conditioning on <math> X < a </math> still results in non-negative values, ensuring the product remains non-negative.
Property 2: <math>\operatorname{P}(X \geq a) \cdot \operatorname{E}(X \mid X \geq a) \geq a \cdot \operatorname{P}(X \geq a) </math>
For <math> X \geq a </math>, the expected value given <math> X \geq a</math> is at least <math> a. \operatorname{E}(X \mid X \geq a) \geq a </math>. Multiplying both sides by <math> \operatorname{P}(X \geq a) </math>, we get:
<math>\operatorname{P}(X \geq a) \cdot \operatorname{E}(X \mid X \geq a) \geq a \cdot \operatorname{P}(X \geq a)</math>.
This is intuitive since all values considered are at least <math>a</math>, making their average also greater than or equal to <math>a</math>.
Hence intuitively, <math>\operatorname{E}(X)\geq \operatorname{P}(X \geq a)\cdot \operatorname{E}(X|X\geq a)\geq a \cdot \operatorname{P}(X\geq a)</math>, which directly leads to <math>\operatorname{P}(X\geq a)\leq \frac{\operatorname{E}(X)}{a}</math>.
Probability-theoretic proof
Method 1:
From the definition of expectation:
:<math>\operatorname{E}(X)=\int_{-\infty}^{\infty} xf(x) \, dx</math>
However, X is a non-negative random variable thus,
:<math>\operatorname{E}(X)=\int_{-\infty}^\infty xf(x) \, dx = \int_0^\infty xf(x) \, dx </math>
From this we can derive,
:<math>\operatorname{E}(X)=\int_0^a xf(x) \, dx + \int_a^\infty xf(x) \, dx \ge \int_a^\infty xf(x) \, dx \ge\int_a^\infty af(x) \, dx = a\int_a^\infty f(x) \, dx= a \operatorname{Pr}(X \ge a)</math>
From here, dividing through by <math>a</math> allows us to see that
:<math>\Pr(X \ge a) \le \operatorname{E}(X)/a</math>
Method 2:
For any event <math>E</math>, let <math>I_E</math> be the indicator random variable of <math> E </math>, that is, <math>I_E=1</math> if <math>E</math> occurs and <math>I_E=0</math> otherwise.
Using this notation, we have <math>I_{(X\geq a)}=1</math> if the event <math>X\geq a</math> occurs, and <math>I_{(X\geq a)}=0</math> if <math>X<a</math>. Then, given <math>a>0</math>,
:<math>aI_{(X \geq a)} \leq X</math>
which is clear if we consider the two possible values of <math>X\geq a</math>. If <math>X<a</math>, then <math>I_{(X\geq a)}=0</math>, and so <math>a I_{(X\geq a)}=0\leq X</math>. Otherwise, we have <math>X\geq a</math>, for which <math>I_{X\geq a}=1</math> and so <math>aI_{X\geq a}=a\leq X</math>.
Since <math>\operatorname{E}</math> is a monotonically increasing function, taking expectation of both sides of an inequality cannot reverse it. Therefore,
:<math>\operatorname{E}(aI_{(X \geq a)}) \leq \operatorname{E}(X).</math>
Now, using linearity of expectations, the left side of this inequality is the same as
:<math>a\operatorname{E}(I_{(X \geq a)}) = a(1\cdot\operatorname{P}(X \geq a) + 0\cdot\operatorname{P}(X < a)) = a\operatorname{P}(X \geq a).</math>
Thus we have
:<math>a\operatorname{P}(X \geq a) \leq \operatorname{E}(X)</math>
and since a > 0, we can divide both sides by a.
Measure-theoretic proof
We may assume that the function <math>f</math> is non-negative, since only its absolute value enters in the equation. Now, consider the real-valued function s on X given by
:<math>
s(x) =
\begin{cases}
\varepsilon, & \text{if } f(x) \geq \varepsilon \\
0, & \text{if } f(x) < \varepsilon
\end{cases}
</math>
Then <math>0\leq s(x)\leq f(x)</math>. By the definition of the Lebesgue integral
:<math>
\int_X f(x) \, d\mu \geq \int_X s(x) \, d \mu = \varepsilon \mu( \{ x\in X : \, f(x) \geq \varepsilon \} )
</math>
and since <math>\varepsilon >0 </math>, both sides can be divided by <math>\varepsilon</math>, obtaining
:<math>\mu(\{x\in X : \, f(x) \geq \varepsilon \}) \leq {1\over \varepsilon }\int_X f \,d\mu.</math>
The extended version may be proved in the same fashion:
:<math> \varphi(\varepsilon) \cdot \mu(\{x \in X : |f(x)| \geq \varepsilon\}) = \int_{\{x \in X : |f(x)| \geq \varepsilon\ \varphi(\varepsilon)\,d\mu \leq \int_{\{x \in X : |f(x)| \geq \varepsilon\ \varphi(|f|)\,d\mu \leq \int_X \varphi(|f|)\,d\mu. </math>
Diving through by <math>\varphi(\varepsilon)</math> yields the result:
:<math> \mu(\{x\in X : \, |f(x)| \geq \varepsilon \}) \leq {1\over \varphi(\varepsilon) }\int_X \varphi(|f|) \,d\mu. </math>
Discrete case
We now provide a proof for the special case when <math>X</math> is a discrete random variable which only takes on non-negative integer values.
Let <math>a</math> be a positive integer. By definition <math>a\operatorname{Pr}(X > a)</math>
<math>=a\operatorname{Pr}(X = a + 1) + a\operatorname{Pr}(X = a + 2) + a\operatorname{Pr}(X = a + 3) + ...</math>
<math>\leq a\operatorname{Pr}(X = a) + (a+1)\operatorname{Pr}(X = a + 1) + (a+2)\operatorname{Pr}(X = a + 2) + ...</math>
<math>\leq \operatorname{Pr}(X = 1) + 2\operatorname{Pr}(X = 2) + 3\operatorname{Pr}(X = 3) + ... </math>
<math>+a\operatorname{Pr}(X = a ) + (a+1)\operatorname{Pr}(X = a + 1) + (a+2)\operatorname{Pr}(X = a + 2) + ...</math>
<math>=\operatorname{E}(X)</math>
Dividing by <math>a</math> yields the desired result.
Corollaries
Chebyshev's inequality
Chebyshev's inequality uses the variance to bound the probability that a random variable deviates far from the mean. Specifically,
:<math>\operatorname{P}(|X-\operatorname{E}(X)| \geq a) \leq \frac{\operatorname{Var}(X)}{a^2},</math>
for any .
Examples
Assuming no income is negative, Markov's inequality shows that no more than 10% (1/10) of the population can have more than 10 times the average income.
Another simple example is as follows: Andrew makes 4 mistakes on average on his Statistics course tests. The best upper bound on the probability that Andrew will make at least 10 mistakes is 0.4 as <math>\operatorname{P}(X \geq 10) \leq \frac{\operatorname{E}(X)}{\alpha} = \frac{4}{10}.</math> Note that Andrew might do exactly 10 mistakes with probability 0.4 and make no mistakes with probability 0.6; the expectation is exactly 4 mistakes.
See also
- Paley–Zygmund inequality – a corresponding lower bound
- Concentration inequality – a summary of tail-bounds on random variables.
References
External links
- The formal proof of Markov's inequality in the Mizar system.
