hello
in exam 2021- February
exercise 1
- can some explain please why there is ε in the arc between q0 and q2 and between q3 and q2 in the first reduced automata
- for The second automaton, how the arc are constructed?


Hello Khaled,
let me try to provide you a possible solution showing all the steps of algorithm in details, following the method explained in the textbook, section 3.2.2. You can find it in the images below (I hope my handwriting is understendable properly).
I think the crucial passage is in the label 1+00*1 for arc q0q2, you can write it as (ε+00*)1 (similar for arc q3q2), which is exactly what we have in the solution.
About point b), I didn't write it on paper with good handwriting, but the elimination of q3 follows the same steps. Maybe the "trap" is in the state q0: this state is predecessor of q3, but also a successor, so the arc R11 is the arc from q0 to q0... which is the loop. And the arc from q0 to q2, 1+0(ε+0*+10*)1 is, again, another mode to take some common factors outside parentheses, I think it is not an error if you keep the expression explicit.
Let me know if you need the details for that step too.


