1 votes 1 votes ( a*+b*+a*b*+b*a* ) can we derive string abab and abba from this regular expression. what is the relationship between ( a*+b*+a*b*+b*a* ) and (a+b)* Theory of Computation theory-of-computation finite-automata regular-expression + – Alok12 asked Jun 6, 2016 • edited Jun 6, 2016 by srestha Alok12 786 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply vijaycs commented Jun 6, 2016 reply Follow Share no . ( a*+b*+a*b*+b*a* ) can not produce abab or abba. And languages produced by ( a*+b*+a*b*+b*a* ) are subset of languages produced by (a+b)* . 1 votes 1 votes Alok12 commented Jun 6, 2016 reply Follow Share how did you analize can you tell a bit more(break it down into steps). I m having trouble understanding RE. 0 votes 0 votes Alok12 commented Jun 7, 2016 reply Follow Share How can I create a DFE for this RE . 0 votes 0 votes Please log in or register to add a comment.
2 votes 2 votes ( a*+b*+a*b*+b*a* ) cannot generate ((ab)+(ba)+)* or ((ba)+(ab)+)* means here we can generate either string from (ab)* or (ba)* but cannot take both But (a+b)* can generate all strings. So, we can define it as ∑* srestha answered Jun 6, 2016 srestha comment Share Follow See 1 comment See all 1 1 comment reply Alok12 commented Jun 7, 2016 reply Follow Share How can I create a DFE for this RE . 0 votes 0 votes Please log in or register to add a comment.