5,700 views
5 votes
5 votes
Please tell the approach , I am not getting that when initial state is designated then won't we consider it as like 4C1 since any of the four states could be initial state since we don't know which of the states would be designated ?

3 Answers

Best answer
16 votes
16 votes
Initial state is fixed. Now from initial state, transitions for symbols $a$ and $b$ can be to any of the 4 states, so there are $4*4=2^4$ possibilities. Similarly, from 2nd, 3rd and 4th state, there are $2^4$ possible transitions for each state i.e. we have $2^4*2^4*2^4*2^4=2^{16}$ possible transitions.

Each state also has 2 possibilities of being final state or not, so there are $2^4$ possibilities for choosing final states.

So total number of DFAs = $2^{16}*2^4 = 2^{20}$.
selected by
7 votes
7 votes
initial state designated means u have fixed one of starting state as initial.Let x,y,z,w be states and a,b symbols.Let x be initial state.From initial state for symbol a and b we can have transition to any of the state .So total 2^4 transition possible from initial state. Similarly for w,y,z we have 2^4 transitions.Total no of transitions =2^4*2*4*2^4*2^4=2^16 .Now each state can be either final or non final.Total no of possible configuration=2*2*2*2=2^4 o ans will be 2^20 if state is designated else if it is not any  one of state can be initial so we multiply 2^20 by 4C1
edited by
0 votes
0 votes
Suppose there are 'M' number of states in a DFA and 'N' number of input alphabets then the total number of DFAs is Given by the formula ((2^M) * (M ^ (M.N)))

HERE M=4 and N=2

Therefore number of DFAs is(( 2^4) * (4^8))

=((2^4) * (2^16))=2^20

Related questions

2 votes
2 votes
2 answers
2
33 votes
33 votes
3 answers
3
0 votes
0 votes
0 answers
4
koushriek asked May 19, 2022
1,347 views
Examples of accepted words: 1011, 101101, 1111Example of non-accepted words: 101, 1001, 010The solution says the min-DFA contains 5 states but I could only do it in 4. Am...