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

1 Expert Approved Answer
Step: 1 Unlock

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

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related SQL Database Programming Questions!