automata-theory

Definition

Deterministic Finite Automaton

A deterministic finite automaton (DFA) is a automaton that has a finite number of states and the transition function is deterministic.

where:

It processes input symbols (or strings) by transitioning between states according to and determines acceptance based on whether the final state is in .

All deterministic finite automata are nondeterministic finite automaton.

Examples

A deterministic finite automaton

The following automaton is defined by the following quintuple:

The transition function can be described using an operation table:

StateSymbolNext State

Trap state

Let be a deterministic finite automaton and let satisfy

Then is called a trap state.

For example, consider the following DFA:

This automaton accepts exactly

After any further symbol, the automaton enters the trap state and remains there.