Professional Documents
Culture Documents
1
𝑥 = 1,2,3 … 𝑛
P(x) = { 𝑛
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
(this is called the discrete uniform distribution). Compute E(X) and V(X) using the shortcut
𝑛(𝑛+1)
formula. [Hint: The sum of the first n positive integers is 2 , whereas the sum of their
𝑛(𝑛+1)(2𝑛+1)
squares is .]
6
1 1 1 𝑛(𝑛+1) 𝑛+1
E(x) = ∑𝑛𝑥=1 𝑥 ∗ 𝑛 = 𝑛 ∑𝑛𝑥=1 𝑥 = 𝑛 ∗ =
2 2