Deterministic Finite Accepters (DFA)

Formal Definition

A deterministic finite accepter or DFA is defined by the quintuple

$$ M = (Q, \Sigma, \delta, q_0, F), $$

where:

<aside> 💡 For example, if we have $\delta(q_0, a) = q_1$, then if the dfa is in state $q_0$ and the current input symbol is $a$, the dfa will go into state $q_1$.

</aside>

Transition Graphs

We use transition graphs to visually represent finite automata.

CleanShot 2022-02-26 at 15.13.06@2x.png

CleanShot 2022-02-26 at 15.12.41@2x.png

Extended Transition Function

The extended transition function has definition