11 votes 11 votes Indicate whether the following statement is true or false, providing a short explanation to substantiate your answers. If a language $L$ is accepted by an NFA with $n$ states then there is a DFA with no more than $2^n$ states accepting $L$. Theory of Computation descriptive cmi2010 finite-automata + – go_editor asked May 27, 2016 • retagged Jul 1, 2017 by Silpa go_editor 1.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 7 votes 7 votes If a language $L$ is accepted by an NFA with $n$ states then there is a DFA with no more than $2^n$ states accepting $L$. This is correct statement. With Proof. ManojK answered May 27, 2016 • edited Jun 15, 2018 by Milicevic3306 ManojK comment Share Follow See all 3 Comments See all 3 3 Comments reply bhuv commented Nov 4, 2017 reply Follow Share I think your answer will be correct if $\left | \sum \right |=2$ i.e. only two alphabets were present (like 0,1). In general it should be $\left | \sum \right |^n$. Please check before you believe. 0 votes 0 votes junk_mayavi commented Nov 8, 2017 reply Follow Share @bhuv $2^n$ is the number of states in the power set of $Q_{nfa}$, isn't it ? how is it related to number of input symbols ? as per my understanding, during subset construction, the new states introduced are from members of the power set of $Q_{nfa}$ .And the power set can have $2^n$ possible combinations of states irrespective of number of alphabets in Σ ,isn't it ? Kindly explain your point little more.. 7 votes 7 votes meghna commented May 2, 2018 reply Follow Share From "Introduction to the Theory of Computation_MICHAEL SIPSER", "If k is the number of states of the NFA, it has 2k subsets of states. Each subset corresponds to one of the possibilities that the DFA must remember, so the DFA simulating the NFA will have 2k states." Here possibilities means either addition or removal (i.e. 2) of each state while we convert the NFA to its equivalent DFA , which simulates the NFA. So if NFA has k states, then its equivalent DFA goes up to maximum of 2k states. 1 votes 1 votes Please log in or register to add a comment.
1 votes 1 votes Because the DFA states consist of sets of NFA states, an n-state NFA may be converted to a DFA with at most 2n states. For every n, there exist n-state NFAs such that every subset of states is reachable from the initial subset, so that the converted DFA has exactly 2n states https://en.wikipedia.org/wiki/Powerset_construction#Complexity Sandeep Suri answered Jan 1, 2018 Sandeep Suri comment Share Follow See 1 comment See all 1 1 comment reply krishn.jh commented Nov 15, 2018 reply Follow Share converted DFA has exactly 2n states it should be "not more than 2n" 0 votes 0 votes Please log in or register to add a comment.