Skip to content
Official PYQ · 2001

GATE CS 2001 Q1.6 — Regular Expressions and Finite Automata

Explain with AI

Given an arbitrary non-deterministic finite automaton (NFA) with NN states, the maximum number of states in an equivalent minimized DFA at least

Choose one option
View worked solution

Answer: B

To find the maximum number of states in a minimized DFA equivalent to an NN-state NFA, we look for the worst-case scenario where the subset construction yields a DFA that cannot be further minimized.

1. Subset Construction Upper Bound

Given an NFA with NN states, the power set of its states has 2N2^N possible subsets. Therefore, the equivalent DFA constructed via subset construction can have at most 2N2^N states.

2. Achievability of the 2N2^N Bound

There exist languages accepted by an NN-state NFA for which the equivalent minimized DFA requires exactly 2N2^N states. For example, consider a language where we need to track the NN-th symbol from the right-hand end of the input string. An NFA can easily guess this position and transition to the accept state using NN states, whereas any DFA must remember the last NN symbols read, requiring 2N2^N distinct states. Since all these 2N2^N states are pairwise distinguishable, the minimized DFA must also have 2N2^N states.

Thus, the maximum number of states in an equivalent minimized DFA is at least 2N2^N.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Regular Expressions and Finite Automata questions