• edited by
16,669 views
40 40 votes

Let $N$ be an NFA with $n$ states and let $M$ be the minimized DFA with m states recogniz­ing the same language. Which of the following in NECESSARILY true?

  1. $m \leq 2^n$
  2. $n \leq m$
  3. $M$ has one accept state
  4. $m = 2^n$

5 Answers

Best answer
53 53 votes

A state in a DFA will be a subset of the set of states of the equivalent NFA. So, the maximum number of states in the equivalent DFA of an NFA, will be $2^n$, where $n$ is the number of states in NFA, as a set with $n$ items has maximum $2^n$ subsets. 

So, answer here is (A).

• edited by
17 17 votes
A) Given an nfa with n states, there could be 2^n states in its equivalent dfa in the worst case (each of its states being a unique combination of n states of the nfa). Hint: Try to remember the conversion of an nfa into dfa.

B) Take for instance, an nfa for L = 0* which requires only one state but could have many more with epsilon transitions. It could be minimised into a dfa with only two states. So, n can be greater than m.

C) A dfa can have more than one final state.

D) See B.

So, answer is A.
5 5 votes
Option a is always true...you can try with some examples you will never find an instance where it violates option a
1 1 vote
Set of states of NFA = n
A state in a DFA is a proper suset of states of NFA of corresponding DFA.
→ No. of subsets with n elements = 2^n
→ m ≤ 2^n
Answer:
Position:
Show:

Related questions

70 70 votes
8 answers 8 answers
23.2k
23.2k views
Ishrat Jahan asked Oct 28, 2014
23,218 views
Consider the following two finite automata. $M_1$ accepts $L_1$ and $M_2$ accepts $L_2$.$M_1$$M_2$ Which one of the following is TRUE?$L_1 = L_2$$L_1 \subset L_2$$L_1 \ca...
45 45 votes
5 answers 5 answers
15.2k
15.2k views
Ishrat Jahan asked Oct 28, 2014
15,166 views
If the final states and non-final states in the DFA below are interchanged, then which of the following languages over the alphabet $\{a, b\}$ will be accepted by the new...
36 36 votes
5 answers 5 answers
13.6k
13.6k views
Ishrat Jahan asked Oct 28, 2014
13,639 views
Which of the following languages is (are) non-regular?$L_1 = \{0^m1^n \mid 0 \leq m \leq n \leq 10000\}$$L_2 = \{w \mid w $ reads the same forward and backward$\}$$L_3 = ...
58 58 votes
7 answers 7 answers
22.7k
22.7k views
Ishrat Jahan asked Oct 28, 2014
22,709 views
Consider a CFG with the following productions.$S \to AA \mid B$$A \to 0A \mid A0 \mid 1$$B \to 0B00 \mid 1$$S$ is the start symbol, $A$ and $B$ are non-terminals and 0 an...