844 views
0 votes
0 votes
Prove language is regular or not using pumping lemma -

1. L={a^nb^l :n!=l}

2. L={(ab)^na^k  : n>k ,k>=0}

Plzz explain using pumping lemma.....

1 Answer

1 votes
1 votes
1.

L={a^n b^l / n!=l}

Pumping Leema says if there is a language which can be divided into 3 parts such as xy^iz, then for any value of i this should also be inside language.

here for y there are 3 choices y=a , or y=ab or y=b but in all three cases there is no way to make sure this comparison.

for example if y =a then aaabbb should not be accepted but x=a y^2 =aa and z=bbb

hence pumping leema is failed here!

Related questions

1 votes
1 votes
0 answers
1
Sanjay Sharma asked Sep 18, 2018
1,241 views
Let L={a^nb^m: n>=100 , m<=50}Can you use the pumping lemma to show that L is not regular? Explain your answers
0 votes
0 votes
0 answers
2
jg662 asked Feb 22
80 views
Use the Pumping Lemma to show that the following languages over Σ={�,�}Σ={a,b} are not regular. In each case, carefully describe the string that will be pumped and ...