- #1
GreenPrint
- 1,196
- 0
Homework Statement
Random variable X takes values a,a+Δ,a+2Δ,...,a+nΔ with equal probabilities. (a) What is Ex? (b) What is Var X?
Homework Equations
The Attempt at a Solution
X = [a,a+Δ,a+2Δ,...,a+nΔ]
X = a+(X'-1)Δ
where X' is some random variable
X' = [1,2,...,n+1]
I test to make sure this is true
X = [a+(1-1)Δ,a+(2-1)Δ,a+(3-1)Δ...,a+(n+1-1)Δ]=[a,a+Δ,a+2Δ...,a+nΔ]
So it's true.
E[X] = E[a+(X'-1)Δ] = a+(E[X']-1)Δ
E[X']=[itex]\sum^{n+1}_{X'=1}[/itex]X'P(X')
Since X has equal probabilities then X' has equal probabilities so it's just
P(X') = [itex]\frac{1}{number of entities}[/itex]
number of entities in this case is n+1 so
E[X']=[itex]\sum^{n+1}_{X'=1}[/itex]X'([itex]\frac{1}{n+1})[/itex]
So I can pull out the constant from the summation
=[itex]\frac{1}{n+1}\sum^{n+1}_{X'=1}X'=\frac{1}{n+1}(1+2+...+n+1)[/itex]
I know that the quantity 1+2+...+n+1 can be expressed as [itex]1+\frac{(n+1)n}{2}[/itex] so...
[itex]\frac{1}{n+1}(1+\frac{(n+1)n}{2}) = \frac{1}{n+1}+\frac{n}{2}[/itex]
however the answer key which my professor made up says that it should be [itex]\frac{n}{2}+1[/itex]. However I don't see how my answer is wrong.
Thanks for any help that anyone can provide me in solving this problem. My professor didn't show in the answer key how hey got this and just wrote it without showing any work. I think he may be wrong.