In order to describe a Deterministic Finite Automation, , we describe 5 things:

  • its states
  • its input alphabet
  • its (unique) initial state
  • its favourable (or accepting) states there can be none, or more than one
  • its transition function: for every (state, input symbol) pair we have to tell what the next state should be

A word is accepted by DFA if the computation of on input ends up in some favourable state. Otherwise, is rejected by .