Lottery Mathematics
   HOME

TheInfoList



OR:

Lottery mathematics is used to calculate probabilities of winning or losing a
lottery A lottery is a form of gambling that involves the drawing of numbers at random for a prize. Some governments outlaw lotteries, while others endorse it to the extent of organizing a national or state lottery. It is common to find some degree of ...
game. It is based primarily on
combinatorics Combinatorics is an area of mathematics primarily concerned with counting, both as a means and an end in obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many appl ...
, particularly the
twelvefold way In combinatorics, the twelvefold way is a systematic classification of 12 related enumerative problems concerning two finite sets, which include the classical problems of counting permutations, combinations, multisets, and partitions either of a ...
and combinations without replacement.


Choosing 6 from 49

In a typical 6/49 game, each player chooses six distinct numbers from a range of 1-49. If the six numbers on a ticket match the numbers drawn by the lottery, the ticket holder is a
jackpot Jackpot or Jackpot! may refer to: * A prize, such as a progressive jackpot * Gardena jackpots, a poker variant * Jackpot, Nevada, a community on the Nevada–Idaho state border Comics * Jackpot (comics), several comic book characters * ''Jack ...
winner— regardless of the order of the numbers. The probability of this happening is 1 in 13,983,816. The
chance Chance may refer to: Mathematics and Science * In mathematics, likelihood of something (by way of the Likelihood function and/or Probability density function). * ''Chance'' (statistics magazine) Places * Chance, Kentucky, US * Chance, Mary ...
of winning can be demonstrated as follows: The first number drawn has a 1 in 49 chance of matching. When the draw comes to the second number, there are now only 48 balls left in the bag, because the balls are drawn
without replacement In statistics, quality assurance, and survey methodology, sampling is the selection of a subset (a statistical sample) of individuals from within a statistical population to estimate characteristics of the whole population. Statisticians attem ...
. So there is now a 1 in 48 chance of predicting this number. Thus for each of the 49 ways of choosing the first number there are 48 different ways of choosing the second. This means that the
probability Probability is the branch of mathematics concerning numerical descriptions of how likely an Event (probability theory), event is to occur, or how likely it is that a proposition is true. The probability of an event is a number between 0 and ...
of correctly predicting 2 numbers drawn from 49 in the correct order is calculated as 1 in 49 × 48. On drawing the third number there are only 47 ways of choosing the number; but of course we could have arrived at this point in any of 49 × 48 ways, so the chances of correctly predicting 3 numbers drawn from 49, again in the correct order, is 1 in 49 × 48 × 47. This continues until the sixth number has been drawn, giving the final calculation, 49 × 48 × 47 × 46 × 45 × 44, which can also be written as or 49
factorial In mathematics, the factorial of a non-negative denoted is the product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times (n-1) \times (n-2) \t ...
divided by 43 factorial. This works out to 10,068,347,520, which is much bigger than the ~14 million stated above. However; the order of the 6 numbers is not significant. That is, if a ticket has the numbers 1, 2, 3, 4, 5, and 6, it wins as long as all the numbers 1 through 6 are drawn, no matter what order they come out in. Accordingly, given any set of 6 numbers, there are 6 × 5 × 4 × 3 × 2 × 1 = 6 ! or 720 orders in which they could be drawn. Dividing 10,068,347,520 by 720 gives 13,983,816, also written as , or more generally as :=, where n is the number of alternatives and k is the number of choices. Further information is available at
binomial coefficient In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
and
multinomial coefficient In mathematics, the multinomial theorem describes how to expand a power of a sum in terms of powers of the terms in that sum. It is the generalization of the binomial theorem from binomials to multinomials. Theorem For any positive integer an ...
. This function is called the
combination In mathematics, a combination is a selection of items from a set that has distinct members, such that the order of selection does not matter (unlike permutations). For example, given three fruits, say an apple, an orange and a pear, there are th ...
function. For the rest of this article, we will use the notation . "Combination" means the group of numbers selected, irrespective of the order in which they are drawn. An alternative method of calculating the odds is to note that the probability of the first ball corresponding to one of the six chosen is 6/49; the probability of the second ball corresponding to one of the remaining five chosen is 5/48; and so on. This yields a final formula of :

* * * * *
The range of possible combinations for a given lottery can be referred to as the "number space". "Coverage" is the percentage of a lottery's number space that is in play for a given drawing.


Odds of getting other possibilities in choosing 6 from 49

