At first, we will find the probability of Y to become 1 or −1 . Namely, we have:
P(Y=1)=P({X=2k∣k∈N})=∑k=1+∞P(X=2k)=∑k=1+∞22k1=∑k=1+∞4k1.
Using the formula for an infinite geometric series, we have:
P(Y=1)=∑k=1+∞4k1=411−411=31 .
In the same way we obtain:
P(Y=−1)=P({X=2k−1∣k∈N})=∑k=1+∞P(X=2k−1)=∑k=1+∞22k−11=2∑k=1+∞4k1=32.
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)=31−32=−31
Answer:−31
Comments