Math 2.0

Probability theory and stochastic processes Proof

Proof of the mean of the geometric distribution

Builds on Geometric distributionProbability mass functionLaw of a random variableExpected valueLaw of the unconscious statisticianIntegral of a non-negative functionLebesgue integralSimple functionFubini's theorem for seriesSum of a finite geometric seriesThe sequence r^n tends to zero for |r| < 1Linearity of expectation

Proof

We express E[X]E[X] as a series, evaluate it by exchanging a double sum, and then pass to T=X+1T = X + 1.

  1. Let p∈(0,1]p \in (0, 1], q=1−p∈[0,1)q = 1 - p \in [0, 1), S={0,1,2,… }S = \set{0, 1, 2, \dots} and p(k)=qkpp(k) = q^k p for k∈Sk \in S.
  2. Let μ\mu be the law of XX. Since XX has the geometric distribution, μ(B)=∑k∈B∩Sp(k)\mu(B) = \sum_{k \in B \cap S} p(k) for each Borel set B⊆ℝB \subseteq \R. In particular μ({k})=p(k)\mu(\set{k}) = p(k) for k∈Sk \in S.
  3. Let h ⁣:ℝ→[0,∞)h \colon \R \to [0, \infty) be Borel measurable. We show ∫ℝh dμ=∑k∈Sh(k) p(k)\int_\R h \, d\mu = \sum_{k \in S} h(k) \, p(k) in [0,∞][0, \infty], using the integral of a non-negative function.
  4. Let s=∑i=1mai𝟏Ais = \sum_{i=1}^{m} a_i \mathbf{1}_{A_i} be a simple function with 0≤s≤h0 \le s \le h, ai≥0a_i \ge 0 and pairwise disjoint Borel sets AiA_i. By step 2, ∫s dμ=∑iai∑k∈Ai∩Sp(k)\int s \, d\mu = \sum_{i} a_i \sum_{k \in A_i \cap S} p(k).
  5. Each k∈Sk \in S lies in at most one AiA_i, and s(k)=ais(k) = a_i when k∈Aik \in A_i. All terms are nonnegative, so the sum in step 4 equals ∑k∈Ss(k) p(k)≤∑k∈Sh(k) p(k)\sum_{k \in S} s(k) \, p(k) \le \sum_{k \in S} h(k) \, p(k).
  6. Taking the supremum over all such ss gives ∫h dμ≤∑k∈Sh(k) p(k)\int h \, d\mu \le \sum_{k \in S} h(k) \, p(k).
  7. For each NN, the function sN=∑k=0Nh(k)𝟏{k}s_N = \sum_{k=0}^{N} h(k) \mathbf{1}_{\set{k}} is simple with 0≤sN≤h0 \le s_N \le h. So ∑k=0Nh(k) p(k)=∫sN dμ≤∫h dμ\sum_{k=0}^{N} h(k) \, p(k) = \int s_N \, d\mu \le \int h \, d\mu.
  8. Letting N→∞N \to \infty in step 7 gives ∑k∈Sh(k) p(k)≤∫h dμ\sum_{k \in S} h(k) \, p(k) \le \int h \, d\mu. With step 6, equality holds.
  9. We compute ∑k∈Sk p(k)\sum_{k \in S} k \, p(k). For integers n,k≥0n, k \ge 0 let an,k=qkpa_{n,k} = q^k p if 1≤n≤k1 \le n \le k, and an,k=0a_{n,k} = 0 otherwise. All an,ka_{n,k} are nonnegative.
  10. For fixed kk, we have an,k=qkpa_{n,k} = q^k p for the kk indices 1≤n≤k1 \le n \le k and an,k=0a_{n,k} = 0 otherwise. So ∑n=0∞an,k=kqkp\sum_{n=0}^{\infty} a_{n,k} = k q^k p.
  11. For fixed n≥1n \ge 1 and N≥nN \ge n, the finite geometric sum with ratio q≠1q \ne 1 gives ∑k=nNqkp=qnp 1−qN−n+11−q=qn(1−qN−n+1)\sum_{k=n}^{N} q^k p = q^n p \, \dfrac{1 - q^{N-n+1}}{1 - q} = q^n (1 - q^{N-n+1}).
  12. Since 0≤q<10 \le q < 1, we have qm→0q^m \to 0. So by step 11, ∑k=0∞an,k=qn\sum_{k=0}^{\infty} a_{n,k} = q^n for n≥1n \ge 1. For n=0n = 0 this sum is 00.
  13. By Fubini's theorem for series, both iterated sums of (an,k)(a_{n,k}) equal the sum over all pairs. This sum does not depend on the order of the indices, because it is a supremum of finite sums.
  14. So steps 10 and 12 give ∑k=0∞kqkp=∑n=1∞qn\sum_{k=0}^{\infty} k q^k p = \sum_{n=1}^{\infty} q^n.
  15. By the finite geometric sum, ∑n=1Mqn=q 1−qM1−q\sum_{n=1}^{M} q^n = q \, \dfrac{1 - q^M}{1 - q}. This tends to q1−q=1−pp\dfrac{q}{1 - q} = \dfrac{1 - p}{p} as M→∞M \to \infty, since qM→0q^M \to 0.
  16. Step 3 with h(x)=∣x∣h(x) = \abs{x} and step 15 give ∫∣x∣ μ(dx)=(1−p)/p<∞\int \abs{x} \, \mu(dx) = (1 - p)/p < \infty.
  17. By the law of the unconscious statistician with g(x)=xg(x) = x, XX is integrable and E[X]=∫ℝx μ(dx)E[X] = \int_\R x \, \mu(dx).
  18. By the definition of the Lebesgue integral, ∫x μ(dx)=∫x+ μ(dx)−∫x− μ(dx)\int x \, \mu(dx) = \int x^+ \, \mu(dx) - \int x^- \, \mu(dx), with x+=max⁡(x,0)x^+ = \max(x, 0) and x−=max⁡(−x,0)x^- = \max(-x, 0).
  19. On SS we have x+=xx^+ = x and x−=0x^- = 0. Step 3 and step 15 give ∫x+ dμ=(1−p)/p\int x^+ \, d\mu = (1 - p)/p and ∫x− dμ=0\int x^- \, d\mu = 0. So E[X]=(1−p)/pE[X] = (1 - p)/p.
  20. The constant random variable 1=𝟏Ω1 = \mathbf{1}_\Omega is simple, with E[1]=P(Ω)=1E[1] = P(\Omega) = 1. So it is integrable.
  21. By linearity of expectation, T=X+1T = X + 1 is integrable and E[T]=E[X]+1=1−pp+1=1pE[T] = E[X] + 1 = \dfrac{1 - p}{p} + 1 = \dfrac{1}{p}.

