Question #119209
A discrete random variable has probability mass function, P(X = n) = (1/2)^n. Y=1 when x is even and Y= -1 when x is odd. find the expected value of Y
1
Expert's answer
2020-06-01T18:09:24-0400

At first, we will find the probability of YY to become 11 or 1-1 . Namely, we have:

P(Y=1)=P({X=2kkN})=k=1+P(X=2k)=k=1+122k=k=1+14k.P(Y=1)=P(\{X =2k|k\in {\mathbb{N}}\})=\sum_{k=1}^{+\infty}P(X=2k)=\sum_{k=1}^{+\infty}\frac{1}{2^{2k}}=\sum_{k=1}^{+\infty}\frac{1}{4^{k}}.

Using the formula for an infinite geometric series, we have:

P(Y=1)=k=1+14k=141114=13P(Y=1)=\sum_{k=1}^{+\infty}\frac{1}{4^{k}}=\frac14\frac{1}{1-\frac14}=\frac13 .

In the same way we obtain:

P(Y=1)=P({X=2k1kN})=k=1+P(X=2k1)=k=1+122k1=2k=1+14k=23.P(Y=-1)=P(\{X =2k-1|k\in {\mathbb{N}}\})=\sum_{k=1}^{+\infty}P(X=2k-1)=\newline\sum_{k=1}^{+\infty}\frac{1}{2^{2k-1}}=2\sum_{k=1}^{+\infty}\frac{1}{4^{k}}=\frac23.

We remind that the expected value for discrete random variable Y is(see e.g., https://en.wikipedia.org/wiki/Expected_value):

E[Y]=P(Y=1)1+P(Y=1)(1)=1323=13E[Y]=P(Y=1)*1+P(Y=-1)*(-1)=\frac13-\frac23=-\frac13

Answer:13-\frac13


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS