Math 2.0

Probability theory and stochastic processes Proof

Proof of the tail sum formula for expectation by dyadic approximation

Builds on Expected valueRandom variableBorel sigma-algebraMonotonicity of probabilityIndicator functionIntegral of a non-negative functionLinearity of expectationMonotone convergence theoremMonotone functions are Riemann integrableAdditivity of the integral over intervalsMonotonicity of the integral

Proof

We write XX as a series of indicators and use monotone convergence. For the integral we compare with sums over a fine dyadic grid.

  1. Let XX be a random variable on (Ω,ℱ,P)(\Omega, \mathcal{F}, P) with values in [0,∞)[0, \infty). For t≥0t \ge 0 the set (t,∞)(t, \infty) is open, hence a Borel set. The set [t,∞)[t, \infty) is the complement of the open set (−∞,t)(-\infty, t), so it is Borel too. So {X>t}\set{X > t} and {X≥t}\set{X \ge t} are events.
  2. We first prove a lemma. Let A1,A2,…A_1, A_2, \dots be events, let c1,c2,⋯≥0c_1, c_2, \dots \ge 0, and let Z(ω)=∑n=1∞cn𝟏An(ω)∈[0,∞]Z(\omega) = \sum_{n=1}^{\infty} c_n \mathbf{1}_{A_n}(\omega) \in [0, \infty]. We claim E[Z]=∑n=1∞cnP(An)E[Z] = \sum_{n=1}^{\infty} c_n P(A_n).
  3. An indicator 𝟏A\mathbf{1}_A is a simple function. By the integral of a non-negative function, E[𝟏A]=P(A)≤1E[\mathbf{1}_A] = P(A) \le 1, so 𝟏A\mathbf{1}_A is integrable.
  4. Let SN=∑n=1Ncn𝟏AnS_N = \sum_{n=1}^{N} c_n \mathbf{1}_{A_n}. By linearity of expectation and induction on NN, SNS_N is integrable and E[SN]=∑n=1NcnP(An)E[S_N] = \sum_{n=1}^{N} c_n P(A_n).
  5. The functions SNS_N are nonnegative and nondecreasing in NN, with limit ZZ. By the monotone convergence theorem, ZZ is measurable and E[Z]=lim⁡NE[SN]=∑ncnP(An)E[Z] = \lim_N E[S_N] = \sum_{n} c_n P(A_n).
  6. Integer case. Let XX take values in {0,1,2,… }\set{0, 1, 2, \dots}. For each ω\omega, the indices n≥1n \ge 1 with X(ω)≥nX(\omega) \ge n are 1,…,X(ω)1, \dots, X(\omega). So ∑n≥1𝟏{X≥n}(ω)=X(ω)\sum_{n \ge 1} \mathbf{1}_{\set{X \ge n}}(\omega) = X(\omega).
  7. The lemma with cn=1c_n = 1 and An={X≥n}A_n = \set{X \ge n} gives E[X]=∑n=1∞P(X≥n)E[X] = \sum_{n=1}^{\infty} P(X \ge n).
  8. General case. Let G(t)=P(X>t)G(t) = P(X > t) for t≥0t \ge 0. If s≤ts \le t, then {X>t}⊆{X>s}\set{X > t} \subseteq \set{X > s}. By monotonicity of probability, GG is nonincreasing, with values in [0,1][0, 1].
  9. By monotone functions are Riemann integrable, GG is integrable on each [0,T][0, T]. We read ∫0∞G(t) dt\int_0^\infty G(t) \, dt as I=lim⁡T→∞∫0TG(t) dtI = \lim_{T \to \infty} \int_0^T G(t) \, dt.
  10. This limit exists in [0,∞][0, \infty]. By the additivity over intervals and the monotonicity of the integral, ∫0T′G=∫0TG+∫TT′G≥∫0TG\int_0^{T'} G = \int_0^T G + \int_T^{T'} G \ge \int_0^T G for T<T′T < T'.
  11. Fix m≥1m \ge 1 and let h=2−mh = 2^{-m}. Let Zm=∑n=1∞h𝟏{X>nh}Z_m = \sum_{n=1}^{\infty} h \mathbf{1}_{\set{X > nh}}. Then Zm(ω)=hNm(ω)Z_m(\omega) = h N_m(\omega), where Nm(ω)N_m(\omega) is the number of integers n≥1n \ge 1 with nh<X(ω)nh < X(\omega).
  12. We have X−h≤Zm≤XX - h \le Z_m \le X. Let N=Nm(ω)N = N_m(\omega). Then (N+1)h≥X(ω)(N + 1) h \ge X(\omega), and Nh<X(ω)Nh < X(\omega) if N≥1N \ge 1, while Zm(ω)=0≤X(ω)Z_m(\omega) = 0 \le X(\omega) if N=0N = 0.
  13. The sequence ZmZ_m is nondecreasing in mm. If nh<X(ω)nh < X(\omega), then 2n2n and 2n−12n - 1 satisfy k⋅h/2<X(ω)k \cdot h/2 < X(\omega). So Nm+1≥2NmN_{m+1} \ge 2 N_m, and Zm+1=(h/2)Nm+1≥hNm=ZmZ_{m+1} = (h/2) N_{m+1} \ge h N_m = Z_m.
  14. By steps 12 and 13, ZmZ_m increases to XX. By the monotone convergence theorem, E[Zm]→E[X]E[Z_m] \to E[X] in [0,∞][0, \infty].
  15. By the lemma of step 2, E[Zm]=∑n=1∞h G(nh)E[Z_m] = \sum_{n=1}^{\infty} h \, G(nh).
  16. Let In=∫(n−1)hnhG(t) dtI_n = \int_{(n-1)h}^{nh} G(t) \, dt. On [(n−1)h,nh][(n-1)h, nh] we have G(nh)≤G(t)≤G((n−1)h)G(nh) \le G(t) \le G((n-1)h), by step 8.
  17. By the monotonicity of the integral, comparing with constant functions, h G(nh)≤In≤h G((n−1)h)h \, G(nh) \le I_n \le h \, G((n-1)h).
  18. By additivity over intervals, ∫0NhG=∑n=1NIn\int_0^{Nh} G = \sum_{n=1}^{N} I_n. By step 10, letting N→∞N \to \infty gives I=∑n=1∞InI = \sum_{n=1}^{\infty} I_n.
  19. By steps 15, 17 and 18, E[Zm]=∑n≥1h G(nh)≤∑n≥1In=IE[Z_m] = \sum_{n \ge 1} h \, G(nh) \le \sum_{n \ge 1} I_n = I.
  20. Also I=∑n≥1In≤∑n≥1h G((n−1)h)=h G(0)+∑n≥1h G(nh)≤h+E[Zm]I = \sum_{n \ge 1} I_n \le \sum_{n \ge 1} h \, G((n-1)h) = h \, G(0) + \sum_{n \ge 1} h \, G(nh) \le h + E[Z_m].
  21. So E[Zm]≤I≤E[Zm]+2−mE[Z_m] \le I \le E[Z_m] + 2^{-m} for every m≥1m \ge 1.
  22. If E[X]=∞E[X] = \infty, then E[Zm]→∞E[Z_m] \to \infty by step 14, and step 21 gives I=∞=E[X]I = \infty = E[X].
  23. If E[X]<∞E[X] < \infty, let m→∞m \to \infty in step 21. Both bounds tend to E[X]E[X], so I=E[X]I = E[X]. Thus E[X]=∫0∞P(X>t) dtE[X] = \int_0^\infty P(X > t) \, dt in all cases.

