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.[1]
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.
If is a nonnegative random variable and, then the probabilitythat is at least is at most the expectation of divided by :
\operatorname{P}(X\geqa)\leq
\operatorname{E | |
(X)}{a}. |
When
\operatorname{E}(X)>0
a=\tilde{a} ⋅ \operatorname{E}(X)
\tilde{a}>0
\operatorname{P}(X\geq\tilde{a} ⋅ \operatorname{E}(X))\leq
1 | |
\tilde{a |
In the language of measure theory, Markov's inequality states that if is a measure space,
f
\mu(\{x\inX:|f(x)|\geq\varepsilon\})\leq
1 | |
\varepsilon |
\intX|f|d\mu.
This measure-theoretic definition is sometimes referred to as Chebyshev's inequality.[2]
If is a nondecreasing nonnegative function, is a (not necessarily nonnegative) random variable, and, then[3]
\operatornameP(X\gea)\le
\operatornameE(\varphi(X)) | |
\varphi(a) |
.
An immediate corollary, using higher moments of supported on values larger than 0, is
\operatornameP(|X|\gea)\le
\operatornameE(|X|n) | |
an |
.
If is a nonnegative random variable and, and is a uniformly distributed random variable on
[0,1]
\operatorname{P}(X\geqUa)\leq
\operatorname{E | |
(X)}{a}. |
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
\{0,a\}
[0,a]
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.
\operatorname{E}(X)=\operatorname{P}(X<a) ⋅ \operatorname{E}(X|X<a)+\operatorname{P}(X\geqa) ⋅ \operatorname{E}(X|X\geqa)
\operatorname{E}(X|X<a)
X
\operatorname{E}(X|X\geqa)
a
a
X
Property 1:
\operatorname{P}(X<a) ⋅ \operatorname{E}(X\midX<a)\geq0
Given a non-negative random variable
X
\operatorname{E}(X\midX<a)\geq0
X\geq0
\operatorname{P}(X<a)\geq0
\operatorname{P}(X<a) ⋅ \operatorname{E}(X\midX<a)\geq0
This is intuitive since conditioning on
X<a
Property 2:
\operatorname{P}(X\geqa) ⋅ \operatorname{E}(X\midX\geqa)\geqa ⋅ \operatorname{P}(X\geqa)
For
X\geqa
X\geqa
a.\operatorname{E}(X\midX\geqa)\geqa
\operatorname{P}(X\geqa)
\operatorname{P}(X\geqa) ⋅ \operatorname{E}(X\midX\geqa)\geqa ⋅ \operatorname{P}(X\geqa)
This is intuitive since all values considered are at least
a
a
Hence intuitively,
\operatorname{E}(X)\geq\operatorname{P}(X\geqa) ⋅ \operatorname{E}(X|X\geqa)\geqa ⋅ \operatorname{P}(X\geqa)
\operatorname{P}(X\geqa)\leq
\operatorname{E | |
(X)}{a} |
Method 1:From the definition of expectation:
infty | |
\operatorname{E}(X)=\int | |
-infty |
xf(x)dx
However, X is a non-negative random variable thus,
infty | |
\operatorname{E}(X)=\int | |
-infty |
xf(x)dx=
infty | |
\int | |
0 |
xf(x)dx
From this we can derive,
a | |
\operatorname{E}(X)=\int | |
0 |
xf(x)dx+
infty | |
\int | |
a |
xf(x)dx\ge
infty | |
\int | |
a |
xf(x)dx
infty | |
\ge\int | |
a |
af(x)dx=
infty | |
a\int | |
a |
f(x)dx=a\operatorname{Pr}(X\gea)
From here, dividing through by
a
\Pr(X\gea)\le\operatorname{E}(X)/a
Method 2:For any event
E
IE
E
IE=1
E
IE=0
Using this notation, we have
I(X\geq=1
X\geqa
I(X\geq=0
X<a
a>0
aI(X\leqX
which is clear if we consider the two possible values of
X\geqa
X<a
I(X\geq=0
aI(X\geq=0\leqX
X\geqa
IX\geq=1
aIX\geq=a\leqX
Since
\operatorname{E}
\operatorname{E}(aI(X)\leq\operatorname{E}(X).
Now, using linearity of expectations, the left side of this inequality is the same as
a\operatorname{E}(I(X)=a(1 ⋅ \operatorname{P}(X\geqa)+0 ⋅ \operatorname{P}(X<a))=a\operatorname{P}(X\geqa).
Thus we have
a\operatorname{P}(X\geqa)\leq\operatorname{E}(X)
and since a > 0, we can divide both sides by a.
We may assume that the function
f
s(x)= \begin{cases} \varepsilon,&iff(x)\geq\varepsilon\\ 0,&iff(x)<\varepsilon \end{cases}
Then
0\leqs(x)\leqf(x)
\intXf(x)d\mu\geq\intXs(x)d\mu=\varepsilon\mu(\{x\inX:f(x)\geq\varepsilon\})
and since
\varepsilon>0
\varepsilon
\mu(\{x\inX:f(x)\geq\varepsilon\})\leq{1\over\varepsilon}\intXfd\mu.
We now provide a proof for the special case when
X
Let
a
a\operatorname{Pr}(X>a)
=a\operatorname{Pr}(X=a+1)+a\operatorname{Pr}(X=a+2)+a\operatorname{Pr}(X=a+3)+...
\leqa\operatorname{Pr}(X=a)+(a+1)\operatorname{Pr}(X=a+1)+(a+2)\operatorname{Pr}(X=a+2)+...
\leq\operatorname{Pr}(X=1)+2\operatorname{Pr}(X=2)+3\operatorname{Pr}(X=3)+...
+a\operatorname{Pr}(X=a)+(a+1)\operatorname{Pr}(X=a+1)+(a+2)\operatorname{Pr}(X=a+2)+...
=\operatorname{E}(X)
Dividing by
a
Chebyshev's inequality uses the variance to bound the probability that a random variable deviates far from the mean. Specifically,
\operatorname{P}(|X-\operatorname{E}(X)|\geqa)\leq
\operatorname{Var | |
(X)}{a |
2},
for any . Here is the variance of X, defined as:
\operatorname{Var}(X)=\operatorname{E}[(X-\operatorname{E}(X))2].
Chebyshev's inequality follows from Markov's inequality by considering the random variable
(X-\operatorname{E}(X))2
and the constant
a2,
\operatorname{P}((X-\operatorname{E}(X))2\gea2)\le
\operatorname{Var | |
(X)}{a |
2}.
This argument can be summarized (where "MI" indicates use of Markov's inequality):
\operatorname{P}(|X-\operatorname{E}(X)|\geqa)=\operatorname{P}\left((X-\operatorname{E}(X))2\geqa2\right)\overset{\underset{MI
\operatornameP(|X|\gea)=\operatornameP(\varphi(|X|)\ge\varphi(a))\overset{\underset{MI
QX(1-p)\leq
\operatornameE(X) | |
p |
,
the proof using
p\leq\operatornameP(X\geqQX(1-p))\overset{\underset{MI
M\succeq0
A\succ0
\operatorname{P}(M\npreceqA)\leq\operatorname{tr}(\operatornameE(X)A-1)
which can be proved similarly.[5]
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.[6]
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 do at least 10 mistakes is 0.4 as
\operatorname{P}(X\geq10)\leq
\operatorname{E | |
(X)}{\alpha} |
=
4 | |
10 |
.