689 views
0 votes
0 votes
Can NFA has more states or equal states than DFA? Say NFA has n states and DFA has m states then -

n>=m possible?

2 Answers

Best answer
2 votes
2 votes

Yes definitely n could be greater than m ( but not always(n>=m).it may)

like if DFA has m states you may introduce a null production and get m+1 state NFA.

An example
selected by
2 votes
2 votes
epsilon nfa can have any number of states. but minimised nfa can never have more states than dfa

Related questions

4 votes
4 votes
2 answers
1
Ayush Upadhyaya asked Sep 12, 2018
651 views
Which of the following below are regular?(1)$\{wxw^r | w \in (0,1)^+,x\in(0,1)^*\}$(2)$\{wxw^r | w \in (0,1)^*,x\in(0,1)^+\}$(3)$\{ww^rx|\, w\in (0,1)^*,x \in (0,1)^+\}$(...
3 votes
3 votes
1 answer
2
ashishgateashish asked Mar 13, 2018
1,153 views
Part A:Given : (b|ab*ab*)* How can it be interpreted as:1.((b+ab*)ab*)* 2.(b+(ab*ab*))*3.((b+a)b*ab*)*Part B:1.What will be its NFA ? 2.Can we draw a direct MINIMAL DFA f...
0 votes
0 votes
0 answers
3
iarnav asked Jan 30, 2018
202 views
L = anbm / n,m>=1What type pf Language is this? Also, please tell are n,m are independent or dependent i.e can we have like n=2 and m=3 or both n,m have to have same valu...
0 votes
0 votes
1 answer
4