Automata Unit1
Automata Unit1
defined as a system that preforms certain Machine): A Finite automaton can be represented
functions without human intervention. it accepts by five-tuple structure M(Q,Σ, δ, q0, F), where
raw material and energy as input and converts 1. Q is a finite non empty set of states.
them into the final product under the guidance of 2. Σ is a finite non empty set of inputs called
control signals. or an automata is defined as a
the input alphabets.
system where energy, materials, and information
3. is a function which maps Q × Σ into Q
are transformed, transmitted and used for
performing some functions without direct and is called transmission function (next
involvement of man. Ex: Any automatic machine state function) (present state × input
like printing machine, washing machine etc. alphabet→ next state).
4. q0 ∈ Q is the initial state.
0 qf
(110)* (0+1)
a q0 a F q0 1 F
0 q1 1
b q0 b F 1
1+0
a q0 1 q1 0 F
a+b q0 F
b
a 1
c (10+111+11010)
(a+b)c q0 q1 F
b F 0 q1
a 1 1
a∗ 0 q2
F
q4 0
a 1
aa∗ a q3
q0 F
Difference between DFA and NDFA is only in δ. Example: Design a FA over alphabet Σ = {0, 1},
for DFA outcome is a state, i.e. an element of Q; which accepts the set of strings either start with
for NDFA, the outcome is a subset of Q. 01 and or end with 01.