I have a homework problem that asks this...
a) List all the different binary relations on the set $\{0,1\}$
I assume that since the relation is not given then the answer must be the graph, or Cartesian product of the set. This only provides 4 sets. I should be getting this for a solution but I cannot see how to get there. Any explanation would be appreciated.
- $\emptyset$
- $\{(0, 0)\}$
- $\{(0, 1)\}$
- $\{(1, 0)\}$
- $\{(1, 1)\}$
- $\{(0, 0), (0, 1)\}$
- $\{(0, 0), (1, 0)\}$
- $\{(0, 0), (1, 1)\}$
- $\{(0, 1), (1, 0)\}$
- $\{(0, 1), (1, 1)\}$
- $\{(1, 0), (1, 1)\}$
- $\{(0, 0), (0, 1), (1, 0)\}$
- $\{(0, 0), (0, 1), (1, 1)\}$
- $\{(0, 0), (1, 0), (1, 1)\}$
- $\{(0, 1), (1, 0), (1, 1)\}$
- $\{(0, 0), (0, 1), (1, 0), (1, 1)\}$
This is from an MIT OCW course which I am taking as an independent study as a high school junior.
You have four choices. $0$ can be related to $0$ or not. $0$ can be related to $1$ or not. $1$ can ... etc. until $1$ can be related to $1$ or not. The total number of options is therefore $$2*2*2*2=2^4=16$$