Lottery mathematics

From testwiki
Jump to navigation Jump to search

Template:Multiple issues Lottery mathematics is used to calculate probabilities of winning or losing a lottery game. It is based primarily on combinatorics, particularly the twelvefold way and combinations without replacement. It can also be used to analyze coincidences that happen in lottery drawings, such as repeated numbers appearing across different draws.[1] Template:Short description

In the following

Single pool of balls

Suppose there are Template:Mvar unique balls (such as Template:Math) from which balls are to be drawn without replacement. Suppose a subset of Template:Mvar balls (such as Template:Math) is drawn as the winning set. Suppose a subset of Template:Mvar balls (such as Template:Math) is selected on a lottery ticket. Suppose Template:Mvar of the Template:Mvar balls from the lottery ticket are also among the Template:Var balls in the winning set. Out of the (PW) possible ways (see binomial coefficient) to draw the winning set, there are (TM) ways to have Template:Mvar of them come from the Template:Mvar on the lottery ticket and (P−TW−M) ways to have Template:Math of them come from the set of Template:Math not mentioned on the lottery ticket. That is, the probability of getting Template:Mvar matches is given by the following formula when there are Template:Mvar balls in the pool, each lottery ticket selects Template:Mvar balls, and Template:Mvar is the number of winning balls drawn for the lottery. Pr⁡[M∣P,T,W]=(TM)(P−TW−M)(PW).

This can also be solved from the opposite point of view. There are (PT) ways to fill out the ticket, (WM) ways to choose the matching numbers from winning set, and (P−WT−M) ways to list the remaining numbers in ticket from among the non-winning numbers. Pr⁡[M∣P,T,W]=(WM)(P−WT−M)(PT). Both expressions give the same result.

Single pool examples

The chances of getting Template:Mvar matches when drawing Template:Mvar balls from a pool of Template:Mvar balls and lottery tickets with Template:Mvar balls each:

Template:Mvar matches Template:Math balls from Template:Math Template:Math balls from Template:Math
0 (60)(436)(496)=1⋅6,096,45413,983,816≈0.436 (50)(645)(695)=1⋅7,624,51211,238,513≈0.678
1 (61)(435)(496)=6⋅962,59813,983,816≈0.413 (51)(644)(695)=5⋅635,37611,238,513≈0.283
2 (62)(434)(496)=15⋅123,41013,983,816≈0.132 (52)(643)(695)=10⋅41,66411,238,513≈0.0371
3 (63)(433)(496)=20⋅12,34113,983,816≈0.0177 (53)(642)(695)=10⋅2,01611,238,513≈0.00179
4 (64)(432)(496)=15⋅90313,983,816≈0.000969 (54)(641)(695)=5⋅6411,238,513≈0.0000285
5 (65)(431)(496)=6⋅4313,983,816≈0.0000184 (55)(640)(695)=1⋅111,238,513≈0.0000000890
6 (66)(430)(496)=1⋅113,983,816≈0.0000000715

Power balls from a separate pool of balls

Some lotteries also have one or more power balls drawn from a separate pool of balls. For example, the first drawing may be for Template:Math balls out of Template:Math balls and then Template:Math power ball may be drawn from Template:Math balls. For both pools, the drawing is without replacement. Similarly a lottery ticket will indicate Template:Math regular balls and Template:Math power balls. Often the number of balls on the lottery ticket is the same as the winning set: Template:Math and Template:Math. The probabilities of getting Template:Math matches in the first drawing and Template:Math matches in the power ball drawing is just the product of the individual probabilities: Pr⁡[M1,M2∣P1,T1,W1,P2,T2,W2]=(T1M1)(P1−T1W1−M1)(P1W1)(T2M2)(P2−T2W2−M2)(P2W2), and similarly for three or more pools of balls.

For example, this formula could be used if one ball is drawn from a pool of balls numbered 0 to 9 and then a second and third ball are also drawn from their own pools of 10 balls: Template:Math, and Template:Math. (Equivalently, all three balls could be drawn from the same pool, so long as each ball is returned to the pool before the next ball is drawn.) However, this case is more easily modeled as if a single ball, numbered from 0 (represented as "000") to 999 is drawn from a single pool of 1000 balls.

Separate pool examples

The chances of getting Template:Math matches when drawing Template:Math balls from a pool of Template:Math balls, getting Template:Math matches when drawing Template:Math power balls from a separate pool of Template:Math balls, and having Template:Math regular balls and Template:Math power balls selected on the lottery ticket:

Template:Math matches Template:Math balls from Template:Math and

Template:Math balls from Template:Math

