3,445 views
2 votes
2 votes

Whenever there are 2 final states, I don't get how to solve it, kindly explain once and for all in a detailed manner! I'll owe you a lot.

3 Answers

1 votes
1 votes
Remove D state. RE: $b^{*}a(b^{*}a^{*})^{*}$
1 votes
1 votes
after minimize dfa  RE = b*a(a+b)*
0 votes
0 votes
For the DFA given in question :

1) We can see that its looping on state 1 for b so we use : b* {Scan all the b's and stay at same state}

2) By scanning a we move to a final state hence we use 'a'

3) Now since weather we scan an 'a' or 'b' we stay at final state hence we use (a+b)* {Universal set}

4) The dead state given in the DFA is not reachable in any way hence we ignore it.

Final RE obtained b*a(a+b)*

Related questions

2 votes
2 votes
0 answers
1
0 votes
0 votes
2 answers
2
iarnav asked Mar 14, 2019
924 views
Given L = { 0*1 + 0 + 1* + 10*1}where + symbol is UNION and NOT positive closure.Please draw the Minimal DFA for this.
0 votes
0 votes
1 answer
4
Shubhanshu asked Jul 1, 2017
3,091 views
Consider the given dfaWhat is the regular expression of the given dfa?I am getting :- a(ba)*bb + a(ba)*a + bbIs it correct or not?