in Theory of Computation retagged by
16,487 views
47 votes
47 votes
The minimum possible number of states of a deterministic finite automaton that accepts the regular language $L$ = {$w_{1}aw_{2}$ | $w_{1},w_{2}$ $\in$ $\left \{ a,b \right \}^{*}$ , $\left | w_{1} \right | = 2, \left | w_{2} \right |\geq 3$} is ______________ .
in Theory of Computation retagged by
by
16.5k views

1 comment

shivay khustak is already uploading set 2..avoid duplicate qs
1
1

9 Answers

90 votes
90 votes
Best answer

Answer is 8 states included one trap state (8) and final state (7).

$3^{rd}$ symbol from the start is an $\textbf{a}$
edited by

4 Comments

yes you can
1
1
I think in such a type of question we can’t minimize, because each state has it’s own significance.
1
1
We know if we combine and non-final states acc. to algo It will not remain as same language DFA.But really why our minimization algo create this problem here??? or  something I missing here
0
0
22 votes
22 votes
(a+b)(a+b)a(a+b)(a+b)(a+b) min length string is 6 alphabet so we need atleast 7 state and one for dead state so tatal 8 state needed.
reshown by
by

4 Comments

@praveen sir what if we minimize the obtained dfa ? Will number of states will reduce or it will be same coz it's asking minimum number of states ? Or I am just overthinking
1
1
How did you come to know about the one extra dead state?
0
0
Because there is a restriction on the third symbol.
1
1
6 votes
6 votes
The answer will be 8 here

|w1| =2 for this we need 4 states (One dead state also)

|w2| >=3 for this we need 3 states

and 1 state in the middle for a so total 8
1 vote
1 vote
8 states including 1 final state and 1 dead state
Answer:

Related questions