encyclopegia.org

Collision problem

The r-to-1 collision problem is an important theoretical problem in complexity theory, quantum computing, and computational mathematics. The collision problem most often refers to the 2-to-1 version: given n even and a function f:\,\{1,\ldots,n\}\rightarrow\{1,\ldots,n\} , we are promised that f is either 1-to-1 or 2-to-1. We are only allowed to make queries about the value of f(i) for any i\in\{1,\ldots,n\} . The problem then asks how many such queries we need to make to determine with certainty whether f is 1-to-1 or 2-to-1.

The r-to-1 collision problem is an important theoretical problem in complexity theory, quantum computing, and computational mathematics. The collision problem most often refers to the 2-to-1 version: given n even and a function f:\,\{1,\ldots,n\}\rightarrow\{1,\ldots,n\} , we are promised that f is either 1-to-1 or 2-to-1. We are only allowed to make queries about the value of f(i) for any i\in\{1,\ldots,n\} . The problem then asks how many such queries we need to make to determine with certainty whether f is 1-to-1 or 2-to-1. Solving the 2-to-1 version deterministically requires \frac{n}{2}+1 queries, and in general distinguishing r-to-1 functions from 1-to-1 functions requires \frac{n}{r} + 1 queries. This is a straightforward application of the pigeonhole principle: if a function is r-to-1, then after \frac{n}{r} + 1 queries we are guaranteed to have found a collision. If a function is 1-to-1, then no collision exists. Thus, \frac{n}{r} + 1 queries suffice. If we are unlucky, then the first n/r queries could return distinct answers, so \frac{n}{r} + 1 queries is also necessary.

References

No reference rows published for this article.

Cite this article

MLA

"Collision problem." encyclopegia.org, 2026, https://encyclopegia.org/wiki/collision-problem. Accessed 24 November 2026.

Chicago

"Collision problem." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/collision-problem.

APA

encyclopegia.org. (2026). Collision problem. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/collision-problem

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

1994 FIVB Men's Volleyball World Championship

enwiki · references available

2007–08 Vyshcha Liha

enwiki · references available

Andy Natowich

enwiki · references available

Qalandar District

enwiki · references available

Suresh Nanda

enwiki · references available

Real Madrid TV

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1351325255 · 0.5 · snapshot enwiki-001351325255

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.