GATE / CS ARCHIVE

GATE CSE 2001 / QUESTION 1.6

Worst-case NFA to DFA state blowup

Theory of Computation · Finite Automata · Full GATE CSE 2001 paper

GATE 2001, Q1.6 1 mark · MCQ
Report issue

Finite Automata

Question 1.6, GATE 2001: For an N-state NFA, determine the maximum possible size of an equivalent minimized DFA. Listed expressions are N², 2^N, 2N, and N!. The reproduced wording uses “maximum … at least”; distinguish worst-case size from the size for every individual NFA.
Tap to enlarge
Your answer
Answer & solution

Answer: B for the tight worst-case bound (no official key was published)

Step 1: Subset construction represents a DFA state by a subset of the N NFA states. There are at most 2N such subsets, and minimization cannot increase that number.

Step 2: This bound can be attained when the alphabet is unrestricted. Start at q0, make q0 accepting, and include symbols that map q0 to each chosen subset S. Include test symbols bi that map only qi to q0 and all other states to the empty set. Every subset is reachable, and bi distinguishes two subsets that differ in whether they contain qi. Thus all 2N subsets are inequivalent.

Conclusion: The maximum over N-state NFAs is 2N, B. This is not a claim that every particular NFA requires 2N states. The source phrase “maximum … at least” is imprecise; the tight worst-case reading is used.

Original paper, page 1