Jump to content

Median algebra: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m link
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(16 intermediate revisions by 12 users not shown)
Line 1: Line 1:
In [[mathematics]], a '''median algebra''' is a set with a [[ternary operation]] < x,y,z > satisfying a set of axioms which generalise the notion of median or [[majority function]], as a [[Boolean function]].
In [[mathematics]], a '''median algebra''' is a set with a [[ternary operation]] <math>\langle x,y,z \rangle</math> satisfying a set of axioms which generalise the notions of medians of triples of real numbers and of the [[majority function|Boolean majority function]].


The axioms are
The axioms are
# &lt; x,y,y &gt; = y
# <math>\langle x,y,y \rangle = y</math>
# &lt; x,y,z &gt; = &lt; z,x,y &gt;
# <math>\langle x,y,z \rangle = \langle z,x,y \rangle</math>
# &lt; x,y,z &gt; = &lt; x,z,y &gt;
# <math>\langle x,y,z \rangle = \langle x,z,y \rangle</math>
# &lt; &lt; x,w,y &gt; ,w,z &gt; = &lt; x,w, &lt; y,w,z &gt; &gt;
# <math>\langle \langle x,w,y\rangle ,w,z \rangle = \langle x,w, \langle y,w,z \rangle\rangle</math>


The second and third axioms imply [[commutativity]]: it is possible (but not easy) to show that in the presence of the other three, axiom (3) is redundant. The fourth axiom implies associativity.
The second and third axioms imply commutativity: it is possible (but not easy) to show that in the presence of the other three, axiom (3) is redundant. The fourth axiom implies associativity.
There are other possible axiom systems: for example the two
There are other possible axiom systems: for example the two
* &lt; x,y,y &gt; = y
* <math>\langle x,y,y \rangle = y</math>
* &lt; u,v, &lt; u,w,x &gt; &gt; = &lt; u,x, &lt; w,u,v &gt; &gt;
* <math>\langle u,v, \langle u,w,x \rangle\rangle = \langle u,x, \langle w,u,v \rangle\rangle</math>
also suffice.
also suffice.


In a [[Boolean algebra (introduction)|Boolean algebra]], or more generally a [[distributive lattice]], the median function <math>\langle x,y,z \rangle = (x \vee y) \wedge (y \vee z) \wedge (z \vee x)</math> satisfies these axioms, so that every Boolean algebra and every distributive lattice forms a median algebra.
In a [[Boolean algebra (introduction)|Boolean algebra]], or more generally a [[distributive lattice]], the median function <math>\langle x,y,z \rangle = (x \vee y) \wedge (y \vee z) \wedge (z \vee x)</math> satisfies these axioms, so that every Boolean algebra and every distributive lattice forms a median algebra.


Birkhoff and Kiss showed that a median algebra with elements 0 and 1 satisfying &lt; 0,x,1 &gt; = x is a [[distributive lattice]].
Birkhoff and Kiss showed that a median algebra with elements 0 and 1 satisfying <math>\langle0,x,1 \rangle = x</math> is a [[distributive lattice]].


==Relation to median graphs==
==Relation to median graphs==
A [[median graph]] is an [[undirected graph]] in which for every three vertices ''x'', ''y'', and ''z'' there is a unique vertex &lt; x,y,z &gt; that belongs to [[shortest path]]s between any two of ''x'', ''y'', and ''z''. If this is the case, then the operation &lt; x,y,z &gt; defines a median algebra having the vertices of the graph as its elements.
A [[median graph]] is an [[undirected graph]] in which for every three vertices <math>x</math>, <math>y</math>, and <math>z</math> there is a unique vertex <math>\langle x,y,z \rangle</math> that belongs to [[shortest path]]s between any two of <math>x</math>, <math>y</math>, and <math>z</math>. If this is the case, then the operation <math>\langle x,y,z \rangle</math> defines a median algebra having the vertices of the graph as its elements.


Conversely, in any median algebra, one may define an ''interval'' [''x'', ''z''] to be the set of elements ''y'' such that &lt; x,y,z &gt; = ''y''. One may define a graph from a median algebra by creating a vertex for each algebra element and an edge for each pair (''x'', ''z'') such that the interval [''x'', ''z''] contains no other elements. If the algebra has the property that every interval is finite, then this graph is a median graph, and it accurately represents the algebra in that the median operation defined by shortest paths on the graph coincides with the algebra's original median operation.
Conversely, in any median algebra, one may define an ''interval'' <math>[x, z]</math> to be the set of elements <math>y</math> such that <math>\langle x,y,z \rangle = y</math>. One may define a graph from a median algebra by creating a vertex for each algebra element and an edge for each pair <math>(x, z)</math> such that the interval <math>[x, z]</math> contains no other elements. If the algebra has the property that every interval is finite, then this graph is a median graph, and it accurately represents the algebra in that the median operation defined by shortest paths on the graph coincides with the algebra's original median operation.


