document.write( "Question 1190338: Ten thousand lottery tickets are sold at $10 each. First prize is $10000. There are 3 second prizes at $5000 each. There are 10 third prizes at $1000 each. If X is the discrete random variable that measures the gain from buying a lottery ticket, then
\n" ); document.write( " a. What is the probability distribution of X?
\n" ); document.write( "b. What is the expected value of X?
\n" ); document.write( "c. What is the standard deviation of X? \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #849255 by CPhill(1987)\"\" \"About 
You can put this solution on YOUR website!
Here's how to break down this lottery ticket problem:\r
\n" ); document.write( "\n" ); document.write( "**a. Probability Distribution of X (Gain):**\r
\n" ); document.write( "\n" ); document.write( "First, we need to define the possible values of X (the gain). Remember, gain is what you win *minus* the cost of the ticket ($10).\r
\n" ); document.write( "\n" ); document.write( "* **First Prize:** Gain = $10,000 - $10 = $9,990
\n" ); document.write( "* **Second Prize:** Gain = $5,000 - $10 = $4,990
\n" ); document.write( "* **Third Prize:** Gain = $1,000 - $10 = $990
\n" ); document.write( "* **No Prize:** Gain = $0 - $10 = -$10\r
\n" ); document.write( "\n" ); document.write( "Now, let's calculate the probabilities of each outcome:\r
\n" ); document.write( "\n" ); document.write( "* **P(X = $9,990):** 1 ticket out of 10,000 wins the first prize, so the probability is 1/10,000 = 0.0001
\n" ); document.write( "* **P(X = $4,990):** 3 tickets out of 10,000 win a second prize, so the probability is 3/10,000 = 0.0003
\n" ); document.write( "* **P(X = $990):** 10 tickets out of 10,000 win a third prize, so the probability is 10/10,000 = 0.001
\n" ); document.write( "* **P(X = -$10):** The remaining tickets (10,000 - 1 - 3 - 10 = 9,986) win no prize, so the probability is 9,986/10,000 = 0.9986\r
\n" ); document.write( "\n" ); document.write( "Here's the probability distribution:\r
\n" ); document.write( "\n" ); document.write( "| Gain (X) | Probability P(X) |
\n" ); document.write( "|---|---|
\n" ); document.write( "| $9,990 | 0.0001 |
\n" ); document.write( "| $4,990 | 0.0003 |
\n" ); document.write( "| $990 | 0.001 |
\n" ); document.write( "| -$10 | 0.9986 |\r
\n" ); document.write( "\n" ); document.write( "**b. Expected Value of X:**\r
\n" ); document.write( "\n" ); document.write( "The expected value (E[X]) is calculated as:\r
\n" ); document.write( "\n" ); document.write( "E[X] = Σ [x * P(x)] (summed over all possible values of x)\r
\n" ); document.write( "\n" ); document.write( "E[X] = ($9,990 * 0.0001) + ($4,990 * 0.0003) + ($990 * 0.001) + (-$10 * 0.9986)
\n" ); document.write( "E[X] = $0.999 + $1.497 + $0.99 - $9.986
\n" ); document.write( "E[X] = -$6.50\r
\n" ); document.write( "\n" ); document.write( "The expected value of X is -$6.50. This means that on average, you can expect to lose $6.50 for each lottery ticket you buy.\r
\n" ); document.write( "\n" ); document.write( "**c. Standard Deviation of X:**\r
\n" ); document.write( "\n" ); document.write( "1. **Calculate E[X²]:**
\n" ); document.write( " E[X²] = Σ [x² * P(x)]
\n" ); document.write( " E[X²] = (9990² * 0.0001) + (4990² * 0.0003) + (990² * 0.001) + (-10² * 0.9986)
\n" ); document.write( " E[X²] = 99800.1 + 7485.003 + 980.1 + 99.86
\n" ); document.write( " E[X²] ≈ 108365.06\r
\n" ); document.write( "\n" ); document.write( "2. **Calculate Variance (Var[X]):**
\n" ); document.write( " Var[X] = E[X²] - (E[X])²
\n" ); document.write( " Var[X] = 108365.06 - (-6.50)²
\n" ); document.write( " Var[X] = 108365.06 - 42.25
\n" ); document.write( " Var[X] ≈ 108322.81\r
\n" ); document.write( "\n" ); document.write( "3. **Calculate Standard Deviation (SD[X]):**
\n" ); document.write( " SD[X] = √Var[X]
\n" ); document.write( " SD[X] = √108322.81
\n" ); document.write( " SD[X] ≈ $329.12\r
\n" ); document.write( "\n" ); document.write( "The standard deviation of X is approximately $329.12.
\n" ); document.write( "
\n" ); document.write( "
\n" );