Deterministic finite automata (or DFA) are state transition machines which approve or disapprove sequence by communicate of information and sequence. Suppose have been the DFA that recognises the language and has five states. 'sfollowing example looks like this:

Sequence such as The language accepts the word since it has an odd number of width="9" height="15" role="math">b's (1) followed by an even number of a's (0). The language may written as a mixture of the two languages role="math" localid="1663218199506" .
The regular language can be defined as follows,
Consider the two languages,
The relation of the languages can be defined as follows,
Consider that, the regular expression that generates , the regular expression generates and the regular expression generates .
The relation can be defined as,
Substitute, in as follows,
role="math" localid="1663218795257"
Therefore, The regular expression that generates the language is .