One must divide the number of combinations producing the given result by the total number of possible combinations (for example, = 13,983,816 ). The numerator equates to the number of ways to select the winning numbers multiplied by the number of ways to select the losing numbers. For a score of ''n'' (for example, if 3 choices match three of the 6 balls drawn, then ''n'' = 3), describes the odds of selecting ''n'' winning numbers from the 6 winning numbers. This means that there are 6 - n losing numbers, which are chosen from the 43 losing numbers in ways. The total number of combinations giving that result is, as stated above, the first number multiplied by the second. The expression is therefore \over . This can be written in a general form for all lotteries as: \over where N is the number of balls in lottery, K is the number of balls in a single ticket, and B is the number of matching balls for a winning ticket. The generalisation of this formula is called the
hypergeometric distribution In probability theory and statistics, the hypergeometric distribution is a discrete probability distribution that describes the probability of k successes (random draws for which the object drawn has a specified feature) in n draws, ''without'' ...
. This gives the following results: When a bonus number is included, the adjusted odds are:


Ensuring to win the jackpot

There is only one known way to ensure winning the jackpot. That is to buy at least one lottery ticket for every possible number combination. For example, one has to buy 13,983,816 different tickets to ensure to win the jackpot in a 6/49 game. Lottery organizations have laws, rules and safeguards in place to prevent gamblers from executing such an operation. Further, just winning the jackpot by buying every possible combination does not guarantee to break even or make a profit. If p is the probability to win; c_tthe cost of a ticket; c_l the cost for obtaining a ticket (e.g. including the logistics); c_f one time costs for the operation (such as setting up and conducting the operation); then the jackpot m_j should contain at least m_j \ge c_f + \frac to have a chance to at least break even. The above theoretical "chance to break-even" point is slightly offset by the sum \sum_ m_i of the minor wins also included in all the lottery tickets: m_j \ge c_f + \frac - \sum_ m_i Still, even if the above relation is satisfied, it does not guarantee to break even. The payout depends on the number of winning tickets for all the prizes n_x, resulting in the relation \frac \ge c_f + \frac - \sum_ \frac In probably the only known successful operations the threshold to execute an operation was set at three times the cost of the tickets alone for unknown reasons m_j \ge 3 \times \frac I.e. \frac \left ( c_f + \frac - \sum_ \frac \right ) \ll 3 This does, however, not eliminate all risks to make no profit. The success of the operations still depended on a bit of luck. In addition, in one operation the logistics failed and not all combinations could be obtained. This added the risk of not even winning the jackpot at all.


Powerballs and bonus balls

Many lotteries have a
Powerball Powerball is an American lottery game offered by 45 states, the District of Columbia, Puerto Rico and the U.S. Virgin Islands. It is coordinated by the Multi-State Lottery Association (MUSL). From its inaugural drawing on April 19, 1992, unti ...
(or "bonus ball"). If the powerball is drawn from a pool of numbers different from the main lottery, the odds are multiplied by the number of powerballs. For example, in the 6 from 49 lottery, given 10 powerball numbers, then the odds of getting a score of 3 and the powerball would be 1 in 56.66 × 10, or 566.6 (the ''probability'' would be divided by 10, to give an exact value of \frac). Another example of such a game is
Mega Millions Mega Millions (originally known as ''The Big Game'' in 1996 and renamed, temporarily, to ''The Big Game Mega Millions'' six years later) is an American multi-jurisdictional lottery game; as of January 30, 2020, it is offered in 45 states, the Di ...
, albeit with different jackpot odds. Where more than 1 powerball is drawn from a separate pool of balls to the main lottery (for example, in the
EuroMillions EuroMillionsgerman: Euromillionen or pt, Euromilhões is a transnational lottery that requires seven correct numbers to win the jackpot. It was launched on 7 February 2004 by France's Française des Jeux, Spain's '' Loterías y Apuestas d ...
game), the odds of the different possible powerball matching scores are calculated using the method shown in the " other scores" section above (in other words, the powerballs are like a mini-lottery in their own right), and then multiplied by the odds of achieving the required main-lottery score. If the powerball is drawn from the ''same'' pool of numbers as the main lottery, then, for a given target score, the number of winning combinations includes the powerball. For games based on the Canadian lottery (such as the lottery of the United Kingdom), after the 6 main balls are drawn, an extra ball is drawn from the same pool of balls, and this becomes the powerball (or "bonus ball"). An extra prize is given for matching 5 balls and the bonus ball. As described in the " other scores" section above, the number of ways one can obtain a score of 5 from a single ticket is = 258. Since the number of remaining balls is 43, and the ticket has 1 unmatched number remaining, of these 258 combinations will match the next ball drawn (the powerball), leaving ways of achieving it. Therefore, the odds of getting a score of 5 and the powerball are = . Of the 258 combinations that match 5 of the main 6 balls, in 42/43 of them the remaining number will not match the powerball, giving odds of = \frac \approx 1.802 \times 10^ for obtaining a score of 5 without matching the powerball. Using the same principle, the odds of getting a score of 2 and the powerball are = 1,\!851,\!150 for the score of 2 multiplied by the probability of one of the remaining four numbers matching the bonus ball, which is . Since 1,851,150 \cdot \frac = 172,\!200, the probability of obtaining the score of 2 and the bonus ball is \frac = \frac = 1.231\%, approximate decimal odds of 1 in 81.2. The general formula for B matching balls in a N choose K lottery with one bonus ball from the N pool of balls is: \frac The general formula for B matching balls in a N choose K lottery with zero bonus ball from the N pool of balls is: \over The general formula for B matching balls in a N choose K lottery with one bonus ball from a separate pool of P balls is: \over The general formula for B matching balls in a N choose K lottery with no bonus ball from a separate pool of P balls is: \over


