"How can we prove a lottery is truly fair?" "What's the mathematical basis for amidakuji being fair?"
Lottery fairness can be rigorously defined and proven with mathematics and statistics, not just intuition.
This article thoroughly explains lottery fairness from a scientific perspective. We minimize formulas and focus on diagrams for easy understanding.
Four conditions define "fairness" mathematically:
Definition: All participants have equal probability of reaching all outcomes.
Formula:
P(participant i reaches outcome j) = 1/n
n = number of participants (= number of outcomes)
Example: With 5 people and 5 outcomes, each person has 1/5 = 20% chance for each outcome.
Definition: Previous lottery results don't affect subsequent lotteries.
Formula:
P(current result | previous result) = P(current result)
Example: Even if person A won 1st place last time, the probability of A winning 1st place this time doesn't change.
Definition: Results cannot be predicted before lottery execution.
Criteria:
Definition: All participants receive different outcomes.
Mathematical Expression:
Mapping f: participant set → outcome set is bijective
Meaning:
Theorem: Amidakuji always satisfies bijection.
Proof:
Step 1: Structure Verification
Step 2: Path Uniqueness Starting from each vertical line:
This process is deterministic - same starting point always reaches same goal.
Step 3: Permutation Proof Amidakuji mathematically represents a permutation.
Effect of one horizontal line:
Swap positions i and i+1 of vertical lines
Effect of m horizontal lines:
Composition of m permutations
Permutations are always bijective, guaranteeing one-to-one correspondence.
Conclusion: Amidakuji mathematically guarantees bijection. ■
Theorem: When horizontal lines are randomly placed, all permutations are generated with equal probability.
Proof Outline:
n vertical lines have n! possible permutations.
Example: 3 lines = 3! = 6 patterns
When horizontal line placement is sufficiently random:
When each line position is chosen independently and randomly, drawing sufficient lines can generate all permutations with equal probability (Fisher-Yates shuffle theory).
Practical number of lines:
Conclusion: With sufficiently random horizontal line placement, equal probability is satisfied. ■
Theorem: With 3 or more horizontal lines, visual prediction by humans becomes difficult.
Computational Complexity Analysis:
0 horizontal lines:
1 horizontal line:
2 horizontal lines:
3+ horizontal lines:
Psychological Research: Human visual tracking ability drops sharply beyond 3 intersection points.
Conclusion: With 3+ horizontal lines, unpredictability is practically satisfied. ■
For practical comparisons, see Lottery Method Comparison.
Structure:
Problems:
1. Possibility of Duplication/Gaps
Ticket creation errors → outcome duplication or gaps
Example: Two "winners", missing "losers"
Mathematical guarantee: None
2. Creator Manipulation Possibility
Creator knows outcomes
→ Can recommend specific tickets
Transparency: Low
Equal probability: ○ (if created correctly) Independence: ○ Unpredictability: △ (creator knows) Bijection: △ (not guaranteed)
Structure:
Algorithm Example (Linear Congruential):
X(n+1) = (a × X(n) + c) mod m
Problems:
1. Pseudorandom Limitations
Not true random, deterministic algorithm
Results predictable if seed value known
2. Periodicity
Pseudorandom numbers always have period
Period: maximum m (mod value)
3. Lack of Transparency
Users cannot verify algorithm
Black box
Equal probability: ○ (algorithm dependent) Independence: △ (seed dependent) Unpredictability: △ (algorithm dependent) Bijection: ○ (design dependent)
Game Theory Model:
Problems:
1. Psychological Bias
Humans cannot make perfectly random choices
First move often "rock" (statistically proven)
Can read opponent's habits
2. Frequent Ties
2 players: tie probability = 1/3
n players: very high tie probability
3. Bijection Fails
Multiple people can win simultaneously
→ Bijection not guaranteed
Equal probability: △ (psychological bias) Independence: × (depends on opponent choice) Unpredictability: △ (has strategy) Bijection: ×
| Method | Equal Prob | Independence | Unpredictability | Bijection | Transparency |
|---|---|---|---|---|---|
| Amidakuji | ◎ | ◎ | ◎ | ◎ | ◎ |
| Paper lottery | ○ | ○ | △ | △ | △ |
| Roulette | ○ | △ | △ | ○ | × |
| Rock-paper-scissors | △ | × | △ | × | ◎ |
| Excel random | ○ | △ | △ | ○ | △ |
Methods to statistically verify if actual lotteries are fair.
Purpose: Verify if each outcome appears equally
For security considerations in online lotteries, see Lottery Security and Privacy.
Procedure:
Hypothesis Setting
Data Collection
Statistic Calculation
χ² = Σ [(observed - expected)² / expected]
Example: 100 lotteries with 5 outcomes
| Outcome | Observed | Expected | (O-E)²/E |
|---|---|---|---|
| A | 22 | 20 | 0.2 |
| B | 19 | 20 | 0.05 |
| C | 18 | 20 | 0.2 |
| D | 21 | 20 | 0.05 |
| E | 20 | 20 | 0 |
| Total | 100 | 100 | 0.5 |
χ² = 0.5 < critical value(9.49) → no bias
Purpose: Verify distribution uniformity
Suitable for large-scale data verification (1000+ times).
Purpose: Quantify degree of randomness
Shannon Entropy:
H = -Σ [P(i) × log₂ P(i)]
Maximum Entropy (completely random):
H_max = log₂ n
Example: For 5 outcomes H_max = log₂ 5 ≈ 2.32
High randomness if actual entropy is close to this.
Setup:
All Possible Outcomes (3! = 6 patterns):
1. (1,2,3) → (1,2,3)
2. (1,2,3) → (1,3,2)
3. (1,2,3) → (2,1,3)
4. (1,2,3) → (2,3,1)
5. (1,2,3) → (3,1,2)
6. (1,2,3) → (3,2,1)
Vary horizontal line placement patterns to confirm each outcome appears with equal probability.
Try the following on Amida-san (free online amidakuji):
Expected Result: Each person gets 1st place about 10 times (±3 variation)
Also see practical examples for company parties and school events.
Answer: Few horizontal lines cause these problems:
Recommended count: For n people, we recommend 2n or more horizontal lines.
Answer: No, it doesn't.
Mathematical Reason: Permutation composition is associative, so final permutation is same regardless of line drawing order.
Answer: Depends on the tool. Trustworthy tool conditions:
Amida-san has all participants add horizontal lines, so even organizers cannot manipulate results.
Answer: Individuals may place intentionally, but mixing multiple intentions creates randomness as result.
This is similar to "wisdom of crowds" - when many independent judgments gather, overall balance emerges.
Answer: Theoretically, digital lottery using true random number generator (TRNG) is fairest.
However, TRNG:
Amidakuji has the best balance of fairness and transparency.
Conditions for scientifically proving lottery fairness:
Amidakuji mathematically satisfies all of these:
For scientifically proven fair lottery, use Amida-san.
Experience fair and transparent drawing with our simple and easy-to-use Amida app.
Try it Now