# 马尔可夫不等式

**马尔可夫不等式**是概率论的一条定理，它指出：一个具有有限期望的非负随机变量，超过一个大阈值的概率只能是有界的：若 \( X \ge 0 \) 且 \( \mathbb{E}[X] < \infty \)，则对每个 \( \lambda > 0 \)，

\[ \mathbb{P}[X \ge \lambda] \le \frac{\mathbb{E}[X]}{\lambda}. \]

除了非负性和有限均值，它对分布别无要求，这使它成为适用最广的尾部界之一，也是最弱的尾部界之一。它因俄国数学家安德烈·安德烈耶维奇·马尔可夫（Andrey Andreyevich Markov，Андрей Андреевич Марков，1856–1922）而得名，他是切比雪夫（Chebyshev）的学生。<sup>[1](https://www.tamuz.caltech.edu/teaching/ma144a/lectures.pdf)</sup><sup> • </sup><sup>[2](https://encyclopediaofmath.org/wiki/Markov%2C_Andrei_Andreevich)</sup>

| 关键事实 | 细节 |
|---|---|
| 陈述 | 对非负 \( X \) 且 \( \mathbb{E}[X] < \infty \)：对每个 \( \lambda > 0 \)，\( \mathbb{P}[X \ge \lambda] \le \mathbb{E}[X]/\lambda \)<sup>[1](https://www.tamuz.caltech.edu/teaching/ma144a/lectures.pdf)</sup> |
| 等价形式 | 对任意 \( c > 0 \)，\( \mathbb{P}[X \ge c\,\mathbb{E}[X]] \le 1/c \)<sup>[3](https://web.stanford.edu/class/archive/cs/cs265/cs265.1224/Lectures/Lecture4/l4.pdf)</sup> |
| 推广形式 | 对递增的 \( g: [0,\infty) \to [0,\infty) \)：\( \mathbb{P}[X \ge a] \le \mathbb{E}[g(X)]/g(a) \)<sup>[4](https://www.maths.dur.ac.uk/users/ostap.hryniv/teaching/Probability2/Probability2-notes.html)</sup> |
| 推论 | 切比雪夫不等式（应用于 \( (X - \mathbb{E}[X])^2 \)）与切尔诺夫界（应用于 \( e^{\theta X} \) 并对 \( \theta \) 优化）<sup>[5](https://courses.cs.washington.edu/courses/cse547/24sp/handouts/CSE547_Proofs_Probability.html)</sup><sup> • </sup><sup>[6](https://cni.iisc.ac.in/courses/random/Probability%20Foundations/lecture-09.html)</sup> |
| 紧性 | 一个两点变量以概率 \( \varepsilon \) 取值 \( y \)、否则取 0，在阈值 \( y \) 处取等号<sup>[7](https://ocw.mit.edu/courses/6-262-discrete-stochastic-processes-spring-2011/6d0c6fbaf3afa16cbc76fc1f27d1d34e_MIT6_262S11_chap01.pdf)</sup> |
| 历史 | 出现于马尔可夫《概率演算》（Ischislenie Veroiatnostei；Calculus of Probabilities）1913 年版；在马尔可夫出生前后，切比雪夫已知道马尔可夫不等式与切比雪夫不等式<sup>[2](https://encyclopediaofmath.org/wiki/Markov%2C_Andrei_Andreevich)</sup><sup> • </sup><sup>[3](https://web.stanford.edu/class/archive/cs/cs265/cs265.1224/Lectures/Lecture4/l4.pdf)</sup> |

## 证明

证明使用指示随机变量：它在某个事件上取 1，在其他地方取 0。令 \( A = \{X \ge \lambda \} \)，并定义 \( Y = \lambda \cdot \mathbf{1}_{\{A\}} \)，于是 \( Y \) 在 \( A \) 上等于 \( \lambda \)，否则为 0。由于 \( X \) 非负，逐点有 \( Y \le X \)，故由期望的单调性得 \( \mathbb{E}[Y] \le \mathbb{E}[X] \)。因为 \( \mathbb{E}[Y] = \lambda \cdot \mathbb{P}[A] \)，两边除以 \( \lambda \) 即得结论。<sup>[1](https://www.tamuz.caltech.edu/teaching/ma144a/lectures.pdf)</sup>

非负性假设正是在这里用到：若没有它，\( X \) 在阈值以下的部分可能为负，比较 \( Y \le X \) 就会失效。该论证适用于任何非负随机变量，无论离散、连续还是其他情形；假定连续性的证明比这个证明更弱。<sup>[8](https://www.studocu.com/en-gb/document/imperial-college-london/probability-and-statistics/lecture-notes-math40005-probability-and-statistics-spring-2024/141822484)</sup> 同一个证明若写成 \( \mathbb{E}[X] \ge \mathbb{E}[X \cdot \mathbf{1}_{\{X \ge \epsilon\}}] \ge \epsilon \, \mathbb{P}[X \ge \epsilon] \)，就是把期望分成两部分并舍弃其中一部分。<sup>[5](https://courses.cs.washington.edu/courses/cse547/24sp/handouts/CSE547_Proofs_Probability.html)</sup>

## 推广

**单调变换。** 该不等式可推广到任意单调非减函数 \( g: [0,\infty) \to [0,\infty) \)：对 \( X \ge 0 \) 与 \( a > 0 \)，

\[ \mathbb{P}[X \ge a] \le \frac{\mathbb{E}[g(X)]}{g(a)}. \]

证明相同，只需把 \( \lambda \) 换成 \( g(a) \)，并在事件 \( \{X \ge a\} \) 上使用 \( g(X) \ge g(a) \)。取 \( g(x) = x \) 即回到经典陈述。<sup>[4](https://www.maths.dur.ac.uk/users/ostap.hryniv/teaching/Probability2/Probability2-notes.html)</sup> 对任意实随机变量的版本使用一个递增的正函数 \( \varphi: \mathbb{R} \to \mathbb{R}_+ \)，当 \( \varphi(t) > 0 \) 时给出 \( \mathbb{P}[X \ge t] \le \mathbb{E}[\varphi(X)]/\varphi(t) \)。<sup>[9](https://www.tropp.caltech.edu/notes/Tro24-Probability-Theory-LN.pdf)</sup>

**高阶矩。** 将 \( g(x) = x^p \) 的一般形式应用于 \( |X| \)，对任意实随机变量与 \( p > 0 \) 得到，

\[ \mathbb{P}[|X| \ge t] \le \frac{\mathbb{E}|X|^p}{t^p}, \]

因此有限的 \( p \) 阶矩迫使尾部概率至少以常数乘以 \( t^{-p} \) 的速度衰减。<sup>[9](https://www.tropp.caltech.edu/notes/Tro24-Probability-Theory-LN.pdf)</sup> 这是矩方法的基础：每多一个有限矩，就得到衰减更快的尾部界。<sup>[10](https://spectrum.ee.iisc.ac.in/teaching/concentration-probability-measures/)</sup>

## 推论

**切比雪夫不等式。** 把马尔可夫不等式应用于非负随机变量 \( (X - \mathbb{E}[X])^2 \)（其期望为方差），得到 \( \mathbb{P}[|X - \mathbb{E}[X]| \ge \epsilon] \le \mathrm{Var}(X)/\epsilon^2 \)。<sup>[5](https://courses.cs.washington.edu/courses/cse547/24sp/handouts/CSE547_Proofs_Probability.html)</sup> 在标准差形式中，偏离均值超过 \( c \) 个标准差的概率至多为 \( 1/c^2 \)。<sup>[3](https://web.stanford.edu/class/archive/cs/cs265/cs265.1224/Lectures/Lecture4/l4.pdf)</sup> 切比雪夫不等式又证明了弱大数定律。<sup>[11](https://utstat.utoronto.ca/mikevans/oldjeffrosenthal/bookwithTOC.pdf)</sup>

**切尔诺夫界。** 对 \( \theta > 0 \) 把马尔可夫不等式应用于 \( e^{\theta X} \)，得到 \( \mathbb{P}[X \ge \epsilon] \le e^{-\theta\epsilon}\,\mathbb{E}[e^{\theta X}] \)；由于 \( \theta \) 任意，可对 \( \theta \) 取极小以得到切尔诺夫界；当矩生成函数有限时，它给出指数小的尾部概率。<sup>[6](https://cni.iisc.ac.in/courses/random/Probability%20Foundations/lecture-09.html)</sup><sup> • </sup><sup>[12](https://stat.cmu.edu/~cshalizi/sml/21/lectures/05/lecture-05.html)</sup> 因此，马尔可夫不等式是尾部界层级体系的共同根源：对于具有相应更多矩结构的变量，切尔诺夫界强于切比雪夫不等式，切比雪夫不等式又强于马尔可夫不等式。<sup>[3](https://web.stanford.edu/class/archive/cs/cs265/cs265.1224/Lectures/Lecture4/l4.pdf)</sup>

**依概率收敛。** 若对某个 \( r > 0 \)，\( X_n \to X \) 在 \( L^r \) 中成立，则把 \( g(x) = x^r \) 的推广不等式应用于 \( |X_n - X| \)，得到 \( \mathbb{P}[|X_n - X| \ge \varepsilon] \le \mathbb{E}|X_n - X|^r / \varepsilon^r \to 0 \)，故 \( L^r \) 收敛蕴含依概率收敛。<sup>[4](https://www.maths.dur.ac.uk/users/ostap.hryniv/teaching/Probability2/Probability2-notes.html)</sup>

## 紧性与弱点

该界只依赖均值，因此无法利用分布的任何其他特征，而且往往非常宽松。若某人群的平均身高为 1.6 米，马尔可夫不等式只说明至多一半的人高于 3.2 米。<sup>[7](https://ocw.mit.edu/courses/6-262-discrete-stochastic-processes-spring-2011/6d0c6fbaf3afa16cbc76fc1f27d1d34e_MIT6_262S11_chap01.pdf)</sup> 对于 \( n \) 次公平掷硬币，至少出现 \( 3n/4 \) 次正面的概率，用马尔可夫不等式界定为 \( 2/3 \)，用切比雪夫不等式界定为 \( 4/n \)，用切尔诺夫界界定为一个指数衰减的量。<sup>[3](https://web.stanford.edu/class/archive/cs/cs265/cs265.1224/Lectures/Lecture4/l4.pdf)</sup>

尽管如此，该界是紧的：没有额外结构信息，就不可能改进。对任意 \( y > 0 \) 与 \( \varepsilon \in (0,1) \)，一个以概率 \( \varepsilon \) 取值 \( y \)、否则取 0 的随机变量均值为 \( \varepsilon y \)，并在阈值 \( y \) 处使马尔可夫不等式取等号。<sup>[7](https://ocw.mit.edu/courses/6-262-discrete-stochastic-processes-spring-2011/6d0c6fbaf3afa16cbc76fc1f27d1d34e_MIT6_262S11_chap01.pdf)</sup> 该不等式也只界定右尾，即 \( X \) 远大于其均值的概率；它对下偏差不置一词。<sup>[13](https://nickhar.wordpress.com/2012/01/09/lecture-2-amplification-by-independent-trials-chernoff-bounds/)</sup> 该界的一个推论是：对任意具有有限均值的非负 \( Y \)，\( \lim_{y \to \infty} y\,\mathbb{P}[Y \ge y] = 0 \)。<sup>[7](https://ocw.mit.edu/courses/6-262-discrete-stochastic-processes-spring-2011/6d0c6fbaf3afa16cbc76fc1f27d1d34e_MIT6_262S11_chap01.pdf)</sup>

## 应用

由于随机变量的均值通常远比其完整分布容易计算，即使原则上已知精确尾部概率，该不等式仍然有用。它被用于那些以均值等简单统计量、而非整个分布函数来陈述的定理。<sup>[7](https://ocw.mit.edu/courses/6-262-discrete-stochastic-processes-spring-2011/6d0c6fbaf3afa16cbc76fc1f27d1d34e_MIT6_262S11_chap01.pdf)</sup>

在随机算法的分析中，运行时间非负，因此马尔可夫不等式总是适用。由于常数成功概率往往就够用——独立重复会使失败概率指数下降——所以即使这个简单的界也可以接受。对于期望运行时间为 \( 2n \log n \) 的快速排序（quicksort），马尔可夫不等式表明算法耗时超过 \( 2c \cdot n \log n \) 的概率至多为 \( 1/c \)。<sup>[3](https://web.stanford.edu/class/archive/cs/cs265/cs265.1224/Lectures/Lecture4/l4.pdf)</sup><sup> • </sup><sup>[14](https://cs.uwaterloo.ca/~r5olivei/courses/2025-spring-cs466/lecture-notes/lecture3/)</sup> 在优惠券收集问题（coupon collector problem）中，由马尔可夫不等式，未能在 \( 2n \log n \) 天内集齐全部 \( n \) 种优惠券的概率至多为 \( 1/2 + o(1) \)。<sup>[3](https://web.stanford.edu/class/archive/cs/cs265/cs265.1224/Lectures/Lecture4/l4.pdf)</sup>

## 历史与命名

这一结果出现于马尔可夫《概率演算》1913 年版；《数学百科全书》（Encyclopedia of Mathematics）称它比比安内梅-切比雪夫不等式（Bienaymé-Chebyshev inequality）更基本，尽管比安内梅所用的简单证明经修改后也能证明它。<sup>[2](https://encyclopediaofmath.org/wiki/Markov%2C_Andrei_Andreevich)</sup> 这一归属在历史上有一种具体的偏差：切比雪夫是马尔可夫的老师，而在马尔可夫 1856 年出生前后，切比雪夫已知道这两个不等式；切比雪夫不等式最初由比安内梅表述，但第一个证明很可能出自切比雪夫。<sup>[3](https://web.stanford.edu/class/archive/cs/cs265/cs265.1224/Lectures/Lecture4/l4.pdf)</sup> 在测度论形式中，对非负可测函数 \( f \)，有 \( \mu\{x : \varepsilon \le f(x)\} \le (\int f \, d\mu)/\varepsilon \)；这一结果也称为切比雪夫第一不等式（Chebyshev's first inequality）。<sup>[15](https://teorth.github.io/analysis/docs/Mathlib/MeasureTheory/Integral/Lebesgue/Markov.html)</sup> 这个名字不应与无关的马尔可夫多项式不等式（Markov inequality for polynomials）混淆；后者在区间上以多项式次数的平方 \( n^2 \) 乘以其最大值来界定多项式的导数。<sup>[16](https://encyclopediaofmath.org/wiki/Markov-Bernstein-type_inequalities)</sup>

## References

1. [Lecture Notes on Probability, MA144A, Caltech (Omer Tamuz)](https://www.tamuz.caltech.edu/teaching/ma144a/lectures.pdf)
2. [Markov, Andrei Andreevich, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Markov%2C_Andrei_Andreevich)
3. [CS265/CME309 Lecture 4, Stanford (Gregory Valiant)](https://web.stanford.edu/class/archive/cs/cs265/cs265.1224/Lectures/Lecture4/l4.pdf)
4. [Probability II lecture notes, Durham University (Ostap Hryniv)](https://www.maths.dur.ac.uk/users/ostap.hryniv/teaching/Probability2/Probability2-notes.html)
5. [Proofs: Probability, CSE 547, University of Washington](https://courses.cs.washington.edu/courses/cse547/24sp/handouts/CSE547_Proofs_Probability.html)
6. [Moments and L^p spaces, Probability and Random Processes, IISc (Parimal Parag)](https://cni.iisc.ac.in/courses/random/Probability%20Foundations/lecture-09.html)
7. [Discrete Stochastic Processes, Chapter 1, MIT OpenCourseWare 6.262](https://ocw.mit.edu/courses/6-262-discrete-stochastic-processes-spring-2011/6d0c6fbaf3afa16cbc76fc1f27d1d34e_MIT6_262S11_chap01.pdf)
8. [Lecture Notes MATH40005: Probability and Statistics, Imperial College London](https://www.studocu.com/en-gb/document/imperial-college-london/probability-and-statistics/lecture-notes-math40005-probability-and-statistics-spring-2024/141822484)
9. [Probability Theory and Stochastic Processes, Caltech CMS 117 (Joel Tropp)](https://www.tropp.caltech.edu/notes/Tro24-Probability-Theory-LN.pdf)
10. [Module II: Concentration of Probability Measures, Spectrum Lab, IISc](https://spectrum.ee.iisc.ac.in/teaching/concentration-probability-measures/)
11. [Chapter 3: Expectation, Introduction to Probability (Jeffrey Rosenthal), University of Toronto](https://utstat.utoronto.ca/mikevans/oldjeffrosenthal/bookwithTOC.pdf)
12. [Deviation Bounds I: Markov Inequality etc., CMU 10-725 (Cosma Shalizi)](https://stat.cmu.edu/~cshalizi/sml/21/lectures/05/lecture-05.html)
13. [Lecture 2: Markov Inequality, Amplification by Independent Trials, Chernoff Bounds, UBC CPSC 536N (Nick Harvey)](https://nickhar.wordpress.com/2012/01/09/lecture-2-amplification-by-independent-trials-chernoff-bounds/)
14. [Concentration Inequalities, CS 466, University of Waterloo (Rafael Oliveira)](https://cs.uwaterloo.ca/~r5olivei/courses/2025-spring-cs466/lecture-notes/lecture3/)
15. [Mathlib.MeasureTheory.Integral.Lebesgue.Markov, Lean mathematical library documentation](https://teorth.github.io/analysis/docs/Mathlib/MeasureTheory/Integral/Lebesgue/Markov.html)
16. [Markov-Bernstein-type inequalities, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Markov-Bernstein-type_inequalities)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026; Oct 25, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Probability theory › Expectation, moments, and inequalities › Markov- and Chebyshev-type inequalities

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/markovs-inequality

English original: https://www.edgepedia.org/markovs-inequality
