Is Dead state is included in the Minimized DFA or not?

Prashant Bhardwaj picture Prashant Bhardwaj · Feb 4, 2012 · Viewed 8.4k times · Source

I searched google and in many pages it is given that in Minimized DFA dead state or trap state is removed. My question is how can it be still a DFA if some transition is undefined. So what you say people?

Answer

Patrick87 picture Patrick87 · Feb 4, 2012

Even minimal DFAs must include dead states; otherwise, they're either (a) not DFAs or (b) not accepting the same language as their non-minimal counterparts. For instance, a minimal DFA for the language {a} over alphabet {a, b} must have 3 states: a start state where you can see a and accept; an accepting state where you reject if you see anything else; and a dead state where you go if you see a b or anything in the accepting state.

Never heard of omitting dead states from minimal DFAs. Blasphemy!