Deterministic Finite Automata (DFA)
A type of Finite Automaton which is deterministic. This means that the transition Function contains only one output for each character from each node. So you know exactly, the next step given a character and state. It has the same definition as FA, just with a more restrictive definition of .
Is also a subset of NFAs
Definition
A deterministic finite automaton is a 5-Tuple ()
- : a finite set of states
- : a finite alphabet
- : : a transition function (the Cartesian Product between and )
- : the starting state
- : a set of accepting states
Example 1

This DFA has the following properties:
- is the starting state
- are the success states
What language does this state machine accept? Any string with an odd number of s.