Idea

The weight kk in ∑kkqkp\sum_k k q^k p is a count, k=∑n=1k1k = \sum_{n=1}^{k} 1. Writing it this way and summing in the other order turns the series into ∑n≥1P(X≥n)\sum_{n \ge 1} P(X \ge n), where each tail P(X≥n)=qnP(X \ge n) = q^n is a geometric sum. A last geometric series gives (1−p)/p(1 - p)/p, and adding 11 gives the mean of TT.

Reading path

To understand this page from the ground up, read these 269 pages in order. The foundations come first. The path takes the proofs Proof that Darboux and Riemann integrals agree, Proof of the limit of a sum of sequences, Proof of the approximation property of the supremum, Proof that every sequence has a monotone subsequence, by peaks, Proof that open sets are the sets that are neighbourhoods of all their points, Proof of the commutativity of addition by induction, Proof of the Lebesgue number lemma by a finite cover of balls, Proof of the epsilon-delta form of continuity, Proof of Fubini's theorem for Riemann integrals on a rectangle, Proof of the sum of a finite geometric series, Proof of the Heine–Borel theorem by sequential compactness, Proof that there is a natural number n with 1/n below any positive epsilon, Proof that continuous functions on a closed bounded interval are uniformly continuous, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof of the double negation law by a truth table, Proof of the extreme value theorem by the Bolzano–Weierstrass theorem, Proof that compact subsets of a metric space are bounded, Proof that compactness and sequential compactness agree in metric spaces, Proof that subsequences of a convergent sequence converge to the same limit, Proof of the uniqueness of limits, Proof of strong induction from ordinary induction, Proof of the squeeze theorem for sequences, Proof that a continuous image of a compact set is compact, Proof of the Heine–Cantor theorem by a finite cover of balls, Proof that compact subsets of a Hausdorff space are closed, Proof of epsilon-delta continuity at a point in metric spaces, Proof of Riemann's criterion for integrability, Proof of the description of the open sets of a metric space, Proof of the triangle inequality for real numbers, Proof of the epsilon-N definition of the limit of a sequence, Proof that compactness of a subset can be tested with open sets of the ambient space, Proof of the existence of the infimum by negation, Proof that limits preserve non-strict inequalities, Proof that closed sets contain their limits, Proof that metric spaces are Hausdorff, Proof of the sequence characterisation of uniform continuity, Proof of the well-ordering principle from strong induction, Proof of the Bolzano–Weierstrass theorem by a monotone subsequence, Proof of the Archimedean property in an Archimedean ordered field, Proof that a continuous real function on a compact set attains its bounds, Proof of the additivity of the integral over intervals, Proof that a decreasing sequence bounded below converges, Proof that the reals are Archimedean from the completeness axiom, Proof that convergent sequences are bounded, Proof of the monotone convergence theorem for sequences, Proof that continuity is equivalent to sequential continuity, Proof that open balls are open, Proof of the monotonicity of the integral, Proof of the boundedness theorem by Bolzano–Weierstrass, Proof of continuity via open sets in metric spaces, Proof that continuous functions are Riemann integrable.

  1. Construction of the reals from Cauchy sequences concept
  2. Definition by recursion concept
  3. Element definition
  4. Euclidean metric example
  5. Euclidean space object
  6. Extended real number line object
  7. Function concept
  8. Integers object
  9. Integrable function concept
  10. Integral of a non-negative function concept
  11. Limit point of a set definition
  12. Mathematical induction concept
  13. Measurable function concept
  14. Measure space concept
  15. Natural numbers object
  16. Net concept
  17. Ordered field definition
  18. Partition of an interval definition
  19. Peano axioms concept
  20. Proposition concept
  21. Random experiment concept
  22. Rational numbers object
  23. Real numbers object
  24. Sequence definition
  25. Set bounded above definition
  26. Simple function concept
  27. Vector space definition
  28. Set definition
  29. Function of several variables concept
  30. Ring of integers statement
  31. Lebesgue integral definition
  32. Limit of a function definition
  33. Double sequence definition
  34. Archimedean ordered field definition
  35. Successor function definition
  36. Mesh of a partition definition
  37. Refinement of a partition definition
  38. Riemann sum definition
  39. Conjunction definition
  40. Disjunction definition
  41. Implication definition
  42. Negation definition
  43. Predicate definition
  44. Bernoulli trial concept
  45. The reals form a field statement
  46. Real sequence definition
  47. Subsequence definition
  48. Infimum definition
  49. Supremum definition
  50. Norm definition
  51. Empty set object
  52. Family of sets definition
  53. Ordered pair definition
  54. Iterated integral definition
  55. Limit of a function of several variables concept
  56. Continuity at a point definition
  57. Intersection definition
  58. Union definition
  59. Addition of natural numbers definition
  60. Riemann integrable function definition
  61. Sample space definition
  62. Proof of the Archimedean property in an Archimedean ordered field proof
  63. The rationals form a field statement
  64. Biconditional definition
  65. The successor function is injective statement
  66. Truth table concept
  67. Zero is not a successor statement
  68. Modus ponens concept
  69. Existential quantifier definition
  70. Universal quantifier definition
  71. Integral of a non-negative function definition
  72. Bounded sequence definition
  73. Geometric sequence definition
  74. Limit of a sequence definition
  75. Monotone sequence definition
  76. Series definition
  77. Normed vector space definition
  78. Completeness axiom statement
  79. Cartesian product definition
  80. Continuity in R^n definition
  81. Continuous function definition
  82. Archimedean property statement
  83. Subset definition
  84. Proof of the commutativity of addition by induction proof
  85. Union of a family of sets definition
  86. Riemann integral definition
  87. Order on the natural numbers definition
  88. Propositional logic concept
  89. The rationals form an ordered field statement
  90. Mathematical proof concept
  91. Uniqueness quantifier definition
  92. Upper and lower Darboux sums definition
  93. Proof of the sum of a finite geometric series proof
  94. Convergent sequence definition
  95. Sequential continuity definition
  96. Partial sum definition
  97. Double integral definition
  98. Binary relation definition
  99. Universal set definition
  100. Power set definition
  101. Topological space definition
  102. Order on the reals definition
  103. Definite integral definition
  104. Commutativity of addition statement
  105. Proof of strong induction from ordinary induction proof
  106. Tautology definition
  107. Upper and lower Darboux integrals definition
  108. Sum of a finite geometric series statement
  109. Convergent series definition
  110. Antisymmetric relation definition
  111. Reflexive relation definition
  112. Transitive relation definition
  113. Complement definition
  114. Sequential compactness definition
  115. Subspace topology definition
  116. Interval definition
  117. Function definition
  118. Strong induction statement
  119. Logical equivalence definition
  120. Absolute convergence definition
  121. Preorder definition
  122. Sigma-algebra definition
  123. Image of a set definition
  124. Preimage of a set definition
  125. Proof of the epsilon-delta form of continuity proof
  126. Codomain definition
  127. Injective function definition
  128. Proof of the well-ordering principle from strong induction proof
  129. Metric space definition
  130. Proof of the double negation law by a truth table proof
  131. Partial order definition
  132. Epsilon-delta definition of continuity statement
  133. Event definition
  134. Countable set definition
  135. Surjective function definition
  136. Closed ball definition
  137. Convergence of a sequence in a metric space definition
  138. Open ball definition
  139. Triangle inequality for a metric statement
  140. Well-ordering principle statement
  141. Borel sigma-algebra definition
  142. Double negation law statement
  143. Diameter of a set definition
  144. Total order definition
  145. Uniform continuity definition
  146. Probability axioms concept
  147. Bijective function definition
  148. Metric topology definition
  149. Bounded set definition
  150. Proof by contradiction concept
  151. Proof that every sequence has a monotone subsequence, by peaks proof
  152. Uniform continuity on a set definition
  153. Equinumerous sets definition
  154. Probability measure definition
  155. Open set definition
  156. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  157. Every sequence has a monotone subsequence statement
  158. Finite set definition
  159. Closed set definition
  160. Continuous map of topological spaces definition
  161. Hausdorff space definition
  162. Probability space definition
  163. Proof that open sets are the sets that are neighbourhoods of all their points proof
  164. Open cover definition
  165. Proof of the description of the open sets of a metric space proof
  166. Probability distribution definition
  167. The reals form an ordered field statement
  168. Open sets characterised by neighbourhoods statement
  169. Random variable definition
  170. Open sets of a metric space statement
  171. Compact space definition
  172. Absolute value definition
  173. Summation of families over arbitrary index sets definition
  174. Proof of the approximation property of the supremum proof
  175. Proof of the existence of the infimum by negation proof
  176. Discrete random variable definition
  177. Continuity at a point of a topological space definition
  178. Compact set definition
  179. Cumulative distribution function definition
  180. Law of a random variable definition
  181. Proof that closed sets contain their limits proof
  182. Random variable with a density definition
  183. Proof that open balls are open proof
  184. Proof of the triangle inequality for real numbers proof
  185. Proof of the epsilon-N definition of the limit of a sequence proof
  186. Approximation property of the supremum statement
  187. Existence of the infimum statement
  188. Probability mass function definition
  189. Expected value definition
  190. Closed sets contain their limits statement
  191. Proof that compactness of a subset can be tested with open sets of the ambient space proof
  192. Probability density function definition
  193. Open balls are open statement
  194. Triangle inequality statement
  195. Epsilon-N definition of the limit of a sequence statement
  196. Proof that the reals are Archimedean from the completeness axiom proof
  197. Linearity of expectation statement
  198. Law of the unconscious statistician statement
  199. Proof of epsilon-delta continuity at a point in metric spaces proof
  200. Compactness via open covers statement
  201. Proof of continuity via open sets in metric spaces proof
  202. Proof of the squeeze theorem for sequences proof
  203. Proof that limits preserve non-strict inequalities proof
  204. Proof that metric spaces are Hausdorff proof
  205. Proof of the uniqueness of limits proof
  206. Proof of the Lebesgue number lemma by a finite cover of balls proof
  207. Proof of the limit of a sum of sequences proof
  208. Geometric distribution definition
  209. Proof that convergent sequences are bounded proof
  210. Proof that subsequences of a convergent sequence converge to the same limit proof
  211. The reals are Archimedean statement
  212. Proof of the monotone convergence theorem for sequences proof
  213. Proof that a continuous image of a compact set is compact proof
  214. Proof that compact subsets of a Hausdorff space are closed proof
  215. Epsilon-delta continuity in metric spaces statement
  216. Proof that compact subsets of a metric space are bounded proof
  217. Metric spaces are Hausdorff statement
  218. Proof that compactness and sequential compactness agree in metric spaces proof
  219. Lebesgue number lemma statement
  220. Proof of the sequence characterisation of uniform continuity proof
  221. Proof of the monotonicity of the integral proof
  222. Limits preserve non-strict inequalities statement
  223. Proof that Darboux and Riemann integrals agree proof
  224. Uniqueness of limits statement
  225. Proof that there is a natural number n with 1/n below any positive epsilon proof
  226. Limit of a sum of sequences statement
  227. Convergent sequences are bounded statement
  228. Squeeze theorem statement
  229. Subsequences of a convergent sequence converge to the same limit statement
  230. Monotone convergence theorem for sequences statement
  231. Continuous image of a compact set is compact statement
  232. Compact subsets of a Hausdorff space are closed statement
  233. Continuity via open sets statement
  234. Compactness and sequential compactness agree in metric spaces statement
  235. Compact subsets of a metric space are bounded statement
  236. Epsilon-delta uniform continuity statement
  237. Monotonicity of the integral statement
  238. Darboux and Riemann integrals agree statement
  239. There is a natural number n with 1/n below any positive epsilon statement
  240. Proof that a decreasing sequence bounded below converges proof
  241. The sequence r^n tends to zero for |r| < 1 example
  242. Proof of the Heine–Cantor theorem by a finite cover of balls proof
  243. Proof that continuity is equivalent to sequential continuity proof
  244. Proof of Riemann's criterion for integrability proof
  245. Decreasing sequence bounded below converges statement
  246. Heine–Cantor theorem statement
  247. Continuity is equivalent to sequential continuity statement
  248. Riemann's criterion for integrability statement
  249. Proof of the Bolzano–Weierstrass theorem by a monotone subsequence proof
  250. Proof of the additivity of the integral over intervals proof
  251. Bolzano–Weierstrass theorem statement
  252. Additivity of the integral over intervals statement
  253. Proof that continuous functions on a closed bounded interval are uniformly continuous proof
  254. Proof of the Heine–Borel theorem by sequential compactness proof
  255. Proof of the boundedness theorem by Bolzano–Weierstrass proof
  256. Continuous functions on a closed bounded interval are uniformly continuous statement
  257. Boundedness theorem statement
  258. Heine–Borel theorem statement
  259. Proof that a continuous real function on a compact set attains its bounds proof
  260. Proof of the extreme value theorem by the Bolzano–Weierstrass theorem proof
  261. Extreme value theorem statement
  262. Continuous real function on a compact set attains its bounds statement
  263. Proof that continuous functions are Riemann integrable proof
  264. Continuous functions are Riemann integrable statement
  265. Proof of Fubini's theorem for Riemann integrals on a rectangle proof
  266. Fubini's theorem statement
  267. Tonelli's theorem statement
  268. Fubini's theorem for series statement
  269. Proof of the mean of the geometric distribution proof

Where this leads

2 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Geometric_distribution
About this page
TagHEKPB3AM57
URIm2://HEKPB3AM57
Kindproof
WritingW0 stub
MSC60E05
ProvesMean of the geometric distribution
UsesGeometric distribution, Probability mass function, Law of a random variable, Expected value, Law of the unconscious statistician, Integral of a non-negative function, Lebesgue integral, Simple function, Fubini's theorem for series, Sum of a finite geometric series, The sequence r^n tends to zero for |r| < 1, Linearity of expectation
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)
  • a source with a locator (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.