Question

(Formal languages) Determine if the following statements are true or not: If L1 and L2 are...

(Formal languages)

Determine if the following statements are true or not:

If L1 and L2 are non-regular languages then is L1 intersection L2 non regular? (T/F)
If L1 is a non regular language and L2 is a finite language is it true that L1 union L2 is regular?
Is it true that the union of two regular languages must be regular?

Homework Answers

Answer #1

1. Not True

Since if L1 and L2 are non-regular then their intersection should be regular because we can see the intersection of 2 non-regular languages is an empty set. So an empty set is a regular language.

2. True

We can say that union of a non-regular language and finite language is regular,

Σ∗∪ L2 = regular language where L2 is non-regular and the other is regular

It is also possible that the union of finite and non-regular is non-regular.

3.True

It is true that union of two regular language would always be regular ,

So there are certain theories which explains this such as according to formal theory and the theory of nondeterministic finite automata we can say that union of two regular language is regular.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Which claim is always true: L1 and L2 are regular languages, L = L1 - L2,...
Which claim is always true: L1 and L2 are regular languages, L = L1 - L2, then L is finite is regular is complicated is infinite
Show that if languages L1 and L2 are decidable, then the intersection of L1 and L2...
Show that if languages L1 and L2 are decidable, then the intersection of L1 and L2 is also decidable.
Let L1 be the language of the Regular Expression 1(1 + 0)*. Let L2 be the...
Let L1 be the language of the Regular Expression 1(1 + 0)*. Let L2 be the language of the Regular Expression 11* 0. Let L3 be the language of the Regular Expression 1* 0. Which of the following statements are true? L2 L1 L2 L3 L1 L2 L3 L2
1.2 Which of the following statements is wrong?        a). A set is a subset of itself...
1.2 Which of the following statements is wrong?        a). A set is a subset of itself        b). Emptyset is a subset of any set        c). A set is a subset of its powerset        d). The cardinality of emptyset is 0 1.3. Which of the following statements is correct?        a). A string is a set of symbols from an alphabet        b). The length of the concatenation of two strings can           be the same as one of them        c). The length of...
(formal languages) Determine if the following statements are true or not: (a+b)*b(a+b)*=a*b(a+b) (a+ab+abc)* = a* +...
(formal languages) Determine if the following statements are true or not: (a+b)*b(a+b)*=a*b(a+b) (a+ab+abc)* = a* + (ab)* + (abc)* a*(a+b)*(a+b+c)*=a*(a*b*)*(a*b*c*)*
Consider two languages L1 and L2 accepted by the pushdown automata M1 = (K1, Σ, Γ1,...
Consider two languages L1 and L2 accepted by the pushdown automata M1 = (K1, Σ, Γ1, ∆1, s1, F1) and M2 = (K2, Σ, Γ2, ∆2, s2, F2), respectively. Show how to construct the pushdown automaton M = (K, Σ, Γ, ∆, s, F ) that accepts L1L2.
Find the point of intersection of the two lines l1:x⃗ =〈8,6,−16〉+t〈−1,−5,−1〉l1:x→=〈8,6,−16〉+t〈−1,−5,−1〉 and l2:x⃗ =〈21,1,−43〉+t〈3,1,−5〉l2:x→=〈21,1,−43〉+t〈3,1,−5〉 Intersection point:
Find the point of intersection of the two lines l1:x⃗ =〈8,6,−16〉+t〈−1,−5,−1〉l1:x→=〈8,6,−16〉+t〈−1,−5,−1〉 and l2:x⃗ =〈21,1,−43〉+t〈3,1,−5〉l2:x→=〈21,1,−43〉+t〈3,1,−5〉 Intersection point:
Each of the following languages is the union or intersection of two simpler languages. In each...
Each of the following languages is the union or intersection of two simpler languages. In each part, construct DFAs for the simpler languages, then combine them using the construction discussed in class to give the state diagram of a DFA for the language given. In all parts, Σ = {0,1}. 1. {w|w starts with an 0 and has at most one 1}
Determine whether the lines L1:→r(t)=〈−2,−1,3〉t+〈−5,−3,−1〉 and L2:→p(s)=〈4,2,−6〉s+〈4,−1,0〉 intersect. If they do, find the point of intersection.
Determine whether the lines L1:→r(t)=〈−2,−1,3〉t+〈−5,−3,−1〉 and L2:→p(s)=〈4,2,−6〉s+〈4,−1,0〉 intersect. If they do, find the point of intersection.
Draw the state diagram of DFAs recognizing the following languages. a. A = {w|w starts with...
Draw the state diagram of DFAs recognizing the following languages. a. A = {w|w starts with 0 and has odd length, or starts with 1 and has even length} b. B = {w|w is any string except 11 and 111} c. C = {, 0} Example of set difference: A = {0, 01}, and B = {0, 11}. Then, A − B = {01}. Prove that regular languages are closed under the set difference operation. That is, if A and...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT