Skip to main contentSkip to solution

A die is tossed once. If the random variable X is defined as X={1,if the die result in an odd number−1,if the die result in an even numberX = \begin{cases} 1, & \text{if the die result in an odd number} \\ -1, & \text{if the die result in an even number} \end{cases}, then the variance of X is

Solution

✅ Correct Option: 2

When a die is rolled, the outcomes are: 1, 2, 3, 4, 5, or 6

Odd numbers (1, 3, 5) give X=1X = 1

Even numbers (2, 4, 6) give X=−1X = -1


Out of 6 possible outcomes:

3 are odd, so P(X=1)=36=12P(X = 1) = \dfrac{3}{6} = \dfrac{1}{2}

3 are even, so P(X=−1)=36=12P(X = -1) = \dfrac{3}{6} = \dfrac{1}{2}


The expected value is:

E(X)=(1)×12+(−1)×12E(X) = (1) \times \dfrac{1}{2} + (-1) \times \dfrac{1}{2}

E(X)=12−12E(X) = \dfrac{1}{2} - \dfrac{1}{2}

E(X)=0E(X) = 0


The expected value of X2X^2 is:

E(X2)=(1)2×12+(−1)2×12E(X^2) = (1)^2 \times \dfrac{1}{2} + (-1)^2 \times \dfrac{1}{2}

E(X2)=1×12+1×12E(X^2) = 1 \times \dfrac{1}{2} + 1 \times \dfrac{1}{2}

E(X2)=12+12E(X^2) = \dfrac{1}{2} + \dfrac{1}{2}

E(X2)=1E(X^2) = 1


Using the variance formula:

Var(X)=E(X2)−[E(X)]2Var(X) = E(X^2) - [E(X)]^2

Var(X)=1−(0)2Var(X) = 1 - (0)^2

Var(X)=1−0Var(X) = 1 - 0

Var(X)=1Var(X) = 1

Therefore, the variance of XX is 11.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question