4.18 (a)
4.20 (c) Left: (a + b )*
Right: a* + b*
So they accept different languages. The right one does not accept ab for example.
(d) Convert the left one to FA. Then it is the same as the right one.
Hence they accept the same language.
4.40 (b)
We are going to prove it by proving
and
.
(Recall that for sets A and B, A = B if and only if A B
and B A.)
First by the definition of -closure,
.
To prove
we use induction
on
.
Basis Step:
since
Induction Step: Let be an arbitrary element in
that has the property of
being in .
Then by the definition of ,
.
Hence
.
Hence
.
4.28 (b)
State | Input | Next State | | | State | Input | Next State |
---|---|---|---|---|---|---|
1 | a | {2} | | | 3 | a | {2, 4} |
2 | a | {1, 5} | | | 4 | b | {1, 3} |
2 | b | {1, 3} | | | 5 | a | {2} |