Example. NFAs versus DFAs [017N]
An NFA can fail to be deterministic in just two ways:
- There could be a pair (q,a) for which there exists no transition q\mathrel {\xrightarrow {a}}q'.
- There could be a pair (q,a) such that q\mathrel {\xrightarrow {a}}q' and q\mathrel {\xrightarrow {a}}q'' for distinct states q',q''\in Q.
We recall our sample NFA over \Sigma ={\mathopen {}\left \{a,b\right \}\mathclose {}} from Example [017I] fails to be deterministic in both ways: we have both q_0\mathrel {\xrightarrow {a}}q_0 and q_0\mathrel {\xrightarrow {a}}q_1, and moreover there is no transition along b from state q_1 and q_2.
We could make the automaton deterministic by removing some transitions and adding others, while still accepting the same language:
So the above is a DFA over \Sigma . But if were to view it as an NFA over the extended alphabet \Sigma ' = {\mathopen {}\left \{a,b,c\right \}\mathclose {}}, then it would again fail to be deterministic because there would be no transitions along c!