Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's suppose we know that if $X \ge 0$ and X is integer-valued, then: $$E(X) = \sum_{n \ge 1} Pr(X \ge n)$$ For more info please visit: Proof of $\sum_{k=0}^n k \text{Pr}(X=k) = \sum^{n-1}_{k=0} \text{Pr}(X>k) -n \text{Pr}(X>n)$

My question is how to get $E(X^2)$.


share|cite|improve this question
see this thread… – Jean-Sébastien Nov 7 '12 at 3:18
Thanks @Jean-Sébastien. Do you have any hint on how to get E(X^2). I'll edit my question and I'll ask E(X^2) part only. – user48405 Nov 7 '12 at 3:40
up vote 2 down vote accepted

$$X^2=\sum_{n\geqslant1}(2n-1)\cdot\mathbf 1_{X\geqslant n}\implies\mathbb E(X^2)=\sum_{n\geqslant1}(2n-1)\cdot\mathbb P(X\geqslant n)$$

share|cite|improve this answer
Nice answer...thanks. – user48405 Nov 7 '12 at 17:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.