Discrete uniform distribution prrof

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
synkk
Messages
216
Reaction score
0
2wcmiaf.png


Hello, I'm currently in high school and going over discrete uniform distribution, and we've come across this formula. I'm curious if anyone could show me how the formula is true, as when I asked my teacher he just said that it'll confuse the class and we don't need to know why it's true.

If anyone could show me a proof or something i'd be very grateful :)
 
Physics news on Phys.org
synkk said:
2wcmiaf.png


Hello, I'm currently in high school and going over discrete uniform distribution, and we've come across this formula. I'm curious if anyone could show me how the formula is true, as when I asked my teacher he just said that it'll confuse the class and we don't need to know why it's true.

If anyone could show me a proof or something i'd be very grateful :)

You can do it directly if you know formulas for [itex]\sum_{k=1}^n k \text{ and } \sum_{k=1}^n k^2,[/itex] and these can be found on-line, for example. Another way is to prove the results by induction (although I don't know if you have studied that, yet).

Let's just do it directly for the E(X). The probability mass function is [itex]p(k) = \Pr \{X=k\} = 1/n,[/itex] for k = 1, 2, ..., n . The expected value is *defined* as [tex]E(X) = 1\cdot p(1) + 2 \cdot p(2) + 3 \cdot p(3) + \cdots + n \cdot p(n) = \frac{1}{n}[1 + 2 + \cdots + n].[/tex] This last summation is [tex]1+2+ \cdots +n = \frac{n(n+1)}{2},[/tex] so we we get the stated result.

Getting [itex]\text{Var}(X)[/itex] is more complicated, but you can use the easily-proven fact that [itex]\text{Var}(X) = E(X^2) - (EX)^2,[/itex] and so reduce the problem to finding [tex]E(X^2) = p(1) \cdot 1^1 + p(2) \cdot 2^2 + \cdots + p(n) \cdot n^2 = \frac{1}{n} [ 1^2 + 2^2 + \cdots n^2].[/tex]

RGV