Questions: DFA Properties and Minimization Algorithms
5 questions to test your understanding
Score: 0 / 5
Question 1 Multiple Choice
In a DFA, states p and q are such that for every possible input string, both states lead to the same accept or reject outcome. What can you conclude?
AThe states are distinguishable and must be kept separate
BThe states are equivalent and can be merged without changing the language recognized
CBoth states must be accepting states, since they produce the same outcomes
DThe DFA is non-deterministic if two states behave identically
Two states are equivalent (and can be merged) if no string distinguishes them — no string w causes one state to accept while the other rejects. Merging equivalent states produces a smaller DFA recognizing the exact same language. Equivalent states don't have to both be accepting; two rejecting states can be equivalent if every suffix takes both to the same outcome. Determinism is unaffected by having equivalent states — the DFA is still deterministic, just redundant.
Question 2 Multiple Choice
Why is the uniqueness of the minimal DFA (up to isomorphism) a useful property?
AIt guarantees that the minimization algorithm runs in polynomial time
BIt allows two DFAs to be tested for language equivalence by minimizing both and comparing their structure
CIt proves that all regular languages have the same number of states in their minimal DFA
DIt means any DFA can be minimized by simply relabeling its states
Uniqueness provides a canonical form: for any regular language, there is exactly one minimal DFA (up to renaming of states). This means you can test whether two DFAs recognize the same language by minimizing both and checking if the results are structurally identical. No other computational model at the regular-language level has such a clean canonical form. This also provides a lower bound: if the minimal DFA has k states, no DFA can recognize the language with fewer.
Question 3 True / False
If two different DFAs both recognize the same regular language, their minimized forms will be isomorphic — identical up to the naming of states.
TTrue
FFalse
Answer: True
This is the uniqueness theorem for minimal DFAs: every regular language has exactly one minimal DFA, up to isomorphism (renaming of states). No matter how you construct two DFAs for the same language — different state names, different starting constructions — minimizing both will always produce structurally identical automata. This uniqueness is what makes the minimal DFA a canonical representative of the language and enables the language equivalence test.
Question 4 True / False
Two DFA states are equivalent if they were reached by the same set of input strings from the start state.
TTrue
FFalse
Answer: False
Equivalence is defined by future behavior, not past history. Two states are equivalent if, for every possible input string read from that point forward, both states produce the same accept/reject outcome. The strings that led to those states are irrelevant — what matters is what the automaton does from those states onward. This future-oriented definition is what makes the concept work: you can merge two states regardless of how they were reached, as long as they are indistinguishable by any suffix.
Question 5 Short Answer
What does it mean for two DFA states to be distinguishable, and why is distinguishability the basis for the minimization algorithm?
Think about your answer, then reveal below.
Model answer: Two states p and q are distinguishable if there exists some string w such that starting from p the DFA accepts w, but starting from q it rejects w (or vice versa). States not distinguishable by any string are equivalent and can be safely merged. Minimization works by finding all distinguishable pairs — starting from the obvious base case (accept vs. reject states are always distinguishable by the empty string) — and iteratively propagating distinguishability through the transition function until no new distinctions can be found. What remains unmarked are equivalent states that get merged.
The key insight is that 'equivalence' is purely about future behavior, making it independent of how states were designed or labeled. The base case is intuitive: an accepting and a rejecting state behave differently on the empty string. The iterative step propagates this: if states r and s are distinguishable, then any states p and q that transition to r and s respectively on input a are also distinguishable. This ensures every redundant state is identified before merging.