0 + 0 (50)(645)(695)(10)(251)(261)=1⋅7,624,512⋅1⋅2511,238,513⋅26≈0.652
0 + 1 (50)(645)(695)(11)(250)(261)=1⋅7,624,512⋅1⋅111,238,513⋅26≈0.0261
1 + 0 (51)(644)(695)(10)(251)(261)=5⋅635,376⋅1⋅2511,238,513⋅26≈0.272
1 + 1 (51)(644)(695)(11)(250)(261)=5⋅635,376⋅1⋅111,238,513⋅26≈0.00109
2 + 0 (52)(643)(695)(10)(251)(261)=10⋅41,664⋅1⋅2511,238,513⋅26≈0.0356
2 + 1 (52)(643)(695)(11)(250)(261)=10⋅41,664⋅1⋅111,238,513⋅26≈0.00143
3 + 0 (53)(642)(695)(10)(251)(261)=10⋅2,016⋅1⋅2511,238,513⋅26≈0.00172
3 + 1 (53)(642)(695)(11)(250)(261)=10⋅2,016⋅1⋅111,238,513⋅26≈0.0000690
4 + 0 (54)(641)(695)(10)(251)(261)=5⋅64⋅1⋅2511,238,513⋅26≈0.0000274
4 + 1 (54)(641)(695)(11)(250)(261)=5⋅64⋅1⋅111,238,513⋅26≈0.00000110
5 + 0 (55)(640)(695)(10)(251)(261)=1⋅1⋅1⋅2511,238,513⋅26≈0.0000000856
5 + 1 (55)(640)(695)(11)(250)(261)=1⋅1⋅1⋅111,238,513⋅26≈0.00000000342

Bonus balls from the same pool of balls

Some lotteries have one or more bonus balls drawn from the original pool of balls after the first round of balls is drawn. In this scenario each lottery ticket indicates Template:Mvar balls out of Template:Mvar possibilities, but the drawing is for Template:Math balls plus Template:Math bonus balls, without replacement. The probability that Template:Math balls from the first drawing match the lottery ticket and Template:Math balls from the bonus-ball drawing match the lottery ticket is given by Pr⁡[M1,M2∣P,T,W1,W2]=(W1M1)(W2M2)(P−W1−W2T−M1−M2)(PT).

Example of balls and bonus balls from the same pool

When Template:Math of Template:Math numbers are on a lottery ticket but the winning set is Template:Math numbers plus Template:Math bonus ball then probabilities are as follows.

Template:Math matches Template:Math balls on ticket, Template:Math balls and Template:Math bonus ball
drawn from Template:Math balls
0 + 0 (60)(10)(426)(496)=1⋅1⋅5,245,78613,983,816≈0.375
0 + 1 (60)(11)(425)(496)=1⋅1⋅850,66813,983,816≈0.0608
1 + 0 (61)(10)(425)(496)=6⋅1⋅850,66813,983,816≈0.365
1 + 1 (61)(11)(424)(496)=6⋅1⋅111,93013,983,816≈0.0480
2 + 0 (62)(10)(424)(496)=15⋅1⋅111,93013,983,816≈0.120
2 + 1 (62)(11)(423)(496)=15⋅1⋅11,48013,983,816≈0.0123
3 + 0 (63)(10)(423)(496)=20⋅1⋅11,48013,983,816≈0.0164
3 + 1 (63)(11)(422)(496)=20⋅1⋅86113,983,816≈0.00123
4 + 0 (64)(10)(422)(496)=15⋅1⋅86113,983,816≈0.000924
4 + 1 (64)(11)(421)(496)=15⋅1⋅4213,983,816≈0.0000451
5 + 0 (65)(10)(421)(496)=6⋅1⋅4213,983,816≈0.0000180
5 + 1 (65)(11)(420)(496)=6⋅1⋅113,983,816≈0.000000429
6 + 0 (66)(10)(420)(496)=1⋅1⋅113,983,816≈0.0000000715
6 + 1 Impossible

Ensuring to win the jackpot

There is only one way to ensure winning the jackpot; it 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 winning the jackpot in a 6/49 game. To be profitable, the cost of acquiring these tickets (including any overhead) must not exceed the total amount that those tickets will win, including jackpots and any smaller prizes. If it is likely that the jackpot (or any of the smaller prizes) will have to be split among several winners then only your likely share should be counted in the total amount that those tickets will win.

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.[2]

Coincidences involving lottery numbers

Coincidences in lottery drawings often capture our imagination and can make news headlines as they seemingly highlight patterns in what should be entirely random outcomes. For example, repeated numbers appearing across different draws may appear on the surface to be too implausible to be by pure chance. For instance, on September 6, 2009, the six numbers 4, 15, 23, 24, 35, and 42 were drawn from 49 in the Bulgarian national 6/49 lottery, and in the very next drawing on September 10th, the same six numbers were drawn again. Lottery mathematics can be used to analyze these extraordinary events.[1]

References

Template:Reflist

  1. ↑ 1.0 1.1 M. Pollanen (2024) A Double Birthday Paradox in the Study of Coincidences, Mathematics 23(24), 3882. https://doi.org/10.3390/math12243882
  2. ↑ Template:Cite journal [1]