Hw2 Problem 7

Return to Homework 2, Glossary, Theorems

Problem 7

(*) How many different commutative binary operations can be defined on a set of 2 elements? on a set
of 3 elements? on a set of n elements?

Solution

A commutative binary operation on a set of n elements is determined by the elements on or above the main diagonal of its table. This is the number of elements on the diagonal, $n$, plus the number of elements above the diagonal, $\frac{n^{2}-n}{2}$ (the full table, minus the main diagonal, divided by 2). This simplifies to $\frac{n^{2} + n}{2}$. Each element has $n$ options, so there are $n^{\frac{n^{2} + n}{2}}$ possible commutative binary operations, $c$, on an $n$-element set. So then for

(1)
\begin{align} n = 2,\ \ c = 2^{3} = 8\\ n = 3,\ \ c = 3^{6} = 729 \end{align}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License