1
$\begingroup$

enter image description here

Can someone explain to me why is $P(Y = 1) = P(X = -1)+P(X = 1)$?

Why is P(Y = 1) the sum of P(X = -1) and P(X= 1)? I don't see how $Y = X^2$ comes into play? I am very new to this stuff.

1 Answers 1

2

We have $Y=1$ iff $X^2=1$ iff $X=1$ or $X=-1$.

The only way that $X^2$ can be $1$ is $X=1$ or $X=-1$. The probability that $X=1$ is $0.3$, the probability that $X=-1$ is $0.2$, so the probability that one or the other happens is $0.3+0.2$. You can draw a Venn diagram. Divide the "world" into $3$ non-intersecting pieces, label one of them $X=1$, another $X=-1$, and the third $X=0$. The probability that $X^2=1$ is the sum of the probabilities of the first two pieces.

  • 0
    So we are basically adding all possible values of $X$? What if $Y = X^3$?2012-07-28
  • 0
    The only way that we can have $X^3=1$ is if $X=1$. So no addition needed. But for $X^4$, same issue as for $X^2$. An interesting one is $Y=X(X-1)$. Find probability $Y=0$. this can happen if $X=0$ or $X=1$, so it would be two other pieces you would add.2012-07-28
  • 0
    Also why is the coefficient in front of 0.5 "1"?2012-07-28
  • 0
    Sorry I meant what if we want E[X^3]?2012-07-28
  • 0
    $X^3$ takes on the values $1$, $0$ and $-1$ with probabilities $0.3$, $0.5$, $0.2$. so $E(X^3)=(1)(0.3)+(0)(0.5)+(-1)(0.2)$.2012-07-28
  • 0
    So basically the same as E[X]?/2012-07-28
  • 1
    Exactly the same, **in this case** as $E(X)$. This is because for the numbers $x=1$, $0$, $-1$, we have $x^3=x$.2012-07-28