5 votes 5 votes Consider L1, L2 ⊆ Ʃ* such that L1 and L1 ∪ L2 are regular. (a) L2 is definitely regular (b) L2 may not be regular (c) L2 is context free (d) None of above Is it option B or C? How? Theory of Computation theory-of-computation identify-class-language regular-language non-regular context-free-language + – Purple asked Jan 28, 2016 • retagged Jul 4, 2017 by Arjun Purple 8.8k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 7 votes 7 votes B. let L1=(a+b)* L1 contains all posible strings over A and B. and L2= any language. L1 union L2 =L1 =regular viv696 answered Jan 28, 2016 • selected Jan 28, 2016 by Purple viv696 comment Share Follow See all 2 Comments See all 2 2 Comments reply Purple commented Jan 28, 2016 reply Follow Share Got the answer: L1: a*b*c*-->reg L2: a^nb^nc^n-->not cfl, and not regular L1 U L2: a*b*c*-->reg Hence option B. 0 votes 0 votes Purple commented Jan 28, 2016 reply Follow Share Yup, got it.. thanks... 0 votes 0 votes Please log in or register to add a comment.
2 votes 2 votes option B is answer. L2 may not be regular, This can be see by following example- let L1 = Σ∗ and L2 = {anbn∣n>0} . Now, (L1 ⋃ L2) is Σ∗ which is regular but L2 is not regular. amrendra pal answered Aug 21, 2017 amrendra pal comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes may or may not be regular Deepak Raj 1 answered Nov 13, 2017 Deepak Raj 1 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes B is the Answer check this for detailed explanation https://gateoverflow.in/3876/given-that-a-language-la-l1-u-l2 rahulsangwn answered Nov 13, 2017 rahulsangwn comment Share Follow See all 0 reply Please log in or register to add a comment.