Why Collision Opportunities Grow with the Number of Pairs
Each pair of independent uniform labels has a chance to match. The count of pairs grows faster than the count of labels drawn.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Count a tiny case
Four draws make six pairs of positions. With ten possible labels, any particular pair matches with probability one tenth. The expected number of matching pairs is six tenths. See indicator counts.
Distinguish expectation from occurrence
Several pairs can match in one experiment, so that expectation is not automatically the probability of any collision. An event union bound provides an upper bound, while counting no collisions can give the exact probability.[1]
Count pairs and then relate them to collision events
For six independent uniform choices among thirty labels, there are fifteen unordered pairs of draws. Each pair matches with probability \(1/30\), so the expected number of matching pairs is one half. This expectation also gives an upper bound on the chance of at least one collision. See indicator variables.
Number of pairs: 6×5/2 = 15
Match probability per pair: 1/30
Expected matches: 15/30 = .5
Three identical labels create three matching pairs
Keep pair counts distinct from the probability of any match
Collision events among different pairs can overlap. The exact any-match probability under uniform independent draws can be computed from the product for all labels distinct. Test sample size one, which has no pairs.