in Theory of Computation edited by
4,882 views
22 votes
22 votes

Consider the following three statements:

  1. Intersection of infinitely many regular languages must be regular.
  2. Every subset of a regular language is regular.
  3. If $L$ is regular and $M$ is not regular then $L ∙ M$ is necessarily not regular.

Which of the following gives the correct true/false evaluation of the above?

  1. true, false, true.
  2. false, false, true.
  3. true, false, true.
  4. false, false, false.
  5. true, true, true.
in Theory of Computation edited by
4.9k views

3 Comments

i think 1st and 2nd are false .

and the 3rd one dot means ??
0
0
I think  dot means intersection
0
0
reshown by
hmm It is concatenation :)
2
2

3 Answers

35 votes
35 votes
Best answer
  1. False
    Regular Languages are not closed under Infinite Union and Intersection 
    $L_1 \cup L_2 \cup L_3 \cup L_4 \cup \dots $
    For example :
    ${ab} \cup {aabb} \cup {aaabbb} \cup {aaaabbbb} \cup \dots$
    $=\{ a^nb^n, n\geq 1\}$ which is not regular
    So, Infinite Union is not closed 
    $L_1 \cap L_2 \cap L_3 \cap L_4 \cap \dots$
    $= (L_1' \cup L_2' \cup L_3' \cup L_4' \cup \dots)'$
    As Infinite Union is not closed, Infinite Intersection is also not closed 
  2. False. 
    $a^*b^*$ is regular 
    its subset $a^nb^n, n\geq 1$  is not regular 
    $a^*$ is regular
    $a^p , p$ is prime, is not regular 
  3. False 
    $L = \{\}$  is regular 
    M be non-regular like $\{0^n1^n \mid n > 0 \}$. 
    $L.M = \{\}$ , is regular 

Correct Answer: $D$

edited by

4 Comments

What would be the case with "Infinite concatenation?" Are regular language closed under infinite concatenation ?
0
0
L= epsilon  is regular
M= {a^n b^n /n>=0 }  is non-regular
L.M = epsilon.(a^n b^n) = a^n b^n   is non-regular

So iii is true , right??
0
0

I did the same mistake. It’s necessarily not regular,  and not, not necessarily regular. 

1
1
1 vote
1 vote

(i) False.Infinite union or intersection both are not closed under regular language.

(ii)False . a^n b^n is subset of a*b* , but a^n b^n not regular

(ii)True . Let L=regular ,M=CFL ,then L.M=CFL

So, ans (B)

1 comment

L.M = CFL doesn't mean that it will L.M will necessarily be not regular. Regular Languages are subset of CFL.
0
0
1 vote
1 vote

Answer is B .

and the reason for (iii) L.M necessarily regular is ,

consider ..L=(a+b)which is regular ,

               M=anbn which is CFL and not regular .

so concatinating these two strings , the resulting string will be regular which is nothing but (a+b)*.

So the word necessarily is important in this question.

Answer:

Related questions