Why is the formula for finding the total number of binary relations in a set A equal to $2^{A^2}$ ?
I have looked on the web (including here) and find the answer is because the relation can be in or out. This is the exact thing my professor told me but did not explain meaning in or out. I asked what that and he looked at me like I was stupid and did not explain further.
My understanding is if the set is in you have for example
A = {a,b} so a relation could be (a,a) which would be in
But what if the relation is out would that not be the empty set?
So for an example I had A is a set of 2 elements. So that would mean the number of binary relations would be $2^4$ which is 16 but this is what I got -only 14 elements.
(a), (b), (a,b), (a,a), (b,b), (a,b,a), (a,b,b), (b,b,b), (a,a,a,), (b,a,b,b), (b,a,b,a), (b,a,a,a), (b,b,b,b), (a,a,a,a)
What are the only two elements? Is the empty set a part of this? What does it mean to be in or out?