Let be an NFA with states. Let be the number of states of a minimal DFA which is equivalent to . Which one of the following is necessarily true?
View worked solution
Answer: D
To find the relationship between the number of states of an NFA and the number of states of its equivalent minimal DFA, we use the subset construction method:
- Subset Construction: Given any NFA with states, we can construct an equivalent DFA where each state corresponds to a subset of the states of the NFA. Since a set of size has subsets, the constructed DFA has at most states.
- Minimization: The minimal DFA is obtained by merging equivalent states of this DFA. Minimization can only decrease or maintain the number of states. Therefore, the number of states in the minimal DFA must satisfy:
Let's evaluate why the other options are not necessarily true:
- Option A (): Incorrect. For many NFAs, the equivalent minimal DFA has far fewer than states. For example, an NFA accepting can have states, but its minimal DFA has only state.
- Option B (): Incorrect. As shown in the example above, if and the language is , the minimal DFA has state, so .
- Option C (): Incorrect. There are standard languages (such as those where the -th symbol from the end is a specific character) where the minimal DFA requires exactly states. For , , which violates .
Thus, the only statement that is necessarily true is .
Free practice · Your answers on this page are not saved.
