0 votes 0 votes Is dead state necessary in minimal DFA? Theory of Computation theory-of-computation finite-automata + – Mk Utkarsh asked Mar 16, 2018 Mk Utkarsh 774 views answer comment Share Follow See all 12 Comments See all 12 12 Comments reply Hemant Parihar commented Mar 16, 2018 reply Follow Share If the language is (a + b)*. Is there any need of dead state in minimum dfa? 0 votes 0 votes Mk Utkarsh commented Mar 16, 2018 reply Follow Share not for this language but what if incase of $(10+1)^{*}$ 0 votes 0 votes Mk Utkarsh commented Mar 16, 2018 reply Follow Share i got your point Hemant but for some languages jflap minimizes the DFA and doesn't include trap states so are trap/dead states necessary? 0 votes 0 votes Hemant Parihar commented Mar 16, 2018 reply Follow Share Yes in this case (10 + 1)*, we require dead state. Whenever we see 2 consecutive zeros in the input string we reached to the dead state. In DFA, we need to write transition at each state for every input symbol. If we don't do this, then it is not a DFA. Having a dead state is not necessary but writing transition at each state for every input symbol is necessary in DFA. 0 votes 0 votes Mk Utkarsh commented Mar 16, 2018 reply Follow Share It totally removes q3 0 votes 0 votes Hemant Parihar commented Mar 16, 2018 reply Follow Share The minimized finite automata is not DFA, it is NFA. See you haven't defined in minimized, where you go when you see zero on q0 state that's why it is not DFA. 0 votes 0 votes Mk Utkarsh commented Mar 16, 2018 reply Follow Share there is not a single example where they have trap states in peter linz that's why i'm confused. I totally agree with you but jflap created confusion and i'm not able to find example from reliable sources 0 votes 0 votes Hemant Parihar commented Mar 16, 2018 reply Follow Share jflap is showing wrong bro. See rule is simple for DFA, You have to define transition at every state for every alphabet. 1 votes 1 votes Mk Utkarsh commented Mar 16, 2018 reply Follow Share ok thanks 0 votes 0 votes Chandan_kumar_111 commented Mar 22, 2018 reply Follow Share No, Dead State is not a mandatory state in DFA. 0 votes 0 votes Mk Utkarsh commented Mar 22, 2018 reply Follow Share Chandan source? 0 votes 0 votes Chandan_kumar_111 commented Mar 22, 2018 reply Follow Share Try for a DFA that accepts all sets of Strings whose length is a multiple of 2 or 3 or 4. You will get some non-final states but you will not get any dead state. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Dead state possibe becouse of we need all input transtion in each and every state.it is conditional of dfa that we have to transtion all input. So thats why dead state necessary in dfa if it is in dfa Mohit Kumar 6 answered Mar 16, 2018 Mohit Kumar 6 comment Share Follow See all 0 reply Please log in or register to add a comment.