Given set A has n elements. Find
1) Number of all reflexive relations?
2) Number of all symmetric relations?
3) Number of all reflexive and symmetric relations? Why is enumeration of transitive relations difficult?
1) Relation could be viewed as a digraph hence after the self loop edge for each vertices. There are ${n \choose 2}$ edges hence two choices for each i.e either a relation or not Hence answer:$ 2 ^ {n \choose 2} $
2) Here another choice of self loop. There are ${n \choose 2}$ + 1 edges hence two choices for each i.e either a relation or not Hence answer:$ 2 ^ {{n \choose 2}+1} $
Is this correct? Third one I am very confused how to approach.