document.write( "Question 1030185: In a lottery game, a player picks six numbers from 1 to 24. If the player matches all six numbers, they win $ 20,000. Otherwise, they lose $1. Assume it costs nothing to play.\r
\n" ); document.write( "\n" ); document.write( "What is the expected value of this game?\r
\n" ); document.write( "\n" ); document.write( "I'm not sure where to even start with this one.
\n" ); document.write( "

Algebra.Com's Answer #645099 by mathmate(429)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Question:
\n" ); document.write( "In a lottery game, a player picks six numbers from 1 to 24. If the player matches all six numbers, they win $ 20,000. Otherwise, they lose $1. Assume it costs nothing to play.
\n" ); document.write( "What is the expected value of this game?
\n" ); document.write( "
\n" ); document.write( "Solution:
\n" ); document.write( "To start solving the problem, we need to understand the definitions of words, the most important of which is \"expected value\".
\n" ); document.write( "
\n" ); document.write( "Wiki defines expected value as:
\n" ); document.write( "\"The expected value is also known as the expectation, mathematical expectation, EV, average, mean value, mean, or first moment. More practically, the expected value of a discrete random variable is the probability-weighted average of all possible values.\"
\n" ); document.write( "
\n" ); document.write( "To mathematically calculate the expected value, we will need to do the sum of the product
\n" ); document.write( "x*P(x)
\n" ); document.write( "for all possible (outcome) values of x, that is, all values of x for which the probability is non-zero.
\n" ); document.write( "
\n" ); document.write( "Here the possible outcomes are x=-1 (lose) or x=20000 (win)
\n" ); document.write( "Total possible number of outcomes = C(24,6) [24 choose 6]
\n" ); document.write( "=24!/(6!18!)
\n" ); document.write( "= 134596
\n" ); document.write( "Out of which there is only one winning combination.
\n" ); document.write( "Therefore we conclude:
\n" ); document.write( "P(win 20000)=1/134596
\n" ); document.write( "P(lose 1)=134595/134596
\n" ); document.write( "and hence the expected value is:
\n" ); document.write( "20000*(1/134596)+(-1)*(134595/134596)
\n" ); document.write( "=-114595/134596
\n" ); document.write( "=-0.8514 (rounded to four places after decimal)\r
\n" ); document.write( "\n" ); document.write( "Interpretation:
\n" ); document.write( "In the long run, if the game is played many, many times, the average loss is $0.8514 per play.
\n" ); document.write( "
\n" ); document.write( "
\n" );