1,403 views
3 votes
3 votes

https://gateoverflow.in/10853/how-many-dfas-exist-with-three-states-over-the-input-alphabet
For n states and m input alphabets we can have the formula for total no of DFA 
n×nnm×2n=nnm+1×2n
----  my doubt is that can we generalize a result like above for no of dfa that accepts empty language.
after so many effort i m not able to get that... 

1 Answer

3 votes
3 votes

Yes of course we can generalise it.

We know that for a dfa comprising of n states and m input alphabets ,

No of DFA possible = n * nnm * 2n assuming that the DFA is a labelled one and hence the choice of start state matters

Now coming to your question , we need to accept an empty language.As we know final states are meant for acceptance only.So if we want that we accept the empty language what we need to do is just we do not choose any of the states as the final state and hence all states will be rejecting states and hence we will get empty language.By empty language we mean nothing is accepted.

So given an initial state there is only 1 way of choosing final state and that is not choosing any of the state as the final state

Hence the 3rd term "2n" in general expression reduces to 1 only.

Hence no of DFA which accepts empty language = n * nnm

                                                                       =  nnm+1

Related questions

2 votes
2 votes
2 answers
2
Tuhin Dutta asked Nov 30, 2017
1,058 views
What is the min no. of states required in DFA which accepts all strings starting with 1 and whose decimal value is divisible by 7?
1 votes
1 votes
1 answer
3
Prajwal Bhat asked Jan 17, 2017
1,348 views
No. of states in the DFA accepting the following set of strings are:( ( aa* + φ* )* (aa* + φ* ) + bb* + φ* φ + φ* )*Quite confusing to me. Share your approach!