Minimum number of tickets for a match

It is a hard (and often open) problem to calculate the minimum number of tickets one needs to purchase to guarantee that at least one of these tickets matches at least 2 numbers. In the 5-from-90 lotto, the minimum number of tickets that can guarantee a ticket with at least 2 matches is 100.
/ref>


Information theoretic results

As a Discrete measure, discrete
probability space In probability theory, a probability space or a probability triple (\Omega, \mathcal, P) is a mathematical construct that provides a formal model of a random process or "experiment". For example, one can define a probability space which models t ...
, the probability of any particular lottery outcome is atomic, meaning it is greater than zero. Therefore, the probability of any
event Event may refer to: Gatherings of people * Ceremony, an event of ritual significance, performed on a special occasion * Convention (meeting), a gathering of individuals engaged in some common interest * Event management, the organization of e ...
is the sum of probabilities of the outcomes of the event. This makes it easy to calculate quantities of interest from
information theory Information theory is the scientific study of the quantification (science), quantification, computer data storage, storage, and telecommunication, communication of information. The field was originally established by the works of Harry Nyquist a ...
. For example, the
information content In information theory, the information content, self-information, surprisal, or Shannon information is a basic quantity derived from the probability of a particular event occurring from a random variable. It can be thought of as an alternative wa ...
of any event is easy to calculate, by the formula \operatorname I(E) := - \log = -\log. In particular, the information content of outcome x of
discrete random variable A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
X is \operatorname I_X(x) := - \log = \log. For example, winning in the example above is a Bernoulli-distributed random variable X with a chance of winning (" success") We write X \sim \mathrm\!\left(p\right) = \mathrm\!\left(1, p\right) with p = \tfrac and q = \tfrac . The information content of winning is \operatorname_X(\text) = -\log_2 = -\log_2\! \approx 23.73725 shannons or bits of information. (See
units of information In computing and telecommunications, a unit of information is the capacity of some standard data storage system or communication channel, used to measure the capacities of other systems and channels. In information theory, units of information ar ...
for further explanation of terminology.) The information content of losing is \begin \operatorname_X(\text) &= -\log_2 = -\log_2\! \\ &\approx 1.0317 \times 10^ \text. \end The
information entropy In information theory, the entropy of a random variable is the average level of "information", "surprise", or "uncertainty" inherent to the variable's possible outcomes. Given a discrete random variable X, which takes values in the alphabet \ ...
of a lottery
probability distribution In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomenon i ...
is also easy to calculate as the
expected value In probability theory, the expected value (also called expectation, expectancy, mathematical expectation, mean, average, or first moment) is a generalization of the weighted average. Informally, the expected value is the arithmetic mean of a l ...
of the information content. \begin \Eta(X) &= \sum_ \ &= \sum_ \\ & \ \mathbb \end Oftentimes the random variable of interest in the lottery is a
Bernoulli trial In the theory of probability and statistics, a Bernoulli trial (or binomial trial) is a random experiment with exactly two possible outcomes, "success" and "failure", in which the probability of success is the same every time the experiment is c ...
. In this case, the Bernoulli entropy function may be used. Using X representing winning the 6-of-49 lottery, the Shannon entropy of 6-of-49 above is \begin \Eta(X) &= -p\log(p) - q\log(q) = -\tfrac\log\! - \tfrac\log\! \\ & \approx 1.80065 \times 10^ \text \end


References

{{Reflist


External links


Euler's Analysis of the Genoese Lottery
– ''Convergence'' (August 2010), Mathematical Association of America

– INFAROM Publishing
13,983,816 and the Lottery
– YouTube video with James Clewett, Numberphile, March 2012
Mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
Combinatorics Gambling mathematics