GATE / CS ARCHIVE

GATE CSE 2018 / QUESTION 6

NFA to minimal DFA state bound

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

GATE 2018, Q6 1 mark · MCQ
Report issue

Finite Automata

Question 6, GATE 2018: An NFA has n states. Its equivalent minimal DFA has k states. Which is always true? A k≥2^n; B k≥n; C k≤n²; D k≤2^n.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Method

A DFA must remember the entire set of NFA states that could currently be active. There are 2n subsets of an n-element set. Some subsets may be unreachable and some reachable ones may be equivalent, so both reachability pruning and minimization can reduce this bound. There is no general lower bound k≥n: an NFA can contain many redundant states while accepting a language recognized by one DFA state. Some NFA families require exponentially many DFA states, ruling out a universal quadratic bound.

Solution

Subset construction represents each DFA state by a subset of the NFA’s n states, so at most 2n states are needed, including a possible empty subset. Minimization cannot increase that count. Thus k≤2n, D.

Original paper, page 5 · Answer key