==References==
==References==
* {{cite journal | last=Birkhoff | first=Garrett | authorlink=Garrett Birkhoff | last2=Kiss | fitst2=S.A. | title=A ternary operation in distributive lattices | journal=[[Bulletin of the American Mathematical Society|Bull. Amer. Math. Soc.]] | volume=53 | date=1947 | pages=749–752 | doi=10.1090/S0002-9904-1947-08864-9 }}
* {{cite journal | last1=Birkhoff | first1=Garrett | authorlink=Garrett Birkhoff | last2=Kiss | title=A ternary operation in distributive lattices | journal=[[Bulletin of the American Mathematical Society|Bull. Amer. Math. Soc.]] | volume=53 | date=1947 | issue=8 | pages=749–752 | doi=10.1090/S0002-9904-1947-08864-9 | first2=S.A. | doi-access=free }}
* {{cite journal | last=Isbell | first=John R. | title=Median algebra | journal=[[Transactions of the American Mathematical Society|Trans. Amer. Math. Soc.]] | volume=260 | issue=2 | date=August 1980 | pages=319–362 | doi=10.2307/1998007 }}
* {{cite journal | last=Isbell | first=John R. | authorlink = John R. Isbell | title=Median algebra | journal=[[Transactions of the American Mathematical Society|Trans. Amer. Math. Soc.]] | volume=260 | issue=2 | date=August 1980 | pages=319–362 | doi=10.2307/1998007 | jstor=1998007 | publisher=American Mathematical Society | doi-access=free }}
* {{ cite book | last=Knuth | first=Donald E. | authorlink=Donald Knuth | title=Introduction to combinatorial algorithms and Boolean functions | series=[[The Art of Computer Programming]] | volume=4.0 | date=2008 | isbn=0-321-53496-4 | pages=64–74 | publisher=Addison-Wesley | location=Upper Saddle River, NJ }}
* {{ cite book | last=Knuth | first=Donald E. | authorlink=Donald Knuth | title=Introduction to combinatorial algorithms and Boolean functions | series=[[The Art of Computer Programming]] | volume=4 | date=2008 | isbn=978-0-321-53496-5 | pages=64–74 | publisher=Addison-Wesley | location=Upper Saddle River, NJ }}


==External links==
==External links==
* [http://www.cs.unm.edu/~veroff/MEDIAN_ALGEBRA/ Median Algebra Proof]
* [http://www.cs.unm.edu/~veroff/MEDIAN_ALGEBRA/ Median Algebra Proof]


[[Category:Algebra]]
[[Category:Boolean algebra]]
[[Category:Ternary operations]]

Latest revision as of 20:57, 4 May 2024

In mathematics, a median algebra is a set with a ternary operation satisfying a set of axioms which generalise the notions of medians of triples of real numbers and of the Boolean majority function.

The axioms are

The second and third axioms imply commutativity: it is possible (but not easy) to show that in the presence of the other three, axiom (3) is redundant. The fourth axiom implies associativity. There are other possible axiom systems: for example the two

also suffice.

In a Boolean algebra, or more generally a distributive lattice, the median function satisfies these axioms, so that every Boolean algebra and every distributive lattice forms a median algebra.

Birkhoff and Kiss showed that a median algebra with elements 0 and 1 satisfying is a distributive lattice.

Relation to median graphs

[edit]

A median graph is an undirected graph in which for every three vertices , , and there is a unique vertex that belongs to shortest paths between any two of , , and . If this is the case, then the operation defines a median algebra having the vertices of the graph as its elements.

Conversely, in any median algebra, one may define an interval to be the set of elements such that . One may define a graph from a median algebra by creating a vertex for each algebra element and an edge for each pair such that the interval contains no other elements. If the algebra has the property that every interval is finite, then this graph is a median graph, and it accurately represents the algebra in that the median operation defined by shortest paths on the graph coincides with the algebra's original median operation.

References

[edit]
  • Birkhoff, Garrett; Kiss, S.A. (1947). "A ternary operation in distributive lattices". Bull. Amer. Math. Soc. 53 (8): 749–752. doi:10.1090/S0002-9904-1947-08864-9.
  • Isbell, John R. (August 1980). "Median algebra". Trans. Amer. Math. Soc. 260 (2). American Mathematical Society: 319–362. doi:10.2307/1998007. JSTOR 1998007.
  • Knuth, Donald E. (2008). Introduction to combinatorial algorithms and Boolean functions. The Art of Computer Programming. Vol. 4. Upper Saddle River, NJ: Addison-Wesley. pp. 64–74. ISBN 978-0-321-53496-5.
[edit]