Reference: This material is based on section 2.1 of the Linz textbook.
A dfa operates as follows:
To visualize a dfa, we use a transition graph
See Example 2.1 in Linz textbook.
The extended transition function gives the state of the automaton after reading a string.
That is, L(M) is the set of all strings on the input alphabet accepted by automaton M.
Note that above
and
are total functions (defined
for all strings).
See example 2.2 in the Linz textbook.
A trap state is a state from which the automaton can never "escape".
Transition graphs are quite convenient for understanding finite automata.
For other purposes--such as representing finite automata in
programs-- a tabular representation of transition function
may also be convenient.
Dfas define the family of languages called regular.
See examples in the Linz textbook.