Question

Suppose A and B are regular language. Prove that AB is regular.

Suppose A and B are regular language. Prove that AB is regular.

Homework Answers

Answer #1

Proof can be understood by considering an example-

  • Let A be Regular Language denoting A= 0*.
  • Let B be Regular Language denoting B= 1*.
  • Then concatenation of A,B is given as AB.
  • Mathematically, AB will represent the following language-

AB = 0*1*

  • Now, analyzing the Right Hand Side of the above expression- i.e; 0*1*. 0*1* is a language which represents the strings in which set of zero or more number of zeros is followed by a set of zero or more number of ones.
  • Strings like {' ', '01' , '001', '011', '0011', .......}
  • Right Hand Side also contains the quantifier *. ' * ' is only used in Regular Languages.
  • When a Language can be defined to represent the collection of strings then the language is obvious to be called as Regular Expressions.

With considering the above few points, AB is proved to be 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
Suppose A and B are regular language. Prove that AB is regular.
Suppose A and B are regular language. Prove that AB is regular.
Give formal definition of the regular language generated by the following Regular Expressions: 1) ((ab*+a)*+ab) 2)...
Give formal definition of the regular language generated by the following Regular Expressions: 1) ((ab*+a)*+ab) 2) (a+b)*c(a+b)* 3) (ab)*+a*b
Prove that the language ?={?^??^??^?:?≤?+?}is not regular
Prove that the language ?={?^??^??^?:?≤?+?}is not regular
Prove that if a language L is regular, the suffix language of L is also regular.
Prove that if a language L is regular, the suffix language of L is also regular.
The language described by the regular expression ((ab)* (c|d))*
The language described by the regular expression ((ab)* (c|d))*
5 A Non-Regular language Prove that the language}L={www∣w∈{0,1}​∗​​} is not regular.
5 A Non-Regular language Prove that the language}L={www∣w∈{0,1}​∗​​} is not regular.
Use pumping lemma to prove that L3a = {ab^m ab^m a| m>0} is non-regular
Use pumping lemma to prove that L3a = {ab^m ab^m a| m>0} is non-regular
Use the pumping lemma for regular languages to prove that the following language is not regular....
Use the pumping lemma for regular languages to prove that the following language is not regular. { 0n1x0x1n | n >= 0 and x >= 0 }
Test the language L2.16={(ab^n,n>0) with the pumping lemma and show that it is regular.
Test the language L2.16={(ab^n,n>0) with the pumping lemma and show that it is regular.
Prove that the intersection of a CFL and a Regular language is always context free. I...
Prove that the intersection of a CFL and a Regular language is always context free. I was thinking representing the CFL as a PDA, and the regular language as a DFA, then - if they both accept at the same time, the intersection must be context free?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT