Sorting Elements of Set Before Working On it?

Feb 2010
21
0
Is it better to sort the elements of set before start working on it?

For example I have a set
B = {1,2,3,4}

A relation R is defined on B as
R = {(1,2), (4, 3), (2,4), (3,1), (1, 3), (4, 1)}

Shouldn’t I sort the elements of R as follows before I make a directed graph or show matrix representation etc?

R = {(1,2), (1, 3), (2,4), (3,1), (4, 1), (4, 3)}

Will it affect the logic and/or value of set?

Any suggestion please?

Thanks!
 
Dec 2009
411
131
The set of points have their natural ordering from \(\displaystyle \mathbb{R}^2\).

So if you draw the points in \(\displaystyle \mathbb{R}^2\), it doesn't matter at wich point you start, you'll still be making the same graph eventually.

So, the answer is no. You can mix them up all you want.
 
  • Like
Reactions: novice