Math 2.0

Order, lattices, ordered algebraic structures Definition

Median algebra

Builds on Distributive lattice

Definition

Let XX be a set and let ⟨⋅,⋅,⋅⟩ ⁣:X×X×X→X\langle \cdot, \cdot, \cdot \rangle \colon X \times X \times X \to X be a ternary operation. The pair (X,⟨⋅,⋅,⋅⟩)(X, \langle \cdot, \cdot, \cdot \rangle) is a median algebra if for all x,y,z,w∈Xx, y, z, w \in X:

  1. ⟨x,y,y⟩=y\langle x, y, y \rangle = y;
  2. ⟨x,y,z⟩=⟨z,x,y⟩\langle x, y, z \rangle = \langle z, x, y \rangle;
  3. ⟨x,y,z⟩=⟨x,z,y⟩\langle x, y, z \rangle = \langle x, z, y \rangle;
  4. ⟨⟨x,w,y⟩,w,z⟩=⟨x,w,⟨y,w,z⟩⟩\langle \langle x, w, y \rangle, w, z \rangle = \langle x, w, \langle y, w, z \rangle \rangle.

Remarks

Clauses 2 and 3 together say that ⟨x,y,z⟩\langle x, y, z \rangle does not change under any permutation of x,y,zx, y, z. Clause 4 says that for fixed ww, the binary operation (x,y)↦⟨x,w,y⟩(x, y) \mapsto \langle x, w, y \rangle is associative.

Example: X=ℝX = \R with ⟨x,y,z⟩\langle x, y, z \rangle the median of x,y,zx, y, z, which equals max⁡(min⁡(x,y),min⁡(y,z),min⁡(z,x))\max(\min(x, y), \min(y, z), \min(z, x)). More generally, every distributive lattice is a median algebra with ⟨x,y,z⟩=(x∧y)∨(y∧z)∨(z∧x)\langle x, y, z \rangle = (x \wedge y) \vee (y \wedge z) \vee (z \wedge x). For clause 1, (x∧y)∨y∨(y∧x)=y(x \wedge y) \vee y \vee (y \wedge x) = y.

Non-example: a set XX with at least two elements and ⟨x,y,z⟩=x\langle x, y, z \rangle = x. Clause 1 fails: for x≠yx \ne y, ⟨x,y,y⟩=x≠y\langle x, y, y \rangle = x \ne y.

Reading path

To understand this page from the ground up, read these 2 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Distributive lattice concept
  2. Median algebra definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Median_algebra
About this page
Tag114KYR2JGP
URIm2://114KYR2JGP
Kinddefinition
WritingW0 stub
MSC06D99, 08A99, 05C12
DefinesMedian algebra
UsesDistributive lattice
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.