Total order relations on a finite set

  • Context: MHB 
  • Thread starter Thread starter Fernando Revilla
  • Start date Start date
  • Tags Tags
    Finite Relations Set
Click For Summary

Discussion Overview

The discussion revolves around the concept of total order relations on a finite set, specifically addressing the number of elements in such relations and the definitions and properties associated with total orders. Participants explore interpretations of the original question, mathematical formulations, and definitions related to total orders.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants assert that a total order relation on a set with n elements can be represented as a permutation of those elements, leading to the conclusion that there are n! total order relations.
  • Others challenge the notation used in the representation of total orders, suggesting that using indices like n_n can lead to confusion and proposing alternative notations.
  • A participant proposes that if the total order is non-strict (reflexive), the number of order pairs is given by the formula n(n-1)/2.
  • Another participant argues against this formula, providing examples to illustrate that the correct count of pairs in a total order includes both diagonal elements and off-diagonal pairs, leading to the conclusion that the total number of pairs is n + (n(n-1)/2).
  • Definitions of total order and its properties (antisymmetry, comparability, reflexivity, and transitivity) are discussed, with participants sharing their interpretations and seeking clarification on these concepts.
  • There is a request for further explanation and comparison of answers using specific examples to clarify the understanding of total orders.

Areas of Agreement / Disagreement

Participants express differing views on the correct formula for counting elements in a total order relation, with some supporting n(n-1)/2 and others arguing for n + (n(n-1)/2). There is no consensus on the interpretation of the original question, as multiple interpretations are presented.

Contextual Notes

Some participants note the potential for confusion in notation and definitions, highlighting the importance of clarity in mathematical communication. The discussion reflects varying levels of understanding regarding the properties of total orders and their implications for counting order pairs.

Fernando Revilla
Gold Member
MHB
Messages
631
Reaction score
0
I quote a question from Yahoo! Answers

How many elements are there in a total order?
So, let's suppose a given set containing n elements . How many elements, in terms of n, are there in a total order on this set?

I have given a link to the topic there so the OP can see my complete response.
 
Physics news on Phys.org
If $S=\{a_1,a_2,\ldots,a_n\}$, and $\le$ is a total order relation on $S$, for all $x,y\in S$ we have $x\le y$ or $y\le x$. This means that every total order relation has the form: $$a_{n_1}< a_{n_2}<\ldots <a_{n_n}$$ or equivalently, is a permutation on $S$. So, there are $n$ elements in a total order relation and there are $P_n=n!$ total order relations induced over $S$.
 
Fernando Revilla said:
This means that every total order relation has the form: $$a_{n_1}< a_{n_2}<\ldots <a_{n_n}$$ or equivalently, is a permutation on $S$. So, there are $n$ elements in a total order relation and there are $P_n=n!$ total order relations induced over $S$.
A couple of remarks. First, it's not good to write $n_n$: then $n$ denotes both a function $\mathbb{N}\to\mathbb{N}$ and an element of $\mathbb{N}$ (an index). We could denote the function by $k_i$; then the ordering would look $a_{k_1}< a_{k_2}<\dots <a_{k_n}$.

Second, the question is,
How many elements, in terms of n, are there in a total order on this set?
And what is a total order? It is a binary relation, i.e., a set of pairs of indices. If this is indeed what the question is asking and if the total order in question is non-strict (i.e., reflexive), then the answer is $n(n-1)/2$.
 
Also, a couple of remarks

Evgeny.Makarov said:
A couple of remarks. First, it's not good to write $n_n$: then $n$ denotes both a function $\mathbb{N}\to\mathbb{N}$ and an element of $\mathbb{N}$ (an index). We could denote the function by $k_i$; then the ordering would look $a_{k_1}< a_{k_2}<\dots <a_{k_n}$.

Yes, it is good. Easily understood, if $\sigma$ is a permutation on $\{1,2,\ldots,n\}$, $a_{n_k}$ is a notation for $a_{\sigma (k)}$

Second, the question is,And what is a total order? It is a binary relation, i.e., a set of pairs of indices. If this is indeed what the question is asking and if the total order in question is non-strict (i.e., reflexive), then the answer is $n(n-1)/2$.

My interpretation was: how many order relations in terms of $n$ are there on a set with $n$ elements? Also when I wrote there are $n$ elements in a total order relation I meant the number $n$ of elements in each permutation (which univoquely determine each total order relation).
 
Fernando Revilla said:
Easily understood, if $\sigma$ is a permutation on $\{1,2,\ldots,n\}$, $a_{n_k}$ is a notation for $a_{\sigma (k)}$.
Yes, $a_{n_k}$ is fine, but $a_{n_n}$ results in using $n$ to denote two different things, which is a name clash.

Fernando Revilla said:
My interpretation was: how many order relations in terms of $n$ are there on a set with $n$ elements?
Yes, we provided several interpretations of what the question may mean. If the OP wants further clarification, he/she should say which interpretation is correct.
 
Evgeny.Makarov said:
Yes, $a_{n_k}$ is fine, but $a_{n_n}$ results in using $n$ to denote two different things, which is a name clash.

The third stage of knowledege (notations in this case) usually is similar to the first one. If you use the perspective of the second stage, then you have the risk of confusing the former with the latter.
 
Thanks so much Fernando for introduce me to this place. Also thanks both Fernando and Evgeny for answering my question. Now, this is my problem:

1) Actually the original question is: Let $$A$$ be a set containing $$n$$ elements. Prove that a total order on $$A$$ contains exactly $$\dfrac{1}{2} n(n-1)$$ order pairs.

2) My answer is exactly the same as Fernando. My first thought was then that I was missing something about understanding the definition of "total order". Then I decided to ask the question to compare answers.

3) These are my definitions just the way I understand them to be (please tell me if something is wrong):

- A total order on a set is a binary relation that is antisimetric, comparable, reflexive and transitive.
- A binary relation $$R$$ is antisimetric on $$X$$ if an only if $$\forall Y\forall Z(Y\in X\wedge Z\in X \wedge Y\neq Z \longrightarrow (Y,Z)\notin R \vee (Z,Y) \notin R)$$.
- A binary relation $$R$$ is comparable on $$X$$ if and only if $$\forall Y\forall Z (Y\in X \wedge Z\in X \wedge Y\neq Z\longrightarrow (Y,Z)\in R \vee (Z,Y)\in R)$$
- A binary relation $$R$$ is reflexive on $$X$$ if and only if $$\forall Y(Y\in X \longrightarrow (Y,Y)\in R)$$
- A binary relation is transitive on $$X$$ if and only if $$\forall Y, Z,K\in X((Y,Z)\in R \wedge (Z,K)\in R \longrightarrow (Y,K)\in R)$$

4.- Evgeny, could you please explain your answer. It would be great if you could compare both answers by using a set with few elements, let say $$\{X,Y,Z \}$$.
 
Daniela said:
1) Actually the original question is: Let $$A$$ be a set containing $$n$$ elements. Prove that a total order on $$A$$ contains exactly $$\dfrac{1}{2} n(n-1)$$ order pairs.

Hello Daniela, welcome to MHB!

That formula is not true. For example, the sequences $X<Y<Z$, $X<Z<Y,\ldots,Z<Y<X$ determine all the total order relations on $\{X,Y,Z \}$. That is $3!=6$. The elements of the order relation defined by $X<Y<Z$ (i.e. the pairs $(S,T)$ such that $S\le T$) are: $$(X,X),(Y,Y),(Z,Z), (X,Y),(X,Z),(Y,Z)$$ That is, $3+ \binom{3}{2}=3+\frac{3\cdot 2}{3}=3+3=6$ which is different from $\frac{1}{2}3(3-1)$. In general, the elements of a total order relation defined on a set with $n$ elements is $$n+\binom{n}{2}=n+\frac{n(n-1)}{2}=\frac{n(n+1)}{2}=\binom{n+1}{2}$$

P.S. The only way that the formula $\frac{1}{2} n(n-1)$ works is if we don't consider the elements of the diagonal, but in such a case, the reflexive property is not fulfilled.
 

Similar threads

  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K