Construct Minimum DFA for Given Finite Automata



Problem

Construct a minimum state DFA for the following automata −

Solution

We first construct a transition table for the given finite automata −

States\inputs 0 1
q0 q1 q5
q1 q6 q2
*q2 q0 q2
q3 q2 q6
q4 q7 q5
q5 q2 q6
q6 q6 q4
q7 q6 q2

Q={q0,q1,q2,q3,q4,q5,q6,q7}

Q01={q2} and Q02={q0,q1,q2,q3,q4,q5,q6,q7}

S0={{q2} {q0,q1,q2,q3,q4,q5,q6,q7}}

Consider the set {q0,q1,q2,q3,q4,q5,q6,q7}

{q2} {q0,q1,q3,q5,q6,q7}

{q2} {q0,q4,q6} {q1,q3,q5,q7}

{q2} {q0,q4} {q6} {q1,q3,q5,q7}

{q2}{q0,q4}{q6}{q1,q7}{q3,q5}

The minimized state is as follows −

M1=(Q1, Σ, δ1,q01,F1)

Q1= {[q2],[q0,q4],[q6],[q1,q7],[q3,q5]}

qo1= {[q0,q4]}

F1= {[q2]}

Transition Table

Now the transition table is as follows −

States\inputs 0 1
[q0,q4] [q1,q7] [q3,q5]
[q6] [q6] [q2]
[q1,q7] [q0,q4] [q2]
[q3,q5] [q2] [q6]
[q2] [q6] [q0,q4]

The transition diagram is as follows −

Updated on: 2021-06-12T09:57:38+05:30

7K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements