A relation on a set is called a linear order if: ?

  • It is also a partial order.
  • For all , either or .

For example:

on on

Graph of less than or equal to on natural numbers

  	graph G {
		2--1
		1--0
	}
Link to original

Graph of greater than or equal to on integer numbers

  	graph G {
		{
			m [label="-1"]
		}
	
  		m--0
		0--1
  	}
Link to original

Example

Let be a set with more than one element. Show that is not a linear order on .

If has more than one element, then there are at least two different elements, say and :

  • so and so
  • so and so
  • Neither or hold as .

So and are two elements in such that either or , so so is not a linear order. (It does not form a line.)

graph G {
	{
		a [label="P(s)"]
		x [label="{x}"]
		y [label="{y}"]
	}
	
	x,y--a
}