Question: (i) Let us reconsider the regular expression (a + b)*a(a + b)*b(a + b)* Show that this is equivalent to (a + b)*ab(a + b)*
(i) Let us reconsider the regular expression
(a + b)*a(a + b)*b(a + b)*
Show that this is equivalent to
(a + b)*ab(a + b)*
In the sense that they define the same language.
(ii) Show that
(a + b)*ab(a + b)* + b*a* = (a + b)*
(iii) Show that
(a + b)*ab[(a + b)*ab(a + b)* + b*a* ] + b*a* = (a + b)*
(iv) Is (iii) the last variation of this theme or are there more beasts left in this cave?
Step by Step Solution
3.50 Rating (157 Votes )
There are 3 Steps involved in it
i a baa bba b aab abba ii abab abab iii ab a b a b ba ab iv The last v... View full answer
Get step-by-step solutions from verified subject matter experts