Idea

A nonnegative integer kk equals the number of n≥1n \ge 1 with k≥nk \ge n, so X=∑n𝟏{X≥n}X = \sum_n \mathbf{1}_{\set{X \ge n}}. Taking expectations term by term turns this into the tail sum. For a general XX, the same count on the grid 2−mℤ2^{-m} \Z gives a staircase below XX, and its expectation is a Riemann sum of t↦P(X>t)t \mapsto P(X > t). Refining the grid squeezes both sides together.

Reading path

To understand this page from the ground up, read these 99 pages in order. The foundations come first. The path takes the proofs Proof that Darboux and Riemann integrals agree, Proof of the approximation property of the supremum, Proof of the probability of the complement, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof that monotone functions are Riemann integrable, Proof of the monotonicity of probability, Proof of Riemann's criterion for integrability, Proof of the additivity of the integral over intervals, Proof that the reals are Archimedean from the completeness axiom, Proof of the monotonicity of the integral.

  1. Construction of the reals from Cauchy sequences concept
  2. Element definition
  3. Extended real number line object
  4. Integers object
  5. Integral of a non-negative function concept
  6. Measurable function concept
  7. Measure space concept
  8. Ordered field definition
  9. Partition of an interval definition
  10. Proposition concept
  11. Random experiment concept
  12. Rational numbers object
  13. Real numbers object
  14. Sequence definition
  15. Set bounded above definition
  16. Simple function concept
  17. Strictly monotone function definition
  18. Set definition
  19. Ring of integers statement
  20. Monotone convergence theorem statement
  21. Archimedean ordered field definition
  22. Mesh of a partition definition
  23. Refinement of a partition definition
  24. Riemann sum definition
  25. Disjunction definition
  26. Implication definition
  27. Predicate definition
  28. The reals form a field statement
  29. Real sequence definition
  30. Infimum definition
  31. Supremum definition
  32. Ordered pair definition
  33. Union definition
  34. Riemann integrable function definition
  35. Sample space definition
  36. The rationals form a field statement
  37. Integral of a non-negative function definition
  38. Existential quantifier definition
  39. Universal quantifier definition
  40. Bounded sequence definition
  41. Completeness axiom statement
  42. Cartesian product definition
  43. Riemann integral definition
  44. Subset definition
  45. The rationals form an ordered field statement
  46. Uniqueness quantifier definition
  47. Upper and lower Darboux sums definition
  48. Binary relation definition
  49. Definite integral definition
  50. Universal set definition
  51. Order on the reals definition
  52. Power set definition
  53. Upper and lower Darboux integrals definition
  54. Antisymmetric relation definition
  55. Reflexive relation definition
  56. Transitive relation definition
  57. Complement definition
  58. Function definition
  59. Interval definition
  60. Preorder definition
  61. Sigma-algebra definition
  62. Indicator function definition
  63. Preimage of a set definition
  64. Injective function definition
  65. Partial order definition
  66. Event definition
  67. Monotone function definition
  68. Countable set definition
  69. Borel sigma-algebra definition
  70. Total order definition
  71. Probability axioms concept
  72. Probability measure definition
  73. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  74. Probability space definition
  75. The reals form an ordered field statement
  76. Random variable definition
  77. Proof of the approximation property of the supremum proof
  78. Discrete random variable definition
  79. Random variable with a density definition
  80. Approximation property of the supremum statement
  81. Expected value definition
  82. Proof that the reals are Archimedean from the completeness axiom proof
  83. Linearity of expectation statement
  84. The reals are Archimedean statement
  85. Proof of the probability of the complement proof
  86. Proof of the monotonicity of the integral proof
  87. Proof that Darboux and Riemann integrals agree proof
  88. Probability of the complement statement
  89. Darboux and Riemann integrals agree statement
  90. Monotonicity of the integral statement
  91. Proof of the monotonicity of probability proof
  92. Proof of Riemann's criterion for integrability proof
  93. Monotonicity of probability statement
  94. Riemann's criterion for integrability statement
  95. Proof that monotone functions are Riemann integrable proof
  96. Proof of the additivity of the integral over intervals proof
  97. Additivity of the integral over intervals statement
  98. Monotone functions are Riemann integrable statement
  99. Proof of the tail sum formula for expectation by dyadic approximation proof

Where this leads

3 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Expected_value, Tail-sum formula
About this page
Tag2A71TR7AV7
URIm2://2A71TR7AV7
Kindproof
WritingW0 stub
MSC60A05
ProvesTail sum formula for expectation
UsesExpected value, Random variable, Borel sigma-algebra, Monotonicity of probability, Indicator function, Integral of a non-negative function, Linearity of expectation, Monotone convergence theorem, Monotone functions are Riemann integrable, Additivity of the integral over intervals, Monotonicity of the integral
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.