In the question thread "how many symmetric relations are there on a set with 5 elements", user MJD offers the following answer:
$$ \begin{array}{rclrrl} \text{A set with} & 0 & \text{elements has} & 2^{(0^2+0)/2} = & 1 & \text{symmetric relation}\\ \text{A set with} & 1 & \text{element has} & 2^{(1^2+1)/2} = & 2 & \text{symmetric relations}\\ \text{A set with} & 2 & \text{elements has} & 2^{(2^2+2)/2} = & 8 & \text{symmetric relations}\\ \text{A set with} & 3 & \text{elements has} & 2^{(3^2+3)/2} = & 64 & \text{symmetric relations}\\ \end{array} $$
What I'm wondering is, could you show me the symmetric relations for the sets with 0, 1, and 2 elements?
I get that $\text{R={(1,1),(2,1),(1,2),(2,2)}}$ is symmetric, as $\text{R(a,b) = R(b,a)}$ what I don't get is how a set with zero elements can have 1 symmetric relation, and a set with 1 have 2? Here is my guess: $$\text{Set with 0 elements: } \text{{∅} = 1 relation}$$ $$\text{Set with 1 element: } \text{{∅,(1,1)} = 2 relations}$$ $$\text{Set with 2 elements: } \text{{∅,(1,1),(1,2),(2,1)(2,2)} $\ne$ 8 relations }$$
Am I misunderstanding the concept of relations here? Help is much appreciated.
A relation is not a pair, but a set of pairs.
In particular:
Set with 0 elements: 1 relation
Set with 1 elements: 2 relations
Set with 2 elements: 8 relations
Note that there are $3=\frac{2\cdot 3}{2}$ minimal non-empty symmetric relations that are pairwise disjoint (namely $R_1$, $R_2$ and $R_4$), and all other are unions of sets of those "elementary" symmetric relations.
Note that this principle holds for any size: There is a set of minimal non-empty symmetric relations, which are all of the form $\{(a,b),(b,a)\}$ (note that for $a=b$ this is just the set $\{(a,a)\}$). For $n$-element sets, there are $N={n\choose 2}=\frac{n(n+1)}{2}$ such "basic" relations.
Each basic relation may or may not be a subset of a symmetric relation, therefore if there are $N$ such basic relations, there are $2^N$ symmetric relations in total. Therefore the total number of symmetric relations is $2^{n(n+1)/2} = 2^{(n^2+n)/2}$.