Deterministic Finite Automaton

Definition. A deterministic finite automaton (DFA) is a five-tuple M=(Q,Σ,δ,q0,F)M = (Q, \Sigma, \delta, q_0, F) where QQ is a finite set of states, Σ\Sigma is an alphabet, δ:Q×Σ→Q\delta : Q \times \Sigma \to Q is a total transition function, q0q_0 is the start state, and F⊆QF \subseteq Q is the set of accepting states. MM accepts ww if reading ww from q0q_0 ends in a state of FF.

The finiteness of QQ is the entire restriction: the machine reads its input once, left to right, and remembers nothing but which state it is in. Proving what a DFA recognizes means stating what each state means about the input read so far and proving that meaning survives one transition, by induction on the input length. A DFA always halts, taking exactly ∣w∣|w| steps. Introduced in Lecture 3; the languages DFAs recognize are the regular ones.

Updated
Copyright © 2026 Jared Coleman. All rights reserved.