encyclopegia.org

Majority function

In Boolean logic, the majority function (also called the median operator) is the Boolean function that evaluates to false when half or more arguments are false and true otherwise, i.e. the value of the function equals the value of the majority of the inputs.

In Boolean logic, the majority function (also called the median operator) is the Boolean function that evaluates to false when half or more arguments are false and true otherwise, i.e. the value of the function equals the value of the majority of the inputs. ⟨x, y, y⟩ = y ⟨x, y, z⟩ = ⟨z, x, y⟩ ⟨x, y, z⟩ = ⟨x, z, y⟩ ⟨⟨x, w, y⟩, w, z⟩ = ⟨x, w, ⟨y, w, z⟩⟩ An abstract system satisfying these as axioms is a median algebra. Other useful properties of the ternary median operator function include: given ⟨x, y, z⟩ = w, ⟨x, y, w⟩ = z ⟨¬x, ¬y, ¬z⟩ = ¬⟨x, y, z⟩ ⟨x, y, x ⊕ y ⊕ z⟩ = ⟨x, y, ¬z⟩ ⟨¬x, y, x ⊕ y ⊕ z⟩ = ⟨¬x, y, z⟩ For n = 1 the median operator is just the unary identity operation x. For n = 3 the ternary median operator can be expressed using conjunction and disjunction as xy + yz + zx. For an arbitrary n there exists a monotone formula for majority of size O(n 5.3 ). This is proved using probabilistic method. Thus, this formula is non-constructive. Approaches exist for an explicit formula for majority of polynomial size: Take the median from a sorting network, where each compare-and-swap "wire" is simply an OR gate and an AND gate. The Ajtai–Komlós–Szemerédi (AKS) construction is an example. Combine the outputs of smaller majority circuits. Derandomize the Valiant proof of a monotone formula. ==External links==

References

No reference rows published for this article.

Cite this article

MLA

"Majority function." encyclopegia.org, 2025, https://encyclopegia.org/wiki/majority-function. Accessed 23 November 2026.

Chicago

"Majority function." encyclopegia.org. Accessed November 23, 2026. https://encyclopegia.org/wiki/majority-function.

APA

encyclopegia.org. (2025). Majority function. Retrieved November 23, 2026, from https://encyclopegia.org/wiki/majority-function

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

Related articles

Propositional logic

enwiki · references available

Henry Purcell

enwiki · references available

Hydrophobe

enwiki · references available

Hiberno-English

enwiki · references available

Harmonic analysis

enwiki · references available

Home run

enwiki · references available

Harappa

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

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.