I am struggling to answer the following question:
How many different languages over the unary alphabet {a} are recognized by 2-state DFAs?
According to the textbook, the hint was to first calculate the number of 2-state DFAs over that alphabet and then see if any of those DFAs accept the same language.
I am able to calculate the number of 2-state DFAs over that alphabet (Because a DFA is defined as a quintuple $(Q, \Sigma, \delta, q_0, F)$, there are:
- $Q$: 1 possibility (The number of states is already defined in the problem)
- $\Sigma$: 1 possibility (The alphabet is already defined in the problem)
- $\delta$: 4 possibilities (2 possible input states * 1 possible input character * 2 possible output states) = 4 possibilities)
- $q_0$: 2 possibilities (The start state can be one of the 2 states)
- $F$: 4 possibilities ($\emptyset$, $\{q_0\}$, $\{q_1\}$, $\{q_0, q_1\}$)
Total possibilities = 4 * 2 * 4 = 32. However, I am having trouble figuring out how many of the 32 DFA's accept the same language. The textbook says that there are 12 different DFAs that need to be considered due to symmetry, yielding 6 different languages—but I do not understand how the author got to that result.